/*
Theme Name: Symphony Labs
Theme URI: https://symphonylabs.dev
Author: Symphony Labs LLC
Author URI: https://symphonylabs.dev
Description: Symphony and Daylight, the app's own themes, for symphonylabs.dev: bring your AI and make it yours.
Version: 3.0.0
License: Proprietary
Text Domain: symphony

Symphony Labs theme. Built from scratch for symphonylabs.dev.
*/

/* =====================================================================
   1. Fonts (self-hosted; see fonts/SOURCES.md)
   ===================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Literata';
  src: url('fonts/literata-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'Literata';
  src: url('fonts/literata-italic-variable.woff2') format('woff2');
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

/* =====================================================================
   2. Tokens
   Symphony (dark) is the default. Daylight (light) applies when the
   visitor's system is light, or when they pick Light in the footer
   (html[data-theme]). The two Daylight blocks must stay identical.
   ===================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Literata', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* The vertical rhythm: one scale, desktop / phone (860px and under).
     --band    136 / 96  between sections. Every section pads half a band
                         above and below, so two sections never stack two.
     --gap-xl  120 / 72  between moments in one section.
     --gap-l    72 / 48  a section's intro to its content (media, a list,
                         a table, the steps), and content to its Details.
     --gap-m    40 / 32  a stacked moment's copy to its media, and a short
                         note or button row under a block.
     Inside a block (label, headline, text) the steps are 14-24px, set by
     each component. Every page but the home opens --page-top under the
     header (96 / 40, 28 on a small phone), so its first line doesn't move
     from page to page. Only the home's hero fills the first screen; the
     others are as tall as their content, so a tall window can't open a gap
     under them, and end on half a band like any section. A page's title
     sits --gap-l above the content it heads. A page's closing ends on a
     full band before the footer. */
  --band: 136px;
  --page-top: 96px;
  --gap-xl: 120px;
  --gap-l: 72px;
  --gap-m: 40px;
}

/* Symphony */
:root {
  --page: #070C17;
  --page-2: #0C1424;
  --surface: #111B2D;
  --surface-2: #0E1626;
  --raise: #16233A;
  --ink-strong: #E8EEF7;
  --ink: #AAB7CB;
  --ink-muted: #8796AD;
  --edge: rgba(148, 163, 184, .12);
  --edge-2: rgba(148, 163, 184, .2);
  --accent: #34D399;
  --accent-ink: #04261A;
  --accent-soft: rgba(52, 211, 153, .12);
  --glow: rgba(52, 211, 153, .32);
  --danger: #F87171;
  /* Caution: the app's own amber (--warn), for what people must not miss. */
  --caution: #F5B544;
  --caution-soft: rgba(245, 181, 68, .10);
  --caution-edge: rgba(245, 181, 68, .32);
  --blob-a: rgba(16, 185, 129, .30);
  --blob-b: rgba(6, 182, 212, .22);
  --blob-c: rgba(59, 130, 246, .20);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 24px 60px rgba(0, 0, 0, .45);
  --glass: rgba(10, 16, 30, .62);
  --glass-edge: rgba(255, 255, 255, .07);

  /* App colours: one per app, as in the app. */
  --t-tasks: #10B981;
  --t-cal: #F97316;
  --t-mail: #3B82F6;
  --t-notes: #D97706;
  --t-trips: #06B6D4;
  --t-files: #64748B;
  --t-signals: #8B5CF6;

  /* App glyphs: tinted tiles in Symphony, solid tiles in Daylight. */
  --glyph-fill: 24%;
  --glyph-ink: 68%;
  --glyph-edge: 42%;

  /* The assistant: a ring in Symphony. Sizes are in em of the orb. */
  --orb-core: radial-gradient(circle at 35% 28%, #24365A 0%, #13203A 45%, #0B1428 100%);
  --orb-core-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -.08em .18em rgba(0, 0, 0, .45);
  --orb-glyph: #34D399;
  --orb-glyph-shadow: 0 0 .25em rgba(52, 211, 153, .6);
  --orb-ring: 2px solid rgba(52, 211, 153, .6);
  --orb-ring-glow: 0 0 .15em rgba(52, 211, 153, .35), inset 0 0 .11em rgba(52, 211, 153, .2);

  /* Device frames around product media. */
  --device: #05070C;
  --device-edge: rgba(255, 255, 255, .1);
  --device-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55);
  --window-shadow: 0 0 0 1px var(--edge-2), 0 40px 90px -30px rgba(0, 0, 0, .6);

  color-scheme: dark;
}

/* Daylight, chosen in the footer */
:root[data-theme="light"] {
  --page: #F1F3F6;
  --page-2: #E9EDF2;
  --surface: #FFFFFF;
  --surface-2: #F2F4F7;
  --raise: #FFFFFF;
  --ink-strong: #0B1220;
  --ink: #2F3A4C;
  --ink-muted: #586377;
  --edge: rgba(15, 23, 42, .08);
  --edge-2: rgba(15, 23, 42, .14);
  --accent: #047857;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(4, 120, 87, .09);
  --glow: rgba(13, 148, 136, .35);
  --danger: #B42318;
  --caution: #A15300;
  --caution-soft: rgba(161, 83, 0, .08);
  --caution-edge: rgba(161, 83, 0, .26);
  --blob-a: rgba(52, 211, 153, .30);
  --blob-b: rgba(45, 212, 191, .24);
  --blob-c: rgba(96, 165, 250, .22);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 48px rgba(16, 24, 40, .10);
  --glass: rgba(255, 255, 255, .72);
  --glass-edge: rgba(255, 255, 255, .9);
  --t-tasks: #059669;
  --t-cal: #EA580C;
  --t-mail: #2563EB;
  --t-notes: #B45309;
  --t-trips: #0891B2;
  --t-files: #475569;
  --t-signals: #7C3AED;
  --glyph-fill: 100%;
  --glyph-ink: 0%;
  --glyph-edge: 0%;
  --orb-core: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%), linear-gradient(150deg, #3BD9A3 0%, #10A59B 48%, #0B6C88 100%);
  --orb-core-shadow: 0 .13em .28em -.06em rgba(11, 108, 136, .55), inset 0 -.08em .18em rgba(3, 50, 70, .35), inset 0 2px 0 rgba(255, 255, 255, .35);
  --orb-glyph: #FFFFFF;
  --orb-glyph-shadow: 0 .02em .16em rgba(3, 60, 70, .35);
  --orb-ring: 1.5px solid rgba(16, 165, 155, .22);
  --orb-ring-glow: none;
  --device: #10141C;
  --device-edge: rgba(0, 0, 0, .12);
  --device-shadow: 0 40px 80px -24px rgba(16, 24, 40, .35);
  --window-shadow: 0 0 0 1px var(--edge), 0 40px 90px -36px rgba(16, 24, 40, .35);
  color-scheme: light;
}

/* Daylight, following the system (identical to the block above) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --page: #F1F3F6;
    --page-2: #E9EDF2;
    --surface: #FFFFFF;
    --surface-2: #F2F4F7;
    --raise: #FFFFFF;
    --ink-strong: #0B1220;
    --ink: #2F3A4C;
    --ink-muted: #586377;
    --edge: rgba(15, 23, 42, .08);
    --edge-2: rgba(15, 23, 42, .14);
    --accent: #047857;
    --accent-ink: #FFFFFF;
    --accent-soft: rgba(4, 120, 87, .09);
    --glow: rgba(13, 148, 136, .35);
    --danger: #B42318;
    --caution: #A15300;
    --caution-soft: rgba(161, 83, 0, .08);
    --caution-edge: rgba(161, 83, 0, .26);
    --blob-a: rgba(52, 211, 153, .30);
    --blob-b: rgba(45, 212, 191, .24);
    --blob-c: rgba(96, 165, 250, .22);
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 48px rgba(16, 24, 40, .10);
    --glass: rgba(255, 255, 255, .72);
    --glass-edge: rgba(255, 255, 255, .9);
    --t-tasks: #059669;
    --t-cal: #EA580C;
    --t-mail: #2563EB;
    --t-notes: #B45309;
    --t-trips: #0891B2;
    --t-files: #475569;
    --t-signals: #7C3AED;
    --glyph-fill: 100%;
    --glyph-ink: 0%;
    --glyph-edge: 0%;
    --orb-core: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%), linear-gradient(150deg, #3BD9A3 0%, #10A59B 48%, #0B6C88 100%);
    --orb-core-shadow: 0 .13em .28em -.06em rgba(11, 108, 136, .55), inset 0 -.08em .18em rgba(3, 50, 70, .35), inset 0 2px 0 rgba(255, 255, 255, .35);
    --orb-glyph: #FFFFFF;
    --orb-glyph-shadow: 0 .02em .16em rgba(3, 60, 70, .35);
    --orb-ring: 1.5px solid rgba(16, 165, 155, .22);
    --orb-ring-glow: none;
    --device: #10141C;
    --device-edge: rgba(0, 0, 0, .12);
    --device-shadow: 0 40px 80px -24px rgba(16, 24, 40, .35);
    --window-shadow: 0 0 0 1px var(--edge), 0 40px 90px -36px rgba(16, 24, 40, .35);
    color-scheme: light;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 60px;
    --band: 96px;
    --page-top: 40px;
    --gap-xl: 72px;
    --gap-l: 48px;
    --gap-m: 32px;
  }
}

@media (max-width: 480px) {
  :root { --page-top: 28px; }
}

/* =====================================================================
   3. Base
   ===================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--page);
  color: var(--ink);
  font: 400 18px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  color: var(--ink-strong);
  font-family: var(--font-serif);
  font-weight: 420;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* No lone last word at the foot of a paragraph. */
p { text-wrap: pretty; }

h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; }

/* Accent words in headlines. */
h1 em, h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
/* A two-sentence headline: the italic sentence takes its own line. */
:is(h1, h2, h3) em.own-line { display: block; }

h3, h4 {
  color: var(--ink-strong);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-strong); }

img, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

code, pre, kbd { font-family: var(--font-mono); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

[hidden] { display: none !important; }

/* Anchored sections clear the sticky header. */
section[id], .app-show[id], #notify { scroll-margin-top: calc(var(--header-h) + 16px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.skip-link:focus { top: 12px; color: var(--accent-ink); }

/* =====================================================================
   4. Layout: page width, bands, header, footer
   ===================================================================== */

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

/* A section of a page: half a band above and below (the scale above). */
.band { position: relative; padding: calc(var(--band) / 2) 0; }

/* Section intros: headline, then text; the split form sets them side by side. */
.intro > p:not(.kicker) { margin-top: 24px; max-width: 34em; font-size: 20px; }
.intro--center { text-align: center; }
.intro--center > p:not(.kicker) { margin-left: auto; margin-right: auto; }

.intro-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: start;
}

