/* NASOS public website - design draft, iteration 3 (WEB-001)
   Proportions follow the reference Fabio chose (anthropic.com, measured 2026-09-27):
   ivory page #F0EEE6, near-black ink, 12-column grid with fluid margins,
   bold sans display type, serif reading type, oat cards, dark feature card
   and a dark footer. NASOS keeps its own mark, content and three product hues. */

:root {
  --bg: #f0eee6;
  --bg-light: #faf9f5;
  --ink: #141413;
  --ink-2: #3d3d3a;
  --muted: #6c6a64;
  --line: rgba(20, 20, 19, 0.16);
  --line-soft: rgba(20, 20, 19, 0.1);
  --oat: #e3dacc;
  --oat-2: #ebe5d9;
  --slate: #141413;
  --slate-2: #1f1e1c;
  --slate-3: #2b2a27;
  --foot-link: #b0aea5;

  /* Product hues and their card tints */
  --ultra: #c46a45;  --ultra-tint: #e8d3c3;  --ultra-soft: rgba(196, 106, 69, 0.14);
  --nexus: #5b86ad;  --nexus-tint: #d3dde4;  --nexus-soft: rgba(91, 134, 173, 0.14);
  --ethos: #6e8a56;  --ethos-tint: #dadfcd;  --ethos-soft: rgba(110, 138, 86, 0.15);
  --accent: var(--ink); --tint: var(--oat); --accent-soft: var(--line-soft);

  /* Stage colours for product UI inside films and visuals */
  --stage: #141413; --stage-2: #1f1e1c; --stage-3: #2b2a27;
  --stage-ink: #faf9f5; --stage-muted: #a3a198; --stage-line: rgba(250, 249, 245, 0.1);

  --sans: "Plus Jakarta Sans", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --brand: "Geist", "Plus Jakarta Sans", sans-serif;

  /* Measured layout: margins 6px + 5vw, gap 26.8px + 0.33vw */
  /* Measured on anthropic.com: margins clamp(2rem, 1.08rem + 3.92vw, 5rem); content = min(1432px, 100vw) - 2 x margin (1272px on wide screens) */
  --margin: clamp(32px, calc(17.306px + 3.918vw), 80px);
  --maxw: 1432px;
  --gap: clamp(24px, calc(26.8px + 0.33vw), 31.5px);
  --r-card: 16px;
  --r-feature: 24px;
  --r-btn: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 20px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: inherit; }
::selection { background: var(--oat); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--margin); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--gap); }
.c1-7 { grid-column: 1 / span 7; } .c8-12 { grid-column: 8 / span 5; }
.c1-3 { grid-column: 1 / span 3; } .c1-4 { grid-column: 1 / span 4; } .c1-5 { grid-column: 1 / span 5; } .c1-6 { grid-column: 1 / span 6; }
.c5-12 { grid-column: 5 / span 8; } .c6-12 { grid-column: 6 / span 7; } .c7-12 { grid-column: 7 / span 6; }
.c4 { grid-column: span 4; } .c6 { grid-column: span 6; } .c12 { grid-column: 1 / -1; }
@media (max-width: 991px) {
  /* one track: twelve tracks keep eleven gaps (~306px) and overflow 320px phones */
  .g12 { grid-template-columns: minmax(0, 1fr); }
  .g12 > * { grid-column: 1 / -1 !important; }
}

.t-ultra { --accent: var(--ultra); --tint: var(--ultra-tint); --accent-soft: var(--ultra-soft); --hue: 40; }
.t-nexus { --accent: var(--nexus); --tint: var(--nexus-tint); --accent-soft: var(--nexus-soft); --hue: 235; }
.t-ethos { --accent: var(--ethos); --tint: var(--ethos-tint); --accent-soft: var(--ethos-soft); --hue: 150; }

