/* CookClip site look: editorial hero, scroll-driven feature chapters, dark closing CTA.
   Used by every localized homepage (markup from tools/scripts/homepage.js) and by the
   hand-written pricing and support pages. */
:root {
  --bg: #fbf8f3;
  --bg2: #f3ede3;
  --ink: #1d1813;
  --ink2: #5e5246;
  --line: rgba(29, 24, 19, .12);
  --brand: #c2410c;
  --brand2: #ee7444;
  --f: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --card: #fff;
  /* The closing CTA and footer stay dark in both themes. */
  --night: #1d1813;
  --on-night: #fbf8f3;
  /* Consumed by shared-footer.css so the footer continues the dark CTA. */
  --color-footer: var(--night);
  --color-footer-soft: rgba(251, 248, 243, .72);
  --color-footer-ink: var(--on-night);
  --font-body: var(--f);
  --font-display: var(--f);
}
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
/* No sideways panning on phones: animated frames and the marquee may sit past the edge.
   clip (unlike hidden) keeps the page scrolling on the viewport, so the sticky nav still works. */
html { scroll-behavior: smooth; color-scheme: light; max-width: 100%; overflow-x: clip; }
body { margin: 0; max-width: 100%; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f); overflow-x: hidden; overflow-x: clip; }
.hero, .marquee, .chapters, .faq, .cta { max-width: 100%; overflow-x: clip; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
/* The iOS app opens support pages with ?theme=dark. */
html[data-theme="dark"] { color-scheme: dark; --bg: #13110f; --bg2: #1c1916; --card: #221e1b; --ink: #f4efea; --ink2: #c6bdb3; --line: rgba(244, 239, 234, .14); --brand: #f08a5d; --brand2: #f08a5d; --night: #0b0908; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f); font-weight: 700; margin: 0; letter-spacing: -.045em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; font-weight: 600; color: var(--brand); }
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2 { letter-spacing: -.02em; line-break: strict; }
/* Korean wraps between words; Japanese wraps at phrase boundaries where supported. */
:lang(ko) h1, :lang(ko) h2 { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2 { word-break: auto-phrase; }
:lang(ja) em, :lang(ko) em { font-style: normal; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mono { font: 600 11px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.skip-link { position: absolute; left: 12px; top: -100px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }

/* Opaque on purpose: a blurred, translucent bar flickers over the animated hero and marquee. */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s; transform: translateZ(0); }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 17px var(--f); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: none; gap: 24px; }
.nav-links a { color: var(--ink2); font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang-select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 28px 0 32px; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5246' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E") 11px center / 16px no-repeat; color: var(--ink); font: 600 13px var(--f); cursor: pointer; }
.lang-picker { position: relative; display: flex; }
.lang-picker::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid var(--ink2); border-bottom: 1.5px solid var(--ink2); transform: rotate(45deg); pointer-events: none; }
.lang-select:hover { box-shadow: inset 0 0 0 1px var(--ink2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 14px var(--f); white-space: nowrap; transition: transform .2s var(--ease), background .2s; }
.btn:hover { color: var(--bg); background: var(--brand); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost:hover { background: transparent; color: inherit; opacity: .8; }

.hero { padding: 40px 0 56px; position: relative; }
.hero-grid { display: grid; gap: 40px; }
.hero-grid > *, .ch-body > * { min-width: 0; }
.hero h1 { font-size: clamp(38px, 10.5vw, 84px); line-height: .92; margin: 0 0 22px; font-weight: 800; letter-spacing: -.055em; }
:lang(ja) .hero h1, :lang(ko) .hero h1 { font-size: clamp(30px, 8vw, 60px); line-height: 1.05; letter-spacing: -.03em; }
.hero h1 .w, .sw .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .1em 0; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: up .9s var(--ease) forwards; }
.lede { font-size: 17px; color: var(--ink2); max-width: 30em; opacity: 0; animation: fade .8s .7s var(--ease) forwards; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; opacity: 0; animation: fade .8s .85s var(--ease) forwards; }
.badge img { height: 52px; width: auto; transition: transform .2s var(--ease); }
.badge:hover img { transform: translateY(-2px); }
.get small { font-size: 13px; color: var(--ink2); }
.stage { position: relative; display: flex; justify-content: center; max-width: 680px; width: 100%; margin: 0 auto; padding: 10px 0 20px; }
.stage .par, .stage .float { width: 100%; }
.stage .par { will-change: transform; }
.stage .float { animation: float 7s 1.5s ease-in-out infinite; will-change: transform; }
.cover { width: 100%; height: auto; opacity: 0; animation: coverIn 1.2s .3s var(--ease) forwards; }
.blob { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #f6d9c6 0%, transparent 68%); top: 12%; left: 11%; z-index: -1; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--bg2); display: flex; align-items: center; gap: 20px; }
.marquee h2 { flex-shrink: 0; position: relative; z-index: 2; align-self: stretch; display: flex; align-items: center; background: var(--bg2); box-shadow: 24px 0 20px 0 var(--bg2); padding: 0 4px 0 20px; margin: 0; font: 600 11px/1 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.mq { overflow: hidden; flex: 1; min-width: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 40px); mask: linear-gradient(90deg, transparent, #000 40px); }
.marquee ul { display: flex; width: max-content; animation: scroll 30s linear infinite; list-style: none; margin: 0; padding: 0; }
.marquee li { font: 700 clamp(20px, 4vw, 28px)/1 var(--f); letter-spacing: -.04em; white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: "✦"; color: var(--brand); font-size: .5em; margin: 0 16px; }

.chapters { padding: 72px 0 24px; }
.ch-list { display: grid; }
.ch { padding: 48px 0; border-top: 1px solid var(--line); display: grid; gap: 26px; scroll-margin-top: 60px; }
.ch-num { display: flex; justify-content: space-between; align-items: baseline; }
.ch-num b { display: inline-block; font: 800 44px/1 var(--f); color: var(--brand); letter-spacing: -.06em; transition: transform 1s var(--ease), opacity 1s; }
.ch h2 { font-size: clamp(28px, 7vw, 44px); line-height: 1; margin-bottom: 14px; }
:lang(ja) .ch h2, :lang(ko) .ch h2 { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.2; }
.ch p { color: var(--ink2); font-size: 17px; max-width: 26em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tags li { padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; transition: transform .6s var(--ease), opacity .6s; }
.tags li:nth-child(2) { transition-delay: .08s; }
.tags li:nth-child(3) { transition-delay: .16s; }
.tags li:nth-child(4) { transition-delay: .24s; }
.tags a { color: inherit; }
.tags a:hover { color: var(--brand); }

/* iPad + iPhone pair. Sizes use container units so the pair scales as one object. */
.sticky { display: none; }
.duo { position: relative; width: 100%; max-width: 580px; margin: 0 auto; padding: 0 11% 17% 0; container-type: inline-size; }
/* Frames take their size from the screenshot so screens are never cropped. */
.ipad { --b: 1.8cqw; position: relative; padding: var(--b); border-radius: 3.8cqw; background: #16110c; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -30px rgba(80, 40, 10, .4), 0 10px 24px -10px rgba(80, 40, 10, .2); }
.ipad img { width: 100%; height: auto; aspect-ratio: 1376 / 1032; object-fit: contain; border-radius: 2.2cqw; background: var(--bg); }
.phone { --b: 1.2cqw; position: absolute; right: 0; bottom: 0; width: 30%; padding: var(--b); border-radius: 6.4cqw; overflow: hidden; isolation: isolate; background: #16110c; rotate: -3deg; box-shadow: 0 30px 60px -20px rgba(60, 30, 10, .5); }
.phone img { width: 100%; height: auto; aspect-ratio: 603 / 1311; object-fit: contain; border-radius: 5.2cqw; background: var(--bg); }

.faq { padding: 72px 0; background: var(--bg2); }
.faq h2 { font-size: clamp(30px, 6.4vw, 46px); line-height: 1; margin-bottom: 32px; }
:lang(ja) .faq h2, :lang(ko) .faq h2 { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0; font: 600 clamp(17px, 4.2vw, 21px)/1.3 var(--f); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px var(--f); color: var(--brand); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding: 0 0 22px; max-width: 38em; }

.cta { background: var(--night); color: var(--on-night); padding: 88px 0 0; overflow: hidden; }
.cta h2 { font-size: clamp(38px, 10vw, 96px); line-height: .9; font-weight: 800; letter-spacing: -.06em; }
:lang(ja) .cta h2, :lang(ko) .cta h2 { font-size: clamp(30px, 7.5vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.cta h2 em { color: var(--brand2); }
.cta p { color: rgba(251, 248, 243, .72); font-size: 18px; margin-top: 20px; }
.cta .get { opacity: 1; animation: none; }
.cta .btn.ghost:hover { color: var(--on-night); }
.cta .btn:not(.ghost) { background: var(--on-night); color: var(--night); }
.cta .btn:not(.ghost):hover { background: var(--brand2); color: var(--night); }
.cta :focus-visible { outline-color: var(--on-night); }
.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 88px; padding: 24px 0 8px; border-top: 1px solid rgba(251, 248, 243, .15); font-size: 12px; }
.cta .maker { margin: 0; font-size: 13px; color: rgba(251, 248, 243, .72); }
.maker a { color: var(--on-night); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(251, 248, 243, .35); text-underline-offset: 3px; }
.maker a:hover { color: var(--brand2); }
.lang { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lang a { display: inline-flex; align-items: center; min-height: 32px; color: rgba(251, 248, 243, .6); }
.lang a:hover, .lang a[aria-current] { color: var(--on-night); }

/* Inner pages (pricing, support). */
.page-hero { padding: 48px 0 40px; }
.page-hero .wrap { display: grid; align-content: start; }
.page-hero .wrap > * { min-width: 0; }
.page-hero .content-ugc-media { order: 9; margin-top: 36px; }
.page-hero h1 { font-size: clamp(38px, 10vw, 76px); line-height: .95; font-weight: 800; letter-spacing: -.05em; margin-bottom: 20px; }
.page-hero .hero-sub { font-size: 17px; color: var(--ink2); max-width: 34em; }
.page-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.content-ugc-media { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(80, 40, 10, .45); }
.content-ugc-image { width: 100%; height: auto; }
.section { padding: 56px 0; }
.section.alt { background: var(--bg2); }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 40em; }
.section-head h2 { font-size: clamp(30px, 6.4vw, 46px); line-height: 1.02; }
.section-head p { color: var(--ink2); font-size: 17px; }

.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); font-weight: 700; }
.plan .pitch { font: 800 clamp(28px, 6vw, 40px)/1 var(--f); letter-spacing: -.045em; }
.plan ul { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 30px; color: var(--ink2); }
.plan li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan li strong { color: var(--ink); }
.plan.pro { background: var(--night); color: var(--on-night); box-shadow: 0 40px 80px -40px rgba(80, 40, 10, .55); }
.plan.pro h2, .plan.pro li { color: rgba(251, 248, 243, .72); }
.plan.pro li strong { color: var(--on-night); }
.plan.pro li::before { background-color: var(--brand2); }
.plan .pill { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; background: var(--brand2); color: #1d1813; font-size: 12px; font-weight: 700; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; }
.compare thead th { font: 700 12px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); background: var(--bg2); }
.compare thead th:last-child { color: var(--brand); }
.compare tbody tr + tr > * { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--ink2); }
.compare td strong { color: var(--ink); }
.compare code { font-size: .9em; }

.notes { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: note; }
.notes li { counter-increment: note; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink2); }
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes li::before { content: counter(note, decimal-leading-zero); font: 800 20px/1.3 var(--f); color: var(--brand); letter-spacing: -.04em; }

.topics { display: grid; gap: 12px; }
.topic { display: grid; gap: 8px; padding: 22px 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.topic:hover { color: var(--ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--brand); }
.topic h2 { display: flex; justify-content: space-between; gap: 12px; font-size: 19px; letter-spacing: -.03em; }
.topic h2::after { content: "→"; color: var(--brand); font-weight: 500; transition: transform .25s var(--ease); }
.topic:hover h2::after { transform: translateX(4px); }
.topic p { color: var(--ink2); font-size: 14px; }

.help { display: grid; gap: 0; }
.help-item { display: grid; gap: 16px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.help-item h2 { font-size: clamp(26px, 5.4vw, 36px); line-height: 1.05; }
.help-item h2 b { display: block; margin-bottom: 10px; font: 800 14px/1 var(--f); letter-spacing: .02em; color: var(--brand); }
.help-item ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; color: var(--ink2); }
.help-item li::marker { color: var(--brand); }
.help-item p { color: var(--ink2); max-width: 40em; }
.help-item a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 4px; }
.steps { display: grid; gap: 12px; margin: 8px 0; }
.step-card { padding: 22px 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.step-card h3 { font-size: 18px; letter-spacing: -.03em; margin-bottom: 12px; }
.step-card ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--ink2); font-size: 15px; }
.step-card ol li::marker { color: var(--brand); font-weight: 700; }
.social { margin-top: 28px; font-size: 14px; }
.social a { color: var(--on-night); text-decoration: underline; text-decoration-color: rgba(251, 248, 243, .35); text-underline-offset: 3px; }

/* In-app support views: no site chrome, only what helps inside CookClip. */
.app-only { display: none !important; }
html[data-source="ios-app"] .nav, html[data-source="ios-app"] .app-hidden { display: none !important; }
html[data-source="ios-app"] .app-only { display: inline-flex !important; }

/* Scroll reveals. Hidden states only apply once the script marks the page ready. */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .1s; }
.js .rv.d2 { transition-delay: .2s; }
.sw .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.sw.in .w > span { transform: none; }
.js .rv:not(.in) .ch-num b, .js .ch-num.rv:not(.in) b { transform: translateY(40%); opacity: 0; }
.js .rv:not(.in) .tags li { opacity: 0; transform: translateY(10px); }
.js .ch .duo.rv { opacity: 1; transform: none; }
.ch .duo .ipad, .ch .duo .phone { transition: transform 1.1s var(--ease), opacity 1s var(--ease); }
.ch .duo .phone { transition-delay: .25s; }
.js .ch .duo.rv:not(.in) .ipad { transform: translateY(40px) scale(.95); opacity: 0; }
.js .ch .duo.rv:not(.in) .phone { transform: translate(30%, 15%) rotate(10deg); opacity: 0; }
.js .cta h2.rv { transform: translateY(60px) scale(.96); transform-origin: left bottom; }
.js .cta h2.rv.in { transform: none; }

@keyframes up { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes coverIn { from { opacity: 0; transform: translateY(50px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes scroll { to { transform: translateX(-50%); } }

@media (max-width: 359px) {
  .logo { font-size: 0; gap: 0; }
  .btn { padding: 0 14px; }
}

@media (max-width: 699px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tbody tr { padding: 16px 20px; }
  .compare tbody th, .compare td { padding: 0; }
  .compare tbody th { margin-bottom: 8px; }
  .compare td { position: relative; padding: 4px 0 4px 56px; font-size: 15px; }
  .compare td::before { content: attr(data-label); position: absolute; left: 0; top: 4px; font: 700 11px/2 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
  .compare td:last-child::before { color: var(--brand); }
  .compare tbody tr + tr > * { border-top: 0; }
  .compare tbody tr + tr { border-top: 1px solid var(--line); }
}

@media (min-width: 700px) {
  .topics { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .nav-links { display: flex; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 84px); }
  :lang(ja) .hero h1, :lang(ko) .hero h1 { font-size: clamp(38px, 3.8vw, 60px); }
  .lede { font-size: 19px; }
  .marquee h2 { padding-left: 40px; }
  .chapters { padding: 80px 0 40px; }
  .ch-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
  .ch { min-height: 86vh; align-content: center; border-top: 0; padding: 0; }
  .ch .duo { display: none; }
  .ch-num { border-top: 1px solid var(--line); padding-top: 18px; max-width: 460px; }
  .sticky { display: flex; flex-direction: column; justify-content: center; position: sticky; top: calc(50vh - 290px); height: 580px; align-self: start; }
  .tilt { transform-style: preserve-3d; will-change: transform; }
  .cap { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
  .cap .mono { color: var(--brand); }
  /* The first screen sizes each sticky frame; the rest stack on top of it. */
  #sd .scr { transition: transform 1.05s cubic-bezier(.7, 0, .2, 1), opacity .9s var(--ease), filter 1s var(--ease); }
  #sd .scr:not(:first-child) { position: absolute; top: var(--b); left: var(--b); width: calc(100% - var(--b) * 2); }
  #sd .phone .scr { transition-delay: .12s; }
  .dots { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
  .dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: height .5s var(--ease), background .5s; }
  .dots i.on { height: 28px; background: var(--brand); }
  .page-hero { padding: 80px 0 64px; }
  /* Copy on the left, image on the right; the image stays a sibling of the copy in the markup. */
  .page-hero .wrap.split { grid-template-columns: 1.05fr .95fr; column-gap: 56px; align-content: center; }
  .page-hero .wrap.split > * { grid-column: 1; }
  .page-hero .wrap.split > .content-ugc-media { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin-top: 0; }
  .page-hero .hero-sub { font-size: 19px; }
  .section { padding: 96px 0; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { padding: 36px; }
  .topics { grid-template-columns: repeat(3, 1fr); }
  .help-item { grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 48px 0; }
  .help-item > h2 { position: sticky; top: 96px; align-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq { padding: 120px 0; }
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
  .faq-grid > div:first-child { position: sticky; top: 100px; }
  .cta { padding: 140px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .w > span, .sw .w > span, .lede, .get, .cover, .js .rv, .js .rv .tags li, .js .rv .ch-num b, .js .ch .duo .ipad, .js .ch .duo .phone { opacity: 1 !important; transform: none !important; }
  #sd .scr { opacity: 0; transform: none !important; }
  #sd .scr.on { opacity: 1; }
}
