/* Foxy landing page — served at mindrise.studio/foxy-draw/
   Palette is the app's own warm set (apps/ios/Foxy/Shared/DesignSystem/Palette.swift,
   mirrored in apps/web/src/styles/tokens.css). Type is deliberately not the
   funnel's rounded sans: Bricolage Grotesque for display/body, Reenie Beanie
   for the pencil notes in the margins. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Reenie Beanie";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/reenie-beanie-latin.woff2) format("woff2");
}

:root {
  color-scheme: light;
  --paper: #fcf8f5;
  --paper-2: #fcf3ef;
  --white: #ffffff;
  --ink: #37292e;
  --ink-2: #6b5b62;
  --ink-3: #b5a6ac;
  --line: #eee3dc;
  --coral: #fb5a74;
  --peach: #ff7e63;
  --coral-ink: #e23e5c;
  --coral-soft: #ffe4e8;
  --sun: #ffb63d;
  --sun-ink: #9a690f;
  --mint: #2fc69c;
  --mint-ink: #14795e;
  --night: #221820;
  --night-2: #2e2029;
  --night-line: #45313c;
  --night-ink: #f7ecef;
  --night-ink-2: #c1aab3;
  --grad: linear-gradient(135deg, #fb5a74, #ff7e63);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Reenie Beanie", "Bradley Hand", "Segoe Print", cursive;
  --r-card: 24px;
  --r-pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --shadow-warm: 0 28px 56px -28px rgba(55, 41, 46, 0.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  /* Paper grain: a procedural noise tile at ~10% so the cream ground reads as
     stock, not as a flat fill. Dark sections paint their own ground over it. */
  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='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .22 0 0 0 0 .16 0 0 0 0 .18 0 0 0 .09 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 780; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 86px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 52ch; margin-top: 18px; }

/* Pencil-note voice: section labels are margin notes, not eyebrow caps. */
.eyebrow {
  font-family: var(--hand);
  font-size: clamp(24px, 2.3vw, 30px);
  line-height: 1;
  color: var(--coral-ink);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--coral); opacity: 0.75; transform: rotate(-6deg); }
.note { font-family: var(--hand); font-size: clamp(22px, 2vw, 26px); line-height: 1.05; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border: 0; border-radius: var(--r-pill);
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(251, 90, 116, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(251, 90, 116, 0.7); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--white); }
.btn-ghost svg { width: 18px; height: 18px; }
.btn-store { padding: 0; min-height: 0; border-radius: 9px; background: #000; box-shadow: var(--shadow-warm); }
.btn-store img { display: block; height: 54px; width: auto; }
.btn-store:hover { transform: translateY(-2px); }
.btn-store.on-dark { box-shadow: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 248, 245, 0.78);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.nav.is-stuck { border-color: var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 10px -4px rgba(55, 41, 46, 0.4); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(36px, 6vw, 88px) var(--gutter) clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(24px, 5vw, 72px); align-items: center;
}
.hero-copy .note { margin-bottom: 18px; transform: rotate(-1.5deg); transform-origin: left; display: inline-block; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 38ch; margin: 24px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* The signature: a coral guide line and the graphite line that follows it. */
.trace { position: relative; white-space: nowrap; }
.trace-line { position: absolute; left: -2%; width: 104%; height: 0.42em; bottom: -0.2em; overflow: visible; pointer-events: none; }
.trace-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trace-line .guide { stroke: var(--coral); stroke-width: 2.5; stroke-dasharray: 1 7; opacity: 0; transition: opacity 0.5s ease 0.15s; }
.trace-line .drawn { stroke: var(--ink); stroke-width: 3.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(0.55, 0.05, 0.3, 1) 0.6s; }
.in .trace-line .guide { opacity: 0.95; }
.in .trace-line .drawn { stroke-dashoffset: 0; }
html:not(.js) .trace-line .guide { opacity: 0.95; }
html:not(.js) .trace-line .drawn { stroke-dashoffset: 0; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 88px 0 24px; }
.hero-kit { position: absolute; top: -40px; right: 0; width: 46%; max-width: 250px; z-index: 0; transform-origin: 50% 100%; }
.hero-kit img { width: 100%; height: auto; display: block; }
.hero-note { position: absolute; left: -5%; bottom: 7%; width: 130px; z-index: 2; transform: rotate(-6deg); }
.hero-note .note { display: block; }
.hero-note svg { width: 70px; height: 40px; display: block; margin-left: 56px; }
.hero-note svg path { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Phone frame around a raw simulator capture (1320×2868). */
.phone {
  --pw: 300px;
  position: relative; z-index: 1; flex: none;
  width: var(--pw); aspect-ratio: 1320 / 2868;
  padding: calc(var(--pw) * 0.028);
  background: #1a1417; border-radius: calc(var(--pw) * 0.165);
  box-shadow: var(--shadow-warm), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--pw) * 0.14); background: #fff; }
.phone::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--pw) * 0.052); transform: translateX(-50%);
  width: calc(var(--pw) * 0.29); height: calc(var(--pw) * 0.078); border-radius: 999px; background: #0b0809;
}
.phone-lg { --pw: 340px; }
.phone-sm { --pw: 250px; }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: var(--section) var(--gutter) 0; }
.section-head { max-width: 62ch; }

