/* ==========================================================================
   ORLENO — shared styles
   Used by all six pages
   ========================================================================== */

:root {
  /* Charcoal ground with a green undertone, warm off-white text, one muted botanical green kept for state */
  --bg: #101513;
  --surface: #121513;
  --line: rgba(226, 226, 216, 0.085);
  --line-strong: rgba(226, 226, 216, 0.15);

  --text: #ecebe4;         /* warm off-white */
  --text-2: #cfcfc7;       /* body copy on dark */
  --muted: #a8aba3;        /* secondary text, 8:1 on --bg */
  --dim: #71766f;          /* large or decorative text only, 4:1 */

  --accent: #5cbf8a;       /* muted botanical green: state, focus, live status */
  --accent-soft: #a8d9bc;  /* the same green for text on dark */
  --accent-deep: #1c6a45;
  --ink: #0b120d;          /* text on light buttons */
  --paper: #f2f0e9;
  --danger: #ffb4a6;

  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  /* Type scale — every text size on the site comes from these steps */
  --t-hero: clamp(46px, 7.8vw, 128px);  /* home page headline only */
  --t-1: clamp(34px, 4.6vw, 64px);      /* page titles and section headings */
  --t-2: clamp(24px, 2.8vw, 40px);      /* statement, feature tab names */
  --t-3: clamp(21px, 1.7vw, 26px);      /* every third-level heading */
  --t-lead: clamp(18px, 1.4vw, 20px);   /* introductions */
  --t-body-l: 17px;                     /* long-form reading */
  --t-ui: 15px;                         /* buttons, links, list items */
  --t-small: 14px;                      /* captions, form help, fine print */
  --t-label: 12px;                      /* monospaced labels; nothing smaller */

  --gutter: 48px;
  --maxw: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);       /* header and small UI settles */
  --ease-press: cubic-bezier(.3, 0, .2, 1);  /* tactile press */
  /* Motion system: one curve, five durations, one stagger */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --d-hover: 200ms;     /* hover and press feedback */
  --d-feature: 320ms;   /* product-tour crossfades */
  --d-reveal: 560ms;    /* section copy */
  --d-hero: 760ms;      /* hero headline lines */
  --d-media: 860ms;     /* hero product frame */
  --stagger: 90ms;

  --shadow-deep:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 18px 40px -12px rgba(0, 0, 0, 0.6),
    0 60px 120px -40px rgba(0, 0, 0, 0.85);
  --shadow-plate:
    0 1px 0 rgba(255, 255, 255, 0.045) inset,
    0 -1px 0 rgba(0, 0, 0, 0.6),
    0 -24px 60px -30px rgba(0, 0, 0, 0.9),
    0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  /* very faint film grain for depth */
  background-image: url("grain.svg");
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
p, h1, h2, h3, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
h2[id] { scroll-margin-top: 110px; }
button, input, textarea, select { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--accent-deep); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(var(--maxw), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.skip {
  position: absolute; top: -90px; left: 20px; z-index: 100;
  padding: 12px 16px; background: var(--paper); color: var(--ink);
  border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font: 500 var(--t-label)/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--t-1); line-height: .98; letter-spacing: -0.045em; }
h2 { font-size: var(--t-1); line-height: .98; letter-spacing: -0.045em; }
h3 { font-size: var(--t-3); line-height: 1.25; letter-spacing: -0.025em; font-weight: 500; }

/* Headings revealed line by line from behind a mask (see Motion) */
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
[data-lines] .line-inner { display: inline-block; }

.text-link {
  display: inline-block; padding: 11px 0; /* 44px touch target */
  font-size: var(--t-ui);
  text-decoration: underline;
  text-decoration-color: rgba(168, 217, 188, .45);
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: var(--accent-soft); text-decoration-color: currentColor; }

/* ---------- Buttons ----------
   Two kinds only. Primary: warm paper, lit top edge, contact shadow that
   tightens on press. Secondary (.small): outlined, fills on hover. Both are
   at least 44px tall; disabled and busy states are shared. */
.button {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  background: linear-gradient(180deg, #f7f5ef 0%, #e4e1d8 100%);
  color: var(--ink);
  border: 1px solid #f3f1ea; border-radius: 999px;
  font-size: var(--t-ui); font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -2px 0 rgba(6,18,11,.08) inset,
    0 1px 2px rgba(0,0,0,.4),
    0 10px 24px -12px rgba(0,0,0,.8);
  transform: translate3d(0, var(--lift), 0);
  transition: background var(--d-hover) var(--ease-out), border-color var(--d-hover) var(--ease-out),
              box-shadow var(--d-hover) var(--ease-press), transform var(--d-hover) var(--ease-out);
}
/* A small drawn chevron (no text glyph, so nothing extra is read aloud) */
.button.has-arrow::after {
  content: ""; width: 7px; height: 7px; margin-left: 2px;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
  transition: transform var(--d-hover) var(--ease-out);
}
.button.has-arrow:hover::after, .button.has-arrow:focus-visible::after { transform: translateX(3px) rotate(45deg); }
.button:hover {
  --lift: -1px;
  background: linear-gradient(180deg, #cbe7d4 0%, #a9d5b9 100%);
  border-color: #cbe7d4; color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 -2px 0 rgba(6,18,11,.1) inset,
    0 2px 3px rgba(0,0,0,.4),
    0 16px 30px -14px rgba(0,0,0,.85);
}
.button:active {
  --lift: 1px;
  transition-duration: .08s;
  box-shadow: 0 2px 4px rgba(6,18,11,.25) inset, 0 0 0 rgba(0,0,0,0);
}
.button:focus-visible { outline-offset: 5px; }
.button:disabled { opacity: .6; cursor: not-allowed; }
.button[aria-busy="true"] { cursor: progress; opacity: .8; } /* label reads "Sending…" */
.button.small {
  min-height: 44px; padding: 8px 18px; font-size: var(--t-small);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 6px 16px -10px rgba(0,0,0,.9);
}
.button.small:hover {
  background: linear-gradient(180deg, #f7f5ef 0%, #e4e1d8 100%);
  color: var(--ink); border-color: #f3f1ea;
}


/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  view-transition-name: site-header;
  height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: top .35s var(--ease), height .35s var(--ease), padding .35s var(--ease),
              background-color .35s, border-color .35s, border-radius .35s, box-shadow .35s;
}
.header.is-scrolled {
  top: 12px; height: 62px;
  padding: 0 10px 0 16px;
  background: rgba(13, 15, 14, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.7);
}
.brand {
  display: inline-flex; align-items: center; gap: 11px; min-height: 44px;
  font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: .04em; /* uppercase wordmark: open, not tight */
  text-decoration: none;
}
.brand img { object-fit: contain; transition: width .35s var(--ease), height .35s var(--ease); }
.header.is-scrolled .brand img { width: 32px; height: 32px; }

nav { display: flex; align-items: center; gap: 30px; font-size: var(--t-small); }
/* Nav links: a hairline draws in from the left on hover and keyboard focus */
nav a:not(.button) {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--muted);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 11px) / 0 1px no-repeat;
  transition: color var(--d-hover) var(--ease-out), background-size 320ms var(--ease-out);
}
nav a:not(.button):hover, nav a:not(.button):focus-visible { color: var(--text); background-size: 100% 1px; }
nav a[aria-current="page"] { color: var(--text); background-size: 100% 1px; }

