/* Qosha site: shared styles, extracted from the Hybrid landing (static layer) plus subpage components. */
/* Qosha shared foundation — every mockup links this first, then adds its own <style>. */
@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,slnt,wdth,wght,ROND@6..144,-10..0,25..151,1..1000,0..100&family=Google+Sans+Code:wght@300..800&display=swap");

:root {
  /* Brand guideline v1.1 — fixed */
  --forest: #0B3326;   /* 2nd background, primary buttons, tile */
  --gold:   #AD883E;   /* accent only: thin rules, tiny marks. NEVER text on white */
  --black:  #0B0B0B;   /* all reading text; 3rd (alternate) background */
  --bone:   #F5F4F0;   /* section bands only, never behind the logo */
  --white:  #FFFFFF;   /* main background */

  /* Allowed supporting tints (used in earlier Qosha work) — for UI illustration, charts, hairlines */
  --forest-deep: #06251B;
  --moss:   #2F7A55;
  --moss-2: #3A8A62;
  --mint:   #9FD9B4;
  --sage:   #DDE8E0;
  --tint:   #EEF5F0;
  --line:   #E6E6E1;   /* neutral hairline */
  --muted:  #5C5C58;   /* secondary text (still near-black family) */

  --sans: "Google Sans Flex", "Google Sans", "Helvetica Neue", sans-serif;
  --code: "Google Sans Code", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--white); color: var(--black);
  font-family: var(--sans); font-size: 16px; line-height: 24px;
  font-variation-settings: "wdth" 95, "opsz" 16, "ROND" 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Type scale — Gemini scale, Qosha override: Display + Headline run Light 300 */
.display-l { font-size: 57px; line-height: 64px; font-weight: 300; letter-spacing: -0.5px; font-variation-settings: "wdth" 100, "opsz" 57, "ROND" 0; }
.display-m { font-size: 45px; line-height: 52px; font-weight: 300; letter-spacing: -0.5px; font-variation-settings: "wdth" 100, "opsz" 45, "ROND" 0; }
.display-s { font-size: 36px; line-height: 44px; font-weight: 300; font-variation-settings: "wdth" 100, "opsz" 36, "ROND" 0; }
.headline-l { font-size: 32px; line-height: 40px; font-weight: 300; font-variation-settings: "wdth" 100, "opsz" 32, "ROND" 0; }
.headline-m { font-size: 28px; line-height: 36px; font-weight: 300; font-variation-settings: "wdth" 100, "opsz" 28, "ROND" 0; }
.headline-s { font-size: 24px; line-height: 32px; font-weight: 300; font-variation-settings: "wdth" 100, "opsz" 24, "ROND" 0; }
.title-l  { font-size: 22px; line-height: 28px; font-weight: 400; font-variation-settings: "wdth" 100, "opsz" 22, "ROND" 0; }
.title-m  { font-size: 16px; line-height: 24px; font-weight: 500; font-variation-settings: "wdth" 95, "opsz" 16, "ROND" 0; }
.title-s  { font-size: 14px; line-height: 20px; font-weight: 500; font-variation-settings: "wdth" 95, "opsz" 14, "ROND" 0; }
.body-xl  { font-size: 18px; line-height: 24px; font-weight: 400; font-variation-settings: "wdth" 100, "opsz" 18, "ROND" 0; }
.body-l   { font-size: 16px; line-height: 24px; font-weight: 400; font-variation-settings: "wdth" 95, "opsz" 16, "ROND" 0; }
.body-m   { font-size: 14px; line-height: 20px; font-weight: 400; font-variation-settings: "wdth" 95, "opsz" 14, "ROND" 0; }
.body-s   { font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: .1px; font-variation-settings: "wdth" 95, "opsz" 12, "ROND" 0; }
.label-l  { font-size: 14px; line-height: 20px; font-weight: 500; font-variation-settings: "wdth" 95, "opsz" 14, "ROND" 0; }
.label-m  { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .1px; font-variation-settings: "wdth" 95, "opsz" 12, "ROND" 0; }
.label-s  { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .1px; font-variation-settings: "wdth" 95, "opsz" 11, "ROND" 0; }
.rounded  { font-variation-settings: "wdth" 100, "ROND" 100 !important; } /* ONE hero line per page, max two */
.code     { font-family: var(--code); font-size: 14px; line-height: 20px; }

/* Buttons — forest fill, white text (guideline) */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; line-height: 20px; font-weight: 500; font-variation-settings: "wdth" 95, "opsz" 14; white-space: nowrap; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1px var(--line); }
.btn-dark { background: var(--black); color: var(--white); }

/* Hybrid of study 25 (Raycast) and studies 26/27 (Frame.io):
   Frame.io announcement strip · Raycast framed sticky header · Raycast "Now onboarding" pill ·
   Frame.io hero (copy left, whole dashboard right, atmosphere washes) · Frame.io "Works with" logo wall ·
   Raycast body · Frame.io closing banner · Raycast footer. Buttons are Raycast keycaps throughout.
   Light = Frame.io white (26); dark = Frame.io dark forest (27). Type: Google Sans Flex on the Gemini scale. */
