/* ══════════════════════════════════════════════════════════════════════════
   usebobcode.ai — theme
   Every value below is traceable to Master-App-Design-Experience-System.
     shell colours + type ..... design-system/00-master.dc.html  (body, header)
     card / disc / plate ...... design-system/design-system/00-master.design-system.dc.html
     chip spec ................ ibid. line 2002  (chipBase)
     families ................. runtime/design-tokens.js  FAM
     Blauer Nue ............... _ds/bobwork-ai-…/fonts/blauer-nue.css  (official OTFs)
   Do not invent a value here. Add it to the design system first, then copy it down.
   ══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

/* ── Blauer Nue — the real brand face, official files ── */
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Thin.otf')       format('opentype'); font-weight:100; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Extralight.otf') format('opentype'); font-weight:200; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Light.otf')      format('opentype'); font-weight:300; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Regular.otf')    format('opentype'); font-weight:400; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Medium.otf')     format('opentype'); font-weight:500; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Semibold.otf')   format('opentype'); font-weight:600; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Extrabold.otf')  format('opentype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Extrabold.otf')  format('opentype'); font-weight:800; font-display:swap; }
@font-face { font-family:'Blauer Nue'; src:url('/assets/fonts/BlauerNue-Heavy.otf')      format('opentype'); font-weight:900; font-display:swap; }

:root {
  /* shell — from 00-master.dc.html body { background:#F4F5F7; color:#101827 } */
  --page: #F4F5F7;
  --paper: #FFFFFF;
  --paper-2: #FAFBFD;
  --ink: #101827;
  --ink-2: #475569;
  --muted: #6B7280;
  --muted-2: #8A92A8;
  --line: #E7E9F4;
  --line-2: #EEF1F6;
  --line-3: #F0F1F7;

  /* brand palette — customer-facing surfaces (CONFLICTS.md X1, settled 2026-08-14) */
  --brand: #2F54FF;
  --brand-deep: #1B34C7;
  --brand-wash: #EDF0FF;
  --green: #0E9E76;  --green-wash: #E9F7F1;
  --purple: #7742E4; --purple-wash: #F1EBFC;
  --pink: #D6467B;   --pink-wash: #FBE7EF;
  --amber: #B87809;  --amber-wash: #FEF6EC; --amber-line: #F3D7AD;

  /* six action families — runtime/design-tokens.js FAM. Canvas grammar only. */
  --fam-comm: #12A150;  --fam-comm-tint: #E9F7EF;
  --fam-judge: #7A5AF8; --fam-judge-tint: #F2EFFE;
  --fam-wait: #8A94A6;  --fam-wait-tint: #F1F4F9;
  --fam-data: #2E6BE6;  --fam-data-tint: #E9F0FE;
  --fam-proc: #E0631A;  --fam-proc-tint: #FDF0E7;
  --fam-money: #0E7490; --fam-money-tint: #E6F4F7;

  --font: 'Blauer Nue', 'Noto Sans TC', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'Noto Sans TC', monospace;

  --r-card: 19px;         /* cardBase borderRadius */
  --r: 14px;
  --r-sm: 10px;
  --r-chip: 7px;          /* chipBase borderRadius */
  --r-pill: 999px;
  --sh-card: 0 1px 2px rgba(16,24,39,.04), 0 6px 18px -8px rgba(16,24,39,.16);
  --sh-lift: 0 2px 4px rgba(16,24,39,.05), 0 18px 40px -18px rgba(16,24,39,.22);
  --maxw: 1180px;
  --top: 56px;            /* --bwTop */
}