/* ---------- Hero ---------- */
.hero { padding-top: 28px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.release {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent); animation: pulse 2.6s var(--ease) 3; /* a few beats, then still */
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

.hero-title {
  font-family: var(--display);
  font-size: var(--t-hero);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -0.05em;
  margin: 40px 0 56px;
}
.hero-title .line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .2em; margin-bottom: -.2em; }
.hero-title .line-inner { display: inline-block; }
.hero-title .line-offset { padding-left: 11%; color: var(--accent-soft); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: start;
}
.hero-copy { padding-top: 6px; }
.hero-lead { font-size: var(--t-lead); line-height: 1.55; color: var(--text-2); max-width: 24em; letter-spacing: -0.005em; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }
.duration { font: 500 var(--t-label) var(--mono); margin-left: 8px; color: var(--muted); }

.principles { margin-top: 48px; border-top: 1px solid var(--line); }
.principles li {
  position: relative;
  display: flex; gap: 18px; align-items: baseline;
  padding: 14px 0;
  font-size: var(--t-ui); color: var(--text-2);
}
.principles li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); transform-origin: 0 50%;
}

/* Demo video */
.demo { scroll-margin-top: 100px; }
/* --shift is set by script.js: the frame drifts a little against the scroll, then settles */
.demo-frame {
  position: relative;
  transform: translate3d(0, var(--shift, 0px), 0);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.demo-label {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  background: #121513;
}
.demo-label span:first-child::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: middle; transform: translateY(-1px);
}
.demo-frame { transition: border-color var(--d-hover) var(--ease-out); }
.demo-frame:hover { border-color: rgba(226, 226, 216, .26); }
.demo-media { position: relative; background: #040705; }
.demo video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; background: #040705; object-fit: cover; }
.demo video:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 0; } /* inside the frame, which clips its edges */
.demo-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,5,0) 40%, rgba(4,7,5,.55));
  transition: opacity .4s;
}
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 22px 8px 8px;
  background: rgba(7, 10, 8, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 999px;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.8);
  cursor: pointer; z-index: 2;
  transition: transform .3s var(--ease), background .2s, opacity .3s;
}
.play:hover { background: rgba(16, 20, 18, .86); transform: translate(-50%, -50%) scale(1.03); }
.play:active { transform: translate(-50%, -50%) scale(.99); transition-duration: .08s; }
.play-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(180deg, #f7f5ef, #e1ded5);
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(6,18,11,.1) inset, 0 4px 10px -4px rgba(0,0,0,.7);
  display: grid; place-items: center; flex: none;
}
.play-icon::before {
  content: ""; width: 14px; height: 16px; margin-left: 3px; background: var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.play-text { display: flex; flex-direction: column; text-align: left; font-size: var(--t-ui); font-weight: 600; line-height: 1.25; }
.play-text span { font: 500 var(--t-label) var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.demo.is-started .play,
.demo.is-started .demo-media::after { opacity: 0; pointer-events: none; }
.demo.is-started .play { visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
html:not(.js) .play, html:not(.js) .demo-media::after { display: none; } /* no JavaScript: the video's own controls are used */

.demo figcaption {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 16px 2px 0;
  font-size: var(--t-small); color: var(--muted);
}
.demo figcaption span:first-child { color: var(--text); white-space: nowrap; }
.demo figcaption span:last-child { max-width: 30em; text-align: right; }

/* ---------- Statement ---------- */
.statement {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px;
  /* A quiet pause after the hero: a little more air above than below */
  padding: clamp(112px, 13vw, 190px) 0 clamp(96px, 10vw, 150px);
}
.statement { position: relative; }
.statement::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-strong); transform-origin: 0 50%;
}
.statement .eyebrow { padding-top: .9em; }
.statement-text {
  font-family: var(--display);
  font-size: var(--t-2);
  line-height: 1.16; letter-spacing: -0.03em; font-weight: 500;
  color: var(--text);
  max-width: 26em;
  text-wrap: pretty;
}
.statement-context { color: var(--muted); } /* the context sentence recedes; the claim reads first */

/* ---------- Product section ---------- */
.product-section {
  position: relative;
  margin-inline: 12px;
  padding: clamp(72px, 9vw, 128px) 0 clamp(72px, 8vw, 112px);
  border-radius: 32px;
  /* The one raised plate on the page: the product itself */
  background: linear-gradient(180deg, #121412 0%, #0d0e0d 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-plate);
}
.section-intro {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 22px 56px; align-items: start;
}
.section-intro .eyebrow { grid-row: span 2; padding-top: 14px; }
.section-intro > p:last-child { grid-column: 2; max-width: 34em; color: var(--muted); font-size: var(--t-lead); line-height: 1.55; }

/* ---------- Product tour ----------
   Desktop: steps on the left scroll normally; the frame on the right is
   sticky and crossfades to the step being read. Phones and tablets: the
   frame sits above the steps, smaller, with no scale movement. Without
   JavaScript every screenshot is shown in order and nothing is sticky. */
.story {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0 56px; margin-top: clamp(48px, 6vw, 88px);
}
.story-stage { grid-column: 2; grid-row: 1; align-self: start; }
.js .story-stage { position: sticky; top: 104px; }
.story-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #060807;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
  transition: border-color var(--d-hover) var(--ease-out);
}
.story-frame:hover { border-color: rgba(226, 226, 216, .26); }
.story-bar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--line); background: #121513;
  font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.story-now { display: none; color: var(--text); }
