/* Sulco landing page. Tokens mirror the app's warm terracotta theme
   (homeschooling/lib/globals/themes.dart). */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --surface: #f8f6f1;
  --surface-low: #fbfaf6;
  --surface-card: #ffffff;
  --surface-high: #f1ebe0;
  --primary: #d35a32;
  --primary-deep: #b84826;
  --primary-container: #f9e4da;
  --terracotta: #d35a32;
  --honey: #e8734c;
  --honey-container: #f1ebe0;
  --teal: #044c52;
  --teal-container: #d7e6e6;
  --ink: #131a19;
  --green: #044c52;
  --green-deep: #063a3f;
  --muted: #5a544c;
  --outline: #cdc3b2;
  --outline-soft: #e4dbca;
  --ease-swift: cubic-bezier(.625, .05, 0, 1);
  --gutter: 5vw;
  --h1: clamp(2.6rem, 4.8vw, 6rem);
  --h2: clamp(2.1rem, 3.8vw, 5rem);
  --body: clamp(1rem, 1.15vw, 1.35rem);
  --small: clamp(.9rem, .95vw, 1.1rem);
}

* { box-sizing: border-box; }
html { background: var(--surface); scrollbar-color: var(--primary) transparent; scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: var(--body); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: var(--primary); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: var(--h1); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: var(--h2); font-weight: 700; line-height: 1.14; letter-spacing: -.03em; }
h3 { font-weight: 700; letter-spacing: -.02em; }
svg.icon { display: block; width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 10000; background: var(--green); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 16px; }
.container { padding: 7vw var(--gutter); }
.lede { color: var(--muted); }

/* Intro veil: a CSS-only fade, so it also clears without JavaScript. */
.veil { position: fixed; inset: 0; z-index: 9999; background: var(--surface); pointer-events: none; animation: veil .6s ease-out .35s forwards; }
@keyframes veil { to { opacity: 0; visibility: hidden; } }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1.1vw 3vw; color: #fff; transition: transform .7s ease-out, color .4s, background-color .4s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid { color: var(--ink); background: color-mix(in srgb, var(--surface) 72%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .55em; font-size: clamp(1.25rem, 1.6vw, 1.9rem); font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 1.6em; height: 1.6em; border-radius: 28%; }
.site-nav { display: flex; align-items: center; gap: 3vw; font-size: var(--small); }
.link-line { position: relative; display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-swift); }
.link-line:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .6em; line-height: 1.4; border: 0; border-radius: 999px; padding: .75em 1.4em; font: inherit; font-size: var(--small); font-weight: 700; text-decoration: none; cursor: pointer; background: var(--primary); color: #fff; transition: background-color .4s, color .4s, transform .4s var(--ease-swift); }
.pill:hover { background: var(--primary-deep); }
.pill .icon { transition: transform .5s var(--ease-swift); }
.pill:hover .icon:last-child { transform: translateX(.25em); }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--primary-container); }
.roll { display: block; overflow: hidden; white-space: nowrap; line-height: 1.4; }
.roll .ch { display: inline-block; white-space: pre; transition: transform .5s var(--ease-swift); transition-delay: calc(var(--i) * 12ms); text-shadow: 0 1.4em 0 currentColor; }
[data-roll] { display: block; }
a:hover .roll .ch, button:hover .roll .ch, .roll-host:hover .roll .ch { transform: translateY(-1.4em); }

/* Room for descenders inside SplitText's line masks, cancelled in layout. */
[data-para] [class*="-mask"] { padding: .08em .06em .24em; margin: -.08em -.06em -.24em; }