/* The text starts level with the headline, so a long paragraph can't push
   the label and headline down the section. */
.intro-split > p { padding-top: 8px; font-size: 20px; }
.intro-split:has(.kicker, .mono) > p { padding-top: 48px; }

@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; gap: 22px; }
  :is(.intro-split, .intro-split:has(.kicker, .mono)) > p { padding-top: 0; }
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--glass);
  border-bottom: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

/* The brand: the logo beside the wordmark (symphony_logo()). */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink-strong);
  font: 500 23px/1 var(--font-serif);
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* The logo centres on the wordmark's capitals rather than on the line
   (Literata's capitals sit .09em below the line's middle). */
.brand-mark { flex: none; width: 30px; height: 30px; translate: 0 .09em; color: var(--accent); }

/* The same bolt, larger, at the top of a quiet page (About, 404). */
.bolt-mark { display: block; width: 56px; height: 56px; color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
}

.site-nav ul { display: flex; gap: 26px; list-style: none; }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink-strong); }

.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-strong);
}

.menu-toggle .icon-close,
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

@media (max-width: 860px) {
  .site-header-inner { gap: 12px; }
  /* The menu button comes before the menu in the page, so Tab goes from it
     into the links; on screen it sits after the sign-up button. */
  .site-header-cta { order: 1; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
  .menu-toggle { display: grid; order: 2; }
  /* The Ensemble page has no sign-up button: the name still pushes the menu button to the edge. */
  .site-header .brand { margin-right: auto; }

  /* The menu opens as a panel under the bar. */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--edge);
    background: var(--page);
    font-size: 17px;
  }

  .site-header.is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { width: 100%; min-height: 48px; border-bottom: 1px solid var(--edge); }

  /* Without the script there is no menu button: the links wrap under the bar. */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header-inner { flex-wrap: wrap; height: auto; padding: 8px 0; }
  html:not(.js) .site-nav { display: flex; position: static; order: 3; width: 100%; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; background: none; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  html:not(.js) .site-nav a { border: 0; }
}

/* Phones up to 404px wide (iPhone 15–17 are 393) fit the brand, the longer
   pre-launch label and a full-size menu button. */
@media (max-width: 404px) {
  .site-header-inner { gap: 6px; }
  .brand { gap: 6px; font-size: 19px; }
  .brand-mark { width: 26px; height: 26px; }
  .site-header .site-header-cta { padding-inline: 12px; font-size: 13.5px; }
}


/* ----- Footer ----- */

.site-footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--edge);
  color: var(--ink-muted);
  font-size: 14.5px;
}

.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}

.site-footer-brand p { margin-top: 6px; }

.site-footer-cols { display: flex; flex-wrap: wrap; gap: 32px 72px; }

.site-footer-cols h2 { margin-bottom: 6px; }

.site-footer-cols ul { list-style: none; }

.site-footer a { text-decoration: none; }

.site-footer-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.site-footer-cols a:hover { color: var(--ink-strong); }

.site-footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--edge);
}

.theme-choice { display: flex; align-items: center; gap: 12px; }

.site-footer-marks { margin-top: 20px; font-size: 13px; line-height: 1.5; }

/* =====================================================================
   5. Components
   ===================================================================== */

/* ----- Small labels ----- */

.mono {
  color: var(--ink-muted);
  font: 500 12.5px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kicker { display: block; margin-bottom: 22px; }

.lead { max-width: 33em; color: var(--ink); font-size: 21px; line-height: 1.55; }

/* A soft pill beside the assistant's words. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 99px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--ink);
  font-size: 13px;
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font: 600 16.5px/1.2 var(--font-sans);
  text-align: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -8px var(--glow);
}

.btn-primary:hover { color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 14px 34px -8px var(--glow); }

.btn-ghost {
  background: transparent;
  color: var(--ink-strong);
  box-shadow: inset 0 0 0 1px var(--edge-2);
}

.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); }

.btn-sm { min-height: 44px; padding: 0 16px; border-radius: 11px; font-size: 14.5px; }

.btn-block { display: flex; width: 100%; }

.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* On a small phone, buttons that would stack stack full width, all equal. */
@media (max-width: 480px) {
  .ctas { flex-direction: column; }
  .ctas .btn { width: 100%; }
}

/* A link that leads on, after a section. */
.more { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; margin-top: 28px; color: var(--ink-strong); font-weight: 600; }
.more::after { content: '\2192'; }

/* ----- Segmented control (the theme choice) ----- */

.seg {
  display: inline-flex;
  padding: 5px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--edge-2);
}

.seg button {
  min-width: 150px;
  min-height: 46px;
  padding: 6px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: 600 16px/1.2 var(--font-sans);
  transition: background .3s, color .3s;
}

.seg button small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; opacity: .9; }

.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.seg--small { padding: 3px; border-radius: 12px; }
.seg--small button { min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 500; }

/* ----- The assistant (the orb) -----
   Everything scales with --d, the orb's diameter: .orb sets font-size to
   it, so em inside the orb is a fraction of the diameter. */

.orb {
  --d: 200px;
  position: relative;
  flex: none;
  width: var(--d);
  height: var(--d);
  font-size: var(--d);
}

.orb-halo {
  position: absolute;
  inset: -.5em;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  animation: orb-breathe 6s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  inset: -.075em;
  border: var(--orb-ring);
  border-radius: 50%;
  box-shadow: var(--orb-ring-glow);
}

.orb-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--orb-core);
  box-shadow: var(--orb-core-shadow);
}

.orb-core b {
  color: var(--orb-glyph);
  font: 250 .44em/1 var(--font-sans);
  letter-spacing: -0.02em;
  text-shadow: var(--orb-glyph-shadow);
}

.orb--listening .orb-ring { animation: orb-pulse 2.4s ease-out infinite; }
.orb--quiet .orb-halo { display: none; }

@keyframes orb-breathe {
  0%, 100% { opacity: .55; transform: scale(.96); }
  50% { opacity: .95; transform: scale(1.05); }
}

@keyframes orb-pulse {
  0% { box-shadow: 0 0 0 0 var(--glow); }
  100% { box-shadow: 0 0 0 .18em transparent; }
}

/* ----- Hero stage: the orb, its name, its lines and a pill ----- */

.stage { display: grid; justify-items: center; gap: 30px; text-align: center; }

.who b { display: block; color: var(--ink-strong); font-size: 20px; font-weight: 600; }

.who small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 13.5px;
}

.who small::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
}

/* The assistant trying on names (site.js lines()): the name and the orb's
   letter ease out, change and ease back in, as on the teaser. */
[data-names] .who b,
[data-names] .orb-core b {
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1), transform 1.2s cubic-bezier(.4, 0, .2, 1), filter 1.2s cubic-bezier(.4, 0, .2, 1);
}

[data-names] .orb-core b { display: inline-block; }

[data-names].is-renaming .who b,
[data-names].is-renaming .orb-core b {
  opacity: 0;
  transform: scale(.95);
  filter: blur(2px);
  transition-duration: .9s;
}

@media (prefers-reduced-motion: reduce) {
  [data-names] .who b,
  [data-names] .orb-core b { transition: none; }
}

/* The lines take turns; only the current one is visible. */
.says { position: relative; width: min(400px, 100%); min-height: 148px; border-radius: 16px; }

.says-line {
  position: absolute;
  inset: 0 0 auto;
  transition: opacity .7s ease, transform .7s ease;
}

.says-line.is-out { opacity: 0; transform: translateY(8px); }

.says q { color: var(--ink-strong); font: italic 400 20px/1.5 var(--font-serif); quotes: none; }

.says .pill { margin-top: 14px; }

.stage-note { color: var(--ink-muted); font-size: 12.5px; }

@media (max-width: 860px) {
  .says { min-height: 136px; }
  .says q { font-size: 18px; }
}

/* ----- Moment: a time, a headline, a sentence and product media ----- */

.moments { display: grid; gap: var(--gap-xl); margin-top: var(--gap-l); }

.moment {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--gap-l);
  align-items: center;
}

/* In a list the moments alternate sides; on their own, --flip turns one. */
.moment:nth-child(even) .moment-copy,
.moment--flip .moment-copy { order: 2; }

.moment-copy .mono { color: var(--accent); }

.moment-copy h3 {
  margin-top: 16px;
  font: 420 36px/1.15 var(--font-serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* A moment whose media needs room (a desktop window, a pair of phones) or
   shows a busy screen gives the media about 720px at full width, so the
   app's text stays near its own size. Phones stack it like any moment. */
@media not all and (max-width: 860px) {
  .moment--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.73fr); gap: 64px; }
  .moment--wide:is(:nth-child(even), .moment--flip) { grid-template-columns: minmax(0, 1.73fr) minmax(0, 1fr); }
}

/* A moment that leads its own section takes a section headline. */
.moment-copy h2 { margin-top: 16px; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; }

.moment-copy p:not(.mono) { margin-top: 18px; max-width: 26em; font-size: 19px; }

.moment-media { position: relative; display: grid; place-items: center; min-height: 520px; }

.moment-media::before {
  content: '';
  position: absolute;
  inset: 6% 8%;
  border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 45%, var(--accent-soft), transparent 70%);
}

@media (max-width: 860px) {
  /* minmax(0, …): a phone shot's own width must not widen a narrow screen. */
  .moment { grid-template-columns: minmax(0, 1fr); gap: var(--gap-m); }
  .moment:nth-child(even) .moment-copy,
  .moment--flip .moment-copy { order: 0; }
  .moment-copy h3 { font-size: 29px; }
  .moment-media { grid-template-columns: minmax(0, 1fr); min-height: 0; }
}

/* ----- App glyphs: an app's icon in its colour (--c) ----- */

.c-tasks { --c: var(--t-tasks); }
.c-cal { --c: var(--t-cal); }
.c-mail { --c: var(--t-mail); }
.c-notes { --c: var(--t-notes); }
.c-trips { --c: var(--t-trips); }
.c-files { --c: var(--t-files); }
.c-signals { --c: var(--t-signals); }

