/* Foothold's site: one paper field, one sage accent; each style lends its accent and pictures. */
/* The fonts are the site's own files, so no visitor's address goes to Google. Their licences: fonts/licenses/. */
@font-face { font-family: Figtree; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/fraunces-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/fraunces-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/fraunces-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* The app's own tokens: one paper field, one sage accent; each style lends its accent to the hero. */
:root {
  --paper: #f4f0e8;
  --paper-raised: #fbf8f2;
  --paper-deep: #ebe5d9;
  --ink: #2c2a26;
  --ink-soft: #5f5a53;
  --ink-faint: #8d877e;
  --line: #e2dbcf;
  --sage: #6b8f71;
  --sage-deep: #4f6f55;
  --sage-mist: #dce8dc;
  --butter: #f1e4b4;
  --lilac: #e3dcf0;
  --night: #1b1814;
  --lamp: #f1d38a;
  --on-sage: #fbf8f2;
  --accent: #5c7a4f;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 Figtree, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
section, .facts { scroll-margin-top: 76px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; margin: 12px 0 18px; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
p.lede { font-size: 20px; color: var(--ink-soft); max-width: 32em; margin: 0; }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 17px Figtree, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper-raised); }
.btn-primary:hover { background: #423f39; }
.btn-quiet { background: var(--paper-raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn svg { width: 18px; height: 18px; }

/* Nav */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .25s, box-shadow .25s; }
nav.scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 500; }
nav ul a { text-decoration: none; opacity: .8; }
nav ul a:hover { opacity: 1; }
nav .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; margin-left: auto; margin-right: 8px; border: 0; border-radius: 14px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }

/* Hero: the chosen style's own field, full bleed */
.hero { position: relative; overflow: hidden; padding: 76px 0 0; min-height: 820px; }
.field { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transition: opacity .7s ease; }
.field.next { opacity: 0; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(251,248,242,.95) 0%, rgba(251,248,242,.86) 40%, rgba(251,248,242,.05) 72%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 40px 0 130px; }
.hero h1 { font-size: clamp(54px, 7.2vw, 98px); line-height: .97; margin: 16px 0 24px; }
.hero h1 em { transition: color .6s; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.picker { margin-top: 34px; }
.picker small { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.picker small b { color: var(--ink); font-weight: 600; }
.dots { display: flex; gap: 10px; flex-wrap: wrap; }
.dot { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--paper-raised); background: #fff center/130% no-repeat; cursor: pointer; padding: 0; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); transition: transform .2s, border-color .2s; }
.dot:hover { transform: scale(1.06); }
.dot[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.12); }
.stage { position: relative; height: 640px; }
.phone { position: relative; width: 300px; padding: 9px; border-radius: 46px; background: #141414; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 50px 90px -30px rgba(30,25,15,.55); }
.phone img { border-radius: 38px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; background: var(--paper-deep); }
.stage .phone { position: absolute; right: 150px; top: 0; transform: rotate(3deg); }
.mascot { position: absolute; right: -30px; bottom: 20px; width: 200px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.28)); transition: opacity .35s; }
.rails { position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; height: 3px; background: repeating-linear-gradient(90deg, #6b5a44 0 14px, transparent 14px 22px); opacity: .55; }
.train { position: absolute; z-index: 2; bottom: 24px; display: flex; gap: 2px; animation: ride 28s linear infinite; }
.train img { height: 54px; width: auto; }
@keyframes ride { from { transform: translateX(-720px); } to { transform: translateX(110vw); } }

/* Facts strip */
.facts { background: var(--ink); color: var(--paper-raised); padding: 22px 0; }
.facts ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 500; }
.facts li::before { content: "✦"; margin-right: 10px; color: var(--lamp); }

/* The live clock */
.clock { text-align: center; background: var(--paper-deep); }
.clock .big { font-weight: 300; font-size: clamp(88px, 16vw, 200px); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin: 18px 0 12px; }
.clock p { color: var(--ink-soft); font-size: 20px; margin: 0 auto; max-width: 30em; }
.day-track { max-width: 520px; height: 6px; margin: 34px auto 0; border-radius: 6px; background: var(--line); position: relative; }
.day-track i { position: absolute; inset: 0 auto 0 0; background: var(--sage); border-radius: 6px; }
.day-ends { max-width: 520px; margin: 10px auto 0; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-faint); }

/* Chapters: one feature each, on a soft wash of a style */
.chapter { position: relative; overflow: hidden; }
.chapter .wash { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; filter: saturate(.8); }
.chapter.alt { background: var(--paper-raised); }
.chapter .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.chapter.flip .copy { order: 2; }
.num { font-family: Fraunces, serif; font-style: italic; font-size: 110px; line-height: .8; color: var(--accent); opacity: .22; margin-bottom: 4px; }
.shot { position: relative; display: flex; justify-content: center; }
.shot .phone { transform: rotate(-2deg); }
.shot .phone + .phone { position: absolute; width: 250px; left: 50%; margin-left: 20px; top: 70px; transform: rotate(5deg); }
.shot.pair .phone:first-child { margin-left: -160px; }
.shot .buddy { position: absolute; width: 150px; bottom: -10px; right: calc(50% - 280px); filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-soft); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sage-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6f55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.phone.home { position: relative; aspect-ratio: 300 / 649; overflow: hidden; }
.phone.home .home-wall { position: absolute; inset: 9px; border-radius: 38px; background: center/cover; }
.home-time { position: absolute; left: 34px; top: 52px; font-size: 54px; font-weight: 300; color: #fff; letter-spacing: -.03em; text-shadow: 0 2px 14px rgba(0,0,0,.35); line-height: 1; }
.home-time small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; margin-top: 8px; }
.widget { position: absolute; left: 24px; right: 24px; top: 170px; background: rgba(251,248,242,.94); border-radius: 26px; padding: 18px 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.45); }
.w-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.w-task { display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; }
.w-task .tile svg { stroke: var(--ink); }
.w-task b { display: block; font-weight: 600; font-size: 18px; }
.w-task span { font-size: 13px; color: var(--ink-soft); }
.track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--sage); border-radius: 4px; }
.w-left { font-size: 13px; color: var(--ink-soft); margin-top: 9px; }
.home-icons { position: absolute; left: 30px; right: 30px; bottom: 44px; display: flex; justify-content: space-between; }
.home-icons i { width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.75); box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.sizes { display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; background: var(--paper-deep); border-radius: 999px; font-size: 15px; }
.sizes span { padding: 8px 18px; border-radius: 999px; color: var(--ink-soft); }
.sizes span.on { background: var(--paper-raised); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* Focus, dark like the app's Focus */
.chapter.dark { background: var(--night); color: #f4f0e8; }
.chapter.dark .wash { opacity: .22; }
.chapter.dark .eyebrow, .chapter.dark h2 em { color: var(--lamp); }
.chapter.dark p.lede, .chapter.dark .ticks li { color: #b9b0a2; }
.chapter.dark .ticks li::before { background-color: #3a3326; }
.chapter.dark .num { color: var(--lamp); }
.chapter.dark .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.9), 0 0 100px -30px rgba(241,211,138,.3); }

/* Drawn cards: meetings, trips */
.mock { width: 100%; max-width: 400px; background: var(--paper-raised); border-radius: 28px; padding: 24px; box-shadow: 0 30px 70px -35px rgba(44, 42, 38, .45), 0 0 0 1px var(--line); }
.mock-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mock-title b { font-weight: 600; font-size: 19px; display: block; }
.mock-title span { font-size: 14px; color: var(--ink-soft); }
.tile { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--lilac); }
.tile svg { width: 22px; height: 22px; stroke: var(--ink); }
.t-sage { background: var(--sage-mist); } .t-butter { background: var(--butter); } .t-lilac { background: var(--lilac); }
.box { flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.rec-head { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--paper-deep); margin-bottom: 8px; }
.play { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-deep); display: grid; place-items: center; }
.play svg { width: 16px; height: 16px; fill: var(--on-sage); }
.wave { flex: 1; height: 30px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; border-radius: 2px; background: var(--sage); opacity: .7; }
.rec-head small { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sum h4 { margin: 16px 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.sum p { margin: 0 0 6px; font-size: 15px; }
.sum .todo { display: flex; gap: 10px; align-items: baseline; font-size: 15px; margin-bottom: 6px; }
.sum .todo .box { width: 16px; height: 16px; border-radius: 5px; transform: translateY(2px); }
.sum .todo span { color: var(--ink-soft); font-size: 13px; margin-left: auto; white-space: nowrap; }
.map { position: relative; height: 170px; border-radius: 18px; overflow: hidden; background: var(--sage-mist); margin-bottom: 16px; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stops { list-style: none; margin: 0; padding: 0; }
.stops li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 15px; }
.stops .n { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-deep); color: var(--on-sage); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.stops li span:last-child { color: var(--ink-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.stops li.leg { display: block; padding: 0 0 0 40px; margin-top: -4px; font-size: 13px; color: var(--ink-faint); }
.trip-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.trip-foot b { color: var(--sage-deep); font-weight: 600; }
.mock-wrap { position: relative; }
.mock-wrap .buddy { position: absolute; width: 130px; right: -90px; top: -90px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); }

/* Styles: pick a world, see it on every screen */
.worlds-head { max-width: 760px; }
.worlds { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin: 44px 0 34px; }
.world { position: relative; height: 200px; border-radius: 22px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: center/cover; color: #fff; text-align: left; box-shadow: 0 20px 40px -26px rgba(0,0,0,.5); transition: transform .2s; font: inherit; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.62)); }
.world img { position: absolute; left: 50%; top: 14px; width: 92%; transform: translateX(-50%); filter: drop-shadow(0 12px 14px rgba(0,0,0,.3)); transition: transform .25s; }
.world b { position: absolute; z-index: 1; left: 10px; right: 8px; bottom: 10px; font-family: Fraunces, serif; font-weight: 500; font-size: 16px; line-height: 1.1; }
.world:hover { transform: translateY(-4px); }
.world:hover img { transform: translateX(-50%) scale(1.05); }
.world[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.preview { display: grid; grid-template-columns: .8fr 2.2fr; gap: 40px; align-items: center; background: var(--paper-raised); border-radius: 36px; padding: 40px; box-shadow: inset 0 0 0 1px var(--line); }
.preview h3 { font-family: Fraunces, serif; font-weight: 500; font-size: 40px; letter-spacing: -.02em; }
.preview p { color: var(--ink-soft); margin: 10px 0 22px; }
.style-plan { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0; background: var(--sage-mist); color: #3f5a45; }
.style-plan.pack { background: var(--butter); color: #5f4b12; }
.preview p.style-plan { display: table; color: #3f5a45; margin: 0 0 22px; }
.preview p.style-plan.pack { color: #5f4b12; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-deep); }
.toggle button { border: 0; background: none; font: 500 15px Figtree, sans-serif; padding: 9px 20px; border-radius: 999px; color: var(--ink-soft); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screens figure { margin: 0; }
.screens .phone { width: 100%; padding: 7px; border-radius: 34px; }
.screens .phone img { border-radius: 28px; }
.screens figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step { background: var(--paper-raised); border-radius: 28px; padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.stone { width: 56px; height: 56px; margin-bottom: 18px; border-radius: 46% 54% 50% 50% / 55% 48% 52% 45%; background: var(--sage-deep); color: var(--on-sage); display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.step p { color: var(--ink-soft); margin: 8px 0 0; font-size: 17px; }

/* Plans */
.center { text-align: center; }
.center p.lede { margin: 0 auto; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1060px; margin: 52px auto 0; text-align: left; }
.plan { border-radius: 30px; padding: 36px; background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.plan.plus { background: var(--sage-deep); color: var(--on-sage); box-shadow: 0 30px 60px -30px rgba(79,111,85,.7); }
.plan .price { font-family: Fraunces, serif; font-size: 50px; font-weight: 500; letter-spacing: -.03em; margin: 14px 0 2px; }
.plan .per { font-size: 15px; opacity: .75; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 16px; }
.plan li::before { content: "—"; margin-right: 10px; opacity: .5; }
.topups { margin: 32px auto 0; max-width: 40em; font-size: 17px; color: var(--ink-soft); }
.topups b { color: var(--ink); font-weight: 600; }
.small { font-size: 14px; color: var(--ink-faint); margin-top: 12px; }

/* Questions */
.faq { max-width: 780px; margin: 0 auto; }
.faq h2 { text-align: center; margin-bottom: 40px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-size: 20px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 1; color: var(--sage-deep); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); margin: 12px 0 0; }

/* Final: the station at night */
.final { position: relative; overflow: hidden; text-align: center; background: var(--night); color: #f4f0e8; padding: 130px 0 170px; }
.final .wash { position: absolute; inset: 0; background: url(img/styles/railway/field-night.webp) center 40%/cover; opacity: .4; }
.final .wrap { position: relative; z-index: 1; }
.final img.clock-img { width: 110px; margin: 0 auto 10px; filter: drop-shadow(0 0 30px rgba(241,211,138,.5)); }
.final h2 { font-size: clamp(42px, 6vw, 76px); margin: 10px 0 18px; }
.final h2 em { color: var(--lamp); }
.final p.lede { color: #c9c0b2; margin: 0 auto; }
.final .btn-primary { background: var(--lamp); color: var(--night); margin-top: 34px; box-shadow: 0 0 40px -6px rgba(241,211,138,.55); }
.final .rails { bottom: 36px; opacity: .8; }
.final .train { bottom: 38px; filter: brightness(.8); }
.signup { max-width: 460px; margin: 34px auto 0; text-align: left; }
.signup fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.signup fieldset label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border-radius: 16px; font-size: 16px; line-height: 1.3; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); cursor: pointer; transition: background .15s, box-shadow .15s; }
.signup fieldset label:hover { background: rgba(255,255,255,.1); }
.signup fieldset label:has(input:checked) { background: rgba(241,211,138,.14); box-shadow: inset 0 0 0 1.5px var(--lamp); }
.signup input[type="radio"], .signup input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--lamp); cursor: pointer; }
.signup-hint { margin: 12px 4px 0; font-size: 15px; line-height: 1.4; color: #c9c0b2; }
.signup .waitlist { margin-top: 14px; }
.signup-consent { display: flex; align-items: flex-start; gap: 12px; margin: 16px 4px 0; font-size: 15px; line-height: 1.4; color: #c9c0b2; cursor: pointer; }
.signup-consent a { color: var(--lamp); white-space: nowrap; }
.signup-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist { display: flex; gap: 8px; max-width: 460px; margin: 22px auto 0; padding: 6px; background: rgba(255,255,255,.08); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.waitlist:focus-within { box-shadow: inset 0 0 0 1.5px var(--lamp); }
.waitlist input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: 17px Figtree, sans-serif; color: #fff; outline: none; }
.waitlist input::placeholder { color: #a39a8c; }
.waitlist .btn { height: 48px; padding: 0 20px; font-size: 16px; background: #f4f0e8; color: var(--night); }
.final .small { color: #a39a8c; margin-top: 40px; }
#wl-done { color: var(--lamp); font-weight: 500; margin: 18px auto 0; max-width: 460px; }
footer { padding: 34px 0; font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { text-decoration: none; margin-left: 22px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .train { animation: none; transform: translateX(8vw); } }

@media (max-width: 1080px) { .worlds { grid-template-columns: repeat(3, 1fr); gap: 12px; } .world { height: 230px; border-radius: 24px; } .world img { top: 18px; width: 130px; } .world b { left: 14px; right: auto; bottom: 12px; font-size: 20px; } }
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .menu-btn { display: grid; place-items: center; }
  nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(44, 42, 38, .4); }
  nav ul.open { display: flex; }
  nav ul a { display: block; padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line); opacity: 1; }
  nav ul li:last-child a { border-bottom: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(251,248,242,.96) 0%, rgba(251,248,242,.88) 48%, rgba(251,248,242,.1) 78%); }
  .hero-grid, .chapter .wrap, .preview { grid-template-columns: 1fr; }
  .hero-grid { padding: 24px 0 120px; gap: 30px; }
  .stage { height: 560px; max-width: 420px; width: 100%; margin: 0 auto; }
  .stage .phone { right: 50%; transform: translateX(50%) rotate(3deg); width: 255px; }
  .mascot { width: 150px; right: -6px; bottom: 30px; }
  .chapter .wrap { gap: 48px; }
  .chapter.flip .copy { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .preview { padding: 26px; gap: 26px; }
  .mock-wrap .buddy { right: -6px; top: -70px; width: 110px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  nav .btn span { display: none; }
  nav .btn { width: 44px; padding: 0; justify-content: center; }
  p.lede { font-size: 18px; }
  .dots { gap: 7px; }
  .dot { width: 40px; height: 40px; }
  .worlds { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; margin: 32px -16px 26px; padding: 6px 16px 14px; scroll-snap-type: x mandatory; }
  .world { scroll-snap-align: start; height: 210px; }
  .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .screens figure { scroll-snap-align: start; }
  .phone { width: 250px; }
  .shot .phone + .phone { width: 180px; margin-left: -20px; }
  .shot.pair .phone:first-child { margin-left: -120px; }
  .shot .buddy { width: 110px; }
  .plan { padding: 28px; }
  .waitlist .btn { padding: 0 14px; }
}

/* Feature and Styles pages: a smaller hero on a style's field, cards that link the pages together. */
.page-hero { position: relative; overflow: hidden; padding: 76px 0 0; }
.page-hero .field { opacity: 1; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(251,248,242,.96) 0%, rgba(251,248,242,.88) 45%, rgba(251,248,242,.1) 78%); }
.page-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 70px; }
.page-hero h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1; margin: 14px 0 22px; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero .shot { min-height: 560px; align-items: center; }
.page-hero.dark { background: var(--night); color: #f4f0e8; }
.page-hero.dark::after { background: linear-gradient(90deg, rgba(27,24,20,.95) 0%, rgba(27,24,20,.85) 45%, rgba(27,24,20,.15) 78%); }
.page-hero.dark .eyebrow, .page-hero.dark h1 em { color: var(--lamp); }
.page-hero.dark p.lede { color: #c9c0b2; }
.crumbs { font-size: 14px; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero.dark .crumbs { color: #b9b0a2; }
.chapter .more { display: inline-block; margin-top: 26px; font-weight: 600; color: var(--accent); text-decoration: none; }
.chapter .more:hover { text-decoration: underline; }
.chapter.dark .more { color: var(--lamp); }

.fcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard { position: relative; display: flex; flex-direction: column; min-height: 330px; border-radius: 28px; overflow: hidden; text-decoration: none; background: var(--paper-raised); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -26px rgba(44,42,38,.45); }
.fcard .pic { position: relative; height: 180px; background: center/cover; }
.fcard .pic img { position: absolute; right: 14px; bottom: -18px; width: 108px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.28)); }
.fcard .txt { padding: 22px 22px 24px; }
.fcard h3 { font-family: Fraunces, serif; font-weight: 500; font-size: 24px; }
.fcard p { margin: 8px 0 0; font-size: 16px; color: var(--ink-soft); }
.fcard .go { margin-top: auto; padding: 0 22px 22px; font-weight: 600; font-size: 15px; color: var(--accent); }
.fcards.small .fcard { min-height: 0; }
.fcards.small .fcard .pic { height: 110px; }
.fcards.small .fcard .pic img { width: 78px; bottom: -12px; }
.fcards.small .fcard .txt { padding: 16px 18px 20px; }
.fcards.small .fcard h3 { font-size: 20px; }

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.fact { background: var(--paper-raised); border-radius: 26px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.fact h3 { margin-bottom: 8px; }
.fact p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.alt .fact { background: var(--paper); }
.dark .fact { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.dark .fact p { color: #b9b0a2; }

.style-row { display: grid; grid-template-columns: .9fr 2.1fr; gap: 40px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.style-row:first-of-type { border-top: 0; }
.style-row .who { display: flex; align-items: center; gap: 18px; }
.style-row .who img { width: 120px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.25)); }
.style-row h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 0 0 6px; }
.style-row p { color: var(--ink-soft); margin: 0 0 12px; }
.style-row .swatch { display: flex; gap: 8px; margin-top: 14px; }
.style-row .swatch span { width: 64px; height: 64px; border-radius: 16px; background: center/cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.style-row .screens { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) { .fcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .page-hero::after { background: linear-gradient(180deg, rgba(251,248,242,.96) 0%, rgba(251,248,242,.9) 50%, rgba(251,248,242,.15) 80%); }
  .page-hero.dark::after { background: linear-gradient(180deg, rgba(27,24,20,.95) 0%, rgba(27,24,20,.88) 50%, rgba(27,24,20,.2) 80%); }
  .page-hero .wrap, .style-row { grid-template-columns: 1fr; }
  .page-hero .shot { min-height: 0; }
  .facts-grid { grid-template-columns: 1fr; }
  .style-row { gap: 26px; padding: 50px 0; }
}
@media (max-width: 520px) {
  .fcards { grid-template-columns: 1fr; }
  .fcards.small { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fcards.small .fcard .txt p { display: none; }
  .style-row .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; }
}
@media (max-width: 340px) { .style-row .who img { width: 100px; } }

section.alt { background: var(--paper-raised); }

/* A page that opens on a dark hero: the menu reads light until it gets its own background. */
body:has(main > .page-hero.dark:first-child, .page-hero.dark:first-of-type) nav:not(.scrolled) { color: #f4f0e8; }
body:has(.page-hero.dark:first-of-type) nav:not(.scrolled) .menu-btn { color: #f4f0e8; }