.store { display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: .6em 1.15em; border-radius: 999px; background: var(--primary); color: #fff; line-height: 1.15; font-size: var(--small); }
.store .icon { font-size: 1.5em; }
.store > span { display: block; }
.store small { display: block; font-size: .7em; line-height: 1.25; opacity: .85; }
.store b { display: block; font-weight: 700; line-height: 1.25; }
.store-light { background: #fff; color: var(--green); box-shadow: 0 8px 24px rgb(74 29 15 / .08); }
.stores { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 1.2vw; }

/* Phone frame around app screens. Sizes use cqw so they follow the phone's
   own width: percentage padding would resolve against the parent section. */
.phone { position: relative; container-type: inline-size; border-radius: 15.5% / 7.2%; background: #10151c; box-shadow: 0 0 0 1px #4b525c, 0 0 0 2px #1c2128, 0 36px 70px -28px rgb(20 31 46 / .45); }
.phone > img, .phone > .trio-splash { display: block; width: calc(100% - 5.6cqw); margin: 2.8cqw; aspect-ratio: 1206 / 2622; border-radius: 12.8cqw; }
.phone > img { object-fit: cover; object-position: top; background: var(--surface); }
.phone::after { content: ""; position: absolute; top: 5.4cqw; left: 50%; width: 28cqw; height: 8cqw; transform: translateX(-50%); border-radius: 999px; background: #05070a; }
.phone::before { content: "9:41"; position: absolute; z-index: 1; top: 6.2cqw; left: 12cqw; right: 9.5cqw; height: 6cqw; font-size: 4.3cqw; font-weight: 700; line-height: 6cqw; color: var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 12' fill='%23141f2e'%3E%3Crect y='8' width='3' height='4' rx='.8'/%3E%3Crect x='4.6' y='5.5' width='3' height='6.5' rx='.8'/%3E%3Crect x='9.2' y='3' width='3' height='9' rx='.8'/%3E%3Crect x='13.8' width='3' height='12' rx='.8'/%3E%3Cpath d='M29.5 2.2c2.3 0 4.4.9 6 2.4l1.1-1.2A10.3 10.3 0 0 0 29.5.5c-2.7 0-5.2 1-7.1 2.9l1.1 1.2a8.6 8.6 0 0 1 6-2.4Zm0 3.8c1.3 0 2.5.5 3.4 1.3l1.2-1.2a6.7 6.7 0 0 0-9.2 0l1.2 1.2c.9-.8 2.1-1.3 3.4-1.3Zm0 3.7c-.7 0-1.3.3-1.8.7l1.8 1.8 1.8-1.8c-.5-.4-1.1-.7-1.8-.7Z'/%3E%3Crect x='42.5' y='.5' width='20' height='11' rx='3' fill='none' stroke='%23141f2e' opacity='.45'/%3E%3Crect x='44' y='2' width='17' height='8' rx='1.8'/%3E%3Crect x='63.6' y='4' width='1.6' height='4' rx='.8' opacity='.5'/%3E%3C/svg%3E") right center / 17cqw auto no-repeat; }
.phone-dark::before { filter: invert(1); }

/* Hero */
.hero { position: relative; min-height: 100svh; background: var(--surface); overflow: clip; }
.hero-sky { position: absolute; inset: 0 0 auto; height: 115vh; overflow: hidden; background: linear-gradient(180deg, #044c52 0%, #044c52 18%, #063a3f 32%, #4f3a2a 46%, #9a4c2c 58%, #d35a32 68%, #e8926d 80%, #f9e4da 92%, var(--surface) 100%); }
.hero-sky i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.hero-sky i:nth-child(1) { width: 46vw; height: 28vw; left: -8vw; top: 38%; background: var(--honey); }
.hero-sky i:nth-child(2) { width: 52vw; height: 30vw; right: -12vw; top: 26%; background: var(--terracotta); animation-delay: -6s; }
@keyframes drift { to { transform: translate3d(7vw, -3vw, 0) scale(1.15); } }
.hero-word { position: absolute; left: 50%; top: 13vh; transform: translateX(-50%); margin: 0; font-size: 27vw; font-weight: 700; line-height: 1; letter-spacing: -.06em; color: #fff; opacity: .1; white-space: nowrap; user-select: none; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 10vw; min-height: 100svh; padding: 40vh var(--gutter) 8vh; }
.hero-phone-col { display: flex; flex: 0 0 33%; justify-content: center; }
.hero-phone { width: 25vw; margin-left: 5rem; }
.hero-copy { display: flex; flex-direction: column; gap: 2.4vw; flex: 1; padding-top: 30vh; }
.hero-copy > p { width: min(30vw, 40rem); }
.hero-note { display: flex; align-items: center; gap: .5em; font-size: var(--small); color: var(--muted); margin-top: 1vw; }
.hero-note b { color: var(--teal); }

/* About */
.about { position: relative; overflow: hidden; }
.about-head { display: flex; justify-content: space-between; gap: 6vw; padding: 4vh 0 8vh; }
.about-head h2 { width: 42vw; }
.about-head p { width: 30vw; text-align: right; }
.trio { position: relative; display: flex; justify-content: center; gap: 4vw; padding: 72px 0; }
.trio .phone { width: 21vw; }
.trio-line { position: absolute; inset: 50% -5vw auto; width: calc(100% + 10vw); height: 40%; color: var(--outline); opacity: 0; z-index: 0; transform: translateY(-50%); }
.phone > .trio-splash { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6cqw; padding: 8cqw; text-align: center; background: var(--surface); color: var(--ink); font-size: 5cqw; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.trio-splash img { width: 78%; }

/* Focus sentence */
.focus { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 10vh var(--gutter); text-align: center; }
.focus p { width: min(68vw, 80rem); font-size: clamp(2rem, 3.6vw, 4.8rem); font-weight: 700; line-height: 1.28; letter-spacing: -.03em; opacity: 1; }

/* Stacked feature cards */
.features-head { padding: 0 var(--gutter) 5vw; }
.features-head h2 { width: min(50vw, 60rem); margin-bottom: 1.5vw; }
.features-head p { width: min(40vw, 46rem); }
.stack-scroll { height: 545svh; padding: 0 var(--gutter); }
.stack-sticky { position: sticky; top: 7vh; height: 86vh; }
.stack-sticky > div { position: relative; height: 100%; }
.stack-card { position: absolute; inset: 0 0 auto; display: flex; flex-direction: column; gap: 2.2vw; padding: 2.2vw 2.4vw 2.6vw; background: var(--surface-card); border: 1px solid var(--outline); border-radius: 28px; box-shadow: 0 -12px 40px -30px rgb(74 29 15 / .35); }
.stack-card h3 { padding-bottom: 1.8vw; border-bottom: 1px solid var(--outline-soft); font-size: clamp(1.5rem, 2.4vw, 3rem); line-height: 1.2; color: var(--primary); }
.stack-body { display: flex; justify-content: space-between; gap: 5vw; }
.stack-items { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2vw 4vw; flex: 1.5; margin: 0; padding: 0; list-style: none; font-size: var(--small); }
.stack-items li { display: flex; align-items: center; gap: .9em; }
.tile { display: grid; place-items: center; width: clamp(2.6rem, 3.2vw, 4rem); height: clamp(2.6rem, 3.2vw, 4rem); flex: none; border-radius: 14px; background: var(--primary-container); color: var(--primary); font-size: clamp(1.3rem, 1.6vw, 2rem); }
.stack-side { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 1.4vw; }
.stack-side p { color: var(--muted); }

/* Horizontal cycle cards */
.cycle { height: 280svh; margin-top: 4vw; }
.cycle-sticky { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; gap: 3vw; height: 100svh; padding: 0 var(--gutter); overflow: hidden; }
.cycle-sticky h2 { width: min(52vw, 62rem); margin-bottom: 1vw; }
.cycle-sticky .lede { width: min(44vw, 50rem); }
.cycle-track { display: flex; gap: 1.6vw; width: 100%; }
.cycle-card { display: flex; flex: 0 0 25vw; flex-direction: column; justify-content: space-between; gap: 3vw; min-height: 23.5vw; padding: 2vw; border-radius: 24px; color: #fff; background: var(--primary); }
.cycle-card:nth-child(even) { background: var(--green); }
.cycle-card > .icon { font-size: clamp(2rem, 2.6vw, 3.2rem); }
.cycle-card h3 { font-size: clamp(1.4rem, 2vw, 2.6rem); line-height: 1.16; margin-bottom: .6em; }
.cycle-card p { font-size: var(--small); opacity: .9; line-height: 1.5; }

/* Timeline */
.how { text-align: center; }
.how > h2 { margin-bottom: 2vw; }
.how > .lede { width: min(60vw, 72rem); margin: 0 auto; }
.timeline { display: flex; flex-direction: column; align-items: center; margin-top: 4vw; }
.timeline svg { display: block; width: 24px; height: 150px; overflow: visible; }
.step { padding: 1.4vw 0 1.6vw; opacity: 1; }
.step h3 { font-size: clamp(1.25rem, 1.7vw, 2.2rem); }
.step p { font-size: var(--small); color: var(--muted); }
.how .pill { margin-top: 3vw; }

/* Numbers over art */
.numbers { position: relative; display: flex; align-items: center; min-height: 100vh; padding: 6vw var(--gutter); overflow: hidden; color: #fff; background: linear-gradient(160deg, #044c52, #4f3a2a 55%, var(--primary)); }
.numbers-art { position: absolute; z-index: 1; right: 0; bottom: -3vw; width: 42vw; pointer-events: none; }
.numbers-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10vw; width: 62vw; min-height: 76vh; padding: 3vw 5vw 3vw 3vw; border-radius: 28px; background: rgb(255 255 255 / .12); box-shadow: 0 0 0 1px rgb(255 255 255 / .16) inset; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.numbers-panel h2 { width: 30vw; min-width: 16rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4vw; margin: 0; }
.stats div { padding-bottom: 1vw; }
.stats dt { order: 2; padding-top: .9em; border-top: 1px solid rgb(255 255 255 / .35); font-size: var(--small); }
.stats div { display: flex; flex-direction: column; }
.stats dd { order: 1; margin: 0 0 .25em; font-size: clamp(2.2rem, 3.6vw, 4.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.digit { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; text-align: center; }
.digit > span { display: block; }
.digit > span > span { display: block; height: 1.1em; }

/* Family profiles carousel */
.profiles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 4vw; margin-bottom: 4vw; }
.profiles-head h2 { width: min(46vw, 56rem); margin-bottom: 1vw; }
.profiles-head .lede { width: min(44vw, 52rem); }
.arrows { display: flex; gap: .7em; }
.arrow { display: grid; place-items: center; width: clamp(2.5rem, 2.8vw, 3.4rem); height: clamp(2.5rem, 2.8vw, 3.4rem); padding: 0; border: 1px solid var(--primary); border-radius: 50%; background: transparent; color: var(--primary); font-size: 1.2rem; cursor: pointer; transition: background-color .4s, color .4s, opacity .3s; }
.arrow:hover:not(:disabled) { background: var(--primary); color: #fff; }
.arrow:disabled { opacity: .35; cursor: default; }
.profiles { display: flex; align-items: center; gap: 1.6vw; overflow: hidden; }
.profile-main { display: flex; flex: 0 0 58vw; align-items: center; gap: 2.6vw; min-height: 24vw; padding: 2vw; border: 1px solid var(--outline); border-radius: 28px; background: var(--surface-card); }
.profile-main img { width: 19vw; height: 19vw; flex: none; object-fit: contain; border-radius: 20px; padding: 1vw; background: var(--primary-container); }
.profile-main h3 { margin-bottom: .5em; font-size: clamp(1.4rem, 2vw, 2.6rem); line-height: 1.2; color: var(--primary); }
.profile-main .line { display: block; overflow: hidden; }
.profile-main p { color: var(--muted); }
.profile-main small { display: block; margin-top: 1em; font-size: var(--small); font-weight: 700; color: var(--ink); }
.profile-thumb { flex: 0 0 11vw; height: 11vw; padding: .6vw; border: 0; border-radius: 18px; background: var(--honey-container); cursor: pointer; transition: transform .5s var(--ease-swift); }
.profile-thumb:nth-of-type(even) { background: var(--teal-container); }
.profile-thumb:hover { transform: translateY(-.4vw); }
.profile-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* App tour */
.tour { display: grid; grid-template-columns: 26vw 1fr; gap: 3vw; }
.tour-side h2 { margin-bottom: 1vw; }
.tour-side .arrows { margin-top: 3vw; }
.tour-track { display: flex; gap: 1.6vw; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.tour-track::-webkit-scrollbar { display: none; }
.tour-card { position: relative; flex: 0 0 24vw; height: min(36vw, 78vh); overflow: hidden; border-radius: 22px; background: var(--primary-container); scroll-snap-align: start; }
.tour-card:nth-child(3n+2) { background: var(--teal-container); }
.tour-card:nth-child(3n) { background: var(--honey-container); }
.tour-card .phone { width: 76%; margin: 9% auto 0; transition: transform .75s cubic-bezier(.16, 1, .3, 1); }
.tour-card:hover .phone, .tour-card:focus-within .phone { transform: scale(1.05); }
.tour-panel { position: absolute; inset: auto 0 0; padding: 1.2vw 1.4vw; background: var(--green); color: #fff; transform: translateY(101%); transition: transform .75s cubic-bezier(.16, 1, .3, 1); font-size: var(--small); }
.tour-panel b { display: block; font-size: 1.15em; }
.tour-card:hover .tour-panel, .tour-card:focus-within .tour-panel { transform: none; }

/* FAQ */
.faq h2 { margin-bottom: 3vw; }
.faq-item { border-bottom: 1px solid var(--outline); transition: background-color .45s, color .45s, border-radius .45s; }
.faq-item h3 { margin: 0; font-size: var(--body); font-weight: 400; letter-spacing: 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1em; width: 100%; padding: 1.2vw 1vw; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.faq-mark { position: relative; display: grid; place-items: center; width: 1.6em; height: 1.6em; flex: none; border-radius: 50%; background: var(--primary); color: #fff; }
.faq-mark .i-remove { display: none; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-swift); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1vw; font-size: var(--small); }
.faq-a p:last-child { padding-bottom: 1.8vw; }
.faq-item.is-open { background: var(--primary); color: #fff; border-color: transparent; border-radius: 20px; }
.faq-item.is-open .faq-mark { background: #fff; color: var(--primary); }
.faq-item.is-open .i-add { display: none; }
.faq-item.is-open .i-remove { display: block; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* Closing call and revealed footer */
.site-footer .store { background: var(--green); }
.site-footer .store-light { background: #fff; }
.closing { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 0 var(--gutter); background: var(--surface-high); text-align: center; transition: background-color .3s ease-in-out, color .3s ease-in-out; }
.closing.is-hot { background: var(--primary); color: #fff; }
.closing-pill .roll { line-height: 1.4; }
.closing-pill { display: flex; align-items: center; justify-content: center; width: min(45vw, 64rem); padding: 2.5vw 1em; border-radius: 999px; background: var(--green); color: #fff; font-size: clamp(1.6rem, 2.4vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; transition: background-color .3s, color .3s; }
.closing.is-hot .closing-pill { background: #fff; color: var(--primary); }
.closing > p { margin-top: 2vw; }
.site-footer { position: relative; overflow: hidden; min-height: 80vh; padding: 6vw var(--gutter) 2vw; background: var(--primary); color: #fff; }
.footer-row { display: flex; justify-content: space-between; gap: 6vw; }
.footer-brand { width: min(30vw, 34rem); }
.footer-brand .brand { font-size: clamp(2.6rem, 5vw, 6.4rem); }
.footer-brand p { margin: 1em 0 1.4em; font-size: var(--small); }
.footer-links { display: flex; gap: 5vw; font-size: var(--small); }
.footer-links b { display: block; margin-bottom: 1em; font-size: .85em; letter-spacing: .08em; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: .5em; margin: 0; padding: 0; list-style: none; }
.footer-phone { position: absolute; bottom: -22vw; left: 50%; width: 22vw; margin-left: -11vw; pointer-events: none; }
.footer-legal { position: absolute; inset: auto var(--gutter) 2vw; display: flex; justify-content: space-between; align-items: center; font-size: var(--small); }

/* Tablet and phone. Type and spacing are capped in rem so large phones and
   tablets do not scale everything with the viewport. */
@media (max-width: 1025px) {
  :root { --gutter: clamp(20px, 6vw, 56px); --h1: clamp(2.5rem, 7vw, 4rem); --h2: clamp(2rem, 5.4vw, 3.25rem); --body: clamp(1rem, .95rem + .2vw, 1.125rem); --small: clamp(.875rem, .85rem + .12vw, 1rem); }
  .container { padding-block: clamp(56px, 9vw, 96px); }
  .site-header { padding: 12px var(--gutter); }
  .site-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--green); color: #fff; font-size: clamp(1.5rem, 5vw, 2.25rem); font-weight: 700; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav .pill { font-size: 1rem; }
  .menu-toggle { position: relative; z-index: 2; display: block; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
  .menu-toggle i { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .4s var(--ease-swift); }
  .menu-toggle i:first-child { top: 17px; }
  .menu-toggle i:last-child { top: 26px; }
  .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-header.menu-open { color: #fff; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand { position: relative; z-index: 2; }

  /* Hero: the wordmark sits above the headline instead of behind it. */
  .hero-sky { height: min(105svh, 1000px); }
  .hero-word { top: 72px; font-size: min(26vw, 200px); }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 40px; min-height: 0; padding: calc(72px + min(26vw, 200px)) var(--gutter) 0; }
  .hero-copy { gap: 20px; flex: none; width: 100%; padding-top: 0; color: #fff; }
  .hero-copy > p { width: min(100%, 36rem); }
  .hero-note { margin-top: 12px; color: #fff; }
  .hero-note b { color: #fff; }
  .hero-phone-col { flex: none; width: 100%; }
  .hero-phone { width: min(66vw, 340px); margin: 0; }
  .hero .store { background: var(--green); }
  .hero .store-light { background: #fff; }
  .stores { gap: 12px; }
  .store { padding: .7em 1.15em; }

  .about-head { flex-direction: column; gap: 16px; padding: 0 0 40px; }
  .about-head h2, .about-head p { width: min(100%, 40rem); text-align: left; }
  .trio { gap: 3vw; padding: 0; }
  .trio .phone { width: min(29vw, 260px); }
  .trio-line { display: none; }

  .focus { min-height: 80svh; }
  .focus p { width: min(100%, 44rem); font-size: clamp(1.75rem, 4.6vw, 2.75rem); }

  .features-head { padding-bottom: 40px; }
  .features-head h2, .features-head p { width: min(100%, 40rem); }
  .features-head h2 { margin-bottom: 12px; }
  .stack-scroll { height: 400svh; }
  .stack-sticky { top: 72px; height: calc(100svh - 96px); }
  .stack-card { gap: 20px; padding: 24px; border-radius: 24px; }
  .stack-card h3 { padding-bottom: 16px; font-size: clamp(1.375rem, 3.4vw, 1.75rem); }
  .stack-body { flex-direction: column; gap: 20px; }
  .stack-items { gap: 16px 24px; flex: none; }
  .stack-side { gap: 16px; flex: none; }

  .cycle { height: 240svh; margin-top: 0; }
  .cycle-sticky { gap: 32px; }
  .cycle-sticky h2, .cycle-sticky .lede { width: min(100%, 40rem); }
  .cycle-sticky h2 { margin-bottom: 12px; }
  .cycle-track { gap: 16px; }
  .cycle-card { flex-basis: min(74vw, 300px); gap: 32px; min-height: min(70vw, 300px); padding: 24px; }
  .cycle-card > .icon { font-size: 2.25rem; }
  .cycle-card h3 { font-size: 1.5rem; }

  .how > h2 { margin-bottom: 16px; }
  .how > .lede { width: min(100%, 40rem); }
  .timeline { margin-top: 32px; }
  .timeline svg { height: 96px; }
  .step { padding: 16px 0; }
  .step h3 { font-size: 1.25rem; }
  .how .pill { margin-top: 24px; }

  .numbers { flex-direction: column; min-height: 0; padding: 56px var(--gutter); }
  .numbers-art { position: relative; right: auto; bottom: auto; width: min(50vw, 280px); margin-bottom: -32px; }
  .numbers-panel { width: 100%; min-height: 0; gap: 48px; padding: 32px; }
  .numbers-panel h2 { width: 100%; }
  .stats { gap: 24px; }
  .stats dd { font-size: 2.5rem; }

  .profiles-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .profiles-head h2, .profiles-head .lede { width: min(100%, 40rem); }
  .profiles-head h2 { margin-bottom: 12px; }
  .profile-main { flex: 1 1 100%; gap: 28px; min-height: 0; padding: 24px; }
  .profile-main img { width: min(30vw, 200px); height: min(30vw, 200px); padding: 12px; }
  .profile-main > div { flex: 1 1 50%; }
  .profile-main h3 { font-size: 1.5rem; }
  .profile-thumb { display: none; }

  .tour { grid-template-columns: 1fr; gap: 28px; }
  .tour-side h2 { margin-bottom: 12px; }
  .tour-side .arrows { margin-top: 20px; }
  .tour-track { gap: 16px; }
  .tour-card { display: flex; flex-basis: min(66vw, 280px); flex-direction: column; height: auto; }
  .tour-card .phone { width: 78%; margin: 24px auto; }
  .tour-card:hover .phone, .tour-card:focus-within .phone { transform: none; }
  .tour-panel { position: static; margin-top: auto; padding: 0 20px 20px; transform: none; background: none; color: inherit; }

  .faq h2 { margin-bottom: 24px; }
  .faq-q { min-height: 56px; padding: 14px 12px; }
  .faq-a p { padding-inline: 12px; }
  .faq-a p:last-child { padding-bottom: 20px; }

  .closing { min-height: 60svh; padding-block: 64px; }
  .closing-pill { width: min(100%, 480px); padding: 24px 1em; font-size: clamp(1.5rem, 4.5vw, 2rem); }
  .closing > p { margin-top: 16px; }

  .site-footer { display: flex; flex-direction: column; min-height: 0; padding: 56px var(--gutter) 0; overflow: hidden; }
  .footer-row { flex-direction: column; gap: 32px; }
  .footer-brand { width: min(100%, 30rem); }
  .footer-brand .brand { font-size: 2.5rem; }
  .footer-links { gap: 56px; }
  .footer-links a, .footer-legal a { min-height: 40px; }
  .footer-links ul { gap: 0; }
  .footer-legal { position: static; order: 2; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
  .footer-phone { position: static; order: 3; width: min(60vw, 260px); margin: 40px auto calc(min(60vw, 260px) * -1.15); }
}

@media (max-width: 767px) {
  .stores { display: grid; grid-template-columns: 1fr; }
  .hero-phone { width: min(74vw, 320px); margin-inline: auto; }

  /* Three stacked phones would take three screens: swipe between them. */
  .trio { justify-content: flex-start; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .trio::-webkit-scrollbar { display: none; }
  .trio .phone { flex: none; width: min(68vw, 280px); scroll-snap-align: start; }

  .stack-scroll { height: 340svh; }
  .stack-card { gap: 16px; padding: 20px; }
  .stack-items { grid-template-columns: 1fr 1fr; gap: 12px; font-size: .8125rem; line-height: 1.35; }
  .stack-items li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tile { width: 36px; height: 36px; border-radius: 10px; font-size: 1.25rem; }
  .stack-side p { font-size: .875rem; line-height: 1.5; }
  /* The same link on every card only pushes the text out of the stage. */
  .stack-side .pill { display: none; }

  .stats { grid-template-columns: 1fr 1fr; }
  .numbers-panel { padding: 24px; gap: 32px; }

  .profile-main { flex-direction: column; align-items: flex-start; gap: 20px; }
  .profile-main img { width: 160px; height: 160px; }

  .footer-links { gap: 48px; }
  .footer-legal { flex-direction: column-reverse; align-items: flex-start; }
}

/* Short screens: the stage is too low for the pinned cards. */
@media (max-height: 680px) and (max-width: 1025px) {
  .stack-scroll { height: auto; }
  .stack-sticky { position: static; height: auto; }
  .stack-sticky > div { display: flex; flex-direction: column; gap: 16px; height: auto; }
  .stack-card { position: static; transform: none !important; }
  .cycle { height: auto; }
  .cycle-sticky { position: static; height: auto; padding-block: 40px; }
  .cycle-track { overflow-x: auto; transform: none !important; }
}

/* Reduced motion: everything is laid out in its final state. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { display: none; }
  .hero-sky i { animation: none; }
  .stack-scroll { height: auto; }
  .stack-sticky { position: static; height: auto; }
  .stack-sticky > div { display: flex; flex-direction: column; gap: 24px; height: auto; }
  .stack-card { position: static; }
  .cycle { height: auto; }
  .cycle-sticky { position: static; height: auto; overflow: visible; padding-block: 5vw; }
  .cycle-track { overflow-x: auto; padding-bottom: 12px; }
  .roll .ch, .faq-a, .tour-card .phone, .tour-panel, .pill .icon { transition: none; }
}
html.no-js .stack-scroll { height: auto; }
html.no-js .stack-sticky { position: static; height: auto; }
html.no-js .stack-sticky > div { display: flex; flex-direction: column; gap: 24px; height: auto; }
html.no-js .stack-card { position: static; }
html.no-js .cycle { height: auto; }
html.no-js .cycle-sticky { position: static; height: auto; }
html.no-js .cycle-track { overflow-x: auto; }

/* Legal pages: the landing page's sky, card and footer around long text. */
.legal-header { position: absolute; }
.legal-hero { position: relative; overflow: hidden; padding: 11rem var(--gutter) 9rem; color: #fff; background: linear-gradient(180deg, #044c52 0%, #063a3f 30%, #4f3a2a 55%, #9a4c2c 72%, #d35a32 86%, #e8926d 100%); }
.legal-hero h1 { position: relative; max-width: 58rem; }
.legal-hero p { position: relative; margin-top: 1rem; font-size: 1rem; opacity: .9; }
.legal-body { position: relative; max-width: 58rem; margin: -5rem auto 6rem; padding: clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--outline-soft); border-radius: 28px; background: var(--surface-card); font-size: 1rem; line-height: 1.7; }
.legal-body > :first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin: 0 0 1em; }
.legal-body ul { padding-left: 1.4em; }
.legal-body li { margin-bottom: .4em; }
.legal-body h2 { margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--outline-soft); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; color: var(--primary); }
.legal-body a { color: var(--primary-deep); }
.legal-body .table { margin-bottom: 1em; overflow-x: auto; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.legal-body th, .legal-body td { padding: .7em .8em; border-bottom: 1px solid var(--outline-soft); text-align: left; vertical-align: top; }
.legal-body th { color: var(--muted); }
.legal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 3rem var(--gutter); background: var(--primary); color: #fff; font-size: 1rem; }
.legal-footer .brand { font-size: 2.2rem; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.legal-header .pill { font-size: .95rem; }
.legal-header .menu-toggle { display: none; }
@media (max-width: 1025px) {
  .legal-hero { padding-top: 8rem; }
  .legal-hero h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
  .legal-body { margin-inline: var(--gutter); }
}

/* Founder waitlist page (/fundador): the legal page frame around a form. */
.founder-hero p { max-width: 44rem; font-size: var(--body); }
.founder-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.founder-perks ul { list-style: none; padding: 0; }
.founder-perks li { display: flex; gap: .8em; margin-bottom: .9em; }
.founder-perks li .icon { width: 1.4em; height: 1.4em; margin-top: .1em; color: var(--teal); }
.founder-note { color: var(--muted); font-size: .94rem; }
.founder-form { display: grid; gap: 1.2rem; }
.founder-form[hidden], .founder-done[hidden], .founder-alert[hidden], .field-error[hidden] { display: none; }
.founder-form .field { display: grid; gap: .4rem; }
.founder-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.founder-form label { font-weight: 700; font-size: .96rem; }
.founder-form .optional { color: var(--muted); font-weight: 400; }
.founder-form input[type="text"], .founder-form input[type="email"], .founder-form select, .founder-form textarea {
  width: 100%; padding: .8em 1em; border: 1px solid var(--outline); border-radius: 14px; background: var(--surface-low); color: var(--ink); font: inherit; font-size: 1rem;
}
.founder-form textarea { resize: vertical; min-height: 6.5em; }
.founder-form input:focus-visible, .founder-form select:focus-visible, .founder-form textarea:focus-visible { border-color: var(--primary); }
.founder-form [aria-invalid="true"] { border-color: #b3261e; }
.founder-form .field-hint { color: var(--muted); font-size: .88rem; }
.founder-form .field-error { color: #b3261e; font-size: .9rem; font-weight: 700; }
.founder-form .field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .8rem; }
.founder-form .field-check input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--primary); }
.founder-form .field-check label { font-weight: 400; }
.founder-form .field-check .field-error { grid-column: 2; }
.founder-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.founder-challenge { min-height: 65px; }
.founder-alert { padding: .9em 1.1em; border-radius: 14px; background: var(--primary-container); color: var(--primary-deep); font-weight: 700; font-size: .96rem; }
.founder-submit { justify-self: start; font-size: 1rem; white-space: nowrap; }
.founder-submit:disabled { cursor: not-allowed; opacity: .55; }
.founder-submit:disabled:hover { background: var(--primary); }
.founder-done { padding: 1.5rem; border-radius: 20px; background: var(--teal-container); outline: none; }
.founder-done h3 { margin-bottom: .4em; color: var(--teal); font-size: 1.4rem; }
.hero-cta { margin-top: 1.2rem; }
@media (max-width: 767px) {
  .founder-form .field-row { grid-template-columns: 1fr; }
  .founder-submit { justify-self: stretch; }
}
.closing-cta { margin-top: 2vw; }
.closing.is-hot .closing-cta { background: #fff; color: var(--primary); }
.faq-a a { color: var(--primary-deep); }