.app-glyph {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--c) var(--glyph-fill), var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) var(--glyph-edge), transparent), 0 10px 24px -10px var(--c);
  color: color-mix(in srgb, var(--c) var(--glyph-ink), #FFFFFF);
}

.app-glyph svg { width: 44%; height: 44%; }

/* More apps on the way: the apps' tiles, then open places, each a step
   quieter. Dashed like the place for an agent of your own (.sat--own). */
.more-apps-tiles { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.more-apps-tiles .app-glyph { width: 40px; height: 40px; border-radius: 12px; }
.app-glyph--soon { background: none; box-shadow: none; border: 1.5px dashed color-mix(in srgb, var(--accent) 85%, transparent); }
.app-glyph--soon:nth-last-child(2) { opacity: .7; }
.app-glyph--soon:last-child { opacity: .42; }
h3.more-apps-title { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 420; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h3.more-apps-title em { color: var(--accent); font-style: italic; font-weight: 400; }
.band .more-apps { margin-top: calc(var(--band) / 3); }
@media (max-width: 420px) {
  .more-apps-tiles { gap: 7px; }
  .more-apps-tiles .app-glyph { width: 36px; height: 36px; border-radius: 11px; }
}

/* ----- Chat bubbles: the example conversation in a post ----- */

.chat { display: grid; gap: 16px; padding: 22px 22px 26px; }

.msg { max-width: 82%; padding: 12px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }

.msg--me {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--ink-strong);
}

.msg--it {
  border-bottom-left-radius: 6px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--ink);
}

.msg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }

.msg-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 99px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--edge-2);
  color: var(--ink);
  font-size: 12.5px;
}

.msg-chips li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }

/* ----- Product shots: real captures in a drawn frame -----
   symphony_shot() (inc/shots.php) prints a light and a dark version. One
   shows, by the same rule as the tokens; the other is display:none, so a
   lazy image never loads. Size a shot with --shot-w. */

.shot { position: relative; flex: none; }
.shot-img { width: 100%; }
video.shot-img { height: auto; }
/* A clip's Pause button sits in its frame's corner. Scripts show it only while the clip can play. */
.shot-pause {
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 12px; border: 1px solid var(--edge); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer;
}
.shot-img--light { display: none; }

/* A shot with a phone capture (symphony_shot()'s 'phone') has a wide and a
   narrow version of each theme; only the one for the window's width shows,
   whatever the theme rules above say, so only it loads. */
@media (max-width: 860px) {
  .shot-img--wide { display: none !important; }
}

@media not all and (max-width: 860px) {
  .shot-img--narrow { display: none !important; }
}

/* Or a whole shot for one width, when phones need a different frame (a
   desktop window on a computer, the phone's own screen on a phone). Its
   images sit in a display:none frame at the other width, so they don't load. */
@media (max-width: 860px) {
  .shot--wide-only { display: none !important; }
}

@media not all and (max-width: 860px) {
  .shot--narrow-only { display: none !important; }
}

:root[data-theme="light"] .shot-img--dark { display: none; }
:root[data-theme="light"] .shot-img--light { display: block; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .shot-img--dark { display: none; }
  :root:not([data-theme="dark"]) .shot-img--light { display: block; }
}

/* A phone, drawn as an iPhone 16 Pro. The captures carry their own status
   bar and Dynamic Island, so the frame adds neither: the capture fills the
   screen edge to edge, with corners at 14% of the screen's width, inside a
   thin, even bezel (2.2% of the device). The frame is a size container, so
   these follow any width; the bezel is the screen's own spread shadow, so
   its corners stay concentric. At desktop widths it's 320px, so the app's
   text reads at about 12px; phones keep 300px. */
.shot--phone {
  width: var(--shot-w, 320px);
  max-width: 100%;
  container-type: inline-size;
}

.shot--phone .shot-img {
  --bezel: 2.2cqi;
  width: calc(100% - 2 * var(--bezel));
  margin: var(--bezel);
  border-radius: calc((100cqi - 2 * var(--bezel)) * .14);
  background: var(--device);
  box-shadow: 0 0 0 var(--bezel) var(--device), 0 0 0 calc(var(--bezel) + 1px) var(--device-edge), var(--device-shadow);
}

/* A desktop window, with three quiet dots. */
.shot--window {
  width: var(--shot-w, 100%);
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--window-shadow);
}

.shot-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-bottom: 1px solid var(--edge); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--edge-2); }

/* A window can show part of a busy capture, so its text stays legible:
   give the frame an aspect-ratio (it clips the rest), then set where the
   view starts (--crop-x, --crop-y) and how much of the capture's width it
   shows (--crop-w), all as fractions of the capture. Unset, it shows all.
 */
.shot--crop .shot-img, :is(.tour-3, .tour-4) .shot--window .shot-img {
  width: calc(100% / var(--crop-w, 1));
  max-width: none;
  translate: calc(var(--crop-x, 0) * -100%) calc(var(--crop-y, 0) * -100%);
}

/* The capture moves up under the window's bar, which stays on top. */
.shot--crop .shot-bar, :is(.tour-3, .tour-4) .shot-bar { position: relative; z-index: 1; background: var(--surface); }

@media (max-width: 860px) {
  .shot--phone { width: var(--shot-w, 300px); }
  .shot-bar { gap: 6px; height: 24px; padding: 0 10px; }
  .shot-bar i { width: 8px; height: 8px; }
}

/* ----- Maestro and its apps ----- */

.unlock { background: linear-gradient(180deg, transparent, var(--page-2) 18%, var(--page-2) 82%, transparent); }

.unlock-head { max-width: 1040px; margin: 0 auto; text-align: center; }
.unlock-head > p:not(.kicker) { max-width: 36em; margin: 22px auto 0; font-size: 20px; }

.unlock-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: var(--gap-l);
}

/* Beside the long list, the orbit stays in view while the list goes by. */
@media not all and (max-width: 860px) {
  .unlock-grid > .orbit { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* The orbit: apps around the assistant, then a team around them.
   One geometry for everything in it: each satellite, ring and line reads
   its angle (--a) and radius (--r), so a line always ends at its player's
   centre and a ring always runs through its satellites. Sizes and radii are
   shares of the orbit's own width (cqi), with a compact set for a small
   orbit, so nothing overlaps at any width. */
.orbit {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  container: orbit / inline-size;
}

/* Set on the orbit's children, where cqi is the orbit's width. A player's
   label hangs under its face (--label: the label and the gap above it),
   and with the team the apps move in far enough to leave it some room. */
.orbit > * {
  --orb-d: clamp(96px, 22.8cqi, 128px);
  --glyph: clamp(42px, 8.9cqi, 50px);
  --face: clamp(48px, 10.4cqi, 58px);
  --label: 20px;
  --room: 12px;
  --r-team: calc(50cqi - var(--face) / 2 - 4px);
  --r-apps: 30cqi;
  --r-apps-team: calc(var(--r-team) - var(--face) / 2 - var(--label) - var(--room) - var(--glyph) / 2);
}

@container orbit (max-width: 440px) {
  .orbit > * {
    --orb-d: clamp(60px, 22cqi, 92px);
    --glyph: clamp(30px, 11cqi, 40px);
    --face: clamp(36px, 11.5cqi, 46px);
    --label: 19px;
    --room: 8px;
    --r-team: calc(50cqi - var(--face) / 2 - 6px);
    /* Alone, the apps use the room the team will need, so a phone shows no
       empty band around them. */
    --r-apps: 40cqi;
  }

  .sat--app em { display: none; }
}

/* The smallest phones. */
@container orbit (max-width: 300px) {
  .orbit > * { --orb-d: 56px; --glyph: 28px; --face: 34px; --room: 4px; }
}

.orbit > .orb { --d: var(--orb-d); position: absolute; left: 50%; top: 50%; translate: -50% -50%; }

/* A ring through a set of satellites, centred on the assistant. */
.orbit-path {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(2 * var(--r) + 1px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px dashed var(--edge-2);
  border-radius: 50%;
  transition: opacity .8s, transform .8s var(--ease), width .9s var(--ease);
}

.orbit-path--apps { --r: var(--r-apps); }
.is-ensemble .orbit-path--apps { --r: var(--r-apps-team); }

.orbit-path--team {
  --r: var(--r-team);
  border-style: solid;
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  opacity: 0;
  transform: scale(.85);
}

/* Rounded positions shared by a team's spokes and its satellites. */
.at-0of5 { --a: -90deg; }
.at-1of5 { --a: -18deg; }
.at-2of5 { --a: 54deg; }
.at-3of5 { --a: 126deg; }
.at-4of5 { --a: 198deg; }
.at-0of7 { --a: -90deg; }
.at-1of7 { --a: -38.6deg; }
.at-2of7 { --a: 12.9deg; }
.at-3of7 { --a: 64.3deg; }
.at-4of7 { --a: 115.7deg; }
.at-5of7 { --a: 167.1deg; }
.at-6of7 { --a: 218.6deg; }

/* A line from the assistant to each player, drawn when the team arrives.
   Its centre line starts at the orbit's centre and turns there. */
.orbit-spoke {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--r-team);
  height: 1.2px;
  translate: 0 -50%;
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(var(--a)) scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.1s ease .2s;
}

.orbit-spoke--own { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 45%, transparent) 0 5px, transparent 5px 10px); }

/* A satellite: zero-size at the centre, turned to its angle (--a) and moved
   out to its ring (--r). What it holds is centred on that point. */
.sat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a) * -1));
  transition: opacity .7s, transform .9s var(--ease);
}

.sat > * { position: absolute; translate: -50% -50%; }

.sat--app { --r: var(--r-apps); }
.is-ensemble .sat--app { --r: var(--r-apps-team); }
.sat--app .app-glyph { width: var(--glyph); height: var(--glyph); border-radius: calc(var(--glyph) * .3); background: color-mix(in srgb, var(--c) var(--glyph-fill), var(--page-2)); }
.sat--app em { top: calc(var(--glyph) / 2 + 13px); color: var(--ink-muted); font: normal 500 12px/1 var(--font-sans); white-space: nowrap; }

.sat--player { --r: var(--r-team); opacity: 0; }

.player-face {
  display: grid;
  place-items: center;
  width: var(--face);
  height: var(--face);
  border-radius: 50%;
  background: var(--page-2);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent), 0 12px 28px -12px var(--glow);
  color: var(--accent);
}

