/* Sumfest Mizik — 10 ans Mizik landing page
   Built by 22 Vision. One full-screen hero: logo intro, then the e-mail sign-up.
   Artwork layers are cut from the 10-year flyer and placed in the flyer's own proportions. */

:root {
  --sf-red: #ec3509;
  --sf-red-2: #f24a12;
  --sf-orange: #f48a2c;
  --sf-yellow: #f6d869;
  --sf-yellow-2: #f9e484;
  --sf-cream: #fef98c;
  --sf-ink: #0d0a08;
  --sf-ink-2: rgba(13, 10, 8, .72);
  --sf-ink-3: rgba(13, 10, 8, .5);
  --sf-pink: #e83aa8;
  --sf-teal: #177c86;
  --sf-head: "Gochi Hand", "Patrick Hand", "Comic Sans MS", cursive;
  --sf-font: "Fredoka", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sf-ease: cubic-bezier(.22, 1, .36, 1);
  --sf-pop: cubic-bezier(.34, 1.56, .64, 1);
  --sf-crowd-w: 100vw;
  --sf-crowd-h: calc(var(--sf-crowd-w) * .6423);
  --sf-logo-w: min(86vw, 600px, 60svh);
  --sf-col: 440px;
  --sf-safe-top: env(safe-area-inset-top, 0px);
  --sf-safe-bottom: env(safe-area-inset-bottom, 0px);
}
@supports (height: 1svh) {
  :root { --sf-crowd-w: min(100vw, 75svh); }
}

/* ---------- shell (also neutralises theme styles when inside WordPress) ---------- */
html.sf-html { background: var(--sf-red); }
body.sf-body {
  margin: 0; padding: 0; min-height: 100%;
  background: var(--sf-red); color: var(--sf-ink);
  font-family: var(--sf-font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden; overflow-x: clip;
}
body.sf-body.admin-bar .sf-hero { height: calc(100vh - 32px); height: calc(100svh - 32px); }
.sf-page { position: relative; }
.sf-page *, .sf-page *::before, .sf-page *::after { box-sizing: border-box; }
.sf-page [hidden] { display: none !important; }
.sf-page img, .sf-page picture { display: block; border: 0; }
.sf-page picture img { width: 100%; height: auto; }

/* ---------- hero ---------- */
.sf-hero {
  position: relative; width: 100%; min-height: 560px;
  height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
  color: var(--sf-ink);
  cursor: default;
}

/* sky: the flyer gradient — red for the upper half, a sunset band, pale yellow behind the crowd */
.sf-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 18% at 30% 71%, rgba(226, 96, 28, .32), rgba(226, 96, 28, 0) 70%),
    radial-gradient(44% 14% at 74% 66%, rgba(214, 80, 20, .28), rgba(214, 80, 20, 0) 70%),
    radial-gradient(70% 16% at 50% 80%, rgba(255, 214, 120, .35), rgba(255, 214, 120, 0) 70%),
    linear-gradient(180deg,
      #eb2d06 0%, #f23a0c 14%, #f0400f 34%, #ec4b12 48%,
      #e9601a 57%, #ee8a2a 66%, #f1a742 74%, #f5ca5c 83%, #f6d869 92%, #f7dc70 100%);
}
/* halftone dots, strongest through the sunset band (like the print) */
.sf-dots {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><g fill='%238a1200' fill-opacity='.42'><circle cx='2.5' cy='2.5' r='1.35'/><circle cx='7.5' cy='7.5' r='1.35'/></g></svg>");
  background-size: 10px 10px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.35) 40%, #000 60%, #000 76%, rgba(0,0,0,.25) 92%, rgba(0,0,0,.15) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.35) 40%, #000 60%, #000 76%, rgba(0,0,0,.25) 92%, rgba(0,0,0,.15) 100%);
}
/* print grain, very faint */
.sf-grain {
  position: absolute; inset: 0; z-index: 9; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

/* ---------- palms (anchored to the corners, like the poster frame) ---------- */
.sf-palm { position: absolute; z-index: 2; top: calc(-1.5vw + var(--sf-safe-top)); width: clamp(84px, 15vw, 230px); pointer-events: none; }
.sf-palm-l { left: -1vw; }
.sf-palm-r { right: -1vw; }
.sf-palm-l picture { transform-origin: 10% 0; }
.sf-palm-r picture { transform-origin: 90% 0; }

/* ---------- crowd (bottom; the flyer strip split in three so the cut-off dancers hug the screen edges) ---------- */
.sf-crowd-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: var(--sf-crowd-h); z-index: 4; pointer-events: none; }
.sf-crowd { position: absolute; left: 50%; bottom: 0; width: var(--sf-crowd-w); height: var(--sf-crowd-h); margin-left: calc(var(--sf-crowd-w) / -2); }
.sf-crowd-idle { position: absolute; inset: 0; }
.sf-cc { position: absolute; }
.sf-cl, .sf-cr { position: absolute; bottom: 0; }
.sf-cl { left: 0; width: calc(var(--sf-crowd-w) * .2955); }
.sf-cr { right: 0; width: calc(var(--sf-crowd-w) * .2767); }
.sf-doodle { position: absolute; }
/* extra crowd behind the scene, only where the screen is wider than the flyer strip */
.sf-band { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--sf-crowd-h) * .249); display: none; }
.sf-band .sf-idle { position: absolute; inset: 0; background-repeat: repeat-x; background-size: auto 100%, auto 100%; background-position: 0 bottom, 86px bottom; }
@media (min-width: 900px) { .sf-band { display: block; } }

