/* Rangooo step cards: the phone app view of the activity pages (see stepcards.js).
   EVERYTHING here sits inside @media (max-width:699px): at 700px and wider this file changes nothing. */
@media (max-width:699px) {

  /* no flash of the long page: until the script has decided (or after 1.4s if it never runs) the body stays transparent */
  html:not(.sc-on):not(.sc-skip) body { opacity: 0; animation: sc-reveal 0s linear 1.4s forwards; }
  @keyframes sc-reveal { to { opacity: 1; } }

  /* ---------- tokens (light) ---------- */
  html.sc-on {
    --sc-bg: #F6F6F2; --sc-surface: #FFFFFF; --sc-paper: #FBF9F4; --sc-sunken: #F3EFE6;
    --sc-ink: #16202C; --sc-muted: #5A6573; --sc-line: rgba(22,32,44,.10); --sc-line2: #CFD2CB;
    --sc-acc: #145C63; --sc-acc2: #0F474D; --sc-acc-soft: #E8F1F2; --sc-acc-tint: rgba(20,92,99,.08); --sc-on-acc: #FFFFFF;
    --sc-warm: #FBEFE2; --sc-warm-edge: #F1D6B8; --sc-warm-ink: #8A5F1A; --sc-warm-plate: #F5DDBF;
    --sc-hero-a: #17666E; --sc-hero-b: #0E434A; --sc-hero-ink: #FFFFFF;
    --sc-shadow: 0 1px 2px rgba(22,32,44,.04), 0 10px 28px rgba(22,32,44,.07);
    --sc-scrim: rgba(22,32,44,.5); --sc-focus: #E8590C;
    --sc-head: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sc-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --sc-ease: cubic-bezier(.2,.7,.2,1);
    --sc-dock: var(--dock-h, calc(80px + env(safe-area-inset-bottom, 0px)));
    color-scheme: light;
    background: var(--sc-bg);
  }
  /* ---------- tokens (night): the site's night switch, or the phone's own dark setting ---------- */
  html[data-night="1"].sc-on {
    --sc-bg: #0F1720; --sc-surface: #18222D; --sc-paper: #1D2935; --sc-sunken: #223140;
    --sc-ink: #E9EEF2; --sc-muted: #9BA8B5; --sc-line: #263341; --sc-line2: #3A4C5F;
    --sc-acc: #4FB3C4; --sc-acc2: #7CCBD8; --sc-acc-soft: rgba(79,179,196,.16); --sc-acc-tint: rgba(79,179,196,.12); --sc-on-acc: #08161B;
    --sc-warm: #2A2319; --sc-warm-edge: #52401F; --sc-warm-ink: #F0C98A; --sc-warm-plate: #3A2E1B;
    --sc-hero-a: #17414A; --sc-hero-b: #0E2A31; --sc-hero-ink: #EAF4F3;
    --sc-shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.35);
    --sc-scrim: rgba(3,8,12,.64);
    color-scheme: dark;
  }
  @media (prefers-color-scheme: dark) {
    html.sc-on:not([data-night="0"]):not([data-night="1"]) {
      --sc-bg: #0F1720; --sc-surface: #18222D; --sc-paper: #1D2935; --sc-sunken: #223140;
      --sc-ink: #E9EEF2; --sc-muted: #9BA8B5; --sc-line: #263341; --sc-line2: #3A4C5F;
      --sc-acc: #4FB3C4; --sc-acc2: #7CCBD8; --sc-acc-soft: rgba(79,179,196,.16); --sc-acc-tint: rgba(79,179,196,.12); --sc-on-acc: #08161B;
      --sc-warm: #2A2319; --sc-warm-edge: #52401F; --sc-warm-ink: #F0C98A; --sc-warm-plate: #3A2E1B;
      --sc-hero-a: #17414A; --sc-hero-b: #0E2A31; --sc-hero-ink: #EAF4F3;
      --sc-shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.35);
      --sc-scrim: rgba(3,8,12,.64);
      color-scheme: dark;
    }
  }

  /* ---------- the long page steps aside while the app view is on ---------- */
  html.sc-on main.fp, html.sc-on body > header, html.sc-on body > footer, html.sc-on .c3d-toggle { display: none !important; }
  html.sc-on, html.sc-on body { overflow: hidden; overscroll-behavior: none; }
  html.sc-on body { background: var(--sc-bg); padding-bottom: 0 !important; }
  html.sc-nodock { --sc-dock: calc(12px + env(safe-area-inset-bottom, 0px)); }

  /* ---------- shell ---------- */
  .sc-root { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; padding-bottom: var(--sc-dock);
    background: var(--sc-bg); color: var(--sc-ink); font: 400 16px/1.5 var(--sc-ui); -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased; }
  .sc-root *, .sc-layer * { box-sizing: border-box; }
  .sc-root a, .sc-root button, .sc-root summary, .sc-layer button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .sc-root :focus-visible, .sc-layer :focus-visible { outline: 3px solid var(--sc-focus); outline-offset: 2px; }
  .sc-pager:focus-visible { outline-offset: -3px; border-radius: 28px; }
  .sc-i { display: inline-flex; flex: none; line-height: 0; }
  .sc-i svg { display: block; }
  .sc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-press { transition: transform .12s var(--sc-ease), background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
  .sc-press:active { transform: scale(.97); }

  /* ---------- app bar ---------- */
  .sc-bar { flex: none; display: flex; align-items: center; gap: 4px; min-height: calc(56px + env(safe-area-inset-top, 0px));
    padding: calc(env(safe-area-inset-top, 0px) + 6px) max(10px, env(safe-area-inset-right, 0px)) 6px max(8px, env(safe-area-inset-left, 0px)); }
  .sc-back { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--sc-ink); text-decoration: none; }
  .sc-back:active { background: var(--sc-acc-tint); }
  .sc-title { flex: 1; min-width: 0; margin: 0; font: 500 19px/1.2 var(--sc-head); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sc-safe { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 44px; padding: 0 14px 0 11px; border-radius: 999px;
    border: 1px solid var(--sc-warm-edge); background: var(--sc-warm); color: var(--sc-warm-ink); font: 600 14px/1 var(--sc-ui); cursor: pointer; }
  .sc-safe:active { background: var(--sc-warm-plate); }

  /* ---------- pager ---------- */
  .sc-pager { flex: 1 1 auto; min-height: 0; display: flex; gap: 12px; padding: 4px 16px 8px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .sc-pager::-webkit-scrollbar { display: none; }
  .sc-slide { position: relative; flex: 0 0 calc(100% - 12px); min-width: 0; display: flex; flex-direction: column; overflow: hidden;
    scroll-snap-align: start; scroll-snap-stop: always; border-radius: 28px; background: var(--sc-surface); border: 1px solid var(--sc-line); box-shadow: var(--sc-shadow);
    opacity: .66; transform: scale(.985); transition: opacity .28s var(--sc-ease), transform .28s var(--sc-ease); }
  .sc-slide.is-active { opacity: 1; transform: none; }
  .sc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; overscroll-behavior-x: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px 22px; scrollbar-width: none; }
  .sc-body::-webkit-scrollbar { display: none; }
  .sc-wrap { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .sc-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; pointer-events: none; opacity: 0; transition: opacity .2s;
    background: linear-gradient(to bottom, transparent, var(--sc-surface) 90%); }
  .sc-slide.sc-more-below .sc-fade { opacity: 1; }
  .sc-hero .sc-fade { display: none; }

  /* ---------- type ---------- */
  .sc-kick { margin: 0 0 10px; font: 700 11.5px/1.35 var(--sc-ui); letter-spacing: .13em; text-transform: uppercase; }
  .sc-h1 { margin: 0; font: 500 clamp(30px, 9vw, 36px)/1.06 var(--sc-head); letter-spacing: -.015em; }
  .sc-h2 { margin: 10px 0 10px; font: 500 27px/1.12 var(--sc-head); letter-spacing: -.012em; overflow-wrap: break-word; }
  .sc-lab { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font: 700 12px/1.2 var(--sc-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-warm-ink); }
  .sc-lab .sc-i { color: var(--sc-acc); }
  .sc-p { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: var(--sc-muted); }

  /* ---------- hero card ---------- */
  .sc-hero { background: linear-gradient(158deg, var(--sc-hero-a), var(--sc-hero-b)); color: var(--sc-hero-ink); border-color: transparent; }
  .sc-hero::after { display: none; }
  .sc-hero .sc-body { padding: 24px 22px 22px; display: flex; flex-direction: column; }
  .sc-orn { position: absolute; right: -52px; top: -48px; width: 230px; height: 230px; color: var(--sc-hero-ink); opacity: .16; pointer-events: none; }
  .sc-orn svg { width: 100%; height: 100%; display: block; }
  .sc-hero .sc-kick { position: relative; color: var(--sc-hero-ink); opacity: .82; margin-top: 4px; }
  .sc-hero .sc-h1 { position: relative; }
  .sc-lead { position: relative; margin: 14px 0 0; font-size: 16px; line-height: 1.55; opacity: .92; }
  .sc-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: auto; padding: 0 24px; border: 0; border-radius: 999px;
    background: #fff; color: #0F474D; font: 600 16px/1 var(--sc-ui); cursor: pointer; }
  .sc-hero .sc-lead { margin-bottom: 22px; }
  html[data-night="1"] .sc-hero .sc-cta { background: #E9EEF2; color: #0E2A31; }
  .sc-herosafe { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin-top: 12px; padding: 10px 14px; text-align: left; cursor: pointer;
    border-radius: 20px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: var(--sc-hero-ink); font-family: var(--sc-ui); }
  .sc-herosafe:active { background: rgba(255,255,255,.2); }
  .sc-hs-t { flex: 1; min-width: 0; display: block; }
  .sc-hs-t b { display: block; font: 600 15px/1.2 var(--sc-ui); }
  .sc-hs-t span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 3px; font: 400 13.5px/1.35 var(--sc-ui); opacity: .86; }

  /* ---------- idea cards ---------- */
  .sc-row { display: flex; align-items: flex-start; gap: 12px; }
  .sc-badge { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--sc-acc); font: 500 20px/1 var(--sc-head); }
  .sc-badge svg:not(.sc-bdone svg) { position: absolute; inset: 0; width: 44px; height: 44px; }
  .sc-ring-t { fill: var(--sc-acc-soft); stroke: var(--sc-line2); stroke-width: 1.5; }
  .sc-ring-f { fill: none; stroke: var(--sc-acc); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .35s var(--sc-ease); }
  .sc-badge b { position: relative; font-weight: 500; transition: opacity .15s; }
  .sc-bdone { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .25s var(--sc-ease); color: var(--sc-on-acc); }
  .sc-badge.done .sc-ring-t { fill: var(--sc-acc); stroke: var(--sc-acc); }
  .sc-badge.done b { opacity: 0; }
  .sc-badge.done .sc-bdone { opacity: 1; transform: none; }
  .sc-sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-headtxt { flex: 1; min-width: 0; }
  .sc-headtxt .sc-h2 { margin: 2px 0 6px; font-size: 25px; line-height: 1.12; }
  .sc-ages { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: -2px 0 0; }
  .sc-age { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: var(--sc-ink); font: 600 13.5px/1.2 var(--sc-ui); }
  .sc-age .sc-i { color: var(--sc-acc); }
  .sc-age-x { color: var(--sc-muted); font-weight: 500; }
  .sc-age-x::before { content: "\00B7"; margin-right: 8px; color: var(--sc-line2); font-weight: 700; }
  .sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .sc-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border-radius: 999px; background: var(--sc-sunken); color: var(--sc-ink); font: 500 14px/1.2 var(--sc-ui); }
  .sc-need { margin: 0; padding: 10px 14px; border-radius: 16px; background: var(--sc-sunken); font-size: 14.5px; line-height: 1.5; }
  .sc-clamp:not(.open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .sc-toggle { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 -10px; padding: 0 4px; border: 0; background: none; color: var(--sc-acc); font: 600 14px/1 var(--sc-ui); cursor: pointer; }
  .sc-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
  .sc-steps li { margin: 0; padding: 0; }
  .sc-step { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 10px 12px 10px 10px; text-align: left; cursor: pointer;
    border-radius: 16px; border: 1px solid var(--sc-line); background: var(--sc-paper); color: var(--sc-ink); font: 400 16px/1.38 var(--sc-ui); }
  .sc-step:active { background: var(--sc-acc-tint); }
  .sc-num { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: 0; border-radius: 50%; border: 1.5px solid var(--sc-line2); color: var(--sc-muted); transition: background-color .18s, border-color .18s, color .18s, transform .22s var(--sc-ease); }
  .sc-num b { font: 600 14px/1 var(--sc-ui); }
  .sc-num .sc-i { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .22s var(--sc-ease); }
  .sc-step[aria-checked="true"] { background: var(--sc-acc-tint); border-color: transparent; color: var(--sc-muted); }
  .sc-step[aria-checked="true"] .sc-num { background: var(--sc-acc); border-color: var(--sc-acc); color: var(--sc-on-acc); }
  .sc-step[aria-checked="true"] .sc-num b { opacity: 0; }
  .sc-step[aria-checked="true"] .sc-num .sc-i { opacity: 1; transform: none; }
  .sc-st { min-width: 0; padding-top: 4px; overflow-wrap: break-word; }
  .sc-notice { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; flex: none; margin: 0 10px 8px; padding: 9px 14px; border-radius: 20px; background: var(--sc-warm); border: 1px solid var(--sc-warm-edge); }
  .sc-nplate { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sc-warm-plate); color: var(--sc-warm-ink); }
  .sc-nlab { margin: 0 0 1px; font: 700 12px/1.2 var(--sc-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-warm-ink); }
  .sc-nq { margin: 0; font: 500 17px/1.3 var(--sc-head); letter-spacing: -.005em; color: var(--sc-ink); }

  /* ---------- extra sections, questions, more ---------- */
  .sc-plate { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--sc-acc-soft); color: var(--sc-acc); }
  .sc-plate-warm { background: var(--sc-warm-plate); color: var(--sc-warm-ink); flex: none; }
  .sc-prose { margin: 0 0 12px; font-size: 16px; line-height: 1.6; max-width: none; }
  .sc-prose a { color: var(--sc-acc); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  h3.sc-prose { font: 500 20px/1.25 var(--sc-head); margin: 18px 0 6px; }
  ul.sc-prose, ol.sc-prose { padding-left: 22px; }
  .sc-tips { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
  .sc-tips li { position: relative; margin: 0; padding: 10px 0 10px 22px; font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--sc-line); }
  .sc-tips li:last-child { border-bottom: 0; }
  .sc-tips li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-acc); }
  .sc-tablewrap { overflow-x: auto; margin: 8px 0 14px; border-radius: 16px; border: 1px solid var(--sc-line); }
  .sc-tablewrap table { display: table; width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
  .sc-tablewrap th, .sc-tablewrap td { min-width: 0; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--sc-line); text-align: left; vertical-align: top; background: transparent; color: var(--sc-ink); }
  .sc-tablewrap thead th { background: var(--sc-acc-soft); font-weight: 600; }
  .sc-acc { margin: 0 0 8px; border-radius: 20px; border: 1px solid var(--sc-line); background: var(--sc-paper); overflow: hidden; }
  .sc-acc[open] { background: var(--sc-surface); border-color: var(--sc-line2); }
  .sc-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 14px 12px 16px; cursor: pointer; list-style: none; font: 600 16px/1.35 var(--sc-ui); color: var(--sc-ink); }
  .sc-sum::-webkit-details-marker { display: none; }
  .sc-sum::marker { content: ""; }
  .sc-sum:active { background: var(--sc-acc-tint); }
  .sc-chev { color: var(--sc-acc); transition: transform .22s var(--sc-ease); }
  .sc-acc[open] .sc-chev { transform: rotate(180deg); }
  .sc-ans { margin: 0; padding: 0 16px 16px; font-size: 15.5px; line-height: 1.58; color: var(--sc-muted); animation: sc-in .24s var(--sc-ease) both; }
  @keyframes sc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  .sc-rail { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 152px; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 10px;
    scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sc-rail::-webkit-scrollbar { display: none; }
  .sc-mcard { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 112px; padding: 12px; border-radius: 20px;
    border: 1px solid var(--sc-line); background: var(--sc-paper); color: var(--sc-ink); text-decoration: none; }
  .sc-mcard:active { background: var(--sc-acc-tint); }
  .sc-mi { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--sc-acc-soft); color: var(--sc-acc); }
  .sc-mcard.t1 .sc-mi, .sc-mcard.t3 .sc-mi { background: var(--sc-warm-plate); color: var(--sc-warm-ink); }
  .sc-mt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font: 600 15px/1.3 var(--sc-ui); text-wrap: balance; }
  .sc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .sc-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sc-line2); background: transparent; color: var(--sc-ink); text-decoration: none; font: 600 14.5px/1 var(--sc-ui); }
  .sc-pill:active { background: var(--sc-acc-tint); }
  .sc-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--sc-line); color: var(--sc-muted); font-size: 13.5px; }
  .sc-note .sc-prose { font-size: 13.5px; line-height: 1.55; margin: 0 0 6px; }

  /* ---------- progress + prev/next ---------- */
  .sc-ctl { flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 4px max(16px, env(safe-area-inset-left, 0px)); }
  .sc-nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sc-line2); background: var(--sc-surface); color: var(--sc-ink); cursor: pointer; padding: 0; }
  .sc-nav:disabled { opacity: .35; cursor: default; transform: none; }
  .sc-prog { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
  .sc-plab { max-width: 100%; font: 600 13px/1 var(--sc-ui); color: var(--sc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
  .sc-dots { display: flex; align-items: center; gap: 5px; }
  .sc-dot { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--sc-line2); transition: width .26s var(--sc-ease), background-color .2s; }
  .sc-dot-x { background: var(--sc-line); box-shadow: inset 0 0 0 1px var(--sc-line2); }
  .sc-dot.on { width: 20px; background: var(--sc-acc); box-shadow: none; }

  /* ---------- safety sheet ---------- */
  html.sc-lock { overflow: hidden; }
  .sc-layer { position: fixed; inset: 0; z-index: 2147482100; }
  .sc-layer[hidden] { display: none; }
  .sc-scrim { position: absolute; inset: 0; background: var(--sc-scrim); opacity: 0; transition: opacity .25s; }
  .sc-layer.on .sc-scrim { opacity: 1; }
  .sc-sheet { position: absolute; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); max-height: 86dvh; max-height: min(86vh, 86dvh); display: flex; flex-direction: column;
    padding: 8px 18px 16px; border-radius: 28px; background: var(--sc-surface); color: var(--sc-ink); border: 1px solid var(--sc-line); box-shadow: 0 -10px 50px rgba(10,20,30,.3);
    font: 400 16px/1.5 var(--sc-ui); transform: translateY(112%); transition: transform .28s var(--sc-ease); outline: 0; }
  .sc-layer.on .sc-sheet { transform: none; }
  .sc-grip { width: 38px; height: 4px; margin: 2px auto 10px; border-radius: 9px; background: var(--sc-line2); flex: none; }
  .sc-sh-head { display: flex; align-items: center; gap: 12px; flex: none; margin-bottom: 8px; }
  .sc-sh-t { flex: 1; min-width: 0; }
  .sc-kick-dark { margin: 0 0 2px; color: var(--sc-warm-ink); font-size: 11.5px; }
  .sc-sh-h { margin: 0; font: 500 24px/1.15 var(--sc-head); letter-spacing: -.01em; }
  .sc-x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; background: var(--sc-sunken); color: var(--sc-ink); cursor: pointer; }
  .sc-sh-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; padding: 4px 0 30px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); }
  .sc-safelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .sc-safelist li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 2px; font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--sc-line); }
  .sc-safelist li:last-child { border-bottom: 0; }
  .sc-tick { margin-top: 3px; color: var(--sc-ok, #2F7A4F); }
  html[data-night="1"] .sc-tick { color: #6FCF97; }
  .sc-sh-foot { flex: none; padding-top: 10px; }
  .sc-cta-solid { margin-top: 0; background: var(--sc-acc); color: var(--sc-on-acc); }

  /* ---------- short phones ---------- */
  @media (max-height: 740px) {
    .sc-body { padding: 16px 16px 24px; }
    .sc-hero .sc-body { padding: 18px 18px 18px; }
    .sc-h1 { font-size: 30px; }
    .sc-h2 { font-size: 25px; margin: 10px 0 10px; }
    .sc-lead { font-size: 15px; line-height: 1.5; margin-top: 10px; }
    .sc-lab { margin: 16px 0 8px; }
    .sc-step { font-size: 16px; padding: 10px 12px 10px 10px; min-height: 52px; }
    .sc-nq { font-size: 18px; }
    .sc-herosafe { min-height: 60px; }
    .sc-orn { width: 190px; height: 190px; }
  }
  @media (max-height: 640px) { .sc-hs-t span { display: none; } .sc-herosafe { min-height: 52px; } }

  /* ---------- reduced motion ---------- */
  @media (prefers-reduced-motion: reduce) {
    .sc-slide, .sc-press, .sc-dot, .sc-num, .sc-num .sc-i, .sc-chev, .sc-sheet, .sc-scrim, .sc-fade { transition: none !important; }
    .sc-ans { animation: none; }
    .sc-slide { transform: none; }
  }
}