.player-face svg { width: 38%; height: 38%; }

/* The label hangs under the face, so the face, not the pair, sits on the
   ring. */
.sat--player small {
  top: calc(var(--face) / 2 + 5px);
  translate: -50% 0;
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* Your own: any agent you add. Dashed, and a step quieter. */
.sat--own .player-face { box-shadow: none; border: 1.5px dashed color-mix(in srgb, var(--accent) 85%, transparent); }
.sat--own small { color: var(--ink); font-weight: 500; }

.is-ensemble .orbit-path--team { opacity: 1; transform: none; }
.is-ensemble .orbit-spoke { transform: rotate(var(--a)) scaleX(1); }
.is-ensemble .sat--player { opacity: 1; }

/* An orbit that starts with its team (Ensemble's hero) brings it in once,
   from the Maestro state: the apps draw in, the ring and lines appear, then
   the players. Each animation ends where the Ensemble state already is. */
.orbit--arrive .sat--app { animation: orbit-apps-in .9s var(--ease) .5s backwards; }
.orbit--arrive .orbit-path--apps { animation: orbit-path-in .9s var(--ease) .5s backwards; }
.orbit--arrive .orbit-path--team { animation: orbit-ring-in .8s var(--ease) .6s backwards; }
.orbit--arrive .orbit-spoke { animation: orbit-spoke-in 1.1s ease .8s backwards; }
.orbit--arrive .sat--player { animation: orbit-player-in .7s ease 1.1s backwards; }

@keyframes orbit-apps-in { from { transform: rotate(var(--a)) translate(var(--r-apps)) rotate(calc(var(--a) * -1)); } }
@keyframes orbit-path-in { from { width: calc(2 * var(--r-apps) + 1px); } }
@keyframes orbit-ring-in { from { opacity: 0; transform: scale(.85); } }
@keyframes orbit-spoke-in { from { transform: rotate(var(--a)) scaleX(0); } }
@keyframes orbit-player-in { from { opacity: 0; } }

/* What each edition includes. */
.caps h3 { font: 420 34px/1.1 var(--font-serif); letter-spacing: -0.015em; }
.caps-price { margin-top: 10px; color: var(--ink-muted); font-size: 17px; }
.caps-price b { color: var(--ink-strong); font-size: 22px; }

.caps ul { display: grid; gap: 2px; list-style: none; }
.caps ul:first-of-type { margin-top: 28px; }

.caps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid var(--edge);
  color: var(--ink);
  font-size: 16.5px;
  transition: color .5s;
}

.caps li b { color: var(--ink-strong); font-weight: 600; }

.caps-ic {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 700 13px/1 var(--font-sans);
}


.business-door { max-width: 760px; margin: var(--gap-l) auto 0; color: var(--ink-muted); font-size: 17px; text-align: center; text-wrap: balance; }
.business-door a { color: var(--ink-strong); }

@media (max-width: 860px) {
  .unlock-grid { grid-template-columns: 1fr; gap: var(--gap-l); }
  .seg button { min-width: 0; }
  .orbit { max-width: 360px; }
}

/* ----- Privacy flow: what stays, what goes, and to whom ----- */

.flow {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr auto 1fr;
  align-items: start;
  margin-top: var(--gap-l);
}

.flow-node { padding: 28px 26px; border-radius: 24px; }

/* Only the home node is a card. The others keep its top padding, so the
   three labels line up, and the lines meet the card at its middle. */
.flow-node:not(.flow-node--home) { padding-bottom: 0; }
.flow-arrow { align-self: center; }

.flow-node--home {
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}

.flow-node .mono { display: block; margin-bottom: 14px; }
.flow-node h3 { font-size: 19px; }
.flow-node p:not(.mono) { margin-top: 10px; font-size: 15.5px; }
.flow-node--far p:not(.mono) { color: var(--ink-muted); }

.flow-arrow { width: 70px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.flow-arrow--thin { background: repeating-linear-gradient(90deg, var(--edge-2) 0 6px, transparent 6px 12px); }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow-node:not(.flow-node--home) { padding-top: 0; }
  .flow-arrow { width: 2px; height: 34px; margin-left: 40px; background: linear-gradient(180deg, var(--accent), transparent); }
  .flow-arrow--thin { background: repeating-linear-gradient(180deg, var(--edge-2) 0 6px, transparent 6px 12px); }
}

/* ----- Editions ----- */

.editions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: var(--gap-l);
}

.edition {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 34px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.edition--featured { box-shadow: var(--shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }

.edition .mono { color: var(--accent); }
.edition :is(h2, h3) { margin-top: 14px; font: 420 38px/1 var(--font-serif); letter-spacing: -0.01em; }

.edition-amount { margin-top: 18px; color: var(--ink-muted); font-size: 17px; }
.edition-amount b { color: var(--ink-strong); font: 600 44px/1 var(--font-sans); letter-spacing: -0.02em; }

.edition-desc { margin: 18px 0 30px; font-size: 16.5px; }

.edition .btn { margin-top: auto; }

.editions-fine { margin-top: 26px; color: var(--ink-muted); font-size: 15px; text-align: center; text-wrap: balance; }
.editions-fine a { color: var(--ink-strong); white-space: nowrap; }

@media (max-width: 860px) {
  .editions { grid-template-columns: 1fr; }
  .edition { padding: 30px 26px; }
}

/* ----- Details block: the quiet layer, as a two-column list -----
   Under a story section: a small label, then every capability in smaller,
   muted type. */

.details { margin-top: var(--gap-l); }
.details > .mono { margin-bottom: 14px; }
.details > .more { margin-top: 18px; font-size: 15.5px; }

.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.detail-list > div { padding: 18px 0 20px; border-top: 1px solid var(--edge); }
/* The last row has no rule under it, so no space either: the band after it
   is the whole gap. */
.detail-list > div:last-child { padding-bottom: 0; }

@media not all and (max-width: 860px) {
  .detail-list:not(.detail-list--3) > div:nth-last-child(2):nth-child(odd),
  .detail-list--3 > div:nth-last-child(-n+3):nth-child(3n+1),
  .detail-list--3 > div:nth-last-child(-n+3):nth-child(3n+1) ~ div { padding-bottom: 0; }
}
.detail-list dt { color: var(--ink-strong); font-size: 16px; font-weight: 600; line-height: 1.4; }
.detail-list dd { margin-top: 5px; color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }
.detail-list dd b { color: var(--ink); font-weight: 600; }
.detail-list .more { display: flex; width: fit-content; margin-top: 2px; font-size: 15.5px; }
/* On a phone a long link wraps, so its arrow stays beside the words. */
@media (max-width: 480px) {
  .detail-list .more { display: block; padding-top: 12px; }
  .detail-list .more::after { margin-left: .35em; }
}

/* A longer item: what it does, then why. */
.detail-list dd p + p { margin-top: 6px; }

/* Points within one item, a line each. */
.detail-sub { list-style: none; }
.detail-sub li + li { margin-top: 4px; }

/* An app list: each app's glyph, small, beside its name. */
.detail-list--apps dt { display: flex; align-items: center; gap: 10px; }
.detail-list--apps .app-glyph { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }

@media (max-width: 860px) {
  .detail-list { grid-template-columns: 1fr; }
}

/* ----- FAQ: native disclosure ----- */

.faq { max-width: 820px; margin: var(--gap-l) auto 0; }

.faq details { border-top: 1px solid var(--edge); }
.faq details:last-child { border-bottom: 1px solid var(--edge); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink-strong);
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ink-muted); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }

.faq details p { max-width: 40em; margin-top: -10px; padding-bottom: 22px; font-size: 17px; }

.faq-more { text-align: center; }

/* ----- Closing call ----- */

/* A full band under it, before the footer. */
.closing { overflow: hidden; padding-bottom: var(--band); text-align: center; }
.closing .orb { --d: 84px; margin: 0 auto var(--gap-m); }
.closing p { max-width: 30em; margin: 22px auto 0; font-size: 19px; }
.closing .ctas { justify-content: center; margin-top: var(--gap-m); }
.closing .closing-fine { max-width: 36em; margin-top: 28px; color: var(--ink-muted); font-size: 15px; text-wrap: balance; }
.closing-fine a { color: var(--ink-strong); }

/* ----- Reveal on scroll (only when the script runs) ----- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s var(--ease);
}

.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   6. Pages
   ===================================================================== */

/* ----- The hero: home and the edition pages (.page-hero) ----- */

.home-hero, .page-hero { position: relative; overflow: hidden; }

/* A slow sky behind the assistant. */
.home-hero-sky, .page-hero-sky {
  position: absolute;
  inset: -20% -10% 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
}

.home-hero-sky span, .page-hero-sky span {
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  filter: blur(70px);
  animation: sky-drift 26s ease-in-out infinite alternate;
}

.home-hero-sky span:nth-child(1), .page-hero-sky span:nth-child(1) { right: 2%; top: 4%; background: var(--blob-a); }
.home-hero-sky span:nth-child(2), .page-hero-sky span:nth-child(2) { right: 22%; top: 30%; background: var(--blob-b); animation-duration: 32s; animation-delay: -8s; }
.home-hero-sky span:nth-child(3), .page-hero-sky span:nth-child(3) { right: -8%; top: 38%; background: var(--blob-c); animation-duration: 38s; animation-delay: -14s; }

@keyframes sky-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, 6%) scale(1.12); }
}

.home-hero-inner, .page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  padding: var(--page-top) 0 calc(var(--band) / 2);
}

/* The headline starts on the page's line; what's beside it centres on it. */
.page-hero-inner { align-items: start; }
.page-hero-inner > :last-child { align-self: center; }

:is(.home-hero, .page-hero) h1 { margin-top: 22px; }
/* An edition's headline runs longer than the home's, so it sets a size down. */
.page-hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
:is(.home-hero, .page-hero) .lead { margin-top: 28px; }
:is(.home-hero, .page-hero) .ctas { margin-top: 40px; }
.home-hero-fine, .page-hero-fine { margin-top: 22px; color: var(--ink-muted); font-size: 14.5px; text-wrap: balance; }

/* On a phone the headline and its text come first, then the assistant
   after the buttons and small print. */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .lead { font-size: 18.5px; }
  .home-hero-inner, .page-hero-inner { grid-template-columns: 1fr; gap: var(--gap-l); }
  :is(.home-hero, .page-hero) .stage .orb { --d: 104px; }
  :is(.home-hero, .page-hero) .ctas { flex-direction: column; }
}