/* ---------- Type (measured scale) ---------- */
.display-xl { font-family: var(--sans); font-weight: 700; font-size: clamp(36px, calc(32.6px + 1.96vw), 64px); line-height: 1.1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.display-xl a { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.08em; }
.display-xl a:hover { text-decoration-thickness: 0.1em; }
.display-xl a.w { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.08em; }
.display-feature { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.78vw, 124px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.display-m { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, calc(22px + 1.4vw), 56px); line-height: 1.12; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
.display-s { font-family: var(--sans); font-weight: 600; font-size: 24px; line-height: 1.3; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
.title-s { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.4; margin: 0; }
.p-l { font-family: var(--serif); font-size: 24px; line-height: 1.4; margin: 0; max-width: 40ch; text-wrap: pretty; }
.p { font-family: var(--serif); font-size: 20px; line-height: 1.4; margin: 0; text-wrap: pretty; }
.p-s { font-family: var(--serif); font-size: 18px; line-height: 1.4; margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.sans { font-family: var(--sans); }
@media (max-width: 767px) { .p-l { font-size: 20px; } .p { font-size: 18px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: var(--r-btn);
  font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  background: var(--slate); color: var(--bg-light); transition: background 200ms, color 200ms;
}
.btn:hover { background: #3d3d3a; }
.btn-light { background: var(--bg-light); color: var(--slate); }
.btn-light:hover { background: #fff; }
.btn-lg { height: 44px; padding: 0 18px; font-size: 16px; }
.btn .arrow, .arrow { display: inline-block; transition: transform 300ms var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }
.ulink { font-family: var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ulink:hover { text-decoration-thickness: 2px; }

/* ---------- Nav (68px, links right, dark button) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow 300ms; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line-soft); }
.nav { display: flex; align-items: center; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--brand); font-weight: 600; letter-spacing: 0.24em; font-size: 16px; line-height: 1; }
.wordmark .mark { width: 24px; height: 24px; }
.wordmark .mark .ring { transform-origin: 12px 12px; transition: transform 1.2s var(--ease); }
.wordmark:hover .mark .ring { transform: rotate(90deg); }
.nav-links { display: flex; align-items: center; margin-left: auto; gap: 0; }
.nav-links a { font-family: var(--sans); font-size: 15px; line-height: 21px; padding: 23px 12px; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.nav-links a span.t { text-decoration: underline transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 200ms; }
.nav-links a:hover span.t, .nav-links a[aria-current="page"] span.t { text-decoration-color: currentColor; }
.pdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.nav-cta { margin-left: 12px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform 300ms var(--ease); }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }
.menu-open .menu-btn span { transform: translateY(0) rotate(45deg); }
.menu-open .menu-btn span::before { transform: translateY(-6px) rotate(-90deg); }
.mobile-menu { display: none; }
@media (max-width: 991px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 68px 0 0 0; background: var(--bg); padding: 12px var(--margin) 32px; opacity: 0; pointer-events: none; transition: opacity 250ms; z-index: 49; overflow-y: auto; }
  .menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
  .mobile-menu > a { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 600; font-size: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 24px; }
}


/* ---------- Sections (measured rhythm) ---------- */
section { position: relative; }
.hero { padding-top: calc(33px + 8.2vw); padding-bottom: calc(24px + 2.5vw); }
.hero .g12 { align-items: end; }
.hero .p-l { padding-bottom: 4px; }
.sec { padding-top: calc(40px + 3.5vw); padding-bottom: calc(40px + 3.5vw); }
.sec-tight { padding-top: calc(24px + 2vw); padding-bottom: calc(24px + 2vw); }
.sec-head { margin-bottom: var(--gap); }
.sec-head .p-s { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 991px) { .hero .p-l { margin-top: 24px; } }

/* Word reveal for display headlines */
.display-xl .w { display: inline-block; opacity: 0; transform: translateY(0.18em); transition: opacity 700ms var(--ease), transform 800ms var(--ease); }
.display-xl.words-in .w { opacity: 1; transform: none; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Feature card: dark, 24px radius, grows to full bleed on scroll ---------- */
.feature { padding-top: calc(20px + 2.8vw); padding-bottom: calc(20px + 2.8vw); }
.feature-outer { padding-inline: calc(var(--margin) * (1 - var(--grow, 0))); max-width: calc(var(--maxw) + (100vw - var(--maxw)) * var(--grow, 0)); margin: 0 auto; }
.feature-inner { max-width: calc(var(--maxw) - 2 * var(--margin)); margin: 0 auto; }
.feature-card {
  position: relative; overflow: hidden; isolation: isolate; background: var(--slate); color: var(--bg-light);
  border-radius: calc(var(--r-feature) * (1 - var(--grow, 0)));
  padding: calc(40px + 7.7vw) var(--margin); text-align: center;
}
/* The title keeps the measure of the card at rest, so its lines never re-break while the card grows */
.feature-card .display-feature { max-width: min(calc(100% - 2 * var(--margin) * var(--grow, 0)), calc(var(--maxw) - 4 * var(--margin))); margin-inline: auto; }
.feature-card .p-l { margin: 22px auto 30px; max-width: 34ch; color: var(--bg-light); text-wrap: balance; }
.feature-card .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 249, 245, 0.72); margin-bottom: 22px; display: block; }
.feature-art { position: absolute; inset: 0; z-index: -1; }
.feature-art .sky { position: absolute; inset: 0; background: linear-gradient(180deg, #0b1119 0%, #111b28 45%, #1f2330 75%, #33292a 100%); }
.feature-art .orb-rise { position: absolute; left: -12%; right: -12%; bottom: -52%; height: 100%; border-radius: 50%;
  background: radial-gradient(closest-side, #f7dfc8 0%, #eeb08a 26%, #cf7550 50%, rgba(150, 72, 48, 0.55) 72%, rgba(60, 35, 35, 0) 100%);
  filter: blur(6px); animation: rise 14s ease-in-out infinite alternate; }
.feature-art .halo { position: absolute; left: 50%; bottom: -30%; width: 110%; height: 80%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91, 134, 173, 0.35), transparent), radial-gradient(closest-side at 70% 60%, rgba(110, 138, 86, 0.28), transparent);
  filter: blur(30px); animation: drift 18s ease-in-out infinite alternate; }
.feature-art .grain { position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>"); }
@keyframes rise { from { transform: translateY(3%) scale(1); } to { transform: translateY(-2%) scale(1.03); } }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.feature-card .film-slot { margin: calc(24px + 2vw) auto 0; max-width: 1080px; text-align: left; }

/* ---------- Release-style cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { background: var(--tint, var(--oat)); border-radius: var(--r-card); padding: var(--gap); display: flex; flex-direction: column; min-height: 520px; }
.card.plain { background: var(--oat); }
.card .display-s { margin-bottom: 6px; }
.card .p-s { color: var(--ink); }
.card .grow { flex: 1; min-height: 28px; }
.card .art { border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.meta { border-top: 1px solid var(--line); margin-bottom: 24px; }
.meta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.meta dt, .meta .k { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.meta dd, .meta .v { margin: 0; font-family: var(--sans); font-size: 15px; text-align: right; min-width: 0; }
/* link lists wrap between names on narrow cards (the links sit side by side with no space between them) */
.meta .v:has(> a) { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 10px; }
.meta .v a { text-decoration: underline; text-underline-offset: 3px; }
.card .btn { align-self: flex-start; }
.card-min { min-height: 0; }

/* ---------- Statement + link list ---------- */
.statement-h { font-family: var(--sans); font-weight: 600; font-size: 24px; line-height: 1.3; letter-spacing: -0.012em; margin: 0; max-width: 20ch; }
.linklist { border-top: 0; }
.linklist a, .linklist .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); min-height: 54px; }
.linklist a:first-child, .linklist .row:first-child { padding-top: 0; min-height: 38px; }
.linklist .tt { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.4; }
.linklist a:hover .tt { text-decoration: underline; text-underline-offset: 4px; }
.linklist .cat { font-family: var(--sans); font-size: 16px; color: var(--muted); white-space: nowrap; }

/* ---------- Selectable list (switcher and ask) ---------- */
.sel { display: grid; }
.sel-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); position: relative; text-align: left; width: 100%; }
.sel-item:first-child { border-top: 1px solid var(--line); }
.sel-item .tt { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--muted); transition: color 200ms; display: inline-flex; align-items: center; gap: 10px; }
.sel-item .cat { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.sel-item:hover .tt, .sel-item[aria-selected="true"] .tt, .sel-item[aria-pressed="true"] .tt { color: var(--ink); }
.sel-item .pdot { background: var(--accent); }
.sel-item .prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); }
.sel-item[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.sel-note { margin-top: 18px; font-family: var(--sans); font-size: 14px; color: var(--muted); }

/* ---------- Film (animated product scenes) ---------- */
.film { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--stage); color: var(--stage-ink); aspect-ratio: 16 / 10; isolation: isolate; font-family: var(--sans); line-height: 1.4; }
.film.tall { aspect-ratio: 4 / 5; }
.film::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 18% 110%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
.film-ui { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; z-index: 5; }
.film-toggle { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; transition: background 200ms; }
.film-toggle:hover { background: rgba(255,255,255,0.2); }
.film-toggle svg { width: 12px; height: 12px; fill: var(--stage-ink); }
.film-toggle .i-play { display: none; }
.film.paused .film-toggle .i-play { display: block; }
.film.paused .film-toggle .i-pause { display: none; }
.film-track { flex: 1; height: 2px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden; }
.film-bar { height: 100%; width: 0; background: var(--stage-ink); opacity: 0.7; }
.film-label { font-size: 11.5px; color: var(--stage-muted); white-space: nowrap; }
.film [data-at] { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.film [data-at].on { opacity: 1; transform: none; }
.film [data-at].pop { transform: scale(0.94); }
.film [data-at].pop.on { transform: none; }

/* Orb */
.orb { position: relative; width: var(--s, 120px); height: var(--s, 120px); }
.orb::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle at 42% 38%, oklch(0.78 0.13 var(--hue, 40) / 0.55), oklch(0.62 0.15 var(--hue, 40) / 0.3) 50%, transparent 72%); filter: blur(var(--blur, 16px)); animation: breathe 4s ease-in-out infinite; }
.orb::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, oklch(0.92 0.07 var(--hue, 40)), oklch(0.68 0.15 var(--hue, 40)) 46%, oklch(0.46 0.13 var(--hue, 40)) 78%, oklch(0.3 0.1 var(--hue, 40))); box-shadow: 0 0 var(--glow, 40px) oklch(0.66 0.15 var(--hue, 40) / 0.45); }
.orb.speaking::after { animation: speak 1.6s ease-in-out infinite; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed oklch(0.75 0.12 var(--hue, 40) / 0.5); animation: spin 60s linear infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes speak { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stage primitives shared by films and visuals */
.st-top { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; align-items: center; padding: 0 20px; gap: 10px; border-bottom: 1px solid var(--stage-line); font-size: 12.5px; color: var(--stage-muted); z-index: 4; }
.st-top b { color: var(--stage-ink); font-weight: 600; letter-spacing: 0.04em; }
.st-top .who { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--stage-3); display: grid; place-items: center; font-size: 10px; color: var(--stage-ink); }
.st-tag { font-size: 11px; letter-spacing: 0.04em; color: var(--stage-muted); }
.blk { background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 14px; padding: 18px 20px; }
.blk .src, .src-line { margin-top: 10px; font-size: 11.5px; color: var(--stage-muted); display: flex; align-items: center; gap: 6px; font-family: var(--sans); }
.blk .src::before, .src-line::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6fcf97; flex: none; }
.bignum { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5.2vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.delta { display: inline-block; margin-top: 8px; font-size: 13px; color: #8fd9ad; background: rgba(111, 207, 151, 0.12); padding: 3px 9px; border-radius: 999px; }
.caption { font-family: var(--serif); font-size: clamp(15px, 1.9vw, 24px); line-height: 1.3; color: var(--stage-ink); }
.cursor { display: inline-block; width: 2px; height: 0.95em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: rgba(250, 249, 245, 0.18); transition: height 900ms var(--ease); }
.bars i.hl { background: var(--accent); }
.on .bars i, .shown .bars i { height: var(--h); }
.bars-x { display: flex; gap: 8px; margin-top: 8px; font-size: 10.5px; color: var(--stage-muted); }
.bars-x span { flex: 1; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-family: var(--sans); border: 1px solid var(--stage-line); background: var(--stage-3); color: var(--stage-ink); }
.chip.yes { background: var(--accent); border-color: transparent; color: #fff; }
.chip.press { animation: press 500ms var(--ease); }
@keyframes press { 40% { transform: scale(0.92); } }
.done-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #8fd9ad; font-family: var(--sans); }
.check { width: 18px; height: 18px; border-radius: 50%; background: rgba(111, 207, 151, 0.18); display: grid; place-items: center; flex: none; }
.check svg { width: 10px; height: 10px; stroke: #8fd9ad; fill: none; stroke-width: 2.4; }
.ring-prog { --p: 64; width: 70%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--ethos) calc(var(--p) * 1%), rgba(250,249,245,0.1) 0); display: grid; place-items: center; }
.ring-prog::after { content: attr(data-label); width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--stage-2); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }

/* Dark panel for spotlight visuals */
.panel { position: relative; border-radius: 12px; background: var(--stage); color: var(--stage-ink); aspect-ratio: 16 / 11; overflow: hidden; isolation: isolate; font-family: var(--sans); line-height: 1.4; }

/* ---------- Ask demo ---------- */
.ask-screen { background: var(--stage); color: var(--stage-ink); border-radius: var(--r-card); min-height: 440px; padding: clamp(20px, 2.6vw, 36px); position: relative; overflow: hidden; container-type: inline-size; font-family: var(--sans); line-height: 1.4; }
.ask-screen::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 70% at 10% 110%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); pointer-events: none; }
.ask-a { position: relative; z-index: 1; display: none; gap: 14px; }
.ask-a.active { display: grid; }
.ask-a .you { font-size: 13px; color: var(--stage-muted); }
.ask-a .said { display: flex; gap: 12px; align-items: flex-start; }
.ask-a .said .orb { --s: 34px; --blur: 6px; --glow: 12px; flex: none; margin-top: 2px; }
.ask-a .said p { margin: 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; }
.ask-a .i { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.ask-a.shown .i { opacity: 1; transform: none; }
.ask-a.shown .i.l2 { transition-delay: 450ms; }
.ask-a.shown .i.l3 { transition-delay: 900ms; }
.ask-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
@container (max-width: 480px) { .ask-grid { grid-template-columns: 1fr; } }
.ask-a .blk { padding: 16px 18px; min-width: 0; }
.ask-a .bignum { font-size: clamp(34px, 8cqw, 52px); margin-top: 6px; }
.ask-a .bars { height: 90px; }
.ask-a .draft { font-size: 14.5px; line-height: 1.55; }
.ask-a .draft .hd { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--stage-muted); border-bottom: 1px solid var(--stage-line); padding-bottom: 8px; margin-bottom: 10px; }
.ask-a .ja-ctx { margin: -4px 0 10px; font-size: 12px; color: var(--stage-muted); }
.ask-a .ja-eff { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; color: var(--stage-ink); }
.ask-a .ja-eff svg { width: 15px; height: 15px; flex: none; color: #8fd9ad; }
.ask-a .ja-ctxl { margin-top: 10px; font-size: 12.5px; color: var(--stage-muted); }
.ask-a .ja-next { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.ask-a .ja-next span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(250, 249, 245, 0.16); font-size: 12.5px; }
.ask-a .ja-ce { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
.ask-a .ja-ce .ring-prog { width: 92px !important; }
.ask-a .ja-cel { display: grid; gap: 5px; font-size: 12.5px; }
.ask-a .ja-cel span { display: flex; align-items: center; gap: 7px; }
.ask-a .ja-cel i { width: 7px; height: 7px; border-radius: 50%; background: #e5c07b; flex: none; }
.ask-a .ja-cel i.ok { background: #8fd9ad; }
.ask-a .ja-dues { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; margin: 10px 0 2px; font-size: 13.5px; color: rgba(250, 249, 245, 0.85); }
.ask-a .ja-dues .t { margin-top: 3px; padding-top: 6px; border-top: 1px solid var(--stage-line); font-weight: 600; color: var(--stage-ink); }
.ask-a .ja-two { display: grid; gap: 2px; min-width: 0; }
.ask-a .ja-card { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 8px 11px; border-radius: 9px; background: var(--stage-3); font-size: 13px; }
.ask-a .ja-card i { width: 24px; height: 15px; border-radius: 3px; background: linear-gradient(135deg, #8aa4c8, #4a6488); }
.ask-a .ja-card span { margin-left: auto; color: var(--stage-muted); font-size: 12px; }
.ask-a .ja-two b { font-weight: 500; }
.ask-a .ja-two small { font-size: 12px; color: var(--stage-muted); }
.ask-a .row-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask-a ul.lst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.ask-a ul.lst li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--stage-3); }
.ask-a ul.lst li span { color: var(--stage-muted); white-space: nowrap; }

/* ---------- Capability explorer ---------- */
.ex-group { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 28px 0 6px; }
.ex-group:first-child { margin-top: 0; }
.ex-item > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--muted); transition: color 200ms; position: relative; }
.ex-item > button:hover { color: var(--ink); }
.ex-item > button .arrow { opacity: 0; transition: opacity 250ms, transform 300ms var(--ease); }
.ex-item.active > button { color: var(--ink); }
.ex-item.active > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.ex-item.active > button .arrow { opacity: 1; }
.ex-d { display: none; }
.ex-pane { position: sticky; top: 100px; background: var(--tint, var(--oat)); border-radius: var(--r-card); padding: var(--gap); min-height: 380px; display: grid; gap: 16px; align-content: start; }
.ex-pane .fade { animation: exfade 500ms var(--ease); display: grid; gap: 16px; }
@keyframes exfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ex-pane .k, .ex-d .k { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.ex-pane .t { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.ex-pane p, .ex-d p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.ex-pane .try, .ex-d .try { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; padding: 16px 18px; background: rgba(250, 249, 245, 0.55); border-radius: 12px; }
.ex-pane .try::before, .ex-d .try::before { content: "Try asking"; font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.uses { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; padding-top: 12px; }
.uses::before { content: "Works with"; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin-right: auto; padding-right: 16px; }
.uses span { font-family: var(--sans); font-size: 15px; }
.uses span + span::before { content: " · "; color: var(--muted); white-space: pre; }
@media (max-width: 991px) {
  .ex-pane { display: none; }
  .ex-item.active .ex-d { display: grid; gap: 12px; padding: 14px 0 20px; }
  .ex-d .k, .ex-d .t { display: none; }
  .ex-d .try { background: var(--oat); }
}

/* ---------- Integrations ---------- */
.integ { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.integ > .left { grid-column: 1 / span 7; }
.integ > .integ-detail { grid-column: 8 / span 5; }
@media (max-width: 991px) { .integ > .left, .integ > .integ-detail { grid-column: 1 / -1; } }
.integ-filter { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.integ-filter button { font-family: var(--sans); font-size: 15px; padding: 10px 0; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); position: relative; }
.integ-filter button[aria-pressed="true"] { color: var(--ink); }
.integ-filter button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.integ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .integ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.integ-tile { display: grid; gap: 2px; align-content: start; min-height: 100px; padding: 16px; border-radius: 12px; background: var(--oat-2); transition: opacity 300ms, background 200ms; text-align: left; }
.integ-tile:hover { background: var(--oat); }
.integ-tile[aria-pressed="true"] { background: var(--oat); box-shadow: inset 0 0 0 1.5px var(--ink); }
.integ-tile .nm { font-family: var(--sans); font-weight: 600; font-size: 16px; }
.integ-tile .ty { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.35; }
.integ-tile .dots { display: flex; gap: 4px; margin-top: 10px; }
.integ-tile .dots i { width: 6px; height: 6px; border-radius: 50%; }
.integ-tile.dim { opacity: 0.3; }
.integ-detail { position: sticky; top: 100px; border-radius: var(--r-card); background: var(--oat); padding: var(--gap); display: grid; gap: 14px; min-height: 340px; align-content: start; }
.integ-detail .ty { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.integ-detail .nm { font-family: var(--sans); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.integ-detail p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.integ-detail .powers { border-top: 1px solid var(--line); }
.integ-detail .powers div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 15px; }
.integ-detail .powers b { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.stats { display: flex; gap: calc(var(--gap) * 1.5); flex-wrap: wrap; }
.stats div { display: grid; gap: 2px; }
.stats b { font-family: var(--sans); font-weight: 700; font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.stats span { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* ---------- Spotlight cards (visual on top) ---------- */
.spot .panel { margin-bottom: 22px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; font-family: var(--sans); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; color: var(--ink-2); }
/* width:100% lets a long option shrink to the column instead of widening the page on phones */
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-light); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form-note { font-size: 14px; color: var(--muted); }
.toast { display: none; padding: 12px 14px; border-radius: 8px; background: var(--bg-light); font-size: 15px; }
.toast.show { display: block; }
.toast.ok { box-shadow: inset 3px 0 0 var(--ethos); }
.toast.err { box-shadow: inset 3px 0 0 var(--ultra); }
/* Honeypot for bots: out of sight and out of the tab order */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Footer (dark, 12px) ---------- */
.site-footer { background: var(--slate); color: var(--bg-light); font-family: var(--sans); font-size: 12px; line-height: 1.4; }
.site-footer .wrap { padding-top: calc(40px + 2.5vw); padding-bottom: calc(40px + 2.5vw); }
.foot-grid { display: flex; justify-content: space-between; gap: var(--gap); }
.foot-logo { width: calc((100% - 11 * var(--gap)) / 12 * 3 + 2 * var(--gap)); display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; }
.foot-logo .wordmark { color: var(--bg-light); }
.foot-col { width: calc((100% - 11 * var(--gap)) / 12 * 2 + var(--gap)); display: grid; gap: 40px; align-content: start; }
.foot-col h3 { font-size: 12px; font-weight: 500; margin: 0 0 10px; color: var(--bg-light); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-col a { color: var(--foot-link); }
.foot-col a:hover { color: var(--bg-light); }
.foot-note { color: var(--foot-link); max-width: 36ch; margin: 0; }
@media (max-width: 991px) {
  .foot-grid { flex-wrap: wrap; }
  .foot-logo { width: 100%; min-height: 0; gap: 24px; margin-bottom: 16px; }
  .foot-col { width: calc(50% - var(--gap)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .rv, .display-xl .w { opacity: 1; transform: none; }
}

/* Switcher stage: panels share one cell so the layout never jumps */
.switch-stage { display: grid; }
.switch-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease), visibility 0s linear 500ms; }
.switch-panel.active { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease), visibility 0s; }
.switch-panel .film, .switch-panel .film.tall { aspect-ratio: 16 / 10; }
@media (max-width: 767px) { .switch-panel .film { aspect-ratio: 9 / 14; } }

/* Diagram inside a dark feature card */
.diagram svg { width: 100%; height: auto; }
.diagram .flow { stroke-dasharray: 3 7; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* Rows inside the linklist that are not links */
.linklist .row .tt { font-weight: 600; }
.linklist .row .cat { text-align: right; }
@media (max-width: 767px) { .linklist a, .linklist .row { flex-direction: column; align-items: flex-start; gap: 4px; } .linklist .cat { white-space: normal; } }

/* ================= Iteration 4 components ================= */

/* NASOS mark as the product icon (replaces coloured dots) */
.pm { width: 16px; height: 16px; flex: none; color: var(--accent); display: inline-block; vertical-align: -3px; }
.nav-links .pm { width: 14px; height: 14px; }

/* Centered section head used by the OpenAI-style components */
.display-l { font-family: var(--sans); font-weight: 600; font-size: clamp(32px, calc(18px + 2.1vw), 48px); line-height: 1.16; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.center-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: calc(24px + 1.5vw); }
.center-head .p { color: var(--ink-2); max-width: 52ch; }

/* Segmented switch: Ultra | Nexus | Ethos */
.seg { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(250, 249, 245, 0.5); }
.seg button { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background 250ms, color 250ms, box-shadow 250ms; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--bg-light); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 19, 0.08), 0 0 0 1px rgba(20, 20, 19, 0.06); }
.seg button .pm { width: 18px; height: 18px; }
.seg.dark { border-color: rgba(250, 249, 245, 0.2); background: rgba(250, 249, 245, 0.04); }
.seg.dark button { color: rgba(250, 249, 245, 0.72); }
.seg.dark button:hover { color: var(--bg-light); }
.seg.dark button[aria-pressed="true"], .seg.dark button[aria-selected="true"] { background: rgba(250, 249, 245, 0.12); color: var(--bg-light); box-shadow: none; }
.prod-switch { display: grid; justify-items: center; gap: 26px; }
.prod-switch .switch-stage { width: 100%; }
.prod-panel-copy { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 30px; }
.prod-panel-copy .p { max-width: 58ch; }
.prod-links { font-family: var(--sans); font-size: 16px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.prod-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prod-links a:hover { text-decoration-thickness: 2px; }
.prod-links .sep { color: var(--muted); }
.app-window { max-width: 1080px; margin: 0 auto; border-radius: 18px; padding: 0; box-shadow: 0 40px 80px -40px rgba(20, 20, 19, 0.45), 0 0 0 1px rgba(20, 20, 19, 0.06); }
.app-window .film, .film-slot .film { aspect-ratio: 16 / 10; border-radius: 18px; }
@media (max-width: 767px) { .app-window .film, .film-slot .film { aspect-ratio: 9 / 14; } }
/* Window controls on every product scene */
.film .st-top { padding-left: 72px; }
.film .st-top::before { content: ""; position: absolute; left: 20px; top: 50%; width: 40px; height: 10px; translate: 0 -50%;
  background: radial-gradient(circle at 5px 5px, #ff5f57 4.5px, transparent 5px), radial-gradient(circle at 20px 5px, #febc2e 4.5px, transparent 5px), radial-gradient(circle at 35px 5px, #28c840 4.5px, transparent 5px); }

/* ---------- Composer demo (every department) ---------- */
.cmp { align-items: start; }
.cmp-list { display: grid; }
.cmp-item { border-bottom: 1px solid var(--line); }
.cmp-item:first-child { border-top: 1px solid var(--line); }
.cmp-item > button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 0; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink-2); text-align: left; transition: font-size 300ms var(--ease), color 200ms; }
.cmp-item > button:hover { color: var(--ink); }
.cmp-item > button .who { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cmp-item.open > button { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.012em; }
.cmp-body { display: none; padding: 0 0 20px; }
.cmp-item.open .cmp-body { display: grid; gap: 14px; animation: exfade 500ms var(--ease); }
.cmp-body .p-s { color: var(--ink-2); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--oat); font-family: var(--sans); font-size: 14px; font-weight: 500; justify-self: start; transition: background 200ms; }
.pill-link:hover { background: var(--oat-2); }
/* Composer demo window (iteration 5): the request, the steps, the result and the approval, played per feature */
.cmp .c5-12 { position: sticky; top: 92px; }
.cmp-mdesc { display: none; }
.cmp-win { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 46px minmax(0, 1fr) auto; height: 660px; border-radius: var(--r-card); background: var(--stage); color: var(--stage-ink); font-family: var(--sans); line-height: 1.4; container-type: inline-size; }
.cmp-win::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 55% at 0% 100%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
.cw-top { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--stage-line); font-size: 13px; color: var(--stage-muted); white-space: nowrap; min-width: 0; }
.cw-prod { display: inline-flex; align-items: center; gap: 8px; color: var(--stage-ink); font-weight: 600; }
.cw-prod .pm { width: 16px; height: 16px; }
.cw-feat { overflow: hidden; text-overflow: ellipsis; }
.cw-feat:not(:empty)::before { content: "·"; margin-right: 10px; }
.cw-sample { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.cw-body { position: relative; min-height: 0; overflow: hidden; }
.cw-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 24px; text-align: center; font-weight: 500; font-size: clamp(22px, 3.6cqw, 32px); letter-spacing: -0.02em; transition: opacity 350ms var(--ease), transform 450ms var(--ease); }
.cmp-win.live .cw-empty { opacity: 0; transform: translateY(-14px); }
.cw-log { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 22px 16px; transition: opacity 350ms var(--ease); }
.cmp-win:not(.live) .cw-log { opacity: 0; }
/* Parts take space only once shown (.cw-in), so the conversation grows upward like a chat, then fade in (.on) */
.cw-log :is(.cw-you, .cw-ai, .cw-use, .cw-st, .cw-say, .cw-b, .cw-src, .cw-act, .cw-done):not(.cw-in) { display: none; }
.cw-log .cw-next:not(.cw-in) { display: none; }
.cw-log :is(.cw-mid, .cw-proc):not(.cw-in) { display: none; }
.cw-you, .cw-ai, .cw-use, .cw-st, .cw-say, .cw-src, .cw-act, .cw-done { opacity: 0; transform: translateY(8px); transition: opacity 450ms var(--ease), transform 550ms var(--ease); }
.cw-you.on, .cw-ai.on, .cw-use.on, .cw-st.on, .cw-say.on, .cw-src.on, .cw-act.on, .cw-done.on { opacity: 1; transform: none; }
.cw-you { align-self: flex-end; max-width: 84%; background: var(--stage-3); border-radius: 18px 18px 4px 18px; padding: 10px 15px; font-size: 14.5px; line-height: 1.5; }
.cmp-win .ref { color: var(--stage-ink); }
.cw-ai { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.cw-ai > .pm { width: 22px; height: 22px; margin-top: 1px; }
.cw-main { display: grid; gap: 11px; min-width: 0; }
.cw-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; font-size: 12.5px; color: var(--stage-muted); }
.cw-use { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(250, 249, 245, 0.08); font-size: 12px; }
.cw-use .ref { gap: 6px; }
.cw-use .lgi { width: 13px; height: 13px; }
.cw-use .lgi.word { width: auto; height: 9px; }
.cw-st { display: inline-flex; align-items: center; gap: 6px; }
.cw-st i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(250, 249, 245, 0.22); border-top-color: var(--stage-ink); animation: spin 0.8s linear infinite; display: grid; place-items: center; }
.cw-st i svg { width: 9px; height: 9px; display: none; }
.cw-st.ok { color: var(--stage-ink); }
.cw-st.ok i { animation: none; border: 0; background: rgba(111, 207, 151, 0.2); color: #8fd9ad; }
.cw-st.ok i svg { display: block; }
.cw-sum { display: none; align-items: center; gap: 6px; color: var(--stage-ink); }
.cw-sum i { width: 13px; height: 13px; border-radius: 50%; background: rgba(111, 207, 151, 0.2); color: #8fd9ad; display: grid; place-items: center; }
.cw-sum i svg { width: 9px; height: 9px; }
.cw-steps.done .cw-st { display: none; }
.cw-steps.done .cw-sum { display: inline-flex; animation: exfade 400ms var(--ease); }
.cw-say { margin: 0; font-family: var(--serif); font-size: clamp(16px, 2.4cqw, 20px); line-height: 1.38; }
.cw-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; align-items: start; }
.cw-b { padding: 14px 16px; border-radius: 12px; min-width: 0; opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); }
.cw-b.on { opacity: 1; transform: none; }
.cw-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 30px; }
.cw-foot .cw-src { margin: 0 0 0 auto; }
.cw-act { display: flex; flex-wrap: wrap; gap: 8px; }
.cw-done { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #8fd9ad; }
.cw-done svg { width: 18px; height: 18px; padding: 4px; border-radius: 50%; background: rgba(111, 207, 151, 0.18); flex: none; }
/* Result blocks */
.cw-stat .bignum { font-size: clamp(30px, 5.4cqw, 44px); margin-top: 6px; }
.cw-stat .bars { height: 44px; margin-top: 10px; }
.delta.dn { color: var(--stage-muted); background: rgba(250, 249, 245, 0.08); }
.cw-hb { display: grid; gap: 9px; margin-top: 10px; }
.cw-hb .r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13px; }
.cw-hb .v { color: var(--stage-muted); white-space: nowrap; }
.cw-hb .t { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(250, 249, 245, 0.08); overflow: hidden; }
.cw-hb .t i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); transition: width 900ms var(--ease); transition-delay: calc(var(--i) * 110ms); }
.cw-b.on .cw-hb .t i { width: var(--w); }
.cw-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.st-tag + .cw-rows { margin-top: 9px; }
.cw-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 11px; border-radius: 9px; background: var(--stage-3); opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i) * 120ms); }
.cw-b.on .cw-rows li { opacity: 1; transform: none; }
.cw-rows em { font-style: normal; color: var(--stage-muted); text-align: right; }
.cw-rows em.ok { color: #8fd9ad; }
.cw-rows em.wait { color: #e5c07b; }
.cw-rows em.late { color: #f0937f; }
.cw-draft .hd { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--stage-muted); border-bottom: 1px solid var(--stage-line); padding-bottom: 8px; margin-bottom: 8px; }
.cw-draft .sub { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.cw-draft .body { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(250, 249, 245, 0.92); }
.cw-draft .w { opacity: 0.07; transition: opacity 160ms; }
.cw-draft .w.on { opacity: 1; }
.cw-cal .days { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 11px; color: var(--stage-muted); margin-bottom: 6px; text-align: center; }
.cw-cal .days .hot { color: var(--stage-ink); font-weight: 600; }
.cw-cal .grid { position: relative; height: 152px; border-radius: 8px; background: repeating-linear-gradient(to bottom, rgba(250, 249, 245, 0.06) 0 1px, transparent 1px 19px); }
.cw-cal .grid i { position: absolute; left: calc(var(--d) * 20% + 2px); width: calc(20% - 4px); top: calc(var(--s) * 19px + 1px); height: calc(var(--l) * 19px - 2px); border-radius: 6px; }
.cw-cal .bz { background: rgba(250, 249, 245, 0.1); }
.cw-cal .slot { background: var(--accent); display: grid; align-content: start; gap: 1px; padding: 5px 6px; overflow: hidden; opacity: 0; transform: scale(0.88); transition: opacity 400ms var(--ease) 500ms, transform 500ms var(--ease) 500ms; }
.cw-b.on .slot { opacity: 1; transform: none; }
.cw-cal .slot span { font-size: 10.5px; font-weight: 600; line-height: 1.2; color: #fff; }
.cw-cal .cap { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; opacity: 0; transition: opacity 400ms var(--ease) 700ms; }
.cw-cal .cap i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.cw-b.on .cap { opacity: 1; }
.cw-ba .cols { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; margin-top: 10px; align-items: stretch; }
.cw-ba .c { background: var(--stage-3); border-radius: 10px; padding: 10px 12px; display: grid; gap: 7px; align-content: start; }
.cw-ba .after { box-shadow: inset 0 0 0 1.5px var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity 450ms var(--ease) 450ms, transform 550ms var(--ease) 450ms; }
.cw-b.on .after { opacity: 1; transform: none; }
.cw-ba .lbl, .cw-board .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stage-muted); }
.cw-ba .kv { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.cw-ba .kv span { color: var(--stage-muted); }
.cw-ba .kv b { font-weight: 600; text-align: right; }
.cw-ba .arr { align-self: center; color: var(--stage-muted); }
.cw-ring { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; }
.cw-ring .ring-prog { width: 92px; --p: 0; transition: --p 1.2s var(--ease); }
.cw-ring.on .ring-prog { --p: var(--pt); }
.cw-ring .big { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 4px 0; }
.cw-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cw-board .col { display: grid; gap: 6px; align-content: start; background: rgba(250, 249, 245, 0.04); border-radius: 10px; padding: 8px; }
.cw-board .hot .lbl { color: #f0937f; }
.cw-board .bc { font-size: 12.5px; padding: 8px 9px; background: var(--stage-3); border-radius: 7px; opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i) * 110ms); }
.cw-board .hot .bc { box-shadow: inset 2px 0 0 #f0937f; }
.cw-b.on .bc { opacity: 1; transform: none; }
.cw-doc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.cw-doc .page { background: #faf9f5; color: #141413; border-radius: 8px; padding: 12px 14px; display: grid; gap: 7px; font-size: 13px; }
.cw-doc .page .dm { font-size: 11px; color: #6b6a64; }
.cw-doc .mini { display: flex; align-items: flex-end; gap: 4px; height: 42px; }
.cw-doc .mini i { flex: 1; height: 0; background: var(--accent); border-radius: 3px 3px 1px 1px; transition: height 800ms var(--ease) 200ms; }
.cw-b.on .mini i { height: var(--h); }
.cw-doc .ln { height: 5px; border-radius: 3px; background: rgba(20, 20, 19, 0.12); }
.cw-doc .ln.s { width: 70%; }
.cw-doc .dest { display: grid; gap: 4px; font-size: 14px; }
.cw-flow .fr { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--stage-line); font-size: 13.5px; opacity: 0; transform: translateX(-6px); transition: opacity 400ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i) * 170ms); }
.cw-flow .fr:first-child { padding-top: 0; }
.cw-flow .fr:last-child { border-bottom: 0; padding-bottom: 0; }
.cw-b.on .fr { opacity: 1; transform: none; }
.cw-flow .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stage-muted); padding-top: 2px; }
.cw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; padding: 0; }
.cw-tiles .tl { padding: 12px 14px; display: grid; gap: 3px; opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i) * 140ms); }
.cw-b.on .tl { opacity: 1; transform: none; }
.cw-tiles .tl b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; }
.cw-tiles .tl em { font-style: normal; font-size: 12px; color: #8fd9ad; }
.cw-frames .strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cw-frames .fm { position: relative; aspect-ratio: 4 / 3; border-radius: 7px; background: linear-gradient(160deg, hsl(calc(28 + var(--i) * 34) 32% 46%), hsl(calc(205 + var(--i) * 14) 22% 20%)); opacity: 0; transform: scale(0.94); transition: opacity 450ms var(--ease), transform 550ms var(--ease); transition-delay: calc(var(--i) * 180ms); }
.cw-b.on .fm { opacity: 1; transform: none; }
.cw-frames .fm em { position: absolute; left: 7px; bottom: 5px; font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, 0.9); }
.cw-frames .play { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; }
.cw-frames .pb { flex: 1; height: 4px; border-radius: 2px; background: rgba(250, 249, 245, 0.1); overflow: hidden; }
.cw-frames .pb i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 2.6s linear 0.8s; }
.cw-b.on .pb i { width: 100%; }
.cw-line .track { position: relative; height: 2px; margin: 6px var(--l) 0; background: rgba(250, 249, 245, 0.14); }
.cw-line .track i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent); transition: width 1.2s var(--ease) 0.2s; }
.cw-b.on .track i { width: var(--n); }
.cw-line .pts { display: flex; margin-top: -8px; }
.cw-line .pt { flex: 1; min-width: 0; display: grid; gap: 2px; justify-items: center; text-align: center; font-size: 12.5px; padding-top: 22px; position: relative; }
.cw-line .pt::before { content: ""; position: absolute; top: 2px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--stage-2); box-shadow: 0 0 0 2px rgba(250, 249, 245, 0.25); }
.cw-line .pt.done::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.cw-line .pt.end::before { box-shadow: 0 0 0 2px #e5c07b; }
.cw-line .pt span { color: var(--stage-muted); }
.cw-cite p { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.5; color: rgba(250, 249, 245, 0.92); border-left: 2px solid var(--accent); padding-left: 12px; }
.cw-num { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.cw-num li { display: flex; gap: 10px; align-items: baseline; opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i) * 180ms); }
.cw-b.on .cw-num li { opacity: 1; transform: none; }
.cw-num b { width: 20px; height: 20px; border-radius: 50%; background: var(--stage-3); display: grid; place-items: center; font-size: 11px; flex: none; }
.cw-card .t { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 6px 0 4px; }
/* Product detail used by the Nexus scenes: who, when, where it came from and exactly what an approval does */
.cw-at { display: block; margin-top: 3px; text-align: right; font-size: 11px; color: var(--stage-muted); }
.cw-av { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 32%, var(--stage-3)); color: var(--stage-ink); font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 0.02em; }
.cw-rows li.cw-rich { align-items: center; }
.cw-rows li.cw-rich > span { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cw-two { display: grid; gap: 1px; min-width: 0; }
.cw-two small { font-size: 11.5px; color: var(--stage-muted); line-height: 1.35; }
.cw-ctx { margin: -2px 0 8px; font-size: 11.5px; color: var(--stage-muted); }
.cw-att { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 4px 9px; border-radius: 7px; background: var(--stage-3); font-size: 11.5px; color: var(--stage-muted); }
.cw-att svg { width: 12px; height: 12px; }
.cw-cal.ax .days { padding-left: 24px; }
.cw-cal.ax .grid { margin-left: 24px; }
.cw-cal .hrs { position: absolute; right: 100%; top: -6px; width: 22px; display: grid; grid-auto-rows: 19px; font-size: 9.5px; color: var(--stage-muted); text-align: right; padding-right: 5px; }
.cw-cal .bz { overflow: hidden; }
.cw-cal .bz span { display: block; padding: 2px 6px; font-size: 10px; line-height: 1.25; color: rgba(250, 249, 245, 0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-cal .slot em { font-style: normal; font-size: 9.5px; color: rgba(255, 255, 255, 0.82); }
.cw-cal .slot .fin, .cw-fin .cw-cal .slot .pre { display: none; }
.cw-fin .cw-cal .slot .fin { display: block; }
.cw-alts { margin-top: 6px; font-size: 11.5px; color: var(--stage-muted); opacity: 0; transition: opacity 400ms var(--ease) 900ms; }
.cw-b.on .cw-alts { opacity: 1; }
.cw-board .bc b { display: block; font-weight: 500; }
.cw-board .bc small { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 11px; color: var(--stage-muted); }
.cw-board .bc .cw-av { width: 17px; height: 17px; font-size: 8px; }
.cw-board .hot .bc small { color: #f0937f; }
.cw-why { grid-column: 1 / -1; margin: 2px 2px 0; font-size: 12px; line-height: 1.45; color: var(--stage-muted); }
.cw-why b { color: #f0937f; font-weight: 500; }
.cw-fx .st-tag + .cw-num { margin-top: 10px; }
.cw-fx .cw-num span { display: grid; gap: 1px; }
.cw-fx .cw-num em { font-style: normal; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stage-muted); font-family: var(--mono); }
.cw-ev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cw-ev span { padding: 3px 8px; border-radius: 6px; background: var(--stage-3); font-size: 11.5px; color: var(--stage-muted); }
.cw-eff { flex-basis: 100%; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--stage-ink); }
.cw-eff svg { width: 14px; height: 14px; flex: none; color: #8fd9ad; }
.cw-done:has(.cw-dm) { flex-wrap: wrap; }
.cw-dm { color: var(--stage-muted); font-size: 12.5px; }
.cw-dm::before { content: "·"; margin-right: 8px; }
.cw-next { display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transform: translateY(8px); transition: opacity 450ms var(--ease), transform 550ms var(--ease); }
.cw-next.on { opacity: 1; transform: none; }
.cw-next span { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(250, 249, 245, 0.16); font-size: 12px; color: var(--stage-ink); }
.cw-lk { color: var(--stage-ink); text-decoration: underline; text-decoration-color: rgba(250, 249, 245, 0.3); text-underline-offset: 3px; }
/* The intermediate step between a button and its confirmation: a checkout, a review or a preview, then processing */
.cw-mid { display: grid; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity 450ms var(--ease), transform 550ms var(--ease); }
.cw-mid.on { opacity: 1; transform: none; }
.cw-mid > .cw-b { padding: 14px 16px; }
.cw-proc { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--stage-muted); opacity: 0; transition: opacity 300ms; }
.cw-proc.on { opacity: 1; }
.cw-proc i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(250, 249, 245, 0.22); border-top-color: var(--stage-ink); animation: spin 0.8s linear infinite; }
/* A listing video being made: scenes cross-fade with a slow push-in while it renders, thumbnails arrive, then Ready */
.cw-out > .cw-vid { grid-column: 1 / -1; max-width: 460px; }
.cw-vid .vp { position: relative; aspect-ratio: 2.4 / 1; border-radius: 9px; overflow: hidden; background: #1c2a33; }
.cw-vid .sc { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.cw-vid .sc:first-child { opacity: 1; }
.cw-vid.on .sc { animation: cwscene 10s linear infinite; animation-delay: calc(var(--i) * 2.5s - 0.2s); }
@keyframes cwscene { 0% { opacity: 0; transform: scale(1.1); } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.cw-vid .vp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 60%); pointer-events: none; }
.cw-vid .ov, .cw-vid .cr, .cw-vid .bdg { z-index: 1; }
.cw-vid .ov { position: absolute; left: 12px; bottom: 10px; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.cw-vid .ov b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; }
.cw-vid .ov small { font-size: 11px; }
.cw-vid .cr { position: absolute; right: 10px; bottom: 10px; font-size: 10px; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.cw-vid .bdg { position: absolute; top: 8px; right: 8px; display: grid; font-size: 10.5px; color: #fff; }
.cw-vid .bdg i { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; justify-self: end; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, 0.55); font-style: normal; }
.cw-vid .bdg .r u { width: 7px; height: 7px; border-radius: 50%; background: #e2554a; animation: tdot 1.2s infinite; }
.cw-vid .bdg .k { opacity: 0; background: rgba(46, 125, 80, 0.85); }
.cw-vid.on .bdg .r { animation: cwgo 300ms 3.4s forwards; }
.cw-vid.on .bdg .k { animation: cwcome 300ms 3.4s forwards; }
@keyframes cwgo { to { opacity: 0; } } @keyframes cwcome { to { opacity: 1; } }
.cw-vid .pb { height: 4px; margin: 9px 0 8px; border-radius: 2px; background: rgba(250, 249, 245, 0.1); overflow: hidden; }
.cw-vid .pb i { display: block; height: 100%; width: 0; background: var(--accent); }
.cw-vid.on .pb i { width: 100%; transition: width 3.4s linear; }
.cw-vid .tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; max-width: 520px; }
.cw-vid .tl img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; opacity: 0; transition: opacity 400ms; }
.cw-vid.on .tl img { opacity: 1; transition-delay: calc(var(--i) * 0.8s + 0.3s); }
.cw-vid .tl span { font-size: 11px; color: var(--stage-muted); text-align: center; }
.cw-vid .ck { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 9px; font-size: 12px; color: var(--stage-muted); }
.cw-vid .ck span { display: inline-flex; align-items: center; gap: 5px; }
.cw-vid .ck svg { width: 12px; height: 12px; color: #8fd9ad; }
.cw-now .cw-vid .pb i { width: 100%; transition: none; }
.cw-now .cw-vid .tl img { opacity: 1; transition: none; }
.cw-now .cw-vid .bdg .r { animation: none; opacity: 0; }
.cw-now .cw-vid .bdg .k { animation: none; opacity: 1; }
/* The association's secure checkout (card on file; the payments provider is not named) */
.cw-pay .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--stage-line); font-size: 12px; color: var(--stage-muted); }
.cw-pay .hd span { display: inline-flex; align-items: center; gap: 6px; }
.cw-pay .hd svg { width: 13px; height: 13px; color: #8fd9ad; }
.cw-pay .hd b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--stage-ink); }
.cw-pay .it { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 8px 0; font-size: 12.5px; color: rgba(250, 249, 245, 0.85); }
.cw-pay .cf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding-top: 6px; }
.cw-pay .f { display: grid; gap: 3px; }
.cw-pay .f.wide { grid-column: 1 / -1; }
.cw-pay .f label { font-size: 10.5px; color: var(--stage-muted); }
.cw-pay .f span { padding: 7px 10px; border-radius: 7px; background: var(--stage-3); border: 1px solid rgba(250, 249, 245, 0.08); font-size: 13px; letter-spacing: 0.02em; }
/* Verified sign-in before a record is written: the account, then the number to enter on the phone */
.cw-ver .acct { display: flex; align-items: center; gap: 9px; padding: 10px 0 9px; }
.cw-ver .acct > span { display: grid; gap: 1px; min-width: 0; }
.cw-ver .acct b { font-weight: 600; font-size: 13px; }
.cw-ver .acct small { font-size: 11.5px; color: var(--stage-muted); }
.cw-ver .num { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; background: var(--stage-3); border: 1px solid rgba(250, 249, 245, 0.08); font-size: 12.5px; color: rgba(250, 249, 245, 0.85); }
.cw-ver .num b { font-family: var(--mono); font-weight: 400; font-size: 22px; letter-spacing: 0.06em; color: var(--stage-ink); }
.cw-ver .num .wt { margin-left: auto; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #8fd9ad; animation: tdot 1.2s infinite; }
/* A social post before it is scheduled */
.cw-post { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 12px; align-items: start; }
.cw-post img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.cw-post .who { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.cw-post .who b { font-weight: 600; }
.cw-post .who span { margin-left: auto; color: var(--stage-muted); font-size: 11.5px; }
.cw-post p { margin: 7px 0 6px; font-size: 13px; line-height: 1.45; color: rgba(250, 249, 245, 0.92); }
.cw-post .tg { font-size: 11px; color: var(--stage-muted); }
/* The composer: dark, like the rest of the product window */
.cmp-win .composer { margin: 0 14px 14px; background: var(--stage-2); border-radius: 18px; box-shadow: 0 0 0 1px var(--stage-line); padding: 12px 14px 8px; }
.cmp-win .composer .prompt { font-size: 15px; line-height: 1.55; color: var(--stage-ink); min-height: 48px; }
.cmp-win .composer .prompt:empty::before { content: attr(data-ph); color: var(--stage-muted); }
.cmp-win .composer .prompt .tk { opacity: 0.12; transition: opacity 180ms; }
.cmp-win .composer .prompt .tk.on { opacity: 1; }
.cmp-win .composer .bar { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 13.5px; color: var(--stage-muted); white-space: nowrap; }
.cmp-win .composer .bar .ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.cmp-win .composer .bar .ico svg, .cmp-win .composer .bar .send svg { width: 16px; height: 16px; }
.cmp-win .composer .bar .guard { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.cmp-win .composer .bar .sel { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--stage-ink); }
.cmp-win .composer .bar .sel .pm { width: 14px; height: 14px; }
.cmp-win .composer .bar .send { width: 34px; height: 34px; border-radius: 50%; background: var(--stage-ink); color: var(--stage); display: grid; place-items: center; flex: none; }
.cmp-win .composer .bar .send.press { animation: press 300ms var(--ease); }
/* Narrow windows: one result block (the first carries the answer), tighter type */
@container (max-width: 640px) {
  .cw-out { grid-template-columns: minmax(0, 1fr); }
  .cw-out > .cw-b + .cw-b { display: none; }
  .cw-log { gap: 11px; }
}
@container (max-width: 560px) {
  .cw-log { padding: 10px 14px 12px; gap: 10px; }
  .cw-you .tx { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cw-say { font-size: 15.5px; }
  .cw-foot .cw-src { margin-left: 0; }
  .cw-use { display: none; }
  .cw-rows li:nth-child(n+4) { display: none; }
  .cw-rows:not(.short) li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cw-rows:not(.short) em { text-align: left; }
  .cw-tiles { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); }
  .cw-tiles .tl { padding: 10px 11px; }
  .cw-tiles .tl b { font-size: 19px; }
  .cmp-win .composer .prompt { min-height: 24px; }
  .cw-sample { display: none; }
  .cmp-win .composer .bar .guard { display: none; }
  .cw-ring { grid-template-columns: 76px minmax(0, 1fr); }
  .cw-ring .ring-prog { width: 76px; }
  .cw-doc { grid-template-columns: minmax(0, 1fr); }
  /* Nexus detail that a phone-width window leaves out: the answer, the result and the approval stay */
  .cw-at, .cw-two small, .cw-why, .cw-alts, .cw-ev, .cw-board .bc small, .cw-dm:not(.cw-lk), .cw-ctx, .cw-att { display: none; }
  .cw-eff { font-size: 12px; }
  .cw-next span:nth-child(n+3) { display: none; }
  .cw-pay .it, .cw-pay .f:not(.wide) { display: none; }
  .cw-post { grid-template-columns: 30% minmax(0, 1fr); }
  .cw-vid .tl img:nth-child(n+4) { display: none; }
  /* The board stacks on phones: each column becomes a heading with its cards side by side */
  .cw-board { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cw-board .col { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px 8px; }
  .cw-board .lbl { flex-basis: 100%; }
  .cw-board .bc { flex: 1 1 0; min-width: 0; padding: 7px 8px; }
}
@container (max-width: 300px) {
  .cw-dm, .cw-rows li.cw-rich .cw-av { display: none; }
  .cw-done:has(.cw-dm) { flex-wrap: nowrap; }
  .cw-next { display: none !important; }
  .cw-board .col { padding: 6px; gap: 5px; }
  .cw-board .bc { font-size: 11.5px; padding: 6px 7px; }
  .cw-draft:has(.cw-ctx) .body { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .cw-you .tx { -webkit-line-clamp: 2; }
  .cw-say { font-size: 15px; }
  .cw-rows li:nth-child(n+3) { display: none; }
  .cw-flow .fr:nth-child(n+4) { display: none; }
  .cw-ba .cols { gap: 4px; }
  .cw-ba .c { padding: 8px 9px; }
  .cw-ba .kv { display: grid; gap: 1px; }
  .cw-ba .kv b { text-align: left; }
  .cw-cite p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 991px) {
  .cmp .c5-12 { position: static; }
  .cmp-list { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--margin) * -1); padding: 2px var(--margin) 6px; scroll-padding-inline: var(--margin); }
  .cmp-list::-webkit-scrollbar { display: none; }
  .cmp-list .ex-group { display: none; }
  .cmp-item, .cmp-item:first-child, .cmp .cmp-list .ex-group + .cmp-item { border: 0; flex: none; }
  .cmp-item > button, .cmp-item.open > button { padding: 9px 16px; border-radius: 999px; background: var(--oat); font-size: 14px; font-weight: 500; letter-spacing: 0; white-space: nowrap; gap: 8px; }
  .cmp-item.open > button { background: var(--slate); color: var(--bg-light); }
  .cmp-item > button .who { margin-left: 0; color: inherit; opacity: 0.75; }
  .cmp-item .cmp-body, .cmp-item.open .cmp-body { display: none; }
  .cmp-mdesc { display: grid; gap: 12px; margin-bottom: 14px; }
  .cmp-mdesc .p-s { color: var(--ink-2); }
  .cmp-win { height: 700px; }
}

/* Integration reference: real logo + name, as in a prompt */
.ref { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; color: var(--brand, var(--ink)); }
/* Official logo files, shown exactly as provided (never recoloured or masked) */
.lgi { display: inline-block; width: 1em; height: 1em; flex: none; object-fit: contain; }
.lgi.word { width: auto; height: 0.7em; }
.lgi.padded { width: 1.7em; height: 1.7em; margin: -0.35em -0.3em; }
.wm { font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.wm.sm { font-size: 0.72em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-i { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--oat-2); font-family: var(--sans); font-size: 13.5px; font-weight: 500; }
.chip-i .lgi { width: 15px; height: 15px; }
.chip-i .lgi.padded { width: 26px; height: 26px; margin: -6px -4px; }

/* ---------- Integrations orbit ---------- */
.orbit-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: calc(24px + 2vw); align-items: center; text-align: left; margin-top: calc(28px + 2vw); }
@media (max-width: 991px) { .orbit-wrap { grid-template-columns: 1fr; } }
.orbit { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin: 0 auto; }
.orbit svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring-line { fill: none; stroke: rgba(250, 249, 245, 0.12); stroke-width: 0.25; }
.orbit .ring-line.dash { stroke-dasharray: 0.6 1.4; }
.orbit .spoke { stroke: rgba(250, 249, 245, 0.16); stroke-width: 0.22; transition: stroke 300ms, stroke-width 300ms; }
.orbit .spoke.flow { stroke-dasharray: 0.8 2.2; animation: spokeflow 2.4s linear infinite; }
.orbit .spoke.hot { stroke: rgba(250, 249, 245, 0.85); stroke-width: 0.4; }
.orbit .pline { stroke-width: 0.35; opacity: 0.25; transition: opacity 300ms, stroke-width 300ms; }
.orbit .pline.hot { opacity: 1; stroke-width: 0.6; }
@keyframes spokeflow { to { stroke-dashoffset: -6; } }
.orbit .arc-label { position: absolute; translate: -50% -50%; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 249, 245, 0.5); white-space: nowrap; pointer-events: none; }
.orbit .hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2c2b28, #161614 70%); box-shadow: 0 0 0 1px rgba(250, 249, 245, 0.14), 0 0 60px rgba(250, 249, 245, 0.08); display: grid; place-items: center; color: var(--bg-light); }
.orbit .hub svg { width: 46%; height: 46%; }
.orbit .hub .ring { transform-origin: 12px 12px; animation: spin 40s linear infinite; }
.orbit .prod { position: absolute; translate: -50% -50%; display: grid; justify-items: center; gap: 4px; font-family: var(--sans); font-size: 12px; color: rgba(250, 249, 245, 0.8); transition: opacity 300ms; }
.orbit .prod .pm { width: 26px; height: 26px; }
.orbit .prod.dim { opacity: 0.3; }
.orbit .node { position: absolute; width: 12.5%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250, 249, 245, 0.06); box-shadow: inset 0 0 0 1px rgba(250, 249, 245, 0.14); color: var(--bg-light); transition: transform 300ms var(--ease), background 300ms, box-shadow 300ms, opacity 300ms; }
.orbit .node:hover { transform: scale(1.08); background: rgba(250, 249, 245, 0.12); }
.orbit .node[aria-pressed="true"] { background: var(--bg-light); color: var(--slate); box-shadow: 0 0 0 4px rgba(250, 249, 245, 0.16); }
.orbit .node.dim { opacity: 0.28; }
.orbit .node .lgi { width: 40%; height: 40%; }
.orbit .node .lgi.word { width: 80%; height: auto; }
.orbit .node .lgi.padded { width: 76%; height: 76%; margin: 0; }
.orbit .node .on-light, .orbit .node[aria-pressed="true"] .on-dark { display: none; }
.orbit .node[aria-pressed="true"] .on-light { display: block; }
.orbit .node .wm { font-size: clamp(8px, 1.15vw, 12.5px); }
.orbit-detail { background: rgba(250, 249, 245, 0.05); box-shadow: inset 0 0 0 1px rgba(250, 249, 245, 0.1); border-radius: var(--r-card); padding: calc(20px + 1vw); display: grid; gap: 16px; min-height: 360px; align-content: start; color: var(--bg-light); }
.orbit-detail .hd { display: flex; align-items: center; gap: 14px; }
.orbit-detail .hd .badge { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-light); color: var(--slate); display: grid; place-items: center; flex: none; }
.orbit-detail .hd .badge .lgi { width: 26px; height: 26px; }
.orbit-detail .hd .badge .lgi.padded { width: 50px; height: 50px; margin: 0; }
.infra-badge { justify-self: start; display: block; line-height: 0; border-radius: 8px; }
.infra-badge img { display: block; height: 46px; width: auto; }
.infra-badge.cloudflare img { height: 70px; }
.orbit-detail .hd .badge .wm { font-size: 12px; }
.orbit-detail .ty { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(250, 249, 245, 0.6); }
.orbit-detail .nm { font-family: var(--sans); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; margin: 2px 0 0; line-height: 1.1; }
.orbit-detail p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; color: rgba(250, 249, 245, 0.9); }
.orbit-detail .powers { border-top: 1px solid rgba(250, 249, 245, 0.14); }
.orbit-detail .powers div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(250, 249, 245, 0.14); font-family: var(--sans); font-size: 15px; }
.orbit-detail .powers b { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.orbit-side { display: grid; gap: 18px; }
.orbit-side .seg { justify-self: start; }
.orbit-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(250, 249, 245, 0.55); }
.orbit-legend span { display: inline-flex; align-items: center; gap: 8px; }
.orbit-legend i { width: 14px; height: 2px; border-radius: 2px; background: currentColor; display: inline-block; }
.cmp-list .ex-group { margin: 22px 0 6px; }
.cmp-list .ex-group:first-child { margin-top: 0; }
.cmp-list .ex-group + .cmp-item { border-top: 1px solid var(--line); }
.card .display-s .pm { vertical-align: -3px; margin-right: 2px; }
.feature-card .orbit-wrap { color: var(--bg-light); }
.orbit .node .wm { font-size: clamp(8px, 0.95vw, 11.5px); letter-spacing: -0.01em; }
.orbit-detail .hd .badge .wm { font-size: 11px; letter-spacing: -0.01em; }
@media (max-width: 991px) { .card { min-height: 0; } .card .grow { min-height: 22px; flex: 0 0 auto; } }
@media (max-width: 480px) { .seg button { padding: 0 12px; gap: 7px; font-size: 14px; } }