/* ---------- content column ---------- */
.sf-content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;
  padding: calc(14px + var(--sf-safe-top)) 20px calc(var(--sf-crowd-h) * .86);
  pointer-events: none;
}
.sf-content > * { pointer-events: auto; }
.sf-badge { width: clamp(150px, 42vw, 250px); flex: 0 0 auto; }

/* logo group: loop + letters + birds + "10 ans Mizik", in the flyer's own geometry */
.sf-logo { position: relative; width: var(--sf-logo-w); aspect-ratio: 836 / 419; flex: 0 0 auto; }
.sf-logo > div { position: absolute; }
.sf-loop { left: 0; top: 0; width: 100%; }
.sf-loop picture {
  --sweep: 360deg;
  -webkit-mask-image: conic-gradient(from 198deg at 50% 50%, #000 0deg, #000 var(--sweep), transparent var(--sweep));
          mask-image: conic-gradient(from 198deg at 50% 50%, #000 0deg, #000 var(--sweep), transparent var(--sweep));
}
.sf-letter picture { transform-origin: 50% 80%; }

/* sign-up */
.sf-signup { width: 100%; max-width: var(--sf-col); text-align: center; flex: 0 0 auto; }
.sf-title {
  margin: 0 0 14px; font-family: var(--sf-head); font-weight: 400;
  font-size: clamp(27px, 7.4vw, 38px); line-height: 1.05; letter-spacing: .005em; color: var(--sf-ink); text-wrap: balance;
}
.sf-title-ht { display: block; margin-top: 6px; font-family: var(--sf-font); font-weight: 500; font-size: clamp(14px, 3.9vw, 17px); line-height: 1.35; letter-spacing: 0; color: var(--sf-ink-2); }
.sf-form { margin: 0; }
.sf-row { display: flex; flex-direction: column; gap: 10px; }
.sf-input {
  display: block; width: 100%; min-height: 52px; margin: 0; padding: 12px 20px;
  -webkit-appearance: none; appearance: none;
  background: rgba(255, 252, 230, .96); color: var(--sf-ink);
  border: 2px solid var(--sf-ink); border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 500; line-height: 1.3; text-align: center;
  outline: none; caret-color: var(--sf-pink);
  box-shadow: 3px 3px 0 var(--sf-ink);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.sf-input::placeholder { color: var(--sf-ink-3); opacity: 1; }
.sf-input:focus { box-shadow: 4px 4px 0 var(--sf-pink); border-color: var(--sf-ink); }
.sf-input:-webkit-autofill, .sf-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fffce6 inset, 3px 3px 0 var(--sf-ink); -webkit-text-fill-color: var(--sf-ink); transition: background-color 9999s; }
.sf-field.is-error .sf-input { border-color: #b3160c; box-shadow: 3px 3px 0 #b3160c; }
.sf-submit {
  display: block; width: 100%; min-height: 52px; margin: 0; padding: 12px 22px;
  border: 2px solid var(--sf-ink); border-radius: 999px; background: var(--sf-ink); color: var(--sf-cream);
  font: inherit; font-size: 15.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  cursor: pointer; touch-action: manipulation; white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(13, 10, 8, .35);
  transition: background .2s, color .2s, transform .2s var(--sf-ease), box-shadow .2s, opacity .3s;
}
.sf-submit:hover { background: var(--sf-pink); border-color: var(--sf-pink); color: #fff; }
.sf-submit:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(13, 10, 8, .35); }
.sf-submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sf-submit[disabled] { opacity: .6; cursor: default; }
.sf-submit .sf-btn-busy { display: none; }
.sf-form.is-busy .sf-btn-idle { display: none; }
.sf-form.is-busy .sf-btn-busy { display: inline; animation: sf-pulse 1.1s ease-in-out infinite; }
@keyframes sf-pulse { 50% { opacity: .5; } }
.sf-msg { display: none; margin: 8px 0 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: #7a0f07; }
.sf-field.is-error .sf-msg { display: block; }
.sf-form-error { display: none; margin: 10px 0 0; font-size: 13px; font-weight: 500; line-height: 1.45; color: #7a0f07; }
.sf-form-error.is-visible { display: block; }
.sf-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sf-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--sf-ink-2); }
.sf-fine span { display: block; }
.sf-captcha { display: none; }
.sf-captcha.is-active { display: block; margin-top: 10px; }
.sf-captcha iframe { max-width: 100%; }

/* leaving / arriving */
.sf-form, .sf-success { transition: opacity .45s var(--sf-ease), transform .45s var(--sf-ease); }
.sf-form.is-leaving { opacity: 0; transform: translate3d(0, -8px, 0); pointer-events: none; }
.sf-success { opacity: 0; transform: translate3d(0, 12px, 0); }
.sf-success.is-visible { opacity: 1; transform: none; }
.sf-check { display: block; width: 58px; height: 58px; margin: 0 auto 10px; }
.sf-check circle, .sf-check path { fill: none; stroke: var(--sf-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sf-success.is-visible .sf-check circle { animation: sf-draw .8s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
.sf-success.is-visible .sf-check path { animation: sf-draw .5s var(--sf-ease) .7s forwards; }
@keyframes sf-draw { to { stroke-dashoffset: 0; } }
.sf-success-title { margin: 0; font-family: var(--sf-head); font-weight: 400; font-size: clamp(30px, 8vw, 42px); line-height: 1.05; color: var(--sf-ink); }
.sf-success-title .sf-ht { display: block; margin-top: 6px; font-family: var(--sf-font); font-weight: 500; font-size: clamp(15px, 4vw, 18px); color: var(--sf-ink-2); }
.sf-success-text { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--sf-ink-2); }
.sf-success-text span { display: block; }

/* ---------- footer (below the fold) ---------- */
.sf-footer {
  position: relative; z-index: 2; background: var(--sf-ink); color: rgba(254, 249, 140, .62);
  text-align: center; font-size: 12px; letter-spacing: .03em; line-height: 1.7;
  padding: 22px max(20px, env(safe-area-inset-left, 0px)) calc(24px + var(--sf-safe-bottom)) max(20px, env(safe-area-inset-right, 0px));
}
.sf-footer p { margin: 0; }
.sf-footer a { color: inherit; text-decoration: none; transition: color .25s; }
.sf-footer a:hover, .sf-footer a:focus-visible { color: var(--sf-cream); outline: none; }
.sf-social { display: flex; justify-content: center; gap: 18px; margin: 0 0 10px; padding: 0; list-style: none; }
.sf-social li { margin: 0; }
.sf-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(254, 249, 140, .28); color: rgba(254, 249, 140, .8); }
.sf-social a:hover, .sf-social a:focus-visible { border-color: var(--sf-cream); color: var(--sf-cream); }
.sf-social svg { width: 17px; height: 17px; fill: currentColor; }
.sf-links { margin: 0 0 4px; }
.sf-links a { margin: 0 8px; }
.sf-powered { font-size: 11px; opacity: .8; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .sf-row { flex-direction: row; align-items: stretch; }
  .sf-row .sf-field { flex: 1 1 auto; }
  .sf-input { text-align: left; }
  .sf-submit { width: auto; flex: 0 0 auto; }
  .sf-signup { max-width: 520px; }
  .sf-content { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 900px) {
  :root { --sf-logo-w: min(44vw, 600px, 60svh); }
}
/* short screens: smaller logo so the form still fits above the crowd */
@media (max-height: 700px) {
  :root { --sf-logo-w: min(76vw, 440px, 58svh); }
  .sf-badge { width: clamp(130px, 34vw, 200px); }
  .sf-title { margin-bottom: 10px; }
}
@media (max-height: 700px) and (min-width: 900px) {
  :root { --sf-logo-w: min(40vw, 440px, 58svh); }
}
/* landscape phones */
@media (max-height: 480px) {
  .sf-hero { min-height: 480px; }
  :root { --sf-crowd-w: 60vw; --sf-logo-w: 300px; }
  .sf-badge { display: none; }
}

/* =====================================================================
   INTRO CHOREOGRAPHY — runs once the key artwork has decoded (html.sf-go)
   Every intro step animates a wrapper (.sf-in); idle loops live on inner elements (.sf-idle),
   so a skip can zero the intro without touching the loops.
   ===================================================================== */
.sf-anim .sf-in { opacity: 0; }                  /* hidden until the choreography starts */
.sf-anim .sf-loop picture { --sweep: 0deg; }

/* 0.1s palms sweep in from their corners */
.sf-anim.sf-go .sf-palm-l { animation: sf-palm-l 1s var(--sf-ease) .1s both; }
.sf-anim.sf-go .sf-palm-r { animation: sf-palm-r 1s var(--sf-ease) .15s both; }
@keyframes sf-palm-l { from { opacity: 0; transform: translate(-40%, -30%) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes sf-palm-r { from { opacity: 0; transform: translate(40%, -30%) rotate(14deg); } to { opacity: 1; transform: none; } }

/* 0.45–1.55s the loop draws itself (JS drives --sweep) */
.sf-anim.sf-go .sf-loop { animation: sf-show .01s linear .45s both; }
@keyframes sf-show { from { opacity: 0; } to { opacity: 1; } }

/* 1.0s letters pop in one by one */
.sf-anim.sf-go .sf-letter { animation: sf-pop .62s var(--sf-pop) calc(1s + var(--i) * .1s) both; }
@keyframes sf-pop { 0% { opacity: 0; transform: scale(.2) rotate(-8deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }

/* 1.75s "10 ans Mizik" writes in */
.sf-anim.sf-go .sf-tenans { animation: sf-write .6s cubic-bezier(.4, 0, .2, 1) 1.75s both; }
@keyframes sf-write { from { opacity: 1; clip-path: inset(-10% 100% -10% -4%); } to { opacity: 1; clip-path: inset(-10% -4% -10% -4%); } }

/* 1.95s birds glide in */
.sf-anim.sf-go .sf-bird-l { animation: sf-glide-l .8s var(--sf-ease) 1.95s both; }
.sf-anim.sf-go .sf-bird-r { animation: sf-glide-r .8s var(--sf-ease) 2.05s both; }
@keyframes sf-glide-l { from { opacity: 0; transform: translate(-60px, 30px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes sf-glide-r { from { opacity: 0; transform: translate(70px, 26px) scale(.6); } to { opacity: 1; transform: none; } }

/* 2.05s the badge drops in */
.sf-anim.sf-go .sf-badge { animation: sf-drop .6s var(--sf-pop) 2.05s both; }
@keyframes sf-drop { from { opacity: 0; transform: translateY(-40px) scale(.8); } to { opacity: 1; transform: none; } }

/* 2.15s the crowd rises from the bottom edge */
.sf-anim.sf-go .sf-crowd, .sf-anim.sf-go .sf-cl, .sf-anim.sf-go .sf-cr { animation: sf-rise .9s cubic-bezier(.2, .9, .3, 1) 2.15s both; }
/* the three pieces rise and sway on their own beat (each dancer lives entirely in one piece) */
.sf-anim.sf-go .sf-cl { animation-delay: 2.25s; }
.sf-anim.sf-go .sf-cr { animation-delay: 2.3s; }
.sf-anim.sf-go .sf-band { animation: sf-rise .9s cubic-bezier(.2, .9, .3, 1) 2.35s both; }
@keyframes sf-rise { from { opacity: 1; transform: translateY(105%); } to { opacity: 1; transform: none; } }

/* 2.55s doodles pop in; the plane flies in */
.sf-anim.sf-go .sf-doodle { animation: sf-pop-s .45s var(--sf-pop) calc(2.55s + var(--i) * .12s) both; }
.sf-anim.sf-go .sf-doodle-plane { animation: sf-fly .9s cubic-bezier(.2, .8, .3, 1) 2.5s both; }
@keyframes sf-pop-s { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes sf-fly { from { opacity: 0; transform: translate(-220%, 90%) rotate(-6deg); } to { opacity: 1; transform: none; } }

/* 2.9s the sign-up rises */
.sf-anim.sf-go .sf-signup { animation: sf-up .65s var(--sf-ease) 2.9s both; }
@keyframes sf-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* skip: a tap during the intro lands everything instantly (loops keep running) */
.sf-anim.sf-go.sf-skip .sf-in { animation-duration: .01s !important; animation-delay: 0s !important; }
.sf-anim.sf-go.sf-skip .sf-loop picture { --sweep: 360deg !important; }
.sf-anim.sf-go.sf-skip .sf-idle { animation-delay: 0s !important; }
.sf-nosweep .sf-loop picture { --sweep: 360deg !important; }   /* script blocked: show the loop anyway */

/* ---------- idle loops (start once the intro has landed) ---------- */
.sf-anim.sf-go .sf-palm-l .sf-idle { animation: sf-sway 7s ease-in-out 3.4s infinite alternate; }
.sf-anim.sf-go .sf-palm-r .sf-idle { animation: sf-sway-r 8s ease-in-out 3.4s infinite alternate; }
@keyframes sf-sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
@keyframes sf-sway-r { from { transform: rotate(1.3deg); } to { transform: rotate(-1.1deg); } }
.sf-anim.sf-go .sf-bird-l .sf-idle { animation: sf-float 2.8s ease-in-out 3.4s infinite alternate; }
.sf-anim.sf-go .sf-bird-r .sf-idle { animation: sf-float 3.4s ease-in-out 3.6s infinite alternate; }
@keyframes sf-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.sf-anim.sf-go .sf-crowd-idle { animation: sf-bob 1.25s ease-in-out 3.4s infinite alternate; }
.sf-anim.sf-go .sf-cl .sf-idle { animation: sf-bob 1.35s ease-in-out 3.6s infinite alternate; }
.sf-anim.sf-go .sf-cr .sf-idle { animation: sf-bob 1.3s ease-in-out 3.9s infinite alternate; }
.sf-anim.sf-go .sf-band .sf-idle { animation: sf-bob-b 1.25s ease-in-out 4.1s infinite alternate; }
@keyframes sf-bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes sf-bob-b { from { transform: translateY(0); } to { transform: translateY(-3px); } }
.sf-anim.sf-go .sf-doodle-sun .sf-idle { animation: sf-spin 46s linear 3.4s infinite; }
@keyframes sf-spin { to { transform: rotate(360deg); } }
.sf-anim.sf-go .sf-doodle-plane .sf-idle { animation: sf-drift 5.5s ease-in-out 3.6s infinite alternate; }
@keyframes sf-drift { from { transform: translate(0, 0); } to { transform: translate(14px, -4px); } }
.sf-anim.sf-go .sf-doodle-bird .sf-idle { animation: sf-float 3.2s ease-in-out 3.8s infinite alternate; }

/* phones: fewer compositing layers */
@media (hover: none) and (pointer: coarse) {
  .sf-grain { display: none; }
}

/* ---------- reduced motion: everything lands at once ---------- */
@media (prefers-reduced-motion: reduce) {
  .sf-anim .sf-in, .sf-anim.sf-go .sf-in { opacity: 1 !important; animation: none !important; transform: none !important; clip-path: none !important; }
  .sf-anim .sf-loop picture, .sf-anim.sf-go .sf-loop picture { --sweep: 360deg !important; }
  .sf-anim.sf-go .sf-idle, .sf-anim.sf-go .sf-crowd-idle { animation: none !important; }
  .sf-form, .sf-success, .sf-submit, .sf-input { transition: none; }
  .sf-check circle, .sf-check path { stroke-dashoffset: 0; animation: none !important; }
}

/* =====================================================================
   SIMPLE PAGES (Privacy policy, Terms, Festival policy) — same brand, readable column
   ===================================================================== */
body.sf-body.sf-doc-body { background: #fff8e3; }
.sf-top {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 12px max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, #ef3a0d, #ec4a12);
  box-shadow: 0 2px 0 rgba(13, 10, 8, .12);
}
.sf-top-mark { display: block; height: 36px; flex: 0 0 auto; }
.sf-page .sf-top-mark picture { height: 36px; }
.sf-page .sf-top-mark picture img { height: 36px; width: auto; max-width: none; }
.sf-top-back { font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--sf-cream); text-decoration: none; white-space: nowrap; }
.sf-top-back:hover, .sf-top-back:focus-visible { text-decoration: underline; outline: none; }
.sf-doc { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 36px 22px 64px; color: var(--sf-ink); }
.sf-doc h1 { margin: 0 0 6px; font-family: var(--sf-font); font-weight: 600; font-size: clamp(30px, 6.5vw, 44px); line-height: 1.1; letter-spacing: -.01em; }
.sf-doc .sf-updated { margin: 0 0 28px; font-size: 13.5px; color: var(--sf-ink-3); }
.sf-doc h2 { margin: 34px 0 10px; padding-top: 14px; border-top: 2px solid rgba(236, 53, 9, .35); font-family: var(--sf-font); font-weight: 600; font-size: clamp(21px, 4.6vw, 25px); line-height: 1.2; }
.sf-doc h3 { margin: 24px 0 8px; font-family: var(--sf-font); font-weight: 600; font-size: 18px; line-height: 1.3; }
.sf-doc p, .sf-doc li { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
.sf-doc p { margin: 0 0 14px; }
.sf-doc ul, .sf-doc ol { margin: 0 0 16px; padding-left: 22px; }
.sf-doc li { margin: 0 0 6px; }
.sf-doc a { color: #c92f0b; text-decoration: underline; text-underline-offset: 2px; }
.sf-doc a:hover { color: var(--sf-ink); }
.sf-doc strong { font-weight: 600; }
.sf-doc ul.sf-no, .sf-doc ul.sf-yes { list-style: none; padding-left: 0; }
.sf-doc ul.sf-no li, .sf-doc ul.sf-yes li { position: relative; padding-left: 26px; }
.sf-doc ul.sf-no li::before { content: "\2718"; position: absolute; left: 0; top: 0; color: #c92f0b; font-weight: 700; }
.sf-doc ul.sf-yes li::before { content: "\2714"; position: absolute; left: 0; top: 0; color: var(--sf-teal); font-weight: 700; }
.sf-doc .sf-cols { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
@media (min-width: 720px) { .sf-doc .sf-cols { grid-template-columns: 1fr 1fr; } }