/* On a tablet the stacked buttons keep a button's width, centred. */
@media (min-width: 481px) and (max-width: 860px) {
  :is(.home-hero, .page-hero) .ctas { align-items: center; }
  :is(.home-hero, .page-hero) .ctas .btn { width: min(100%, 360px); }
}

@media (max-width: 480px) {
  .maestro-hero h1 { font-size: 40px; }
  :is(.home-hero, .page-hero) .stage { gap: 22px; }
  :is(.home-hero, .page-hero) .stage .orb { --d: 96px; }
  :is(.home-hero, .page-hero) .stage-note { margin-top: -10px; }
}

/* The home's first screen on desktop: the statement centred across the
   window, and June on a line of light at its foot. It fills exactly the
   first screen, and every size follows the smaller of the window's width
   and height, so it holds from a laptop to a large display. June's row is
   in the flow, so on a short screen the hero grows instead of overlapping
   what follows. Phones keep the stacked hero above. (Approved 2026-10-24:
   docs/design/2026-10-24-home-hero/mockups, option C2.) */
.hero-arc { display: none; }
.hero-arc-stop { stop-color: var(--accent); }

@media (min-width: 861px) {
  .home-hero { --hero-orb: clamp(84px, min(7.5vw, 10vh), 230px); }
  .home-hero-sky span { width: 56vw; height: 56vw; max-width: none; max-height: none; filter: blur(clamp(80px, min(5vw, 8.89vh), 110px)); opacity: .8; }

  .home-hero .home-hero-inner {
    width: min(1760px, 100% - 2 * clamp(24px, min(4vw, 7.11vh), 96px));
    min-height: calc(100svh - var(--header-h));
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    align-content: stretch;
    padding: clamp(24px, 4vh, 90px) 0 clamp(24px, 4.5vh, 100px);
    text-align: center;
  }
  .home-hero-copy { display: flex; flex-direction: column; align-items: center; align-self: center; }
  .home-hero .mono { font-size: clamp(12.5px, min(.72vw, 1.28vh), 16px); }
  .home-hero h1 { font-size: clamp(52px, min(6.2vw, 9.6vh), 150px); line-height: .96; letter-spacing: -0.028em; text-wrap: balance; }
  .home-hero .lead { max-width: 44em; margin: clamp(16px, 2vh, 40px) auto 0; font-size: clamp(20px, min(1.25vw, 2.22vh), 29px); text-wrap: balance; }
  .home-hero .ctas { justify-content: center; margin-top: clamp(20px, 2.6vh, 50px); }
  .home-hero .btn {
    min-height: clamp(52px, min(3.3vw, 5.87vh), 72px);
    padding: 0 clamp(24px, min(1.8vw, 3.2vh), 40px);
    border-radius: clamp(14px, min(.9vw, 1.6vh), 20px);
    font-size: clamp(16.5px, min(1vw, 1.78vh), 21px);
  }
  .home-hero-fine { margin-top: clamp(12px, 1.6vh, 22px); font-size: clamp(14.5px, min(.8vw, 1.42vh), 18px); }

  /* June: her orb on the line, her name and status, what she's saying. */
  .home-hero .stage {
    position: relative;
    width: min(46em, 100%);
    align-content: start;
    gap: clamp(10px, 1.3vh, 20px);
    margin-top: clamp(12px, 2.2vh, 100px);
    animation: hero-june-in 1s ease .9s backwards;
  }
  .home-hero .stage > :not(.hero-arc) { position: relative; z-index: 1; }
  .home-hero .stage .orb { --d: var(--hero-orb); }
  .home-hero .who { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-top: clamp(10px, 1.8vh, 30px); }
  .home-hero .who b { font-size: clamp(20px, min(1.15vw, 2.04vh), 27px); }
  /* Beside its status the name changes length as it tries on names (site.js
     lines()); a fixed width, right-aligned, keeps the status from shifting. */
  .home-hero [data-names] .who b { min-width: 3em; text-align: right; }
  .home-hero .who small { font-size: clamp(14px, min(.8vw, 1.42vh), 18px); }
  .home-hero .says { width: 100%; min-height: clamp(64px, min(5.6vw, 9vh), 150px); }
  .home-hero .says q { font-size: clamp(20px, min(1.3vw, 2.31vh), 32px); }
  .home-hero .stage-note { font-size: clamp(12.5px, min(.7vw, 1.24vh), 16px); }

  /* The line of light runs level with the orb's centre, across the window. */
  .hero-arc {
    display: block;
    position: absolute; z-index: 0; left: 50%; width: 100vw; translate: -50% 0;
    top: calc(var(--hero-orb) / 2); height: clamp(240px, 30vh, 560px);
    pointer-events: none;
  }
  /* The lines' box reaches 120px above the line, so the mask covers its glow
     too and never cuts it off in a straight edge. The mask fades the line
     out before it reaches the orb: a clear ring around June, then the light. */
  .hero-arc-lines {
    position: absolute; left: 0; right: 0; top: -120px; bottom: 0;
    -webkit-mask-image: radial-gradient(circle at 50% 120px, transparent calc(var(--hero-orb) / 2 + 18px), #000 calc(var(--hero-orb) / 2 + 150px));
    mask-image: radial-gradient(circle at 50% 120px, transparent calc(var(--hero-orb) / 2 + 18px), #000 calc(var(--hero-orb) / 2 + 150px));
  }
  .hero-arc svg { position: absolute; left: 0; top: 120px; width: 100%; height: calc(100% - 120px); overflow: visible; }
  .hero-arc-line path { stroke-width: 1.5px; }
  .hero-arc-glow { filter: blur(10px); opacity: .9; }
  .hero-arc-glow path { stroke-width: 8px; }
  /* Draws out from the middle, then rests as one solid stroke. */
  .hero-arc path { animation: hero-arc-draw 1.8s cubic-bezier(.3, .6, .2, 1) .2s backwards; }
  .hero-arc-light {
    position: absolute; left: 15%; right: 15%; top: -45%; height: 120%;
    background: radial-gradient(50% 50% at 50% 38%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 72%);
    animation: hero-arc-glow-in 2.2s ease .6s backwards;
  }
}

/* A short screen drops the small pill, so June stays on the first screen. */
@media (min-width: 861px) and (max-height: 960px) {
  .home-hero .says .pill { display: none; }
  .home-hero .says { min-height: 3.2em; }
}

@keyframes hero-june-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-arc-draw { from { stroke-dasharray: 0 1; } to { stroke-dasharray: 1 0; } }
@keyframes hero-arc-glow-in { from { opacity: 0; } to { opacity: 1; } }

/* On a phone the story centres: each hero's copy, section intros, moments
   and closings. What people read as a list or a form stays left: details,
   the FAQ, tables, the flow's nodes, steps, forms, the quiet pages' bodies,
   the blog and posts. */
@media (max-width: 860px) {
  :is(.home-hero-inner, .page-hero-inner) > :first-child,
  .pricing-hero .intro-split,
  .page-head:not(.page-head--list):not(.legal-head) .wrap,
  :is(.band, .maestro-part, .ensemble-part, .pricing-part) :is(.intro, .intro-split, .moment-copy),
  .page-part :is(.intro, .intro-split), .page-part > .wrap > h2 { text-align: center; }

  :is(.home-hero, .page-hero, .page-head:not(.legal-head, .page-head--list)) :is(.lead, h1),
  :is(.intro, .moment-copy) > p:not(.mono) { margin-left: auto; margin-right: auto; }

  .page-head:not(.page-head--list) .ctas { justify-content: center; }
  .moment-copy .levels { text-align: left; }
}

/* ----- The pages' parts: Maestro, Ensemble, Pricing and the quiet pages ----- */

/* Each part is its own section, padded like a band. */
:is(.maestro-part, .ensemble-part, .pricing-part, .page-part) { padding: calc(var(--band) / 2) 0; }

/* Every part's label reads the same, with or without media beside it. */
:is(.maestro-part, .ensemble-part, .pricing-part, .page-part, .band) .kicker { color: var(--accent); }

/* ----- Maestro ----- */

/* It reaches out: two phones as a pair, the second a step lower, in a wide
   moment's media column. */
.shot-pair { display: flex; align-items: flex-start; gap: 28px; }
.shot-pair .shot { --shot-w: 320px; }
.shot-pair .shot + .shot { margin-top: 88px; }

/* Between 861px and about 1090px the column is narrower than two 320px
   phones, so they shrink with it instead of running over the copy. */
@media not all and (max-width: 860px) {
  .shot-pair { width: 100%; justify-content: center; }
  .shot-pair .shot { flex: 0 1 320px; min-width: 0; width: auto; }
}

/* Your life in one place: four apps as a set, alternate ones lower. At
   desktop widths the set runs wider than the page column, up to 1364px, so
   each phone can be 320px. */
.app-set {
  --set-w: min(1364px, 100vw - 2 * var(--gutter));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  width: var(--set-w);
  margin: var(--gap-l) 0 0 calc((100% - var(--set-w)) / 2);
}

/* Home's strip: the same set, narrower on a computer. A phone keeps the set's own two columns. */
.app-set--compact { --set-w: min(820px, 100vw - 2 * var(--gutter)); }
/* Five apps in the strip: one more column; on a phone the fifth stands alone, centred. */
.app-set--five { --set-w: min(1040px, 100vw - 2 * var(--gutter)); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.app-set figure { display: grid; justify-items: center; margin: 0; }
.app-set figure:nth-child(even) { margin-top: 64px; }
.app-set .shot { --shot-w: 100%; }
.app-set figcaption { margin-top: 18px; }

/* You're in charge: the three levels, as steps from guarded to autonomous. */
.levels { display: grid; max-width: 30em; margin-top: 36px; list-style: none; }

.levels li { position: relative; display: grid; gap: 4px; padding: 0 0 26px 40px; }
.levels li:last-child { padding-bottom: 0; }

.levels li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.levels li:nth-child(2)::before { background: radial-gradient(circle, var(--accent) 0 4px, transparent 4.5px); }
.levels li:last-child::before { background: var(--accent); }

/* The rail between steps. */
.levels li::after { content: ''; position: absolute; left: 9px; top: 29px; bottom: 5px; width: 2px; border-radius: 1px; background: var(--edge-2); }
.levels li:last-child::after { display: none; }

.levels b { color: var(--ink-strong); font-size: 18.5px; font-weight: 600; line-height: 1.35; }
.levels span { font-size: 16.5px; }

/* Yours to keep: the details alone. */
.maestro-keep .details { margin-top: 0; }

@media (max-width: 860px) {
  .shot-pair { flex-direction: column; align-items: center; gap: 32px; }
  .shot-pair .shot { --shot-w: 248px; }
  .shot-pair .shot + .shot { margin-top: 0; }
  .app-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; width: auto; margin: var(--gap-l) 0 0; }
  .app-set figure:nth-child(even) { margin-top: 36px; }
  .app-set--five figure:last-child { grid-column: 1 / -1; margin-top: 0; }
  .app-set--five figure:last-child .shot { --shot-w: calc(50% - 9px); }
}

/* ----- Ensemble preview: restored capture crops and examples ----- */

.page-hero .sat--app em { color: var(--ink-strong); }

.ens-wide { margin-top: var(--gap-l); }

.ens-team { aspect-ratio: 1.075; --crop-w: .68; }

.examples { margin-top: var(--gap-l); list-style: none; }

.examples li {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px 48px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--edge);
}

.examples li:last-child { border-bottom: 1px solid var(--edge); }
.examples h3 { font: 420 26px/1.2 var(--font-serif); letter-spacing: -0.01em; }
.examples p:not(.mono) { font-size: 17.5px; }
.examples .mono { line-height: 1.5; text-align: right; }

@media (max-width: 860px) {
  .ens-team { aspect-ratio: 1.43; --crop-x: .2106; --crop-y: .2481; --crop-w: .47; }

  .examples li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .examples h3 { font-size: 23px; }
  .examples .mono { margin-top: 4px; text-align: left; }
}

/* ----- Pricing ----- */

/* The hero: the intro, then the edition cards on the sky. */
.pricing-hero-inner { position: relative; padding: var(--page-top) 0 calc(var(--band) / 2); }
.pricing-hero h1 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.04; }