:root{
  --bg:#FFFFFF; --text:#0B0B0B; --smoke:#5C5C58; --ash:#8A8A86; --line:#E6E6E1; --accent:var(--moss);
  --surface:#FAFAF8; --surface-2:#F4F4F1; --keycap:#FFFFFF; --keycap-fg:#2F3031; --dot-bg:#D8D8D3;
  --key: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(11,11,11,.06), 0 0 0 1px rgba(11,11,11,.09), 0 1px 2px rgba(11,11,11,.04);
  --key-strong: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 0 rgba(11,11,11,.07), 0 0 0 1px rgba(11,11,11,.11), 0 2px 4px rgba(11,11,11,.05);
  --img-line: rgba(11,11,11,.08);
  --navglass: rgba(255,255,255,.86);
  --halo:#C9DBCF; --frame-bg:#FFFFFF;
  --frame-shadow: 0 0 0 1px #C9DBCF, 0 40px 90px -36px rgba(11,51,38,.38), 0 0 0 9px rgba(221,232,224,.35);
  --works-fg:#9A9AA2;
  --atmoA:#9FD9B4; --atmoA2:#DDE8E0; --atmoA-op:.30; --atmoB:#0B3326; --atmoB-op:.10; --atmoC:#2F7A55; --atmoC-op:.12;
  --mono: "Google Sans Code", ui-monospace, Menlo, monospace;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#03110C; --text:#F4F7F5; --smoke:#A7B5AE; --ash:#7F8F87; --line:rgba(255,255,255,.09); --accent:#9FD9B4;
  --surface:#06170F; --surface-2:#071A12; --keycap:#0B2219; --keycap-fg:#E9EFEC; --dot-bg:#2A3D34;
  --key: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.3);
  --key-strong: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 0 rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.11), 0 2px 6px rgba(0,0,0,.35);
  --img-line: rgba(255,255,255,.08);
  --navglass: rgba(4,20,14,.78);
  --halo:#1F3D31; --frame-bg:#071A12;
  --frame-shadow: 0 0 0 1px #1F3D31, 0 0 0 9px rgba(47,122,85,.07), 0 50px 120px -40px rgba(47,122,85,.45);
  --works-fg:#5F6F67;
  --atmoA:#2F7A55; --atmoA2:#0B3326; --atmoA-op:.35; --atmoB:#9FD9B4; --atmoB-op:.10; --atmoC:#AD883E; --atmoC-op:.10;
  color-scheme:dark;
}
html, body{ overflow-x:clip; }
body{ background:var(--bg); color:var(--text); transition:background-color .3s; }
.wrap{ max-width:1408px; margin:0 auto; padding:0 24px; position:relative; } /* 1360px content: 40px side margins at 1440 (416 text + 28 gap + 916 dashboard) */
.lt{ } .dk{ display:none !important; }
[data-theme="dark"] .lt{ display:none !important; } [data-theme="dark"] .dk{ display:block !important; }
img.dk, img.lt{ max-width:100%; }
.mono{ font-family:var(--mono); font-size:12px; line-height:16px; letter-spacing:.017em; color:var(--smoke); }
.eyebrow{ font-family:var(--mono); font-size:11px; line-height:16px; letter-spacing:.06em; text-transform:uppercase; color:var(--smoke); }
.pipes span + span::before{ content:"|"; margin:0 12px; color:var(--ash); opacity:.6; }