.js .story-now { display: inline-flex; align-items: center; gap: 10px; }
.js .story-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } /* status: the screen shown now */
.story-shots { display: grid; gap: 1px; background: var(--line); }
html:not(.js) .story-shot[data-deferred] { display: none; } /* no JavaScript: the <noscript> copies are shown instead */
.story-shot, .story-shot img { display: block; width: 100%; height: auto; }
.js .story-shots { display: block; position: relative; aspect-ratio: 1306 / 680; background: #060807; } /* demo-profile screenshots */
.js .story-shot { position: absolute; inset: 0; }
.js .story-shot img { height: 100%; object-fit: cover; }

.story-steps { grid-column: 1; grid-row: 1; list-style: none; padding: 0; }
.story-step {
  position: relative; min-height: 46vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.story-step:last-child { border-bottom: 1px solid var(--line); }
.story-step::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
}
.step-name {
  font-family: var(--display); font-size: var(--t-2); font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.1; color: var(--muted);
}
.step-name, .step-button { display: flex; align-items: baseline; gap: 14px; }
.step-button {
  min-height: 44px; padding: 0; margin: 0; border: 0; background: none;
  font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: color var(--d-hover) var(--ease-out);
}
.step-button:hover { color: var(--text); }
.step-button:focus-visible { outline-offset: 6px; }
.step-num { font: 500 var(--t-label) var(--mono); letter-spacing: .06em; color: var(--muted); }
.step-lede { margin-top: 14px; font-family: var(--display); font-size: var(--t-3); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; color: var(--text-2); }
.step-desc { margin-top: 10px; max-width: 30em; color: var(--muted); line-height: 1.6; }
.story-step.is-active .step-name { color: var(--text); }
.story-step.is-active .step-num { color: var(--accent-soft); }
.caption { font: 500 var(--t-label)/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ---------- Privacy ---------- */
.privacy-section {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; padding: clamp(112px, 12vw, 180px) 0 clamp(96px, 10vw, 150px);
}
.privacy-heading { position: sticky; top: 120px; align-self: start; }
.privacy-heading h2 { margin: 28px 0 34px; }
.privacy-heading em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent-soft); letter-spacing: -0.02em;
}
.privacy-rows { padding-top: 8px; }
.privacy-rows article {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px;
  padding: 36px 0 40px;
}
/* The row's top rule is drawn separately so it can extend from the left as the row enters */
.privacy-rows article::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-strong); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-out), background-color .6s var(--ease);
}
.privacy-rows article:last-child { border-bottom: 1px solid var(--line-strong); }
.privacy-rows article > span { font: 500 var(--t-label) var(--mono); color: var(--accent-soft); padding-top: 10px; }
.privacy-rows h3 { margin-bottom: 12px; }
.privacy-rows p { color: var(--muted); max-width: 32em; font-size: var(--t-body-l); line-height: 1.6; }

/* ---------- Beta ----------
   An open section on the page ground; the signup panel is the only raised element. */
.beta-section { position: relative; }
.beta {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px; align-items: end;
  padding: clamp(72px, 8vw, 112px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}
.beta h2 { margin: 28px 0 48px; }
.status-track { border-top: 1px solid var(--line-strong); max-width: 32em; }
.status-track li {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--text-2); font-size: var(--t-ui);
}
.status-track span { font: 500 var(--t-label) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.status-track .is-now span { position: relative; padding-left: 14px; color: var(--accent-soft); }
.status-track .is-now span::before,
.status-track .is-now span::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
}
.status-track .is-now span::before { background: var(--accent); }
.status-track .is-now span::after { border: 1px solid var(--accent); animation: pulse 2.6s var(--ease) 3; }

.signup {
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, #111412, #0c0e0d);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
}
.signup-title { font-family: var(--display); font-size: var(--t-3); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 24px; }
.signup .form-row { flex-direction: column; }
.signup .button[type="submit"] { width: 100%; margin-top: 10px; } /* below the consent box, as on the contact page */

/* ---------- Forms (shared with contact page) ---------- */
label { display: block; font-size: var(--t-small); margin-bottom: 10px; color: var(--text-2); }
.form-row { display: flex; gap: 10px; }
input[type=email], input[type=text], input[type=tel], input:not([type]), textarea {
  width: 100%; min-width: 0;
  font-size: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(222, 222, 212, .24);
  color: var(--text);
  padding: 14px 20px; min-height: 52px;
  border-radius: 999px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea { border-radius: 16px; min-height: 160px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8d9089; }
input:hover, textarea:hover { border-color: rgba(222, 222, 212, .38); }
input:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--accent);
  background: rgba(92, 191, 138, .05);
  box-shadow: 0 0 0 3px rgba(92, 191, 138, .24);
}
[aria-invalid="true"] { border-color: var(--danger) !important; }
input[type=checkbox][aria-invalid="true"] { box-shadow: 0 0 0 3px rgba(255, 180, 166, .25); }
input[aria-invalid="true"]:focus-visible, textarea[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(255, 180, 166, .22); background: rgba(255, 180, 166, .04); }

.consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 20px; font-size: var(--t-small); line-height: 1.5; color: var(--text-2); cursor: pointer;
}
.consent input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1px solid rgba(222, 222, 212, .45); border-radius: 6px;
  background: transparent; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.consent input::after {
  content: ""; width: 10px; height: 6px;
  border: solid var(--ink); border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .15s var(--ease);
}
.consent input:checked { background: var(--accent-soft); border-color: var(--accent-soft); }
.consent input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent a { color: var(--accent-soft); } /* same as the contact page */