/* The intros' short paragraphs don't end on a lone word. */

/* Download: a card per computer, then the three steps. The first (the Mac)
   stands tall; the others stack beside it. A platform that isn't ready yet
   is an outline, not a card. */
.downloads {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-top: var(--gap-l);
}

.download:first-child { grid-row: span 2; }

.download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 30px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.download--soon { background: none; box-shadow: none; outline: 1px dashed var(--edge-2); outline-offset: -1px; }
.download h3 { font: 420 32px/1.1 var(--font-serif); letter-spacing: -0.015em; }
.download-soon { margin: 10px 0 28px; color: var(--ink-muted); font-style: italic; }

.download-needs { width: 100%; margin: 22px 0 30px; list-style: none; }
.download-soon + .download-needs { margin-top: 0; }
.download-needs li { padding: 10px 0; border-top: 1px solid var(--edge); font-size: 15.5px; line-height: 1.45; }

.download .btn { margin-top: auto; }
.download--soon .btn { width: auto; }

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: var(--gap-l);
  list-style: none;
  counter-reset: step;
}

.install-steps li { position: relative; padding-top: 52px; counter-increment: step; }

.install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--accent);
  color: var(--ink-strong);
  font: 500 14px/1 var(--font-mono);
}

/* The rail to the next step. */
.install-steps li::after { content: ''; position: absolute; left: 44px; right: -20px; top: 15px; height: 2px; border-radius: 1px; background: var(--edge-2); }
.install-steps li:last-child::after { display: none; }

.install-steps p { max-width: 24em; font-size: 17px; }
.install-steps b { color: var(--ink-strong); font-weight: 600; }
.install-steps .more { margin-top: 10px; font-size: 15.5px; }

@media (max-width: 860px) {
  .downloads { grid-template-columns: 1fr; gap: 18px; }
  .download:first-child { grid-row: auto; }
  .download { padding: 28px 24px; }
  .download--soon .btn { width: 100%; }

  .install-steps { grid-template-columns: 1fr; gap: 0; }
  .install-steps li { padding: 4px 0 28px 48px; }
  .install-steps li:last-child { padding-bottom: 0; }
  .install-steps li::after { left: 15px; right: auto; top: 40px; bottom: 6px; width: 2px; height: auto; }
}

/* ----- The quiet pages: Under the hood, Where your data goes, For business,
   About, the blog, posts, legal and 404. No orb in the head and no sky:
   a soft wash behind a headline in Literata. ----- */

.page-head { position: relative; overflow: hidden; padding: var(--page-top) 0 var(--gap-l); }

/* The wash fades out inside the head, so its bottom edge never shows. */
.page-head::before {
  content: '';
  position: absolute;
  inset: 0 -10% 0 40%;
  background: radial-gradient(55% 75% at 72% 22%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.page-head .wrap { position: relative; }
.page-head h1 { max-width: 13em; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
.page-head .intro-split h1 { max-width: none; }
.page-head > .wrap:not(.intro-split) > .lead { margin-top: 28px; }
.page-head .ctas { margin-top: 40px; }

.page-part h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.page-part .intro-split > p { font-size: 19px; }
.page-part .intro-split + * { margin-top: var(--gap-l); }

/* A quiet line under a section, and its centred form. */
.page-note { margin-top: 36px; max-width: 46em; color: var(--ink-muted); font-size: 15.5px; }
.page-note--center { margin-left: auto; margin-right: auto; text-align: center; }
:is(.page-note, .hood-note, .hood-soon, .note-box, .business-close, .lost, .editorial, .stays-note) a:not(.btn) { color: var(--ink-strong); text-decoration: underline; }

@media (max-width: 860px) {
  .page-part .intro-split > p { font-size: 18px; }
}

/* The details block as on Maestro and Ensemble, three to a row. */
.detail-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }

/* A small label in a heading: which edition a part comes with. */
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-left: 6px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--accent-soft);
  /* A shade nearer the ink, so the small type passes AA on the soft fill. */
  color: color-mix(in srgb, var(--accent) 82%, var(--ink-strong));
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

@media (max-width: 860px) {
  .detail-list--3 { grid-template-columns: 1fr; }
}

/* A statement set apart: a label, then a sentence or two in the serif. */
.statement { max-width: 900px; padding-left: 32px; border-left: 2px solid var(--accent); }
.statement .mono { color: var(--accent); }
.statement p:not(.mono) { margin-top: 18px; color: var(--ink-strong); font: 400 clamp(23px, 2.5vw, 31px)/1.45 var(--font-serif); letter-spacing: -0.01em; text-wrap: pretty; }

@media (max-width: 860px) {
  .statement { padding-left: 20px; }
}

/* A note on a soft panel. */
.note-box { margin-top: 40px; max-width: 52em; padding: 20px 24px; border-radius: 18px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--edge); color: var(--ink); font-size: 16px; }

/* ----- The fan: what runs on your computer, and what it connects to -----
   The home card, then each connection, joined to it by a line: solid when
   it's always there, dashed when it's made only when you choose. Across in
   a wide box; down a rail in a narrow one (a post, a phone). */

.fan { container-type: inline-size; }

.fan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0 96px;
  align-items: center;
}

.fan-home {
  padding: 36px 34px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}

.fan-home h3 { font: 420 30px/1.15 var(--font-serif); letter-spacing: -0.015em; }
.fan-home > p { margin-top: 10px; color: var(--ink); font-size: 16px; }

.fan-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; list-style: none; }

.fan-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.fan-items li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.fan-dests { display: grid; gap: 26px; list-style: none; }
.fan-dest { position: relative; }
.fan-dest h3 { font-size: 18.5px; }
.fan-dest p { margin-top: 4px; color: var(--ink-muted); font-size: 15.5px; line-height: 1.5; }
.fan-dest a { color: var(--ink-strong); text-decoration: underline; }

/* The line back to the home card, level with the connection's name. */
.fan-dest::before {
  content: '';
  position: absolute;
  top: 12px;
  right: calc(100% + 14px);
  width: 82px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent));
}

.fan-dest--optional::before { background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }

.fan-key { display: flex; align-items: center; gap: 12px; margin-top: 36px; color: var(--ink-muted); font-size: 14.5px; }
.fan-key::before { content: ''; flex: none; width: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }

@container (max-width: 760px) {
  .fan-grid { grid-template-columns: 1fr; }
  .fan-home { padding: 28px 24px; }
  .fan-home h3 { font-size: 26px; }
  .fan-dests { gap: 0; margin-left: 28px; }
  .fan-dest { padding: 22px 0 4px 36px; }

  /* A rail down from the card, and a branch to each connection. */
  .fan-dest::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--edge-2); }
  .fan-dest:last-child::after { bottom: auto; height: 35px; }
  .fan-dest::before { top: 34px; right: auto; left: 0; width: 26px; }
}

@container (max-width: 420px) {
  .fan-items { grid-template-columns: 1fr; }
}

/* ----- Under the hood ----- */

.hood-map { padding-top: 0; }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: var(--gap-l); list-style: none; }
.principles li { padding-top: 24px; border-top: 1px solid var(--edge-2); }
.principles li::before { content: ''; display: block; width: 28px; height: 2px; margin: -25px 0 23px; background: var(--accent); }
.principles h3 { font: 420 24px/1.2 var(--font-serif); letter-spacing: -0.01em; }
.principles p { margin-top: 12px; font-size: 16.5px; }

.page-part .wrap > h2 + .details { margin-top: var(--gap-m); }

.hood-soon { margin-top: 28px; color: var(--ink-muted); font-size: 16px; }
.hood-soon strong { color: var(--ink-strong); font-weight: 600; }
.hood-note { margin-top: 32px; max-width: 46em; color: var(--ink-muted); font-size: 15.5px; }

@media (max-width: 1100px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .principles { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Where your data goes ----- */

.data-flow { padding-top: 0; }
.data-flow .flow { margin-top: 0; }

/* What stays, and what leaves: two columns. */
.stays-leaves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 80px; }
.stays-leaves h3.mono { padding-bottom: 14px; color: var(--accent); }
.stays-note { margin-bottom: 8px; color: var(--ink-muted); font-size: 15.5px; }

.stays { list-style: none; }
.stays li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--edge); color: var(--ink-strong); font-size: 17.5px; font-weight: 500; }
.stays li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--glow); }