/* Start from anything */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.card-art { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; display: grid; place-items: center; }
.card-art > img { width: 86%; height: 86%; object-fit: contain; }
.card-art.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; place-items: stretch; }
.card-art.mosaic img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 6px; }
.card-art.screen { align-items: end; }
.card-art.screen .mini-screen {
  width: 74%; aspect-ratio: 1320 / 1700; margin-top: 16px; overflow: hidden;
  border: 6px solid #1a1417; border-bottom: 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 30px -16px rgba(55, 41, 46, 0.45);
}
.card-art.screen .mini-screen img { width: 100%; height: auto; display: block; }
.card-body { padding: 20px 22px 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .kicker { font-family: var(--hand); font-size: 24px; color: var(--coral-ink); line-height: 1; display: block; margin-bottom: 6px; }

/* How it works */
.steps { list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step { position: relative; padding-top: 8px; }
.step h3, .step p { grid-column: 2; }
.step-n {
  position: relative; z-index: 1; width: 54px; height: 54px; margin-bottom: 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--coral); color: var(--coral-ink);
  font-family: var(--hand); font-size: 34px; line-height: 1; transform: rotate(-5deg);
}
.step p { color: var(--ink-2); margin-top: 8px; max-width: 34ch; }
.connector { position: absolute; z-index: 0; top: 20px; height: 48px; left: 27px; right: calc(33.333% - 45px); pointer-events: none; }
.connector path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.connector .guide { stroke: var(--coral); stroke-width: 2.5; stroke-dasharray: 1 7; opacity: 0; transition: opacity 0.5s ease 0.2s; }
.connector .drawn { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.55, 0.05, 0.3, 1) 0.5s; }
.steps.in .connector .guide, html:not(.js) .connector .guide { opacity: 0.95; }
.steps.in .connector .drawn, html:not(.js) .connector .drawn { stroke-dashoffset: 0; }

/* Two ways to trace — the night desk */
.modes { background: var(--night); color: var(--night-ink); margin-top: var(--section); padding: var(--section) 0; }
.modes-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.modes .eyebrow { color: #ff9dad; }
.modes .lede { color: var(--night-ink-2); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.mode { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-card); padding: 26px; display: grid; grid-template-rows: auto 1fr; gap: 22px; }
.mode-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(60% 60% at 50% 60%, rgba(251, 90, 116, 0.18), transparent 70%); }
.mode-art img.scene { width: 92%; height: auto; }
.mode-art.phone-box { aspect-ratio: 1 / 1; }
.mode-art .phone { --pw: min(210px, 42%); }
.mode h3 { color: var(--night-ink); font-size: clamp(22px, 2.2vw, 28px); }
.mode p { color: var(--night-ink-2); margin-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.tags li { font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); color: var(--night-ink); }
.modes .fine { color: var(--night-ink-2); font-size: 14px; margin-top: 26px; max-width: 70ch; }