.field-error { margin: 8px 0 0 4px; font-size: var(--t-small); color: var(--danger); }
.consent + .field-error { margin-left: 32px; }
.fine { font-size: var(--t-small); line-height: 1.55; margin-top: 20px; color: var(--muted); }
.fine a { color: var(--text-2); }
.form-status { font-size: var(--t-small); margin-top: 14px; color: var(--accent-soft); }
.form-status.is-error { color: var(--danger); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px 24px; padding: clamp(80px, 9vw, 128px) 0 clamp(24px, 3vw, 40px);
}
footer .brand { order: 1; }
footer nav { order: 2; }
footer::before {
  content: "ORLENO";
  content: "ORLENO" / "";
  order: 3; width: 100%;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(56px, 16vw, 232px); line-height: .82; letter-spacing: -0.04em;
  white-space: nowrap; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, rgba(168, 217, 188, .24), rgba(168, 217, 188, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: clamp(28px, 4vw, 56px) 0 .1em; /* room below the letters so they are never clipped */
  border-top: 1px solid var(--line);
  user-select: none; pointer-events: none;
}
footer .brand { font-size: 18px; }
footer nav { gap: 24px; }
footer nav a:not(.button) { background-position: 0 calc(100% - 11px); }

/* ---------- Document pages (privacy, security, contact, thanks) ---------- */
.document { max-width: 760px; min-height: 68vh; padding: 72px 0 100px; }
.document h1 { margin: 24px 0 28px; }
.document h2 { font-size: var(--t-3); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin: 44px 0 14px; }
.document h3 { margin: 28px 0 10px; }
.document p, .document li { margin-bottom: 18px; color: var(--text-2); font-size: var(--t-body-l); line-height: 1.65; max-width: 66ch; }
.document ul, .document ol { padding-left: 1.2em; list-style: disc; }
.document a { color: var(--accent-soft); }
.document a.button { color: var(--ink); } /* buttons keep their dark label (the link colour was 1.5:1 on the light button) */
.document .lead { font-size: var(--t-lead); line-height: 1.5; color: var(--text); }
.toc { display: block; margin: 36px 0 12px; padding: 14px 0 6px; border-block: 1px solid var(--line); }
.document .fine { font-size: var(--t-small); color: var(--muted); }
.document .toc-title { font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.document .toc ol { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 0 28px; counter-reset: toc; }
.document .toc li { margin: 0; font-size: var(--t-ui); counter-increment: toc; }
.document .toc a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.document .toc a::before { content: counter(toc, decimal-leading-zero); font: 500 var(--t-label) var(--mono); color: var(--accent-soft); margin-right: 10px; }
.document .toc a:hover { text-decoration: underline; }
.contact-form { max-width: 620px; margin: 32px 0; }
.contact-form .form-row { flex-direction: column; margin-bottom: 20px; }
.contact-form .button { align-self: flex-start; }

/* ---------- Motion (script.js adds .js to <html>) ----------
   One curve (--ease-out) and five durations. The hero animates once on load
   and settles. Sections reveal once as they enter and are never hidden again.
   The tour crossfades on step change. Hovers take 200ms. Only opacity and
   transform move; start states apply only under .js, and the reduced-motion
   block at the end shows every final state immediately. */
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
/* Starts at low (not zero) opacity so the poster still counts as painted early */
@keyframes frame-in { from { opacity: .2; transform: translateY(36px) scale(.955); } }

/* Hero, about 1.25s end to end: line, line, lead, call to action, film, principles */
.js .hero-title .line-inner { animation: rise var(--d-hero) var(--ease-out) both; }
.js .hero-title .line:nth-child(2) .line-inner { animation-delay: var(--stagger); }
.js .hero-top { animation: fade-up var(--d-reveal) var(--ease-out) both; }
.js .hero-lead { animation: fade-up var(--d-reveal) var(--ease-out) calc(var(--stagger) * 3) both; }
.js .hero-actions { animation: fade-up var(--d-reveal) var(--ease-out) calc(var(--stagger) * 4) both; }
.js .hero .demo { animation: frame-in var(--d-media) var(--ease-out) calc(var(--stagger) * 4) both; }
.js .principles { animation: fade-up var(--d-reveal) var(--ease-out) calc(var(--stagger) * 6) both; }

/* Section copy: a short rise */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Headings: each line rises from behind its own mask */
.js [data-lines] .line-inner { transform: translateY(110%); transition: transform 640ms var(--ease-out); }
.js [data-lines].is-visible .line-inner { transform: none; }
.js [data-lines] .line:nth-child(2) .line-inner { transition-delay: var(--stagger); }
.js [data-lines] .line:nth-child(3) .line-inner { transition-delay: calc(var(--stagger) * 2); }

/* Hero to statement: the dividing hairline draws, then the statement rises */
.js .statement[data-reveal="rule"] { opacity: 1; transform: none; }
.js .statement[data-reveal="rule"]::before { transform: scaleX(0); transition: transform 900ms var(--ease-out); }
.js .statement[data-reveal="rule"].is-visible::before { transform: none; }
.js .statement .statement-text[data-reveal] { transition-delay: calc(var(--stagger) * 2); }

/* Product tour. The incoming screen fades in on top while the outgoing one
   waits underneath, so there is never a dark gap between screenshots. */
.js .story-shot {
  opacity: 0; transform: scale(1.02);
  transition: opacity var(--d-feature) var(--ease-out) var(--d-feature), transform 520ms var(--ease-out);
}
.js .story-shot.is-active { opacity: 1; transform: none; z-index: 1; transition-delay: 0s; }
.js .story-step .step-lede, .js .story-step .step-desc { transition: opacity var(--d-feature) var(--ease-out); }
.js .story-step:not(.is-active) .step-lede, .js .story-step:not(.is-active) .step-desc { opacity: .72; }
.story-step::before { transition: transform 520ms var(--ease-out); }
.js .story-step.is-active::before { transform: none; }
.step-name { transition: color var(--d-feature) var(--ease-out); }

/* Privacy rows: the rule draws in as the row enters, then the number lights at mid-screen */
.js .privacy-rows article::before { transform: scaleX(0); }
.js .privacy-rows article.is-visible::before { transform: none; }
.js .privacy-rows article:nth-child(2), .js .privacy-rows article:nth-child(2)::before { transition-delay: var(--stagger); }
.js .privacy-rows article:nth-child(3), .js .privacy-rows article:nth-child(3)::before { transition-delay: calc(var(--stagger) * 2); }
.js .privacy-rows article > span { color: var(--dim); transition: color var(--d-reveal) var(--ease-out) .2s; }
.js .privacy-rows article > div { opacity: .72; transition: opacity var(--d-reveal) var(--ease-out) .1s; }
.js .privacy-rows article.is-lit > div { opacity: 1; }
.js .privacy-rows article.is-lit::before { background-color: rgba(92, 191, 138, .45); }
.js .privacy-rows article.is-lit > span { color: var(--accent-soft); }

/* Waitlist: status steps arrive one by one; the signup panel settles last */
.js [data-reveal="list"] { opacity: 1; transform: none; }
.js [data-reveal="list"] li { opacity: 0; transform: translateY(10px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); }
.js [data-reveal="list"].is-visible li { opacity: 1; transform: none; }
.js [data-reveal="list"] li:nth-child(2) { transition-delay: var(--stagger); }
.js [data-reveal="list"] li:nth-child(3) { transition-delay: calc(var(--stagger) * 2); }
.js [data-reveal="panel"] {
  transform: translateY(28px) scale(.985);
  transition: opacity var(--d-media) var(--ease-out) calc(var(--stagger) * 2), transform var(--d-media) var(--ease-out) calc(var(--stagger) * 2);
}

/* Page transitions: the browser's own cross-document transition. The old page
   fades quickly, the new one rises 8px; the header stays put. Back/Forward,
   focus and history are untouched; unsupported browsers simply navigate. */
@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
::view-transition-old(root) { animation: vt-out 180ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 360ms var(--ease-out) 60ms both; }

/* ---------- Responsive ---------- */
@media (min-width: 1101px) {
  /* let the hero video run off the right edge for an asymmetric composition */
  .hero-grid .demo { margin-right: calc((min(var(--maxw), 100vw - var(--gutter) * 2) - 100vw) / 2 + 12px); }
}

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
  .hero-actions { grid-column: 1; }
  .principles { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .statement { grid-template-columns: 1fr; gap: 28px; }
  .step-name { font-size: 26px; }
  .step-lede { margin-top: 8px; font-size: 19px; } /* the step name leads; the lede sits beneath it */
  .privacy-section { grid-template-columns: 1fr; gap: 40px; }
  .privacy-heading { position: static; }
  .beta { grid-template-columns: 1fr; gap: 48px; align-items: start; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --radius: 14px; --t-1: clamp(30px, 7.9vw, 34px); } /* section headings stay below the hero on small phones */
  html { scroll-padding-top: 84px; }
  .header { height: 72px; }
  .header.is-scrolled { top: 8px; height: 58px; padding: 0 8px 0 12px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .header.is-scrolled .brand img { width: 30px; height: 30px; }
  .header nav { gap: 16px; }
  .header nav > a:not(.button) { display: none; }

  .hero { padding-top: 28px; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-title { font-size: clamp(32px, 10.6vw, 80px); letter-spacing: -0.05em; margin: 32px 0 40px; }
  .hero-title .line { white-space: normal; } /* a wider system font wraps rather than clips */
  .hero-title .line-offset { padding-left: 0; }
  .hero-copy { display: block; }
  .principles { margin-top: 36px; }
  .demo-label { padding: 10px 12px; }
  .demo-label span:last-child { display: none; }
  .play { padding: 6px; }
  .play-text { display: none; }
  .demo figcaption { flex-direction: column; gap: 6px; }
  .demo figcaption span:last-child { text-align: left; }

  .product-section { margin-inline: 6px; border-radius: 22px; }
  .product-section .wrap { width: calc(100% - 28px); }
  .section-intro { display: block; }
  .section-intro h2 { margin: 24px 0 20px; }
  .statement { padding: 96px 0 80px; }
  .privacy-section { padding: 96px 0 80px; }
  .story-frame { border-radius: 10px; }
  .story-bar { padding: 8px 12px; }
  .story-bar span:last-child { display: none; }
  .js .story-shot { transform: none; } /* phones: crossfade only, no scale */
  .story-step { padding: 24px 0; }

  .privacy-rows article { grid-template-columns: 40px minmax(0, 1fr); padding: 28px 0 30px; }
  .privacy-rows p { font-size: 16px; } /* body step on phones */
  .privacy-rows article:last-child { border-bottom: 0; } /* the beta section's rule follows closely */

  .signup { padding: 22px 18px; border-radius: 18px; }
  .form-row { flex-direction: column; }
  .button { white-space: normal; }
  .status-track li { grid-template-columns: 76px 1fr; }

  footer { gap: 18px; }
  footer .brand { width: 100%; }
  .document { padding: 48px 0 72px; }
  .document p, .document li { font-size: 16px; }
  .document .toc ol { flex-direction: column; gap: 0; }
}

/* Tour below 900px: one column. The opaque frame itself is what sticks (only on
   screens tall enough to leave room to read); the caption scrolls normally. */
@media (max-width: 899px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .story-stage { display: contents; }
  .story-frame { grid-column: 1; grid-row: 1; }
  .story-stage .caption { grid-column: 1; grid-row: 2; margin: 12px 0 8px; }
  .story-steps { grid-column: 1; grid-row: 3; }
  .js .story-stage { position: static; }
  .story-step { min-height: 30vh; }
}
@media (max-width: 899px) and (min-height: 600px) {
  /* the solid band above the frame hides text passing between it and the floating header */
  .js .story-frame { position: sticky; top: 74px; z-index: 2; box-shadow: 0 -10px 0 #0f100f, var(--shadow-deep); }
}

@media (max-width: 360px) {
  .brand { font-size: 18px; letter-spacing: .02em; gap: 6px; }
  .brand img, .header.is-scrolled .brand img { width: 28px; height: 28px; }
  .header nav .button.small { padding-inline: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-title .line-inner,
  .js [data-lines] .line-inner,
  .js .privacy-rows article::before { transform: none; }
  .js [data-reveal="list"] li { opacity: 1; transform: none; }
  .demo-frame { transform: none; }
  .js .privacy-rows article > div { opacity: 1; }
  .js .statement[data-reveal="rule"]::before { transform: none; }
  .js .story-shot { transform: none; }
  .js .story-step:not(.is-active) .step-lede, .js .story-step:not(.is-active) .step-desc { opacity: 1; }
  .button.has-arrow:hover::after, .button.has-arrow:focus-visible::after { transform: rotate(45deg); }
  .pulse::after, .status-track .is-now span::after { display: none; }
  @view-transition { navigation: none; }
}

/* ==========================================================================
   Cinematic chapters
   The home page moves through coloured chapters: lit charcoal hero, emerald
   statement, midnight product tour, forest privacy, ivory waitlist, dark
   footer. Contour artwork comes from three small cached SVGs used as masks,
   so CSS can tint them. Ambient movement animates only transform and
   opacity; the reduced-motion block above stops all of it. Every layer here
   is decorative, aria-hidden or a pseudo-element, and ignores the pointer.
   ========================================================================== */
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgba(46, 140, 100, .5); }
@property --tour { syntax: "<number>"; inherits: true; initial-value: .34; }

:root {
  --emerald: #1c5640;
  --emerald-deep: #12302a;
  --forest: #173f33;
  --midnight: #0e1824;
  --cobalt: #294b76;
  --mint: #8cdeb5;
  --ivory: #e7eadf;
}

/* Section labels: a short rule leads into the label (borrowed from the editorial study) */
.statement .eyebrow, .section-intro .eyebrow, .privacy-heading .eyebrow, .beta-copy .eyebrow, .document > .eyebrow {
  display: flex; align-items: center; gap: 14px;
}
.statement .eyebrow::before, .section-intro .eyebrow::before, .privacy-heading .eyebrow::before,
.beta-copy .eyebrow::before, .document > .eyebrow::before {
  content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .6;
}

/* ---------- Hero: light at the edges, the koru contour off to the right ---------- */
.hero { position: relative; isolation: isolate; }
.atmos {
  position: absolute; z-index: -1; pointer-events: none;
  top: -140px; bottom: -120px; left: 50%; width: 100vw; transform: translateX(-50%);
  overflow: hidden;
  /* strongest at the edges, falling away behind the headline and toward the statement */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%), radial-gradient(ellipse 46% 42% at 28% 40%, rgba(0, 0, 0, .28), #000 78%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%), radial-gradient(ellipse 46% 42% at 28% 40%, rgba(0, 0, 0, .28), #000 78%);
  mask-composite: intersect;
}
/* Each light is a pseudo-element of a screen-wide box, so nothing extends past the viewport */
.atmos-inner { position: absolute; inset: 0; }
.atmos::before, .atmos::after, .atmos-inner::before, .atmos-inner::after { content: ""; position: absolute; display: block; will-change: transform; }
.atmos::before { /* emerald, upper right */
  width: 82vw; height: 72vw; right: -26vw; top: -30vw;
  background: radial-gradient(closest-side, rgba(36, 112, 82, .62), rgba(23, 63, 51, .34) 52%, rgba(23, 63, 51, 0));
  animation: aurora-a 52s var(--ease-out) infinite alternate;
}
.atmos-inner::before { /* midnight cobalt, lower left */
  width: 70vw; height: 56vw; left: -30vw; top: 18vw;
  background: radial-gradient(closest-side, rgba(41, 75, 118, .58), rgba(41, 75, 118, .2) 55%, rgba(41, 75, 118, 0));
  animation: aurora-b 64s var(--ease-out) infinite alternate;
}
.atmos-inner::after { /* a long, thin sheet of light, as if through water */
  width: 130vw; height: 20vw; left: -10vw; top: 6vw; transform: rotate(-11deg);
  background: linear-gradient(90deg, rgba(140, 222, 181, 0) 8%, rgba(140, 222, 181, .11) 38%, rgba(90, 170, 190, .09) 58%, rgba(41, 75, 118, 0) 86%);
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent);
  mask-image: radial-gradient(closest-side, #000 25%, transparent);
  animation: aurora-sheet 38s ease-in-out infinite alternate;
}
.atmos::after { /* koru contour: fades in, then turns once every few minutes */
  width: min(84vw, 1180px); aspect-ratio: 1; right: max(-30vw, -420px); top: -6vw;
  background: rgba(140, 222, 181, .17);
  -webkit-mask: url("contour-koru.svg") center / contain no-repeat;
  mask: url("contour-koru.svg") center / contain no-repeat;
  animation: koru-in 1.8s var(--ease-out) .2s both, koru-turn 140s linear infinite;
}
@keyframes aurora-a { to { transform: translate3d(-5vw, 4vw, 0) scale(1.08); } }
@keyframes aurora-b { to { transform: translate3d(6vw, -3vw, 0) scale(1.12); } }
@keyframes aurora-sheet { from { transform: translate3d(-4vw, 0, 0) rotate(-11deg); } to { transform: translate3d(5vw, -1.5vw, 0) rotate(-8deg); } }
@keyframes koru-in { from { opacity: 0; } }
@keyframes koru-turn { to { transform: rotate(360deg); } }

/* ---------- Statement: the page deepens into emerald ---------- */
.statement { isolation: isolate; }
.statement::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; bottom: -180px; left: 50%; width: 100vw; transform: translateX(-50%);
  background:
    radial-gradient(ellipse 60% 70% at 85% 100%, rgba(41, 75, 118, .35), transparent 70%),
    linear-gradient(180deg, rgba(16, 21, 19, 0) 0%, var(--emerald-deep) 55%, #143329 100%);
}
.statement-context { color: #a9b6ae; }

/* ---------- Product tour: a midnight chapter ---------- */
.product-section {
  isolation: isolate; overflow: clip;
  background:
    radial-gradient(ellipse 70% 45% at 72% 22%, rgba(41, 75, 118, .32), transparent 70%),
    linear-gradient(180deg, #121c27 0%, var(--midnight) 50%, #0d1513 100%);
  border-color: rgba(150, 180, 220, .12);
}
.product-section::before { /* signal paths drifting behind the tour */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -5%; top: 12%; width: 110%; height: 80%;
  background: rgba(150, 215, 225, .17);
  -webkit-mask: url("contour-signal.svg") 0 0 / 100% 100% no-repeat;
  mask: url("contour-signal.svg") 0 0 / 100% 100% no-repeat;
  animation: signal-sway 48s ease-in-out infinite alternate; will-change: transform;
}
@keyframes signal-sway { to { transform: translate3d(-3%, 2%, 0); } }
.product-section > .wrap { position: relative; z-index: 1; }
.product-section .eyebrow, .story-bar, .caption { color: #a9b4c2; }
.section-intro > p:last-child { color: #aeb6c0; }
.product-section .step-desc { color: #b7bfc9; } /* stays above 4.5:1 where the signal lines pass behind it */
/* nav links sit over the lit corner of the hero, so they use the brighter body tone (4.18:1 → about 6:1) */
nav a:not(.button) { color: var(--text-2); }

/* light behind the screenshot frame changes colour with the active step; the screenshots themselves are untouched */
.story-stage { isolation: isolate; }
.story-stage::before {
  content: ""; position: absolute; z-index: -1; inset: -16% -12% -22%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  transition: --glow 900ms var(--ease-out);
}
.story:has([data-step="projects"].is-active) { --glow: rgba(40, 140, 140, .5); --tour: .67; }
.story:has([data-step="privacy"].is-active)  { --glow: rgba(30, 105, 78, .62); --tour: 1; }
.story-frame { border-color: rgba(170, 195, 230, .16); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 80px -30px rgba(4, 10, 20, .9); }

/* a hairline beside the steps fills as the tour advances */
.story-steps { position: relative; }
.story-steps::before, .story-steps::after { content: ""; position: absolute; left: -28px; top: 0; bottom: 0; width: 1px; pointer-events: none; }
.story-steps::before { background: rgba(170, 195, 230, .12); }
.story-steps::after { background: var(--mint); transform-origin: 0 0; transform: scaleY(var(--tour)); transition: --tour 700ms var(--ease-out); }
html:not(.js) .story-steps::after { display: none; }

/* ---------- Privacy: a calm forest chapter with slowly drifting contours ---------- */
.privacy-section { position: relative; isolation: isolate; --dim: #8ea79a; }
.privacy-ground {
  position: absolute; z-index: -1; pointer-events: none;
  top: -260px; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 21, 19, 0) 0%, #153a2f 24%, var(--forest) 58%, var(--emerald-deep) 100%);
}
.privacy-ground::after {
  content: ""; position: absolute; top: 34%; left: 0; width: 200%; height: 56%;
  background: rgba(140, 222, 181, .12);
  -webkit-mask: url("contour-waves.svg") 0 0 / 50% 100% repeat-x;
  mask: url("contour-waves.svg") 0 0 / 50% 100% repeat-x;
  animation: contour-flow 140s linear infinite; will-change: transform;
}
@keyframes contour-flow { to { transform: translate3d(-50%, 0, 0); } }
.privacy-rows article::before { background: rgba(231, 234, 223, .18); }
.privacy-rows p { color: #b4c2ba; }

/* ---------- Waitlist: a warm ivory plate ---------- */
.beta-section {
  position: relative; isolation: isolate; overflow: clip;
  margin: clamp(24px, 4vw, 56px) 12px 0; border-radius: 32px;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(140, 222, 181, .28), transparent 60%), var(--ivory);
  /* local tokens: the shared form, list and link styles re-read these */
  --text: #101513; --text-2: #28312c; --muted: #4a554f; --dim: #5b665f;
  --line: rgba(16, 21, 19, .12); --line-strong: rgba(16, 21, 19, .2);
  --accent: #1c6a45; --accent-soft: #1c6a45; --danger: #a3271b;
  color: var(--text);
}
.beta-section::after { /* a quiet koru in the corner */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 640px; aspect-ratio: 1; right: -220px; top: -260px;
  background: rgba(23, 63, 51, .16);
  -webkit-mask: url("contour-koru.svg") center / contain no-repeat;
  mask: url("contour-koru.svg") center / contain no-repeat;
}
.beta { border-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.beta-section :focus-visible { outline-color: #1c6a45; }
.signup { background: #f7f8f2; border-color: rgba(16, 21, 19, .14); box-shadow: 0 1px 0 #fff inset, 0 24px 60px -30px rgba(23, 63, 51, .35); }
.beta-section input[type=email] { background: #fff; border-color: rgba(16, 21, 19, .28); color: var(--text); }
.beta-section input::placeholder { color: #69726c; }
.beta-section input:hover { border-color: rgba(16, 21, 19, .45); }
.beta-section input:focus-visible { border-color: #1c6a45; background: #fff; box-shadow: 0 0 0 3px rgba(28, 106, 69, .22); }
.beta-section input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(163, 39, 27, .2); background: #fff; }
.beta-section .consent input { border-color: rgba(16, 21, 19, .5); }
.beta-section .consent input::after { border-color: var(--ivory); }
.beta-section .button {
  background: linear-gradient(180deg, #215a46 0%, var(--forest) 100%); color: var(--ivory); border-color: var(--forest);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 1px 2px rgba(16, 21, 19, .3), 0 12px 24px -14px rgba(23, 63, 51, .7);
}
.beta-section .button:hover { background: linear-gradient(180deg, #276b53 0%, #1c4c3d 100%); color: #fff; border-color: #1c4c3d; }
.status-track .is-now span::before { background: #1c6a45; }
.home footer::before { border-top-color: transparent; }

/* ---------- Other pages: the same ground, lit once at the top, no movement ---------- */
body:not(.home) {
  position: relative;
  background-image:
    radial-gradient(ellipse 60% 460px at 92% 0, rgba(28, 86, 64, .42), transparent),
    radial-gradient(ellipse 45% 380px at 0 200px, rgba(41, 75, 118, .2), transparent),
    url("grain.svg");
  background-repeat: no-repeat, no-repeat, repeat;
}
body:not(.home)::before { /* a koru contour cut off by the top-right corner of the page */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(460px, 100%); height: 520px; right: 0; top: 0;
  background: rgba(140, 222, 181, .08);
  -webkit-mask: url("contour-koru.svg") 0 -240px / 760px 760px no-repeat;
  mask: url("contour-koru.svg") 0 -240px / 760px 760px no-repeat;
}

/* ---------- Chapters on phones ---------- */
@media (max-width: 760px) {
  .atmos::before { width: 150vw; height: 140vw; right: -70vw; top: -50vw; }
  .atmos-inner::before { width: 130vw; height: 110vw; left: -70vw; top: 70vw; }
  .atmos-inner::after { width: 220vw; height: 50vw; left: -60vw; top: 30vw; }
  .atmos::after { width: 150vw; right: -88vw; top: 18vw; background: rgba(140, 222, 181, .06); } /* much fainter behind the headline */
  .atmos {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%), radial-gradient(ellipse 70% 30% at 40% 30%, rgba(0, 0, 0, .35), #000 80%);
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%), radial-gradient(ellipse 70% 30% at 40% 30%, rgba(0, 0, 0, .35), #000 80%);
  }
  .beta-section { margin-inline: 6px; border-radius: 22px; }
  .beta-section::after { width: 420px; right: -200px; top: -200px; }
  .story-steps::before, .story-steps::after { display: none; }
  body:not(.home)::before { width: 220px; height: 320px; background: rgba(140, 222, 181, .06); -webkit-mask-position: 0 -200px; mask-position: 0 -200px; -webkit-mask-size: 520px 520px; mask-size: 520px 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-stage::before, .story-steps::after { transition: none; }
}

/* ==========================================================================
   Everything in ORLENO: the feature showcase
   A deep teal chapter between the product tour and privacy. Screenshot cards
   are crops of the approved demo; features without footage get a lit plate
   with a line glyph. Light drifts behind the grid (transform only), and the
   koru contour turns slowly in the lower right.
   ========================================================================== */
.showcase-section {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(112px, 12vw, 176px) 0 clamp(80px, 9vw, 132px);
  background:
    radial-gradient(ellipse 55% 40% at 88% 30%, rgba(28, 86, 64, .34), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0f1b1d 22%, #0f2120 64%, var(--bg) 100%);
}
.showcase-section::before { /* cobalt light drifting behind the left of the grid */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 80vw; height: 60vw; left: -34vw; top: 26%;
  background: radial-gradient(closest-side, rgba(41, 75, 118, .42), rgba(41, 75, 118, .12) 55%, rgba(41, 75, 118, 0));
  animation: showcase-drift 58s var(--ease-out) infinite alternate; will-change: transform;
}
.showcase-section::after { /* koru contour, lower right */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(90vw, 1100px); aspect-ratio: 1; right: max(-34vw, -460px); bottom: -18%;
  background: rgba(140, 222, 181, .09);
  -webkit-mask: url("contour-koru.svg") center / contain no-repeat;
  mask: url("contour-koru.svg") center / contain no-repeat;
  animation: koru-turn 180s linear infinite; will-change: transform;
}
@keyframes showcase-drift { to { transform: translate3d(8vw, -4vw, 0) scale(1.1); } }
.showcase-section .eyebrow, .showcase-section .caption { color: #a9b8b4; }
.showcase-section .section-intro > p:last-child { color: #b0bcb8; }
.showcase-section .eyebrow { display: flex; align-items: center; gap: 14px; }
.showcase-section .eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* Index of every feature: quick links into the tour and the cards */
.feature-index { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: clamp(36px, 4vw, 56px); }
.feature-index a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(170, 210, 195, .18); border-radius: 999px;
  background: rgba(14, 24, 24, .55);
  font: 500 var(--t-label)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #d6ddd9;
  transition: border-color var(--d-hover) var(--ease-out), color var(--d-hover) var(--ease-out), background-color var(--d-hover) var(--ease-out);
}
.feature-index a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); opacity: .8; }
.feature-index a:hover { border-color: rgba(140, 222, 181, .5); color: #fff; background: rgba(28, 86, 64, .35); }

/* The grid */
.feature-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.fc-calendar { grid-column: span 8; }
.fc-reminders { grid-column: span 4; }
.fc-memory, .fc-voice, .fc-models, .fc-research { grid-column: span 6; }
.fc-workflows { grid-column: span 7; }
.fc-vault { grid-column: span 5; }

.feature-card {
  --card-glow: rgba(46, 140, 100, .32);
  position: relative; isolation: isolate; scroll-margin-top: 110px;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 30, 31, .9) 0%, rgba(12, 18, 18, .94) 100%);
  border: 1px solid rgba(170, 205, 215, .13);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 70px -40px rgba(2, 8, 10, .95);
}
.feature-card::before { /* light rises behind the card copy on hover */
  content: ""; position: absolute; z-index: -1; inset: auto -10% -40% -10%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, var(--card-glow), transparent 75%);
  opacity: 0; transition: opacity 600ms var(--ease-out);
}
.js .feature-card[data-reveal].is-visible { transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out), border-color var(--d-hover) var(--ease-out); }
.feature-card:hover { border-color: rgba(140, 222, 181, .32); }
.feature-card:hover::before { opacity: 1; }
.fc-reminders, .fc-research { --card-glow: rgba(41, 110, 140, .34); }
.fc-voice, .fc-vault { --card-glow: rgba(30, 105, 78, .4); }

.feature-shot { margin: 0; overflow: hidden; background: #060807; border-bottom: 1px solid var(--line); aspect-ratio: 1306 / 680; }
.feature-shot picture, .feature-shot img { display: block; width: 100%; height: 100%; }
.feature-shot img { object-fit: cover; object-position: 0 0; transition: transform 1200ms var(--ease-out); }
.feature-card:hover .feature-shot img { transform: scale(1.025); }
/* The reminder editor is portrait: it fills whatever height the row gives it */
.fc-reminders .feature-shot { aspect-ratio: auto; flex: 1 1 0; min-height: 300px; }
.fc-reminders .feature-shot img { object-position: 50% 42%; }

.feature-copy { padding: 26px 28px 30px; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint);
}
.feature-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(92, 191, 138, .7); }
.feature-copy h3 { margin-top: 12px; color: var(--text); }
.feature-copy p:last-child { margin-top: 10px; max-width: 38em; color: #b4bfba; line-height: 1.6; }

/* Plates for features without demo footage */
.feature-plate {
  position: relative; flex: 1 1 auto; min-height: 260px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: 36px 24px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(closest-side at 50% 46%, var(--card-glow), transparent 78%),
    linear-gradient(180deg, #0b1312 0%, #070c0c 100%);
}
.feature-plate::before { /* a slow, dashed orbit around the glyph */
  content: ""; position: absolute; width: 168px; aspect-ratio: 1; left: 50%; top: 50%; margin: -112px 0 0 -84px;
  border-radius: 50%; border: 1px dashed rgba(140, 222, 181, .28);
  animation: koru-turn 60s linear infinite;
}
.feature-plate::after { /* faint contour across the plate */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(140, 222, 181, .07);
  -webkit-mask: url("contour-waves.svg") 0 60% / 140% 70% no-repeat;
  mask: url("contour-waves.svg") 0 60% / 140% 70% no-repeat;
}
.feature-glyph { position: relative; z-index: 1; width: 76px; height: 76px; color: var(--mint); filter: drop-shadow(0 0 18px rgba(140, 222, 181, .45)); }
.plate-spec { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; }
.plate-spec li {
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(140, 222, 181, .2); background: rgba(8, 16, 15, .7);
  font: 500 var(--t-label)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #c9d6d0;
}
.showcase-section .caption { margin-top: 22px; }

/* Tablets: two columns; the portrait reminder card sits beside its copy */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .fc-calendar, .fc-reminders, .fc-workflows, .fc-vault { grid-column: span 2; }
  .fc-memory, .fc-voice, .fc-models, .fc-research { grid-column: span 1; }
  .fc-reminders { flex-direction: row-reverse; }
  .fc-reminders .feature-shot { flex: 0 0 44%; min-height: 0; aspect-ratio: 628 / 734; border-bottom: 0; border-left: 1px solid var(--line); }
  .fc-reminders .feature-copy { align-self: center; }
}
/* Phones: one column */
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fc-calendar, .fc-reminders, .fc-workflows, .fc-vault, .fc-memory, .fc-voice, .fc-models, .fc-research { grid-column: auto; }
  .fc-reminders { flex-direction: column; }
  .fc-reminders .feature-shot { flex: none; aspect-ratio: 628 / 520; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature-copy { padding: 22px 20px 24px; }
  .feature-plate { min-height: 220px; }
  .feature-index { gap: 8px; }
  .feature-index a { padding: 0 13px; }
  .showcase-section::before { width: 150vw; height: 130vw; left: -80vw; }
  .showcase-section::after { width: 150vw; right: -90vw; bottom: -6%; background: rgba(140, 222, 181, .06); }
}