.leaves > div { padding: 16px 0 18px; border-top: 1px solid var(--edge); }
.leaves dt { color: var(--ink-strong); font-size: 17.5px; font-weight: 600; }
.leaves dd { margin-top: 4px; color: var(--ink); font-size: 16px; }

/* The two training guides. */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.guides article { padding-top: 26px; border-top: 1px solid var(--edge-2); }
.guides h3 { font: 420 28px/1.2 var(--font-serif); letter-spacing: -0.01em; }
.guides p { margin-top: 12px; max-width: 30em; font-size: 17px; }
.guides .more { margin-top: 14px; }

/* The one feature teaser the site keeps. */
.coming { max-width: 640px; margin: 0 auto; text-align: center; }
.coming h3 { font: 420 clamp(28px, 3vw, 36px)/1.2 var(--font-serif); letter-spacing: -0.015em; }
.coming p { margin-top: 14px; font-size: 19px; }

@media (max-width: 860px) {
  .stays-leaves, .guides { grid-template-columns: 1fr; gap: 48px; }
}

/* ----- For business ----- */

/* How it works: Pricing's numbered steps, with a heading each. */
.service-steps h3 { margin-bottom: 10px; font: 420 26px/1.2 var(--font-serif); letter-spacing: -0.01em; }

/* Headline left, paragraphs right, one row per topic. */
.prose-rows { border-bottom: 1px solid var(--edge); }
.prose-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 72px; padding: 40px 0; border-top: 1px solid var(--edge); }
.prose-row h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.prose-row p { max-width: 36em; font-size: 18px; }
.prose-row p + p { margin-top: 14px; }

.business-close { padding: 0 0 var(--band); }
.business-close p { max-width: 40em; margin: 0 auto; padding-top: 40px; border-top: 1px solid var(--edge); color: var(--ink-muted); font-size: 17px; text-align: center; }

@media (max-width: 860px) {
  .prose-row { grid-template-columns: 1fr; padding: 32px 0; }
}

/* Email contact: the existing card, type and fine-print patterns. */
.contact-email {
  max-width: 780px;
  padding: 40px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-email > * + * { margin-top: 24px; }
.contact-email h2 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; }
/* The block heading's size, scaled down to stay on one line on a phone; on the
   narrowest screens it breaks after the @. */
.contact-address { color: var(--ink-strong); font: 420 max(19px, min(5.6vw, clamp(24px, 2.2vw, 28px)))/1.2 var(--font-serif); overflow-wrap: anywhere; }
.contact-fineprint { margin-top: 24px; color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 860px) {
  .contact-email { padding: 26px 20px; border-radius: 22px; }
}

/* ----- About: one editorial column ----- */

.editorial { width: min(700px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: var(--page-top) 0 calc(var(--band) / 2); }
.editorial-head .bolt-mark { margin-bottom: 40px; }
.editorial h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
.editorial .lead { margin-top: 26px; color: var(--ink-strong); font: italic 400 clamp(22px, 2.2vw, 26px)/1.45 var(--font-serif); }
.editorial section { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--edge); }
.editorial h2 { font-size: clamp(30px, 3vw, 38px); line-height: 1.15; }
.editorial section p { margin-top: 20px; color: var(--ink); font: 400 20px/1.7 var(--font-serif); }

@media (max-width: 860px) {
  .editorial { padding-top: 48px; }
  .editorial section { margin-top: 56px; }
  .editorial section p { font-size: 18.5px; }
}

/* ----- The blog: a list of posts ----- */

.blog { padding: 0 0 var(--band); }
.post-list { list-style: none; border-bottom: 1px solid var(--edge); }

.post-row {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 10px 56px;
  padding: 40px 0 42px;
  border-top: 1px solid var(--edge);
}

.post-row .mono { display: grid; align-content: start; gap: 6px; padding-top: 12px; line-height: 1.4; }
.post-row .mono span { color: var(--accent); }
.post-row h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.015em; }
.post-row h2 a { text-decoration: none; }
/* The whole row opens the post. */
.post-row h2 a::after { content: ''; position: absolute; inset: 0; }
.post-row:hover h2 a { text-decoration: underline; text-decoration-color: var(--accent); }
.post-row h2 + p { margin-top: 12px; max-width: 40em; font-size: 17.5px; }

.post-pagination { margin-top: 48px; text-align: center; }
.post-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.post-pagination :is(a, span) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; }
.post-pagination a { box-shadow: inset 0 0 0 1px var(--edge-2); color: var(--ink-strong); text-decoration: none; }
.post-pagination .current { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 860px) {
  .post-row { grid-template-columns: 1fr; gap: 8px; padding: 32px 0 34px; }
  .post-row .mono { padding-top: 0; }
}

/* ----- Reading: posts and plain pages ----- */

.article { padding: var(--page-top) 0 var(--band); }
.article > * { width: min(680px, 100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.article-head h1 { margin-top: 20px; font-size: clamp(38px, 5vw, 60px); line-height: 1.06; }
.article-head > h1:first-child { margin-top: 0; }
.article-dek { margin-top: 24px; color: var(--ink); font-size: 21px; line-height: 1.55; }
.article-meta { margin-top: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--edge); color: var(--ink-muted); font-size: 15px; }
.article-foot { margin-top: 72px; padding-top: 12px; border-top: 1px solid var(--edge); }

/* Back to the list: a link that leads the other way. */
.back { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; color: var(--ink-strong); font-weight: 600; }
.back::before { content: '\2190'; }

.prose { margin-top: 44px; color: var(--ink); font-size: 19px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { margin-top: 2.1em; font-size: clamp(28px, 3vw, 34px); line-height: 1.2; }
.prose > h3 { margin-top: 1.8em; font: 600 21px/1.35 var(--font-sans); letter-spacing: -0.01em; }
.prose > :is(h2, h3) + * { margin-top: .6em; }
.prose > :is(ul, ol) { padding-left: 1.3em; }
.prose > :is(ul, ol) > li + li { margin-top: .45em; }
.prose > :is(ul, ol) > li::marker { color: var(--accent); }
.prose a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 75%, transparent); }
.prose strong { color: var(--ink-strong); font-weight: 600; }
.prose code { padding: .1em .35em; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); font-size: .84em; }
.prose pre { overflow-x: auto; padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); font-size: 15px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; box-shadow: none; font-size: inherit; }
.prose img { border-radius: 16px; }
.prose figure > figcaption, .prose .wp-caption-text { margin-top: 12px; color: var(--ink-muted); font-size: 15px; text-align: center; }
.prose blockquote { padding-left: 22px; border-left: 2px solid var(--accent); color: var(--ink-strong); font: italic 400 21px/1.55 var(--font-serif); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--edge); }
.prose .note { padding: 18px 22px; border-radius: 16px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--edge); font-size: 17px; }
.prose .post-sources { margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--edge); color: var(--ink-muted); font-size: 15px; }
.prose > .illus { margin-top: 1.6em; margin-bottom: 1.6em; }

@media (max-width: 860px) {
  .article-dek { font-size: 19px; }
  .prose { font-size: 18px; }
}

/* ----- Illustrations in posts (inc/illustrations.php) ----- */

/* Where to find a provider's training switch. */
.settings-path { padding: 24px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.settings-path > .mono { margin-bottom: 14px; }
.settings-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; list-style: none; }

.settings-steps li {
  position: relative;
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--edge-2);
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

/* A drawn chevron between steps, after each one, so a wrapped line ends
   with it instead of starting with it. */
.settings-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--ink-muted);
  border-right: 2px solid var(--ink-muted);
  transform: translateY(-50%) rotate(45deg);
}

.settings-steps li:last-child { background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }

.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--page); box-shadow: inset 0 0 0 1px var(--edge); }
.settings-row strong { display: block; color: var(--ink-strong); font-size: 16.5px; line-height: 1.4; }
.settings-row span { display: block; color: var(--ink-muted); font-size: 14.5px; line-height: 1.5; }
.settings-toggle { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: color-mix(in srgb, var(--ink-muted) 55%, transparent); }
.settings-toggle-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }

/* The setup screens, down a numbered rail. */
.illus-steps { padding: 28px 28px 8px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); list-style: none; counter-reset: step; }
.illus-steps li { position: relative; padding: 0 0 24px 52px; counter-increment: step; }

.illus-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--accent);
  color: var(--ink-strong);
  font: 500 14px/1 var(--font-mono);
}

.illus-steps li::after { content: ''; position: absolute; left: 15px; top: 40px; bottom: 8px; width: 2px; border-radius: 1px; background: var(--edge-2); }
.illus-steps li:last-child::after { display: none; }
.illus-steps strong { display: block; padding-top: 3px; color: var(--ink-strong); font-size: 17.5px; line-height: 1.35; }
.illus-steps span { display: block; margin-top: 3px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; }

/* An example conversation. */
.illus-chat .chat { border-radius: 22px; background: var(--surface-2); box-shadow: var(--window-shadow); }
.illus-chat .msg { font-size: 16px; }
.illus-chat .msg-chips li { font-size: 13.5px; }
.illus-chat figcaption { margin-top: 14px; color: var(--ink-muted); font-size: 15px; text-align: center; }

/* One assistant in the middle, the AI around it. */
.provider-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.hub-center {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 30px 24px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
  text-align: center;
}

.hub-center .orb { --d: 52px; margin-bottom: 12px; }
.hub-center strong { color: var(--ink-strong); font: 420 25px/1.2 var(--font-serif); }
.hub-center span { color: var(--ink-muted); font-size: 15.5px; line-height: 1.5; }
.hub-card { padding: 18px 20px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--edge-2); }
.hub-card strong { display: block; color: var(--ink-strong); font-size: 17px; }
.hub-card span { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }

/* A week where the AI changes and the memory doesn't. */
.switch-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.week-day { color: var(--ink-muted); font: 500 12px/1.2 var(--font-mono); letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.week-row-label { grid-column: 1 / -1; margin-top: 14px; }
.week-bar { padding: 10px 6px; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: center; }
.week-bar--a { grid-column: 1 / 4; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--edge-2); color: var(--ink-strong); }
.week-bar--b { grid-column: 4 / 8; background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); color: var(--ink-strong); }
.week-bar--memory { grid-column: 1 / -1; background: var(--accent); color: var(--accent-ink); }

@media (max-width: 560px) {
  .provider-hub { grid-template-columns: 1fr; }
  .illus-steps { padding: 22px 20px 4px; }
}

/* ----- Legal: a long document, well set ----- */