/* family helper — set data-fam="comm|judge|wait|data|proc|money" */
[data-fam="comm"]  { --fam: var(--fam-comm);  --fam-tint: var(--fam-comm-tint);  --fam-grad: linear-gradient(160deg,#2FBF71,#12A150); --fam-sh: 0 3px 8px -2px rgba(18,161,80,.42); }
[data-fam="judge"] { --fam: var(--fam-judge); --fam-tint: var(--fam-judge-tint); --fam-grad: linear-gradient(160deg,#8B6EF9,#6B45E8); --fam-sh: 0 3px 8px -2px rgba(122,90,248,.42); }
[data-fam="wait"]  { --fam: var(--fam-wait);  --fam-tint: var(--fam-wait-tint);  --fam-grad: linear-gradient(160deg,#98A2B3,#6B7789); --fam-sh: 0 3px 8px -2px rgba(107,119,137,.40); }
[data-fam="data"]  { --fam: var(--fam-data);  --fam-tint: var(--fam-data-tint);  --fam-grad: linear-gradient(160deg,#4C8DF6,#2E6BE6); --fam-sh: 0 3px 8px -2px rgba(46,107,230,.42); }
[data-fam="proc"]  { --fam: var(--fam-proc);  --fam-tint: var(--fam-proc-tint);  --fam-grad: linear-gradient(160deg,#F0803A,#E0631A); --fam-sh: 0 3px 8px -2px rgba(224,99,26,.40); }
[data-fam="money"] { --fam: var(--fam-money); --fam-tint: var(--fam-money-tint); --fam-grad: linear-gradient(160deg,#1898B4,#0E7490); --fam-sh: 0 3px 8px -2px rgba(14,116,144,.40); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 5.2vw, 58px); letter-spacing: -.045em; }
h2 { font-size: clamp(26px, 3.1vw, 38px); letter-spacing: -.04em; }
h3 { font-size: 21px; letter-spacing: -.03em; }
h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -.022em; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
::selection { background: var(--brand-wash); color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* eyebrow — uppercase mono, the shell's section label (「THIS WEEK · NEEDS YOU」) */
.eyebrow {
  display: block;
  font: 700 10.5px/1.25 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow.fam { color: var(--fam, var(--muted-2)); }

/* chip — chipBase, master.design-system.dc.html line 2002 */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 11.5px/1.35 var(--mono); letter-spacing: .04em;
  border-radius: var(--r-chip); padding: 3px 9px;
  border: 1px solid var(--line); background: #F4F7FA; color: var(--ink-2);
  white-space: nowrap;
}
.chip.on   { background: #EDF2FE; border-color: #C9DCFA; color: #1B4FAF; }
.chip.ok   { background: var(--green-wash); border-color: #BFE8D0; color: #0B5E33; }
.chip.warn { background: var(--amber-wash); border-color: var(--amber-line); color: #8A5418; }
.chip.fam  { background: var(--fam-tint); border-color: transparent; color: var(--fam); }
.chip .dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; flex: none; }

.lede { font-size: clamp(16.5px, 1.35vw, 18.5px); color: var(--ink-2); line-height: 1.65; }
.small { font-size: 14px; color: var(--muted); }
.mono { font-family: var(--mono); }
/* every number is mono — the shell's strongest signature */
.num { font-family: var(--mono); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
code {
  font: 500 .89em/1.5 var(--mono); background: var(--line-3);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink-2);
}

/* ═══ disc — the node grammar's icon atom.
   White 1.5-stroke glyph on a family-graded circle. The colour comes from the
   disc, never from the icon (assets/action-icons/ICON_SOURCE_MAP.md). ═══ */
.disc {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--fam-grad); color: #fff;
  display: grid; place-items: center; box-shadow: var(--fam-sh);
  position: relative;
}
.disc svg { width: 21px; height: 21px; }
.disc.sm { width: 26px; height: 26px; } .disc.sm svg { width: 15px; height: 15px; }
.disc.sm .badge { width: 13px; height: 13px; border-radius: 4px; left: -4px; bottom: -3px; }
.disc.sm .badge img { width: 8px; height: 8px; }
.disc.lg { width: 46px; height: 46px; } .disc.lg svg { width: 26px; height: 26px; }
/* plate — 52×52 r16 family tint holding the disc */
.plate { width: 52px; height: 52px; border-radius: 16px; background: var(--fam-tint); display: grid; place-items: center; flex: none; }

/* app badge — real brand file, bottom-left of the tile (CLAUDE.md rule 2 + 3) */
.badge {
  position: absolute; left: -5px; bottom: -4px;
  width: 17px; height: 17px; border-radius: 5px; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.badge img { width: 11px; height: 11px; object-fit: contain; display: block; }

/* ═══ brand marks — always the real file, never redrawn ═══ */
.mark { display: inline-block; vertical-align: middle; object-fit: contain; }
.mark-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mark-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 14px 7px 9px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.mark-chip img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.mark-tile {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 10px; text-align: center;
}
.mark-tile img { width: 26px; height: 26px; object-fit: contain; }
.mark-tile span { font: 500 12px/1.3 var(--font); color: var(--ink-2); }
/* quiet logo strip, like the customer rows on claude.com */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 34px; }
.logo-strip img { height: 22px; width: auto; object-fit: contain; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logo-strip img:hover { opacity: 1; filter: none; }

/* ═══ header — 56px, white, hairline (00-master.dc.html) ═══ */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 10px; height: var(--top); }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--ink); }
.brand img { height: 20px; width: auto; display: block; }
.brand b { font-size: 15.5px; font-weight: 900; letter-spacing: -.045em; }
.brand .sub { font: 700 8.5px/1 var(--mono); letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.nav-mid { display: flex; align-items: center; gap: 1px; flex: 1; margin-left: 16px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 5px;
  font: 500 14px/1 var(--font); color: var(--ink-2);
  background: none; border: 0; cursor: pointer; padding: 8px 10px; border-radius: 9px;
}
.nav-item > a:hover, .nav-item > button:hover { background: var(--line-3); color: var(--ink); }
.nav-item .chev { width: 11px; height: 11px; opacity: .45; }
.menu {
  position: absolute; top: calc(100% + 5px); left: 0; min-width: 216px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lift); padding: 6px; display: none;
}
.nav-item:hover .menu, .nav-item:focus-within .menu { display: block; }
.menu a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.menu a img { width: 15px; height: 15px; object-fit: contain; }
.menu a:hover { background: var(--line-3); color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; flex: none; }

/* ═══ buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14.5px/1 var(--font); padding: 11px 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(27,52,199,.28); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; box-shadow: 0 4px 14px -4px rgba(47,84,255,.55); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--line-3); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink-2); padding-inline: 10px; }
.btn-quiet:hover { background: var(--line-3); color: var(--ink); }
.btn-sm { padding: 8px 13px; font-size: 13.5px; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn img { width: 15px; height: 15px; object-fit: contain; flex: none; }

/* ═══ sections + panels ═══ */
section { padding: 68px 0; }
section.tight { padding: 44px 0; }
section.paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 30px; }
.sec-head .eyebrow { margin-bottom: 11px; }
.sec-head h2 { margin-bottom: 12px; }

/* panel — cardBase: white, r19, hairline, soft shadow */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.panel-pad { padding: 26px 28px; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line-2); }
.panel-head h3 { flex: none; }
.panel-head .note { font-size: 14px; color: var(--muted); }

/* row list — the App Home "Waiting on you" pattern */
.rows { display: block; }
.row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 24px; border-bottom: 1px solid var(--line-2);
}
.row:last-child { border-bottom: 0; }
.row .rt { flex: 1; min-width: 0; }
.row .rt b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.row .rt span { display: block; font-size: 13px; color: var(--muted); }
.row .rr { flex: none; font: 600 13.5px/1 var(--mono); color: var(--ink-2); }

/* stat tiles — flat tinted blocks, no border (App Home "Run health") */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { border-radius: var(--r); padding: 18px 20px; background: var(--line-3); }
.tile .v { font: 700 30px/1.05 var(--mono); letter-spacing: -.045em; color: var(--ink); }
.tile .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.tile.b { background: var(--brand-wash); } .tile.b .v { color: var(--brand); }
.tile.g { background: var(--green-wash); } .tile.g .v { color: var(--green); }
.tile.p { background: var(--purple-wash); } .tile.p .v { color: var(--purple); }
.tile.a { background: var(--amber-wash); } .tile.a .v { color: var(--amber); }
.tile.k { background: var(--pink-wash); }  .tile.k .v { color: var(--pink); }

/* ═══ hero ═══ */
.hero { padding: 60px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 44px; align-items: center; }
.hero h1 { margin: 16px 0 16px; }
.hero h1 .accent { color: var(--brand); }
.hero .lede { margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hero-note img { opacity: .55; }
.typed { font: 500 13.5px/1.5 var(--mono); color: var(--ink-2); margin-top: 14px; min-height: 20px; }
.typed .caret { display: inline-block; width: 7px; background: var(--brand); color: transparent; animation: blink 1.05s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ═══ product mockup — the canvas, rendered in its own grammar ═══ */
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--sh-lift); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DDE1EE; }
.mock-bar .t { margin-left: 8px; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.mock-bar .z { margin-left: auto; font: 600 10px/1 var(--mono); letter-spacing: .1em; color: var(--muted-2); }
.mock-body {
  padding: 18px 16px;
  background-color: #FBFBFD;
  background-image: radial-gradient(#DFE3EF 1px, transparent 1px);
  background-size: 18px 18px;
}
.lane { border-radius: var(--r); padding: 12px 11px 14px; align-self: start; }
.lane-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lane-head .n { width: 19px; height: 19px; border-radius: 6px; background: var(--fam-grad); color: #fff; display: grid; place-items: center; font: 700 10px/1 var(--mono); }
.lane-head b { font-size: 13px; font-weight: 700; letter-spacing: -.025em; color: var(--fam); }
/* node card — 348 wide at full size; scales down here */
.node {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 11px 9px 13px; box-shadow: 0 1px 2px rgba(16,24,39,.05);
  margin-bottom: 8px;
}
.node::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--fam); }
.node .app { position: absolute; top: -7px; left: 13px; font: 600 8.5px/1 var(--mono); letter-spacing: .05em; color: var(--muted-2); background: #FBFBFD; padding: 0 4px; }
.node .nb { flex: 1; min-width: 0; }
.node .ttl { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.node .who { display: block; font: 500 9.5px/1.4 var(--mono); color: var(--muted-2); margin-top: 2px; }
.connector { height: 12px; margin-left: 26px; border-left: 2px dotted #C9CEE0; }

/* ═══ benefit block ═══ */
.benefit { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr); }
.benefit .b-main { padding: 30px 32px; }
.benefit .b-side { padding: 30px 32px; border-left: 1px solid var(--line-2); background: var(--paper-2); }
.benefit h3 { font-size: clamp(22px, 2.2vw, 29px); letter-spacing: -.04em; margin: 12px 0 12px; }
.benefit p { color: var(--ink-2); }
.b-proof { background: var(--fam-tint); border-radius: var(--r); padding: 15px 17px; margin-bottom: 16px; }
.b-proof .v { font: 700 27px/1.05 var(--mono); letter-spacing: -.05em; color: var(--fam); }
.b-proof .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
ul.ticks { list-style: none; display: grid; gap: 9px; }
ul.ticks li { position: relative; padding-left: 23px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
ul.ticks li::before {
  content: ""; position: absolute; left: 1px; top: 6px; width: 12px; height: 8px;
  border-left: 2px solid var(--fam, var(--green)); border-bottom: 2px solid var(--fam, var(--green));
  transform: rotate(-45deg); border-radius: 1px;
}

/* ═══ grids ═══ */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 22px 24px; transition: transform .15s, box-shadow .15s; }
.card.lift:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.card h4 { margin-bottom: 7px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card .disc, .card .plate { margin-bottom: 14px; }

/* ═══ "same work, two ways" bars — the App Home comparison pattern ═══ */
.bars { display: grid; gap: 18px; }
.bar-row .bl { display: flex; align-items: baseline; gap: 10px; margin-bottom: 7px; flex-wrap: wrap; }
.bar-row .bl b { font-size: 15px; font-weight: 600; }
.bar-row .bl .v { font: 700 15px/1 var(--mono); letter-spacing: -.02em; }
.bar-row .bl .n { font-size: 13.5px; color: var(--muted); }
.bar-track { height: 10px; border-radius: 99px; background: var(--line-3); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; background: #C9CEE0; }
.bar-fill.brand { background: var(--brand); }
.conclusion { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.conclusion .big { font: 700 clamp(26px,3vw,34px)/1.05 var(--mono); letter-spacing: -.05em; color: var(--ink); }
.conclusion .rest { font-size: 15px; color: var(--ink-2); }

/* ═══ table ═══ */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th, .tbl td { text-align: left; padding: 14px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl thead th { font: 700 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); background: var(--paper-2); }
.tbl thead th.us { color: var(--brand); }
.tbl thead th .h { display: inline-flex; align-items: center; gap: 7px; }
.tbl thead th img { width: 15px; height: 15px; object-fit: contain; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.dim { color: var(--ink-2); font-weight: 500; width: 26%; }
.tbl td.us { background: var(--brand-wash); color: var(--ink); font-weight: 500; }
.tbl td.them { color: var(--muted); }
.tbl-scroll { overflow-x: auto; border-radius: var(--r-card); }

/* ═══ pricing ═══ */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 24px; position: relative; }
.plan.popular { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash), var(--sh-card); }
.plan .flag { position: absolute; top: -10px; left: 24px; }
.plan .pn { font-size: 15.5px; font-weight: 700; letter-spacing: -.03em; }
.plan .pp { font: 700 30px/1.05 var(--mono); letter-spacing: -.055em; margin: 12px 0 2px; color: var(--ink); }
.plan .pp.todo { font-size: 17px; letter-spacing: -.01em; color: var(--amber); }
.plan .pu { font: 500 12px/1.3 var(--mono); color: var(--muted); }
.plan .pi { font-size: 14px; color: var(--ink-2); margin: 14px 0; }
.plan .pb { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--fam-tint); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 16px; }
.plan ul.ticks { margin-bottom: 20px; } .plan ul.ticks li { font-size: 14px; }
.plan .btn { margin-top: auto; width: 100%; }

/* ═══ download ═══ */
.dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dl .card { display: flex; flex-direction: column; padding: 22px; }
.dl .os { display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; }
.dl .os .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--line-3); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.dl .os .ico img { width: 20px; height: 20px; object-fit: contain; }
.dl .os h4 { margin: 0; }
.dl .os .k { font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.dl .rows2 { border-top: 1px solid var(--line-2); margin-bottom: 14px; }
.dl .r2 { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.dl .r2 span:last-child { color: var(--muted); font: 500 12px/1.4 var(--mono); text-align: right; }
.dl .sha { font: 400 11px/1.4 var(--mono); color: var(--muted-2); margin-top: 9px; word-break: break-all; }

/* ═══ terminal ═══ */
.term { background: #0E1120; border: 1px solid #1E2138; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-lift); }
.term .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #151830; border-bottom: 1px solid #1E2138; }
.term .bar i { width: 9px; height: 9px; border-radius: 50%; background: #333857; }
.term .bar .t { margin-left: 8px; font: 500 11.5px/1 var(--mono); color: #7E87B0; flex: 1; }
.term .copy { background: #232748; border: 0; color: #A9B2DA; font: 500 11px/1 var(--mono); padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.term .copy:hover { background: #2E3360; color: #fff; }
.term pre { padding: 17px; font: 400 13px/1.75 var(--mono); color: #D4D9F2; overflow-x: auto; }
.term pre .c { color: #666E9B; }

/* ═══ steps ═══ */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.step { background: var(--paper); padding: 17px 22px; display: grid; grid-template-columns: 38px 1fr; gap: 15px; align-items: start; }
.step .n { width: 28px; height: 28px; border-radius: 9px; background: var(--fam-tint, var(--brand-wash)); color: var(--fam, var(--brand)); display: grid; place-items: center; font: 700 11px/1 var(--mono); }
.step h4 { margin-bottom: 3px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ═══ FAQ ═══ */
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 46px 18px 24px; font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 24px; width: 8px; height: 8px; border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2); transform: rotate(45deg); transition: transform .18s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 46px 20px 24px; color: var(--ink-2); font-size: 15px; }

/* ═══ CTA band ═══ */
.band { background: var(--ink); border-radius: var(--r-card); padding: 44px 40px; text-align: center; }
.band h2 { color: #fff; margin-bottom: 10px; }
.band p { color: #98A0BC; max-width: 560px; margin: 0 auto 22px; font-size: 16px; }
.band .btn-ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.18); }
.band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ═══ needs-input flag ═══ */
.needs {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--amber-wash); border: 1px solid var(--amber-line);
  border-radius: var(--r); padding: 13px 16px; font-size: 14px; color: #8A5418; margin: 18px 0;
}
.needs b { font: 700 10px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; flex: none; }

/* ═══ footer ═══ */
footer.site { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 8px; }
.fgrid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 28px; }
.fgrid h5 { font: 700 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.fgrid a { display: block; font-size: 14px; color: var(--ink-2); padding: 5px 0; }
.fgrid a:hover { color: var(--brand); }
.fbrand p { font-size: 13.5px; color: var(--muted); margin-top: 10px; max-width: 250px; }
.fsocial { display: flex; gap: 8px; margin-top: 14px; }
.fsocial a { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; padding: 0; }
.fsocial a:hover { background: var(--line-3); }
.fsocial svg { width: 14px; height: 14px; fill: var(--muted); }
.fsocial img { width: 14px; height: 14px; object-fit: contain; }
.fbot { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ═══ reveal (JS-gated so it degrades to visible) ═══ */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ═══ responsive ═══ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .plans, .dl, .g4 { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(4, 1fr); }
  .fgrid { grid-template-columns: repeat(3, 1fr); }
  .benefit { grid-template-columns: 1fr; }
  .benefit .b-side { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 720px) {
  .nav-mid { display: none; }
  section { padding: 46px 0; }
  .g3, .g2, .plans, .dl, .g4, .tiles { grid-template-columns: 1fr; }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 34px 22px; }
  .benefit .b-main, .benefit .b-side { padding: 24px 22px; }
  .logo-strip { gap: 24px; }
}

/* ═══ download: per-architecture build rows ═══ */
.dl .dlc { padding: 20px; }
.builds { display: grid; gap: 6px; margin: 4px 0 10px; }
.build {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--line-3); border: 1px solid transparent;
}
.build .bt { flex: 1; min-width: 0; }
.build .bt b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.018em; }
.build .bt span { display: block; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
.build .bs { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); flex: none; }
.build.live { background: var(--brand-wash); border-color: #C9DCFA; color: var(--ink); }
.build.live:hover { background: #E2E8FF; }
.build.live .bd {
  flex: none; font: 600 12.5px/1 var(--font); color: #fff; background: var(--brand);
  padding: 8px 13px; border-radius: 8px;
}
.build.live:hover .bd { background: var(--brand-deep); }
.dl .sha { display: flex; gap: 8px; align-items: baseline; }
.dl .sha span { font-weight: 700; letter-spacing: .1em; color: var(--muted); flex: none; }

/* ═══ announcement bar — Manus keeps one thin line above the fold ═══ */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); text-align: center;
}
.announce b { color: var(--brand); font-weight: 600; white-space: nowrap; }
.announce:hover { background: var(--line-3); color: var(--ink-2); }

/* ═══ centred prompt hero ═══ */
.hero-c { padding: 76px 0 60px; }
.hero-c-in { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-c h1 { margin: 16px 0 18px; font-size: clamp(38px, 5.4vw, 62px); }
.hero-c .lede { max-width: 620px; margin: 0 auto 34px; }

/* the ask box */
.ask {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--sh-lift); padding: 6px 6px 6px; text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.ask:focus-within { border-color: #C9DCFA; box-shadow: 0 0 0 4px var(--brand-wash), var(--sh-lift); }
.ask textarea {
  display: block; width: 100%; border: 0; outline: 0; resize: none;
  background: transparent; color: var(--ink);
  font: 400 17px/1.5 var(--font); padding: 16px 16px 8px;
  min-height: 62px; max-height: 200px;
}
.ask textarea::placeholder { color: var(--muted-2); }
.ask-bar { display: flex; align-items: center; gap: 12px; padding: 6px 8px 8px 10px; }
.ask-plus {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: 17px; line-height: 1; flex: none;
}
.ask-hint { flex: 1; min-width: 0; font-size: 12.5px; color: var(--muted-2); line-height: 1.35; }

/* suggestion pills */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 20px; }
.pills .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 16px 9px 11px; cursor: pointer;
  font: 500 14px/1 var(--font); color: var(--ink);
  transition: background .15s, border-color .15s, transform .12s;
}
.pills .pill:hover { background: var(--line-3); border-color: #D8DCEC; }
.pills .pill:active { transform: translateY(1px); }
.pills .pill img { width: 17px; height: 17px; object-fit: contain; flex: none; }

@media (max-width: 720px) {
  .hero-c { padding: 44px 0 40px; }
  .ask textarea { font-size: 16px; padding: 14px 12px 6px; }
  .ask-bar { flex-wrap: wrap; }
  .ask-hint { order: 3; flex-basis: 100%; }
  .announce { font-size: 12.5px; gap: 7px; }
}

/* a terminal block for something not shipped yet reads as a preview, not an instruction */
.term.soon pre { opacity: .55; }
.term .chip.warn { margin-left: auto; }