/* dark page glow (Frame.io dark) */
.page-glow{ display:none; position:absolute; inset:0; z-index:0; pointer-events:none; background:
  radial-gradient(1200px 700px at 75% 360px, rgba(47,122,85,.28), transparent 70%),
  radial-gradient(900px 600px at 10% 60px, rgba(11,51,38,.55), transparent 70%),
  radial-gradient(1400px 900px at 50% 3400px, rgba(11,51,38,.55), transparent 70%),
  radial-gradient(800px 500px at 85% 4800px, rgba(47,122,85,.16), transparent 70%),
  radial-gradient(1000px 600px at 15% 6200px, rgba(173,136,62,.07), transparent 70%),
  linear-gradient(180deg, #03110C 0%, #020C08 45%, #03110C 100%); }
[data-theme="dark"] .page-glow{ display:block; }
.shell{ position:relative; z-index:1; }


/* Raycast framed sticky header */
.navshell{ position:sticky; top:16px; z-index:20; padding-top:16px; }
.nav{ height:72px; border-radius:16px; background:var(--navglass); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:var(--key); display:flex; align-items:center; padding:0 16px 0 24px; gap:24px; }
.nav .lock{ height:36px; }
.nav ul{ list-style:none; display:flex; gap:32px; margin:0 auto; }
.nav li{ font-size:14px; line-height:20px; font-weight:500; color:var(--smoke); font-variation-settings:"wdth" 95,"opsz" 14; }
.nav .in{ font-size:14px; line-height:20px; font-weight:500; color:var(--smoke); }
.theme{ width:40px; height:40px; border-radius:8px; background:var(--keycap); box-shadow:var(--key-strong), 0 0 0 1px var(--gold); display:grid; place-items:center; color:var(--keycap-fg); cursor:pointer; border:0; }
.theme svg{ width:18px; height:18px; }
.theme .moon{ display:none; } [data-theme="dark"] .theme .sun{ display:none; } [data-theme="dark"] .theme .moon{ display:block; }
.burger{ display:none; }

/* Raycast buttons (keycaps) */
.btn{ border-radius:8px; height:40px; padding:0 16px; font-size:14px; line-height:20px; }
.btn svg{ width:16px; height:16px; }
.btn-key{ background:var(--keycap); color:var(--keycap-fg); box-shadow:inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 0 rgba(11,11,11,.07), 0 0 0 1px var(--gold), 0 2px 4px rgba(11,11,11,.05); }
[data-theme="dark"] .btn-key{ box-shadow:inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 0 rgba(0,0,0,.4), 0 0 0 1px var(--gold), 0 2px 6px rgba(0,0,0,.35); }
.btn-forest{ background:var(--forest); color:#fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.25), 0 0 0 1px var(--gold); }
[data-theme="dark"] .btn-forest{ background:#F4F7F5; color:#03110C; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 1px var(--gold); }
.btn-key svg *{ stroke:currentColor; }
.hero .ctas .btn svg *{ stroke:var(--gold) !important; }
.hero .ctas{ gap:10px; } .hero .ctas .btn{ height:36px; padding:0 14px; gap:7px; } .hero .ctas .btn svg{ width:15px; height:15px; }
.btn-lg{ height:48px; padding:0 20px; }

/* Raycast "Now onboarding" pill */
.pillbtn{ display:inline-flex; align-items:center; height:36px; border-radius:999px; padding:0 14px; box-shadow:var(--key); background:var(--keycap); color:var(--text); font-size:14px; line-height:20px; font-weight:500; font-variation-settings:"wdth" 95,"opsz" 14; }
.pillbtn b{ font-weight:500; padding-right:10px; }
.pillbtn i{ width:1px; height:14px; background:var(--gold); margin-right:10px; }
.pillbtn span{ color:var(--smoke); display:inline-flex; align-items:center; gap:6px; }
.pillbtn svg path{ stroke:currentColor; }

/* Frame.io hero */
.atmo{ max-width:none; position:absolute; left:50%; transform:translateX(-50%); width:1600px; pointer-events:none; z-index:0; }
[data-theme="dark"] .atmo{ mix-blend-mode:screen; }
.hero{ position:relative; }
.hero .tex{ position:absolute; z-index:0; left:50%; top:-120px; width:1440px; height:calc(100% + 140px); transform:translateX(-50%); pointer-events:none; max-width:none; }
.hero .tex .dot{ fill:var(--forest); } [data-theme="dark"] .hero .tex .dot{ fill:#9FD9B4; }
.hero .tex .glow{ stop-color:var(--forest); } [data-theme="dark"] .hero .tex .glow{ stop-color:#2F7A55; }
[data-theme="dark"] .hero .tex rect{ opacity:.35; }
.hero .grid{ position:relative; z-index:1; display:grid; grid-template-columns:366px 1fr; gap:28px; align-items:start; padding:72px 0 72px; }
/* the message stays in view while the whole (tall) dashboard scrolls past it */
.hero .grid > div:first-child{ position:sticky; top:136px; }
.hero .h-xl{ font-size:45px; line-height:52px; font-variation-settings:"wdth" 100,"opsz" 45,"ROND" 0; } /* Display M: the dashboard gets the room */
.hero .pillbtn{ margin-bottom:28px; }
.h-xl u{ text-decoration:none; background:linear-gradient(var(--gold),var(--gold)) 0 100%/100% 1.5px no-repeat; padding-bottom:2px; }
.h-xl{ font-size:57px; line-height:64px; font-weight:300; letter-spacing:-.5px; font-variation-settings:"wdth" 100,"opsz" 57,"ROND" 0; } /* Display L */
.lede{ font-size:18px; line-height:24px; color:var(--smoke); max-width:560px; font-variation-settings:"wdth" 100,"opsz" 18,"ROND" 0; } /* Body XL */
.hero .lede{ margin-top:24px; }
.hero .ctas{ display:flex; gap:12px; margin-top:36px; }
.frame{ position:relative; border-radius:12px; padding:8px; background:var(--frame-bg); box-shadow:var(--frame-shadow); }
.frame img{ width:100%; height:auto; border-radius:6px; }

/* Frame.io "Works with" logo wall */
.works{ position:relative; z-index:1; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:32px 0; display:flex; align-items:center; gap:40px; }
.works .eyebrow{ color:var(--ash); flex:none; }
.works ul{ list-style:none; display:flex; justify-content:space-between; flex:1; font-size:22px; line-height:28px; color:var(--works-fg); font-variation-settings:"wdth" 100,"opsz" 22,"ROND" 0; } /* Title L */

/* ===== Raycast body ===== */
.statement{ text-align:center; padding:160px 0 0; }
.statement h2{ font-size:45px; line-height:52px; font-weight:300; letter-spacing:-.5px; max-width:880px; margin:0 auto; text-wrap:balance; font-variation-settings:"wdth" 100,"opsz" 45; } /* Display M */
.statement h2 em{ font-style:normal; color:var(--ash); }

.split{ display:grid; grid-template-columns:360px 1fr; gap:48px; align-items:center; padding-top:160px; }
.split h2, .head h2, .ai .txt h2{ font-size:36px; line-height:44px; font-weight:300; margin-top:16px; font-variation-settings:"wdth" 100,"opsz" 36; } /* Display S */
.split p, .head p, .ai .txt p{ font-size:18px; line-height:24px; color:var(--smoke); font-variation-settings:"wdth" 100,"opsz" 18; }
.split p{ margin-top:16px; }
.keys{ display:flex; gap:8px; margin-top:32px; }
.kbd{ min-width:56px; height:56px; border-radius:12px; background:var(--keycap); box-shadow:var(--key-strong); display:grid; place-items:center; font-size:22px; color:var(--keycap-fg); padding:0 14px; }
.shot, .window{ border-radius:20px; padding:12px; background:var(--surface-2); box-shadow:var(--key-strong); }
.shot img, .window img{ width:100%; height:auto; display:block; border-radius:10px; box-shadow:0 0 0 1px var(--img-line); }

.feat{ padding-top:160px; }
.head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; }
.head p{ max-width:400px; }
.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:40px; }
/* control-center head sits on the card grid: title over columns 1-2, note in column 3 on the card text edge, bottoms aligned */
.feat .head{ display:grid; grid-template-columns:repeat(3,1fr); column-gap:16px; align-items:end; }
.feat .head > div{ grid-column:1 / span 2; }
.feat .head > p{ grid-column:3; max-width:none; padding:0 24px; }
.card{ border-radius:20px; background:var(--surface); box-shadow:var(--key); padding:24px; display:flex; flex-direction:column; }
.card .top{ display:flex; align-items:center; justify-content:space-between; }
.card h3{ font-size:22px; line-height:28px; font-weight:400; margin-top:12px; font-variation-settings:"wdth" 100,"opsz" 22; } /* Title L */
.card p{ font-size:14px; line-height:20px; color:var(--smoke); margin-top:8px; font-variation-settings:"wdth" 95,"opsz" 14; } /* Body M */
.card .pic{ margin-top:24px; } /* screens sit on one top line, full text width, whole and uncropped */
.card .pic img{ width:100%; height:auto; display:block; border-radius:12px; box-shadow:0 0 0 1px var(--img-line); }
.badge{ font-family:var(--mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; border-radius:6px; padding:3px 8px; background:var(--keycap); box-shadow:var(--key); color:var(--keycap-fg); }
.badge.aib{ background:var(--forest); color:#fff; box-shadow: inset 0 0 0 1px var(--gold); }

.night{ margin-top:160px; border-radius:20px; background:var(--forest); color:#fff; padding:80px 56px 56px; position:relative; overflow:hidden; }
[data-theme="dark"] .night{ background:#082A1F; box-shadow:0 0 0 1px #1F3D31; }
.night .eyebrow{ color:rgba(255,255,255,.62); }
.night h2{ font-size:36px; line-height:44px; font-weight:300; margin-top:16px; font-variation-settings:"wdth" 100,"opsz" 36; }
.night p{ font-size:18px; line-height:24px; color:rgba(255,255,255,.72); margin-top:16px; max-width:480px; font-variation-settings:"wdth" 100,"opsz" 18; }
.night .row{ display:grid; grid-template-columns:1fr 196px 196px; gap:24px; align-items:end; margin-top:48px; }
.night .dw{ border-radius:16px; padding:10px; background:rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.14); }
.night .dw img{ width:100%; display:block; border-radius:8px; }
.night .ph{ border-radius:30px; padding:6px; background:#0B0B0B; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.night .ph img{ width:100%; display:block; border-radius:24px; }
.night .art{ position:absolute; right:-120px; top:-160px; width:720px; height:520px; opacity:.55; pointer-events:none; }

.ai{ padding-top:160px; display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; align-items:start; }
.ai .txt p{ margin-top:16px; }
.ai .txt .models{ margin-top:24px; display:flex; flex-wrap:wrap; gap:8px; }
.ai .txt .models span{ font-size:14px; line-height:20px; font-weight:500; padding:6px 12px; border-radius:999px; background:var(--keycap); color:var(--keycap-fg); box-shadow:var(--key); }
.ai .c{ border-radius:20px; padding:12px; background:var(--surface-2); box-shadow:var(--key); }
.ai .c img{ width:100%; display:block; border-radius:14px; }

.trust{ padding-top:160px; }
.trust .grid4{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:40px; }
.trust .t{ border-radius:16px; background:var(--surface); box-shadow:var(--key); padding:24px; min-height:184px; display:flex; flex-direction:column; }
.trust .t .ic{ width:40px; height:40px; border-radius:999px; background:var(--keycap); box-shadow:var(--key); display:grid; place-items:center; color:var(--forest); }
[data-theme="dark"] .trust .t .ic{ color:#9FD9B4; }
.trust .t h3{ font-size:16px; line-height:24px; font-weight:500; font-variation-settings:"wdth" 95,"opsz" 16; margin-top:auto; padding-top:24px; }
.trust .t p{ font-size:14px; line-height:20px; color:var(--smoke); margin-top:6px; }

/* Frame.io closing banner */
.close{ position:relative; padding:176px 0 160px; text-align:center; }
.close .atmo{ top:0; height:100%; }
.close .in{ position:relative; z-index:1; }
.close .eyebrow{ color:var(--accent); font-size:12px; letter-spacing:.08em; font-weight:500; }
.close .h-xl{ max-width:900px; margin:24px auto 0; text-wrap:balance; }
.close .lede{ margin:28px auto 0; }
.close .ctas{ display:flex; justify-content:center; gap:12px; margin-top:40px; }

/* Raycast footer */
footer{ border-top:1px solid var(--line); padding:40px 0 48px; }
footer .r1{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; }
footer .r1 img{ height:36px; }
footer .r1 p{ font-size:16px; line-height:24px; margin-top:16px; color:var(--smoke); font-variation-settings:"wdth" 95,"opsz" 16; }
footer .cols{ display:grid; grid-template-columns:repeat(4,140px); gap:24px; font-size:14px; line-height:28px; font-variation-settings:"wdth" 95,"opsz" 14; }
footer .cols b{ font-weight:500; display:block; margin-bottom:4px; }
footer .cols span{ display:block; color:var(--smoke); }
footer .r2{ display:flex; justify-content:space-between; margin-top:48px; }

.m-only{ display:none; }

@media (max-width:600px){
  .wrap{ padding:0 16px; }
  .navshell{ top:8px; padding-top:8px; }
  .nav{ height:60px; padding:0 8px 0 14px; gap:8px; }
  .nav .lock{ height:32px; }
  .nav ul, .nav .in, .nav .btn-forest{ display:none; }
  .theme{ margin-left:auto; width:44px; height:44px; }
  .burger{ display:grid; width:44px; height:44px; border-radius:8px; background:var(--keycap); box-shadow:var(--key-strong), 0 0 0 1px var(--gold); place-items:center; color:var(--keycap-fg); }
  .hero .tex{ width:800px; }
  .hero .grid{ grid-template-columns:1fr; gap:40px; padding:48px 0 64px; }
  .hero .grid > div:first-child{ position:static; }
  .pillbtn{ height:auto; padding:8px 14px; font-size:12px; line-height:16px; flex-wrap:wrap; row-gap:4px; }
  .h-xl{ font-size:45px; line-height:52px; font-variation-settings:"wdth" 100,"opsz" 45,"ROND" 0; }
  .lede{ font-size:16px; line-height:24px; font-variation-settings:"wdth" 95,"opsz" 16; }
  .hero .ctas, .close .ctas{ flex-direction:column; align-items:stretch; }
  .hero .ctas .btn, .close .ctas .btn{ justify-content:center; height:48px; }
  .frame{ padding:5px; border-radius:10px; }
  .works{ flex-direction:column; align-items:flex-start; gap:16px; }
  .works ul{ flex-wrap:wrap; gap:10px 20px; font-size:16px; line-height:24px; font-variation-settings:"wdth" 95,"opsz" 16; justify-content:flex-start; }
  .m-only{ display:block; }
  .mphone{ width:240px; margin:56px auto 0; border-radius:30px; padding:6px; background:#0B0B0B; }
  .mphone img{ width:100%; display:block; border-radius:24px; }
  .statement{ padding-top:96px; }
  .statement h2{ font-size:36px; line-height:44px; letter-spacing:0; font-variation-settings:"wdth" 100,"opsz" 36; }
  .split{ grid-template-columns:1fr; gap:32px; padding-top:96px; }
  .split h2, .head h2, .night h2, .ai .txt h2{ font-size:28px; line-height:36px; font-variation-settings:"wdth" 100,"opsz" 28; }
  .kbd{ min-width:48px; height:48px; font-size:19px; }
  .shot{ padding:8px; border-radius:16px; }
  .feat{ padding-top:96px; }
  .head{ flex-direction:column; align-items:flex-start; gap:12px; }
  .feat .head{ grid-template-columns:1fr; row-gap:12px; }
  .feat .head > div, .feat .head > p{ grid-column:auto; padding:0; }
  .card{ padding:20px; }
  .grid3{ grid-template-columns:1fr; }
  .night{ margin-top:96px; padding:48px 16px 16px; border-radius:16px; }
  .night .row{ grid-template-columns:1fr 1fr; gap:12px; }
  .night .row .dw{ grid-column:1 / -1; }
  .ai{ grid-template-columns:1fr; padding-top:96px; }
  .trust{ padding-top:96px; }
  .trust .grid4{ grid-template-columns:1fr 1fr; gap:12px; }
  .trust .t{ min-height:200px; padding:16px; }
  .close{ padding:112px 0 112px; }
  .close .h-xl{ font-size:36px; line-height:44px; letter-spacing:0; font-variation-settings:"wdth" 100,"opsz" 36; }
  footer .r1{ flex-direction:column; }
  footer .cols{ grid-template-columns:1fr 1fr; }
  footer .r2{ flex-direction:column; gap:8px; }
}

/* ===== Shared by every page: links, focus, skip link, mobile menu ===== */
.skip{ position:absolute; left:16px; top:-60px; z-index:60; background:var(--forest); color:#fff; padding:10px 16px; border-radius:8px; font-size:14px; font-weight:500; }
.skip:focus{ top:16px; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:6px; }
.nav li a{ color:inherit; display:inline-block; padding:10px 0; }
.nav li a[aria-current="page"]{ color:var(--text); }
.nav .lock-link{ display:block; }
.nav li a:hover, .nav .in:hover{ color:var(--text); }
footer .cols a{ display:block; color:var(--smoke); }
footer .cols a:hover{ color:var(--text); }
footer .r1 .lock-link{ display:inline-block; }
.burger{ border:0; cursor:pointer; }
.mmenu{ position:absolute; left:0; right:0; top:calc(100% + 8px); border-radius:16px; background:var(--navglass); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:var(--key-strong); padding:8px; display:grid; }
.mmenu[hidden]{ display:none; }
.mmenu a{ padding:12px 14px; border-radius:10px; font-size:16px; line-height:24px; color:var(--text); }
.mmenu a[aria-current="page"]{ background:var(--surface-2); }
.mmenu .btn{ justify-content:center; margin-top:8px; height:48px; color:#fff; }
[data-theme="dark"] .mmenu .btn{ color:#03110C; }
@media (min-width:601px){ .mmenu{ display:none !important; } }

/* ===== Subpage components ===== */
.sub-hero{ position:relative; padding:104px 0 88px; }
.sub-hero .tex{ position:absolute; z-index:0; left:50%; top:-120px; width:1440px; height:calc(100% + 140px); transform:translateX(-50%); pointer-events:none; max-width:none; }
.sub-hero .tex .dot{ fill:var(--forest); } [data-theme="dark"] .sub-hero .tex .dot{ fill:#9FD9B4; }
[data-theme="dark"] .sub-hero .tex rect{ opacity:.35; }
.sub-hero .in{ position:relative; z-index:1; max-width:900px; }
.sub-hero .h-xl{ margin-top:20px; text-wrap:balance; }
.sub-hero .lede{ margin-top:24px; max-width:620px; }
.sub-hero .ctas{ display:flex; gap:12px; margin-top:36px; }
.sub-hero .ctas .btn svg *{ stroke:var(--gold) !important; }

.sec{ padding-top:144px; scroll-margin-top:120px; }
[id]{ scroll-margin-top:120px; }
.sec .head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; }
.sec .head h2{ text-wrap:balance; }

.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:40px; }
.step{ border-radius:20px; background:var(--surface); box-shadow:var(--key); padding:28px; display:flex; flex-direction:column; min-height:420px; }
.step .n{ display:flex; align-items:center; gap:12px; }
.step .n b{ width:36px; height:36px; border-radius:8px; background:var(--keycap); box-shadow:var(--key-strong), 0 0 0 1px var(--gold); display:grid; place-items:center; font-family:var(--mono); font-weight:500; font-size:14px; color:var(--keycap-fg); }
.step h3{ font-size:28px; line-height:36px; font-weight:300; padding-top:72px; font-variation-settings:"wdth" 100,"opsz" 28; }
.step p{ font-size:16px; line-height:24px; color:var(--smoke); margin-top:12px; }
.ticks{ list-style:none; margin-top:24px; border-top:1px solid var(--line); }
.step .ticks{ margin-top:auto; } .step p{ margin-bottom:24px; }
.ticks li{ font-size:14px; line-height:20px; padding:10px 0; border-bottom:1px solid var(--line); display:flex; gap:12px; }
.ticks li::before{ content:""; flex:none; width:6px; height:6px; border-radius:50%; background:var(--gold); margin-top:7px; }

.rows{ margin-top:40px; border-top:1px solid var(--line); }
.rows .r{ display:grid; grid-template-columns:220px 1fr; gap:24px; padding:28px 0; border-bottom:1px solid var(--line); }
.rows .r .k{ font-family:var(--mono); font-size:12px; line-height:28px; letter-spacing:.04em; text-transform:uppercase; color:var(--smoke); }
.rows .r h3{ font-size:22px; line-height:28px; font-weight:400; font-variation-settings:"wdth" 100,"opsz" 22; }
.rows .r p{ font-size:16px; line-height:24px; color:var(--smoke); margin-top:6px; max-width:680px; }

.cols2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:40px; }
.panel{ border-radius:20px; background:var(--surface); box-shadow:var(--key); padding:28px; }
.panel .top{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.panel h3{ font-size:22px; line-height:28px; font-weight:400; font-variation-settings:"wdth" 100,"opsz" 22; }
.panel > p{ font-size:16px; line-height:24px; color:var(--smoke); margin-top:8px; }
.panel.yes{ background:var(--forest); color:#fff; box-shadow:0 0 0 1px var(--gold); }
[data-theme="dark"] .panel.yes{ background:#082A1F; }
.panel.yes > p{ color:rgba(255,255,255,.74); }
.panel.yes .todo{ color:rgba(255,255,255,.78); }
.panel.yes .ticks{ border-color:rgba(255,255,255,.16); } .panel.yes .ticks li{ border-color:rgba(255,255,255,.16); }

.tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:40px; }
.tiles.four{ grid-template-columns:repeat(4,1fr); }
.tile{ border-radius:16px; background:var(--surface); box-shadow:var(--key); padding:24px; }
.tile h3{ font-size:16px; line-height:24px; font-weight:500; }
.tile p{ font-size:14px; line-height:20px; color:var(--smoke); margin-top:6px; }
.tile .k{ font-family:var(--mono); font-size:11px; line-height:16px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); display:block; margin-bottom:20px; }

.trust .grid4 + .grid4{ margin-top:16px; }

.timeline{ margin-top:40px; display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.timeline .tl{ border-top:1px solid var(--gold); padding-top:20px; }
.timeline .tl .k{ font-family:var(--mono); font-size:12px; line-height:16px; color:var(--smoke); }
.timeline .tl p{ font-size:16px; line-height:24px; margin-top:12px; }

.flow{ display:grid; grid-template-columns:1fr 48px 1.25fr 48px 1fr; align-items:stretch; margin-top:40px; }
.flow .box{ border-radius:20px; background:var(--surface); box-shadow:var(--key); padding:28px; }
.flow .box.core{ box-shadow:var(--key-strong), 0 0 0 1px var(--gold); background:var(--surface-2); }
.flow .box h3{ font-size:22px; line-height:28px; font-weight:400; margin-top:16px; font-variation-settings:"wdth" 100,"opsz" 22; }
.flow .box ul{ list-style:none; margin-top:16px; }
.flow .box li{ font-size:14px; line-height:20px; padding:10px 0; border-top:1px solid var(--line); color:var(--smoke); }
.flow .arrow{ display:grid; place-items:center; color:var(--gold); }
.flow .arrow svg{ width:24px; height:24px; }
.caption{ font-size:14px; line-height:20px; color:var(--smoke); margin-top:20px; max-width:680px; }

.people{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:40px; }
.person{ border-radius:20px; background:var(--surface); box-shadow:var(--key); padding:28px; display:flex; gap:20px; align-items:flex-start; }
.avatar{ flex:none; width:64px; height:64px; border-radius:50%; background:var(--forest); color:#fff; display:grid; place-items:center; font-size:22px; line-height:28px; font-weight:300; box-shadow:0 0 0 1px var(--gold); }
.person h3{ font-size:22px; line-height:28px; font-weight:400; }
.person .role{ font-family:var(--mono); font-size:12px; line-height:16px; color:var(--smoke); margin-top:4px; display:block; }
.person p{ font-size:14px; line-height:20px; color:var(--smoke); margin-top:12px; }

.todo{ display:inline-flex; align-items:center; font-family:var(--mono); font-size:11px; line-height:16px; letter-spacing:.04em; text-transform:uppercase; color:var(--smoke); border:1px dashed var(--gold); border-radius:6px; padding:2px 8px; vertical-align:middle; white-space:nowrap; }

.faq{ margin-top:40px; border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px 0; font-size:20px; line-height:28px; font-weight:400; font-variation-settings:"wdth" 100,"opsz" 20; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family:var(--mono); color:var(--gold); font-size:22px; flex:none; }
.faq details[open] summary::after{ content:"−"; }
.faq details p{ font-size:16px; line-height:24px; color:var(--smoke); padding:0 0 24px; max-width:720px; }

.story{ max-width:760px; }
.story h2{ font-size:36px; line-height:44px; font-weight:300; margin-top:16px; text-wrap:balance; font-variation-settings:"wdth" 100,"opsz" 36; }
.story .dateline{ font-family:var(--mono); font-size:12px; line-height:16px; letter-spacing:.06em; text-transform:uppercase; color:var(--smoke); margin-top:24px; padding-top:16px; border-top:1px solid var(--gold); display:inline-block; }
.story p{ font-size:18px; line-height:30px; color:var(--smoke); margin-top:20px; font-variation-settings:"wdth" 100,"opsz" 18; }
.story p.first{ color:var(--text); font-size:20px; line-height:32px; margin-top:28px; }
@media (max-width:600px){ .story h2{ font-size:28px; line-height:36px; } .story p.first{ font-size:18px; line-height:30px; } }
.product-frame{ margin-top:0; }
.card .pic img, .ai .c img, .tile-shot img{ border-radius:0 !important; box-shadow:none !important; background:transparent; }
.card .pic{ margin-top:auto !important; padding-top:24px; }
.shot.tile-shot{ padding:0 !important; background:none !important; box-shadow:none !important; border-radius:0 !important; }
.tile-shot img{ filter:drop-shadow(0 12px 28px rgb(0 0 0 / .10)); }
[data-theme="dark"] .tile-shot img{ filter:drop-shadow(0 12px 28px rgb(0 0 0 / .35)); }
@media (max-width:600px){ .shot:not(.tile-shot) img{ border-radius:8px; } }
.ask-split{ padding-top:0; grid-template-columns:400px 1fr; }
.split.approval.skills-split, #automations-page.split.approval{ grid-template-columns:380px 1fr; gap:48px; }
.skills-split{ padding-top:0; }
@media (max-width:600px){ .split.approval.skills-split, #automations-page.split.approval{ grid-template-columns:1fr; } }
.ask-split + .tiles{ margin-top:32px; }
.tile .k + p{ margin-top:0; }
@media (max-width:600px){ .ask-split{ grid-template-columns:1fr; } }
.split.approval{ grid-template-columns:1fr 520px; gap:80px; }
.split.approval .shot{ order:2; }
@media (max-width:600px){ .split.approval{ grid-template-columns:1fr; gap:32px; } }
.prose-band{ max-width:880px; }
.prose-band h2{ font-size:36px; line-height:44px; font-weight:300; margin-top:16px; text-wrap:balance; font-variation-settings:"wdth" 100,"opsz" 36; }
.prose-band p{ font-size:18px; line-height:28px; color:var(--smoke); margin-top:20px; max-width:680px; font-variation-settings:"wdth" 100,"opsz" 18; }
.prose-band p + p{ margin-top:16px; }

.nav li, .nav .in{ white-space:nowrap; }
@media (min-width:601px) and (max-width:960px){ .nav{ gap:16px; } .nav ul{ gap:18px; } .nav .in{ display:none; } }
@media (min-width:601px) and (max-width:1024px){
  footer .r1{ flex-direction:column; } footer .cols{ grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; }
  .split, .split.approval, .split.approval.skills-split, #automations-page.split.approval, .ask-split{ grid-template-columns:1fr; }
  .steps, .flow{ grid-template-columns:1fr; } .flow .arrow{ height:40px; } .flow .arrow svg{ transform:rotate(90deg); }
  .tiles.four, .trust .grid4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px){
  .sub-hero{ padding:56px 0 48px; }
  .sub-hero .tex{ width:800px; }
  .sub-hero .h-xl{ font-size:36px; line-height:44px; letter-spacing:0; font-variation-settings:"wdth" 100,"opsz" 36,"ROND" 0; }
  .sub-hero .ctas{ flex-direction:column; align-items:stretch; }
  .sub-hero .ctas .btn{ justify-content:center; height:48px; }
  .sec{ padding-top:96px; }
  .sec .head{ flex-direction:column; align-items:flex-start; gap:12px; }
  .steps, .cols2, .people, .tiles, .tiles.four{ grid-template-columns:1fr; }
  .step{ min-height:0; padding:20px; } .step h3{ padding-top:32px; } .step .ticks{ margin-top:0; }
  .rows .r{ grid-template-columns:1fr; gap:8px; padding:20px 0; }
  .timeline{ grid-template-columns:1fr; gap:24px; }
  .flow{ grid-template-columns:1fr; }
  .flow .arrow{ height:40px; } .flow .arrow svg{ transform:rotate(90deg); }
  .panel, .flow .box, .person{ padding:20px; }
  .prose-band h2{ font-size:28px; line-height:36px; }
  .faq summary{ font-size:18px; line-height:24px; padding:20px 0; }
}

/* ===== Motion: opt-in only (html.qa is set when reduced motion is off) ===== */
@keyframes qRise{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:none; } }
@keyframes qDraw{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.qa .sub-hero .in > *{ animation:qRise .9s cubic-bezier(.215,.61,.355,1) both; }
.qa .sub-hero .in > :nth-child(2){ animation-delay:.12s; } .qa .sub-hero .in > :nth-child(3){ animation-delay:.3s; } .qa .sub-hero .in > :nth-child(4){ animation-delay:.45s; }
.qa .sub-hero .h-xl u{ background:none; position:relative; }
.qa .sub-hero .h-xl u::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1.5px; background:var(--gold); transform-origin:0 50%; animation:qDraw .9s cubic-bezier(.65,0,.35,1) .9s both; }
.qa .rv:not(.is-in){ opacity:0; transform:translateY(16px); }
.qa .rv{ transition-property:opacity, transform; transition-duration:.7s; transition-timing-function:cubic-bezier(.215,.61,.355,1); transition-delay:var(--d,0ms); }
.qa .btn{ transition-property:transform; transition-duration:.1s; }
.qa .btn:active{ transform:scale(.96); }
.qa .nav{ position:relative; }
.qa .nav::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .35s ease; box-shadow:0 18px 40px -18px rgba(11,51,38,.28); }
[data-theme="dark"].qa .nav::after{ box-shadow:0 18px 40px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(159,217,180,.08); }
.qa .nav.is-scrolled::after{ opacity:1; }