/* The title sits on the text's own column. */
.legal-head .wrap { width: min(720px, 100% - 2 * var(--gutter)); }
.legal-head h1 { font-size: clamp(42px, 5vw, 64px); }
.legal-head .wrap > p { margin-top: 18px; color: var(--ink-muted); font: 500 13px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
/* Attribution opens with a sentence, not a date. */
.legal-head--lead .wrap > p { max-width: 40em; color: var(--ink); font: 400 20px/1.55 var(--font-sans); letter-spacing: 0; text-transform: none; }

.legal { width: min(720px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-bottom: var(--band); }
.legal-section { padding: 40px 0; border-top: 1px solid var(--edge); }
.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal h2 { margin-bottom: 16px; font-size: clamp(25px, 2.5vw, 31px); line-height: 1.2; letter-spacing: -0.01em; }
.legal h3 { margin: 30px 0 12px; font-size: 19px; }
.legal :is(p, li) { color: var(--ink); font-size: 17px; line-height: 1.7; }
.legal * + p, .legal p + ul, .legal * + .table-scroll { margin-top: 14px; }
.legal ul { padding-left: 1.3em; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--accent); }
/* A list of links (the browsers' cookie settings): each a full target. */
.legal-links li + li { margin-top: 0; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.legal a { color: var(--ink-strong); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 75%, transparent); overflow-wrap: anywhere; }
.legal strong { color: var(--ink-strong); font-weight: 600; }
.legal code { padding: .1em .35em; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); font-size: .86em; overflow-wrap: anywhere; }

/* Wide tables scroll in their own box instead of widening the page. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; }
.legal-table th { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--edge-2); color: var(--ink-strong); font-weight: 600; text-align: left; }
.legal-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--edge); color: var(--ink); vertical-align: top; }
.legal .legal-note { color: var(--ink-muted); font-size: 15px; }

/* On a phone each row stacks, so every cell reads without scrolling. */
@media (max-width: 600px) {
  .legal-table { min-width: 0; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--edge); }
  .legal-table td { display: block; padding: 2px 0; border: 0; }
  .legal-table td:nth-child(3)::before { content: 'Duration: '; color: var(--ink-muted); }
  .legal-table td:nth-child(4)::before { content: 'Category: '; color: var(--ink-muted); }
}


@media (max-width: 860px) {
  .legal-section { padding: 32px 0; }
  .legal :is(p, li) { font-size: 16.5px; }
}

/* ----- 404 ----- */

.lost { padding: var(--page-top) 0 var(--band); text-align: center; }
.lost .bolt-mark { margin: 0 auto 36px; }
.lost h1 { margin-top: 18px; font-size: clamp(44px, 5.6vw, 72px); }
.lost h1 + p { margin-top: 20px; font-size: 20px; }
.lost .ctas { justify-content: center; margin-top: 40px; }

@media (max-width: 860px) {
}

/* =====================================================================
   7. Reduced motion and print: every animation has a still state
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .js .reveal { opacity: 1; transform: none; }
  .site-header, .home-hero-sky, .page-hero-sky, .orb-halo { display: none; }
}

/* ----- Ensemble: coming soon and the existing sign-up list ----- */
.ensemble-notify { margin-top: 40px; }
.ensemble-notify label { display: block; margin-bottom: 10px; color: var(--ink-strong); font-weight: 600; }
.notify-fields { display: flex; gap: 12px; }
.notify-fields input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--edge-2); border-radius: 12px; background: var(--surface); color: var(--ink-strong); font: inherit; }
.notify-fields input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.notify-fields .btn { flex-shrink: 0; }
.notify-fields .btn:disabled { opacity: .65; cursor: wait; }
.notify-note { margin-top: 16px; color: var(--ink-muted); font-size: 15px; }
.notify-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html:not(.js) .ensemble-notify form, html:not(.js) .notify-note { display: none; }
.notify-error:not(:empty) { margin-top: 16px; color: var(--ink-strong); }
[data-notify-status]:not(:empty) { margin-top: 16px; color: var(--accent); }
@media (max-width: 640px) {
  .notify-fields { flex-direction: column; }
  .notify-fields input, .notify-fields .btn { width: 100%; min-height: 48px; }
}

/* ----- Ensemble preview: the morning and project tour ----- */

.morning { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: var(--gap-l); }
.morning li { position: relative; padding-top: 22px; border-top: 2px solid var(--edge-2); }
.morning li:last-child { border-top-color: var(--accent); }
.morning li::before { content: ''; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.morning time { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .06em; color: var(--accent); }
.morning b { display: block; margin-top: 8px; color: var(--ink-strong); font-size: 18px; }
.morning span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.5; }

/* The project system: one real screen at a time, picked by the tabs. The
   tabs are radio buttons, so the tour works without script and from the
   keyboard; hidden panels are display:none, so their lazy images wait. */
.tour { position: relative; margin-top: var(--gap-l); }
.tour > input { position: absolute; opacity: 0; pointer-events: none; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tour-tabs label { padding: 9px 16px; border: 1px solid var(--edge-2); border-radius: 999px; color: var(--ink); font: 600 14.5px/1 var(--font-sans); cursor: pointer; }
.tour-tabs label:hover { border-color: var(--accent); }
.tour-panels figure { display: none; }
.tour-panels figcaption { margin-top: 16px; max-width: 46em; font-size: 16.5px; }
.tour-panels figcaption b { color: var(--ink-strong); }
#tour-1:checked ~ .tour-panels .tour-1, #tour-2:checked ~ .tour-panels .tour-2,
#tour-3:checked ~ .tour-panels .tour-3, #tour-4:checked ~ .tour-panels .tour-4 { display: block; }
#tour-1:checked ~ .tour-tabs [for="tour-1"], #tour-2:checked ~ .tour-tabs [for="tour-2"],
#tour-3:checked ~ .tour-tabs [for="tour-3"], #tour-4:checked ~ .tour-tabs [for="tour-4"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
#tour-1:focus-visible ~ .tour-tabs [for="tour-1"], #tour-2:focus-visible ~ .tour-tabs [for="tour-2"],
#tour-3:focus-visible ~ .tour-tabs [for="tour-3"], #tour-4:focus-visible ~ .tour-tabs [for="tour-4"] { outline: 2px solid var(--accent); outline-offset: 3px; }

.roles { margin-top: var(--gap-l); }
.roles > .mono { margin-bottom: 14px; }
.roles ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.roles li { padding: 18px 18px 20px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); }
.roles li.role--own { border: 1.5px dashed var(--edge-2); background: transparent; }
.role-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); background: var(--accent-soft); }
.role--own .role-ic { border-style: dashed; background: transparent; }
.role-ic svg { width: 19px; height: 19px; }
.roles b { display: block; margin-top: 14px; color: var(--ink-strong); font-size: 16.5px; }
.roles li > span:last-child { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 14.5px; line-height: 1.45; }

@media (max-width: 1100px) {
  .roles ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .morning { grid-template-columns: 1fr; gap: 0; }
  .morning li { padding: 0 0 26px 24px; border-top: 0; border-left: 2px solid var(--edge-2); }
  .morning li:last-child { padding-bottom: 0; border-left-color: var(--accent); }
  .morning li::before { left: -7px; top: 3px; }
  .morning b { margin-top: 4px; }
  .tour-tabs { justify-content: center; }
  .tour-tabs label { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; font-size: 13.5px; }
  .tour .shot--phone { margin: 0 auto; }
  .roles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  /* The four tabs sit two by two. */
  .tour-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tour-tabs label { justify-content: center; }
  /* Dependencies: the selected chain, SPR-7 and SPR-5 into SPR-12 (columns
     171-1262, from row 757 to the capture's foot). Analytics: Project
     progress (columns 27-1170, rows 929-1611), the panel that reads at this
     size; the stat tiles and status bars span the whole capture's width. */
  .tour-3 .shot--window { aspect-ratio: 1.529; --crop-x: .079; --crop-y: .537; --crop-w: .505; }
  .tour-4 .shot--window { aspect-ratio: 1.5; --crop-x: .0125; --crop-y: .563; --crop-w: .529; }

  /* The templates: one compact row each. */
  .roles ul { grid-template-columns: 1fr; gap: 10px; }
  .roles li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 14px 16px; }
  .roles .role-ic { grid-row: span 2; }
  .roles b { margin-top: 0; }
}


/* One app, on a computer and a phone: its words, then the window with the
   phone standing beside it, feet level. --flip puts the phone on the left.
   A narrow window shows the phone alone. */
.app-show .app-label { margin-bottom: 16px; }
.app-show .intro-split > div > p { font-size: 20px; }
.app-show .intro-split > div > p + p { margin-top: 14px; }
.app-show .intro-split > div:last-child { padding-top: 48px; }
.shot-duo { display: flex; align-items: flex-end; gap: 2.5%; margin-top: var(--gap-l); }
.shot-duo .shot--window { flex: 1 1 0; width: auto; min-width: 0; }
.shot-duo .shot--phone { --shot-w: 22.5%; }
.app-show--flip .shot-duo { flex-direction: row-reverse; }
@media (max-width: 860px) {
  .app-show .intro-split > div:last-child { padding-top: 0; }
  .app-show .intro-split > div > p { font-size: 18px; }
  .shot-duo { justify-content: center; margin-top: var(--gap-m); }
  .shot-duo:not(.shot-duo--single) .shot--window { display: none; }
  .shot-duo .shot--phone { --shot-w: 300px; }
  .app-label { justify-content: center; }
}

.app-label { display: flex; align-items: center; gap: 10px; }
.app-label .app-glyph { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }
/* The five apps, one after another. */
.app-shows { display: grid; gap: var(--gap-xl); }

/* Three more apps: a phone each, with its name and one line. */
.app-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: var(--gap-l); }
.app-trio figure { display: grid; justify-items: center; align-content: start; margin: 0; }
.app-trio .shot { --shot-w: min(100%, 250px); }
.app-trio figcaption { display: grid; gap: 8px; justify-items: center; max-width: 22em; margin-top: 28px; color: var(--ink-muted); font-size: 16px; line-height: 1.55; text-align: center; }
.app-trio figcaption b { color: var(--ink-strong); font-size: 17px; }
@media (max-width: 860px) {
  .app-trio { grid-template-columns: minmax(0, 1fr); gap: var(--gap-l); }
  .app-trio .shot { --shot-w: 260px; }
}
