/* OpenHours studio site. A quiet near-white canvas, one typeface, real sites on real devices.
   The hero is lit for the visitor's hour (html[data-mood]); everything else stays on the canvas. */

@font-face { font-family: "Host Grotesk"; src: url("fonts/host-grotesk.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/host-grotesk-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

@property --hero-top { syntax: "<color>"; inherits: true; initial-value: #050608; }
@property --hero-bot { syntax: "<color>"; inherits: true; initial-value: #15171d; }
@property --hero-ink { syntax: "<color>"; inherits: true; initial-value: #f5f5f2; }
@property --hero-muted { syntax: "<color>"; inherits: true; initial-value: #a3a39d; }
@property --hero-ink-2 { syntax: "<color>"; inherits: true; initial-value: #d6d6d8; }
@property --glow-a { syntax: "<number>"; inherits: true; initial-value: .9; }

:root {
  --canvas: #f7f7f5;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #3a3a38;
  --muted: #55544f;            /* 7:1 on the canvas */
  --line: #e3e2dd;
  --dark: #0b0b0c;
  --dark-ink: #f5f5f2;
  --dark-muted: #a3a39d;       /* 7.9:1 on the dark */
  --amber: #ffb547;            /* lamp light: glow only, never text */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 76rem;
  transition: --hero-top 1.4s var(--ease), --hero-bot 1.4s var(--ease), --hero-ink 1s var(--ease),
    --hero-muted 1s var(--ease), --glow-a 1.4s var(--ease);
}
html.booting, html.booting * { transition: none !important; }

/* the hour, in the hero only */
html[data-mood="morning"] { --hero-top: #fbf0e3; --hero-bot: #dce8f2; --hero-ink: #141414; --hero-muted: #55544f; --glow-a: .35;  --hero-ink-2: #2e2e2c;}
html[data-mood="midday"]  { --hero-top: #eef3f8; --hero-bot: #d6e3ef; --hero-ink: #141414; --hero-muted: #55544f; --glow-a: .2;  --hero-ink-2: #2e2e2c;}
html[data-mood="golden"]  { --hero-top: #f8ede1; --hero-bot: #f1cfa9; --hero-ink: #1c1410; --hero-muted: #5b4a3d; --glow-a: .6;  --hero-ink-2: #3a2a20;}
html[data-mood="blue"]    { --hero-top: #1a2342; --hero-bot: #0b0b0c; --hero-ink: #f5f5f2; --hero-muted: #b9b8c6; --glow-a: .8;  --hero-ink-2: #dcdce4;}
html[data-mood="night"]   { --hero-top: #050608; --hero-bot: #0b0b0c; --hero-ink: #f5f5f2; --hero-muted: #a3a39d; --glow-a: .95;  --hero-ink-2: #d6d6d8;}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1.125rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
main, .footer { overflow-x: clip; }
a { color: inherit; }
a, button, input, textarea, summary, label { touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid #0a66ff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 40; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 1rem; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* buttons: ink pills (one primary action on the page) */
.pill { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font: 600 1rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s var(--ease); }
.pill:hover { background: #2b2b2a; }
.pill:active { transform: scale(.97); }
.pill-sm { padding: .5rem 1rem; font-size: .875rem; min-height: 44px; }
.pill-lg { padding: 1rem 1.6rem; font-size: 1.0625rem; min-height: 3.25rem; }
.text-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  display: inline-flex; align-items: center; min-height: 44px; }
.text-link::after { content: " \203A"; }
.text-link:hover { text-decoration-thickness: 2px; }

/* navigation: a thin translucent bar */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; padding-top: env(safe-area-inset-top); --n-ink: var(--hero-ink); --n-muted: var(--hero-muted);
  color: var(--n-ink); background: color-mix(in oklab, var(--hero-top) 74%, transparent); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in oklab, var(--n-ink) 10%, transparent);
  transition: background-color .4s var(--ease), color .4s var(--ease); }
html.nav-dark .nav { --n-ink: #f5f5f2; --n-muted: #a3a39d; background: rgb(11 11 12 / .72); border-bottom-color: transparent; }
html.nav-light .nav { --n-ink: #141414; --n-muted: #3a3a38; background: rgb(247 247 245 / .8); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 3.5rem; display: flex; align-items: center; gap: 2rem; }
.brand { font-weight: 700; letter-spacing: -.03em; text-decoration: none; font-size: 1.125rem; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links { display: flex; gap: 1.75rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { font-size: .875rem; color: var(--n-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { color: var(--n-ink); }
html:not(.nav-light)[data-mood="blue"] .nav .pill, html:not(.nav-light)[data-mood="night"] .nav .pill, html.nav-dark .nav .pill { background: #f5f5f2; color: #141414; }

/* devices: real screenshots in simple, precise frames */
.laptop { position: relative; width: 100%; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1rem 1rem .35rem .35rem; background: #0e0e0f;
  border: clamp(.35rem, 1.1vw, .7rem) solid #0e0e0f; box-shadow: 0 0 0 1px #2a2a2c; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop-base { position: relative; width: 118%; margin-left: -9%; height: clamp(.55rem, 1.4vw, .95rem);
  background: linear-gradient(180deg, #e7e7e4 0%, #c9c9c5 55%, #9d9d99 100%); border-radius: 0 0 1.2rem 1.2rem / 0 0 .8rem .8rem;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / .55); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 14%; height: 40%; border-radius: 0 0 .5rem .5rem; background: #b3b3af; }
.phone { position: relative; width: clamp(8.5rem, 17vw, 14rem); padding: clamp(.35rem, .7vw, .55rem); border-radius: clamp(1.6rem, 3.4vw, 2.7rem);
  background: #0e0e0f; box-shadow: 0 0 0 1px #2a2a2c, 0 30px 60px -25px rgb(0 0 0 / .6); }
.phone-screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: clamp(1.25rem, 2.9vw, 2.2rem); background: #0e0e0f;
  padding-top: 14%; }
.phone-screen img { width: 100%; }
.phone-screen::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 2.2%; translate: -50% 0; width: 30%; aspect-ratio: 4 / 1; border-radius: 999px; background: #0e0e0f; }

/* 1. hero */
.hero { position: relative; min-height: 74svh; padding: calc(3.5rem + clamp(2rem, 6vh, 4rem)) var(--gutter) clamp(4rem, 10vh, 7rem);
  display: grid; justify-items: center; align-content: start; gap: clamp(2.5rem, 6vh, 4rem); overflow: hidden; text-align: center;
  color: var(--hero-ink); background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bot) 100%); }
.hero-copy { display: grid; gap: 1.25rem; justify-items: center; max-width: 54rem; }
.hero h1 { display: grid; gap: .2em; }
.h-time { font-size: clamp(3.2rem, 9vw, 7.25rem); letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.h-rest { font-size: clamp(1.5rem, 3.3vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; color: var(--hero-muted); }
.hero-sub { font-size: clamp(1.1875rem, 1.8vw, 1.375rem); font-weight: 500; line-height: 1.45; color: var(--hero-ink); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: .5rem; }
html[data-mood="blue"] .hero .pill, html[data-mood="night"] .hero .pill { background: #f5f5f2; color: #141414; }
html[data-mood="blue"] .hero .text-link, html[data-mood="night"] .hero .text-link { color: #f5f5f2; }

.hero { align-content: center; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: 6%; translate: -50% 0; width: min(56rem, 110%); height: 46%;
  pointer-events: none; opacity: var(--glow-a); filter: blur(30px);   /* fades out inside the hero: no edge where the story begins */
  background: radial-gradient(closest-side, color-mix(in oklab, var(--amber) 38%, transparent), transparent); }
.hero-copy { position: relative; z-index: 1; }
html[data-mood="morning"] .hero::after, html[data-mood="midday"] .hero::after, html[data-mood="golden"] .hero::after { display: none; }
/* the scroll is the day ending: the hero's light goes through dusk into the story's night */
.dusk { position: relative; height: 38svh; margin-top: -1px;
  background: linear-gradient(in oklab, var(--hero-bot) 0%, color-mix(in oklab, var(--hero-bot) 55%, #f2b48c) 20%,
    #c98a86 34%, #5d3f63 54%, #241a2e 76%, var(--dark) 100%); }
html[data-mood="blue"] .dusk, html[data-mood="night"] .dusk { height: 0; }
.dusk .fade-dark-low { inset: auto 0 0; height: 45%; }
.clock { font-size: .875rem; letter-spacing: .02em; color: var(--hero-muted); font-variant-numeric: tabular-nums; }
.clock[hidden] { display: none; }

/* the ring: one day, midnight at the top. Inner arc: the shop's hours. Outer ring: the website's. (pathLength 24, so dashes are hours) */
.ring { position: relative; }
.ring svg { display: block; width: 100%; height: auto; overflow: visible; }
.ring .track { fill: none; stroke: color-mix(in oklab, currentColor 11%, transparent); stroke-width: 12; }
.ring .shop { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; }
.ring .site { fill: none; stroke: var(--site); stroke-width: 12; stroke-linecap: round;
  filter: drop-shadow(0 0 calc(10px * max(var(--glow-a), .55)) color-mix(in oklab, var(--site) 85%, transparent)); }
.ring .tick { stroke: color-mix(in oklab, currentColor 30%, transparent); stroke-width: 1.5; }
.ring .tick-major { stroke: color-mix(in oklab, currentColor 65%, transparent); stroke-width: 2.5; }
.ring .hour { fill: currentColor; fill-opacity: .72; font: 600 19px var(--font); dominant-baseline: middle; font-variant-numeric: tabular-nums; }
.ring .open { fill: currentColor; font: 700 66px var(--font); letter-spacing: -.05em; text-anchor: middle; }
.ring .open-24 { fill: currentColor; fill-opacity: .72; font: 600 21px var(--font); text-anchor: middle; }


/* pinned acts: the stage holds while the lines change (IntersectionObserver steps, no scroll listener) */
.act { position: relative; }
.pin-stage { display: grid; place-items: center; padding: 6rem var(--gutter); }
.pin-steps { display: none; }
.js .pin { height: calc((var(--steps, 3) * .7 + 1.2) * 100svh); }   /* half a screen to settle in, each step, then the last step holds */
.js .pin-stage { position: sticky; top: 0; height: 100svh; padding: 0 var(--gutter); }
.js .pin-steps { display: block; position: absolute; inset: 50svh 0 0; pointer-events: none; }   /* step 1 holds until the act has pinned */
.js .pin-steps span { display: block; height: 70svh; }
.fade-dark { position: absolute; inset: 0 0 auto; height: 40%; }
.act-dark { background: var(--dark); color: var(--dark-ink); }
.cue { font-size: clamp(2rem, 5.4vw, 4.4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.06; max-width: 18ch; text-align: center; text-wrap: balance; }
.cue + .cue { margin-top: 2rem; }
.js .cue { position: absolute; margin: 0; opacity: 0; transform: translateY(1.25rem); filter: blur(4px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); }
.js .pin[data-step="0"] .cue[data-at="0"], .js .pin[data-step="1"] .cue[data-at="1"],
.js .pin[data-step="2"] .cue[data-at="2"], .js .pin[data-step="3"] .cue[data-at="3"] { opacity: 1; transform: none; filter: none; }

/* 2. the story: one ring, four steps, from closing time to open all night */
.js #story { --steps: 4; }
#story { --site: var(--amber); --glow-a: 1; }
#story .pin-stage { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 6rem); max-width: var(--max); margin: 0 auto; }
#story .cues { position: relative; display: grid; place-items: center start; min-height: 14rem; justify-self: stretch; width: 100%; }
#story .cue { text-align: left; }
.js #story .cue { left: 0; right: 0; max-width: 18ch; }
.js #story .cue-peak { max-width: 22ch; }
#story .cue:not(.cue-peak) { font-size: clamp(1.9rem, 3.8vw, 3.2rem); color: #d4d4cf; }
.cue-peak { font-size: clamp(2.2rem, 4.3vw, 3.6rem); font-weight: 700; letter-spacing: -.045em; }
.cue-peak span { display: block; color: var(--amber); }
.ring-story { width: min(30rem, calc(100svh - 14rem), 44vw); isolation: isolate; }
.ring-story::before { content: ""; position: absolute; inset: -12%; pointer-events: none; opacity: .25; transition: opacity 1.4s var(--ease);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--amber) 45%, transparent), transparent); filter: blur(30px); z-index: -1; }
.ring-story .ping { fill: var(--dark-ink); stroke: var(--dark); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.story-key { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem;
  font-size: .9375rem; color: var(--dark-muted); }
.story-key li { display: inline-flex; align-items: center; gap: .55rem; }
.story-key li::before { content: ""; width: 1.3rem; height: .4rem; border-radius: 999px; background: var(--dark-ink); }
.story-key .k-ping::before { width: .55rem; height: .55rem; }
.story-key .k-site::before { background: var(--amber); box-shadow: 0 0 10px color-mix(in oklab, var(--amber) 70%, transparent); }
.js .story-key .k-ping, .js .story-key .k-site { opacity: 0; transition: opacity .6s var(--ease); }
.js #story:not([data-step="0"]) .k-ping, .js #story[data-step="2"] .k-site, .js #story[data-step="3"] .k-site { opacity: 1; }
.js .ring-story .site { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 2.4s var(--ease); }
.js .ring-story .ping { opacity: 0; transform: scale(.3);
  transition: opacity .5s var(--ease) calc(var(--i) * 90ms), transform .6s var(--ease) calc(var(--i) * 90ms); }
.js .ring-story .center { opacity: 0; transition: opacity 1s var(--ease); }
.js #story:not([data-step="0"]) .ping { opacity: 1; transform: none; }
.js #story[data-step="2"] .site, .js #story[data-step="3"] .site { stroke-dashoffset: 0; }
.js #story[data-step="3"] .center { opacity: 1; }
.js #story[data-step="3"] .ring-story::before { opacity: 1; }
/* after the story the night ends: the mirror of the dusk above, through first light into the page */
.fade-to-canvas { height: 50svh; position: relative; margin-top: -1px;
  background: linear-gradient(in oklab, var(--dark) 0%, #15131c 18%, #2b2638 38%, #6d6170 58%, #c9b8b0 78%, #ece6e0 90%, var(--canvas) 100%); }

/* sections on the canvas */
.samples, .why, .how, .pricing, .faq, .demo { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 14vw, 10rem) var(--gutter) 0; }
.section-head { display: grid; gap: 1rem; max-width: 48rem; margin: 0 auto clamp(3rem, 7vw, 5rem); text-align: center; justify-items: center; }
.section-head h2, .why h2, .how h2, .pricing h2, .faq h2 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -.05em; }
.demo h2 { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -.05em; }
.faq-list { max-width: 52rem; margin: 0 auto; }
.section-head p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--muted); max-width: 40ch; }

/* 4. samples with a self-running walk-through on each screen */
.sample-list { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.sample { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sample-flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.sample-flip .sample-devices { order: 2; }
.sample-devices { position: relative; padding: 0 8% 6% 0; }
.sample-flip .sample-devices { padding: 0 8% 6% 0; }
.sample-devices .phone { position: absolute; right: -2%; bottom: -4%; width: clamp(7rem, 12vw, 10rem); }
.sample-flip .sample-devices .phone { right: 0; left: auto; }
.sample-devices .laptop-base { width: 108%; margin-left: -4%; }
.tour { background: var(--tour-bg, #f2f2f0); }
.sample-text { display: grid; gap: .9rem; align-content: center; }
.sample-text h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sample-text > p { color: var(--muted); font-size: 1.1875rem; }
.sample-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: .25rem; }
.tour-toggle { border: 1px solid var(--line); border-radius: 999px; background: none; padding: .5rem 1rem; min-height: 44px; color: var(--ink-2);
  font: 500 .9375rem var(--font); cursor: pointer; }
.tour-toggle:hover { border-color: var(--ink-2); }
.tour img { will-change: transform; }
.tour.touring img { animation: tour var(--tour-dur, 24s) var(--ease) infinite; }
.tour.paused img { animation-play-state: paused; }
@keyframes tour {
  0%, 8% { transform: translateY(0); }
  46%, 54% { transform: translateY(calc(var(--tour-dist, 0px) * -1)); }
  92%, 100% { transform: translateY(0); }
}

/* the short form, right after the peak */
.quick { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gutter) 0; }
.quick-inner { background: var(--surface); border-radius: 2rem; padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1rem; justify-items: center; text-align: center;
  box-shadow: 0 1px 0 rgb(0 0 0 / .03), 0 30px 70px -45px rgb(20 20 20 / .4); }
.quick h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.045em; }
.quick-inner > p { color: var(--ink-2); font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 42ch; }
.quick-form { grid-template-columns: 1fr 1fr auto; align-items: end; margin-top: 1rem; }
.quick-form .pill { align-self: end; }
.quick-more { color: var(--ink-2); font-size: 1rem; }
.quick-more a { color: var(--ink); display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 4px; }

/* what we promise */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.why-list li { background: var(--surface); border-radius: 1.75rem; padding: clamp(1.75rem, 3.5vw, 2.75rem); display: grid; gap: .75rem; align-content: start;
  box-shadow: 0 1px 0 rgb(0 0 0 / .03), 0 20px 50px -35px rgb(20 20 20 / .35); }
.why-list h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.why-list p { color: var(--muted); max-width: 40ch; }
.why-list .why-night { background: var(--dark); color: var(--dark-ink); box-shadow: 0 30px 60px -35px rgb(255 181 71 / .45); }
.why-list .why-night h3 span { color: var(--amber); }
.why-list .why-night p { color: var(--dark-muted); }
.js .why-list li.in-view:nth-child(2), .js .why-list li.in-view:nth-child(4) { transition-delay: .08s; }

/* 5. how it works */
.why h2, .how h2, .pricing h2, .faq h2 { margin-bottom: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.steps li { display: grid; gap: .8rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); font-weight: 700; font-size: 1rem; color: var(--muted);
  font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.steps p { color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.plan { background: var(--surface); border-radius: 1.75rem; padding: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; align-content: start;
  box-shadow: 0 1px 0 rgb(0 0 0 / .03), 0 20px 50px -35px rgb(20 20 20 / .35); }
.plan h3 { font-size: 1.375rem; letter-spacing: -.02em; }
.price { color: var(--muted); }
.price span { font-size: clamp(3rem, 6vw, 4.25rem); font-weight: 700; letter-spacing: -.05em; color: var(--ink); margin-right: .4rem; font-variant-numeric: tabular-nums; }
.plan ul { margin: .5rem 0 0; padding: 0; list-style: none; display: grid; gap: .75rem; color: var(--ink-2); }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: -45deg; }
.plans-note { margin: 1.75rem auto 0; color: var(--ink-2); max-width: 60ch; font-size: 1.0625rem; text-align: center; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  translate: 0 -70%; rotate: 45deg; transition: rotate .3s var(--ease), translate .3s var(--ease); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -30%; }
.faq summary:hover { color: var(--ink-2); }
.faq details p { padding: 0 0 1.5rem; color: var(--muted); max-width: 62ch; }

/* 6. the quiet ending */
.demo { padding-bottom: clamp(6rem, 12vw, 9rem); }
.demo-inner { max-width: 60rem; margin: 0 auto; display: grid; gap: 1.1rem; text-align: center; justify-items: center; }
.demo-inner > p { color: var(--ink-2); font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 40ch; }
form { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-top: 2rem; text-align: left; }
.field { display: grid; gap: .45rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea { font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--surface); border: 1px solid #b9b8b3; border-radius: .9rem;
  padding: .9rem 1rem; min-height: 3.25rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(20 20 20 / .14); }
.field textarea { resize: vertical; }
.field small { color: var(--ink-2); font-size: 1rem; }
.form-end { grid-column: 1 / -1; display: grid; justify-items: center; gap: 1rem; margin-top: .75rem; text-align: center; }
.form-privacy { color: var(--ink-2); font-size: 1rem; }

.footer { max-width: var(--max); margin: 0 auto; padding: 3rem var(--gutter) calc(3rem + env(safe-area-inset-bottom));
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  display: grid; gap: .9rem; color: var(--ink-2); font-size: 1rem; }
.footer-brand { color: var(--ink); font-weight: 700; letter-spacing: -.03em; font-size: 1.125rem; }
.footer a { color: var(--ink-2); text-underline-offset: 3px; display: inline-block; padding: .65rem 0; }
.policy { max-width: 64ch; display: grid; gap: .35rem; margin-top: .5rem; }
.policy h2 { font-size: .9375rem; color: var(--ink); letter-spacing: 0; }
.footer-small { margin-top: 1rem; font-size: .9375rem; }

/* entrances, only when JavaScript runs */
.js .in-view { opacity: 0; transform: translateY(1.75rem); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .in-view.is-in { opacity: 1; transform: none; }
.js .steps li.in-view:nth-child(2), .js .plans .plan:nth-child(2) { transition-delay: .08s; }
.js .steps li.in-view:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise .9s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } }

/* GSAP + Lenis (js/main.js adds .gsap): the arc follows the scroll instead of a timed transition.
   Lenis rules from lenis/dist/lenis.css 1.3.27 (MIT), plus native smooth scroll off while Lenis runs. */
.gsap .ring-story .site { transition: none; }
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition: none; }
  .js .in-view { opacity: 1; transform: none; transition: none; }
  .js .pin { height: auto !important; }
  .js #story .cues { gap: 1.25rem; }
  .js .story-key li { opacity: 1; }
  .js .pin-stage { position: static; height: auto; padding: 6rem var(--gutter); display: grid; gap: 2rem; }
  .js .pin-steps { display: none; }
  .js .cue { position: static; opacity: 1; transform: none; filter: none; transition: none; }
  .js .ring-story .site { stroke-dashoffset: 0; transition: none; }
  .js .ring-story .ping { opacity: 1; transform: none; transition: none; }
  .js .ring-story .center { opacity: 1; transition: none; }
  .tour.touring img { animation: none; }
  .tour-toggle { display: none; }
}

/* tablet and phone */
@media (max-width: 900px) {
  .sample, .sample-flip { grid-template-columns: 1fr; }
  .sample-flip .sample-devices { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { gap: 1rem; justify-content: space-between; }
  .dusk { height: 30svh; }
  form { grid-template-columns: 1fr; }
  .sample-devices, .sample-flip .sample-devices { padding: 0; }
  .sample-devices .phone, .sample-flip .sample-devices .phone { position: relative; left: auto; right: auto; bottom: auto; }
  .quick-form { grid-template-columns: 1fr; }
  #story .pin-stage { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 1.75rem; }
  #story .ring-story { order: -1; width: min(64vw, 14.5rem); }
  #story .cues { min-height: 8rem; place-items: center; }
  #story .cue { text-align: center; font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .js #story .cue { max-width: none; }
  .js .pin { height: calc((var(--steps, 3) * .45 + .95) * 100svh); }
  .js .pin-steps span { height: 45svh; }
  .fade-to-canvas { height: 36svh; }
  .sample-devices .laptop { display: none; }
  .sample-devices .phone, .sample-flip .sample-devices .phone { margin: 0 auto; width: min(62%, 15rem); }
  .hero-sub { max-width: 24ch; }
}