/* The library */
.library { padding-top: var(--section); }
.library-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: end; }
.stats { display: flex; gap: clamp(18px, 3vw, 40px); list-style: none; padding: 0; margin: 0; justify-content: flex-end; }
.stats b { display: block; font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-stretch: 88%; }
.stats span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.marquee { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.track { display: flex; list-style: none; padding: 0 8px; margin: 0 0 16px; width: max-content; animation: slide 95s linear infinite; }
.track.reverse { animation-direction: reverse; animation-duration: 110s; }
.marquee:hover .track { animation-play-state: paused; }
.tile { position: relative; flex: none; width: 150px; height: 150px; margin-right: 16px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.tile img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.tile-free { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 800; color: #fff; background: var(--mint); padding: 3px 8px; border-radius: var(--r-pill); letter-spacing: 0.01em; }
.tile-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 12px 10px; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--ink); background: linear-gradient(transparent, rgba(255, 255, 255, 0.96) 45%); border-radius: 0 0 20px 20px; opacity: 0; transition: opacity 0.2s ease; }
.tile-name em { display: block; font-style: normal; font-weight: 600; color: var(--ink-2); }
.tile:hover .tile-name, .tile:focus-within .tile-name { opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }
.cats { max-width: var(--wrap); margin: 24px auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.cats li { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.cats li.new { border-color: var(--coral); color: var(--coral-ink); }

/* Learn */
.learn { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.learn-phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.learn-phones .phone:nth-child(2) { margin-top: 64px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 14px no-repeat; }

/* House rules */
.studio { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.studio-art { position: relative; display: grid; place-items: center; }
.studio-art img { width: 78%; max-width: 420px; height: auto; }
.studio-art .note { position: absolute; right: 6%; bottom: 4%; transform: rotate(-5deg); }
.rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.rule { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.rule-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-ink); display: grid; place-items: center; }
.rule-ic svg { width: 22px; height: 22px; }
.rule h3 { font-size: 18px; margin-bottom: 4px; }
.rule p { color: var(--ink-2); font-size: 15.5px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--coral); background: linear-gradient(180deg, #fff, var(--paper-2)); position: relative; }
.plan.pro .ribbon { position: absolute; top: -15px; left: 28px; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill); letter-spacing: 0.01em; }
.plan-name { font-family: var(--hand); font-size: 32px; line-height: 1; color: var(--coral-ink); margin-bottom: 10px; }
.price { font-size: clamp(40px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-stretch: 92%; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price small { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; font-stretch: 100%; }
.price-alt { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.plan .checks { margin-top: 22px; flex: 1; align-content: start; }
.plan .checks li { font-weight: 500; }
.plan .actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 26px; }
.plan .fine { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.plan.free .checks li::before { background-color: var(--ink-3); }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--hand); font-size: 32px; line-height: 1; color: var(--coral-ink); transition: transform 0.2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--ink-2); max-width: 66ch; }

/* Final call */
.final { max-width: var(--wrap); margin: var(--section) auto 0; padding: 0 var(--gutter); }
.final-card { position: relative; overflow: hidden; background: var(--grad); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; box-shadow: 0 30px 60px -30px rgba(251, 90, 116, 0.6); }
.final-card h2 { color: #fff; max-width: 14ch; }
.final-card .lede { color: rgba(255, 255, 255, 0.9); margin-top: 14px; }
.final-card .hero-cta { margin-top: 28px; }
.final-card .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.final-card .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.final-kit { width: clamp(160px, 22vw, 250px); align-self: end; margin-bottom: calc(-1 * clamp(32px, 5vw, 64px)); }
.final-kit img { width: 100%; height: auto; display: block; }

footer { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 64px; color: var(--ink-2); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ink); }
.legal { font-size: 12.5px; color: var(--ink-3); margin-top: 22px; max-width: 80ch; }

/* Motion */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.float { animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
.hero-kit.float { animation-delay: 0.8s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  .track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .trace-line .guide, .connector .guide { opacity: 0.95; transition: none; }
  .trace-line .drawn, .connector .drawn { stroke-dashoffset: 0; transition: none; }
  .btn, .btn-store { transition: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .phone { --pw: 270px; }
  .phone-lg { --pw: 300px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { padding-top: 72px; }
  .hero-note { left: 2%; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; align-items: start; }
  .step-n { grid-row: 1 / span 2; margin-bottom: 0; }
  .step p { margin-top: 6px; }
  .connector { display: none; }
  .steps::before { content: ""; position: absolute; left: 26px; top: 60px; bottom: 40px; border-left: 2.5px dashed var(--coral); opacity: 0.55; }
  .mode-grid { grid-template-columns: 1fr; }
  .library-head { grid-template-columns: 1fr; }
  .stats { justify-content: flex-start; }
  .learn, .studio { grid-template-columns: 1fr; }
  .learn-phones { order: 2; }
  .plans { grid-template-columns: 1fr; }
  .final-card { grid-template-columns: 1fr; }
  .final-kit { justify-self: end; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .phone { --pw: min(260px, 72vw); }
  .phone-lg { --pw: min(280px, 76vw); }
  .phone-sm { --pw: min(220px, 60vw); }
  .learn-phones { gap: 12px; }
  .learn-phones .phone { --pw: 44vw; }
  .learn-phones .phone:nth-child(2) { margin-top: 40px; }
  .hero-kit { width: 50%; right: -2%; top: -16px; }
  .hero-note { display: none; }
  .tile { width: 120px; height: 120px; margin-right: 12px; }
  .stats b { font-size: 34px; }
  .final-kit { margin-bottom: calc(-1 * clamp(32px, 5vw, 64px) - 8px); }
}
