/* ============================================================
   COHESIVITY — design system (monochrome)
   basement playbook structure, zero accent hue.
   Pure-black canvas · Geist + Mono · 0px radius ·
   hairlines & brackets · 60ms actionable · grain texture.
   White is the only emphasis. Edit a token, every page follows.
   ============================================================ */

:root {
  /* grayscale ramp — the entire palette */
  --w0: #FFFFFF;   /* peak emphasis: CTA fill, focus, hover apex */
  --w1: #EDEDED;   /* primary text, hairlines (emphasized) */
  --w2: #B4B4B4;   /* body / secondary */
  --g1: #6E6E6E;   /* muted — labels, kickers, captions */
  --g2: #262626;   /* borders, dividers */
  --k:  #000000;   /* the canvas */

  /* working surfaces (near-blacks) */
  --s1: #0A0A0A;   /* code blocks, raised panels */
  --s2: #121212;   /* cards off canvas */
  --s3: #181818;   /* inputs */
  --s4: #1F1F1F;   /* cell hover */

  /* type */
  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 0px;

  /* layout */
  --max: 1200px;
  --frame-gutter: 24px;
  --header-h: 56px;
  --pad-x: 16px;
  --gutter: 12px;

  /* motion */
  --reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --hover: 60ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--k); color: var(--w1);
  font-family: var(--sans); font-size: 13px; line-height: 1.5; font-weight: 600;
  letter-spacing: 0; font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--w1); color: #000; }   /* branded selection — inverse */
a { color: inherit; text-decoration: none; }
svg { display: block; }
p { text-wrap: balance; }
.mono { font-family: var(--mono); }

/* type scale */
.f-h0 { font-size: clamp(54px, 9vw, 98px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 600; }
.f-h1 { font-size: clamp(42px, 7vw, 76px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 600; }
.f-h2 { font-size: clamp(30px, 4.2vw, 40px); line-height: 0.96; letter-spacing: -0.04em; font-weight: 600; }
.f-h3 { font-size: 22px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.f-p  { font-size: 13px; line-height: 16px; letter-spacing: 0; font-weight: 600; }
.f-blog { font-size: 16px; line-height: 1.6; font-weight: 500; }

/* mono kicker — leading rule in muted gray, label in muted gray */
.kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--g1);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--g1); display: inline-block; }
.kicker.center { justify-content: center; }

/* ============================================================
   GRID
   ============================================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--frame-gutter); width: 100%; }

/* ============================================================
   ACTIONABLE LINK — 60ms, animated underline, white glow
   ============================================================ */
.actionable {
  position: relative; display: inline-flex; align-items: center;
  line-height: 0.89; font-weight: 600; transition: none;
  color: color-mix(in srgb, currentColor 70%, transparent);
}
.actionable::before {
  content: ""; position: absolute; left: 0; bottom: -1px;
  height: max(0.06em, 1px); width: 100%; background: currentColor;
  opacity: 0; transition: opacity var(--hover) linear;
}
.actionable:hover, .actionable[aria-current="page"] {
  color: var(--w1); transition: color var(--hover) linear;
  text-shadow: 0 0 24px color-mix(in srgb, var(--w0) 60%, transparent);
}
.actionable:hover::before, .actionable[aria-current="page"]::before { opacity: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 0;
  font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: none;
}
.btn-lg { height: 48px; padding: 0 24px; }
.btn-sm { height: 32px; padding: 0 12px; }
/* primary — solid white, black text; hover lifts to a faint white glow */
.btn-primary { background: var(--w1); color: #000; }
.btn-primary:hover { background: var(--w0); box-shadow: 0 0 28px rgba(255,255,255,0.18); transition: background var(--hover) linear, box-shadow var(--hover) linear; }
/* secondary — transparent + hairline; hover lifts border + faint wash */
.btn-secondary { background: transparent; color: var(--w1); border-color: var(--g2); }
.btn-secondary:hover { border-color: var(--w1); background: rgba(255,255,255,0.04); transition: border-color var(--hover) linear, background var(--hover) linear; }
.btn-ghost { background: transparent; color: var(--g1); }
.btn-ghost:hover { color: var(--w1); transition: color var(--hover) linear; }
.btn .arr { transition: transform var(--hover) linear; }
.btn:hover .arr { transform: translateX(2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g2);
}
.header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.header-left { display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: -0.02em; color: var(--w1); }
.logo svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--g1); }
.header-right { display: flex; align-items: center; gap: 12px; }
@media (max-width: 720px) { .nav { display: none; } .header-left { gap: 0; } }

/* ============================================================
   TEXTURE — grain + vignette dot grid + hatch (monochrome)
   ============================================================ */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.dotgrid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--g2) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 28%, transparent 74%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 28%, transparent 74%);
}
@keyframes drift { to { background-position: 80px 80px; } }
.hatch {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 9px);
  animation: drift 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hatch { animation: none; } }
/* white glow — single soft radial behind a hero/CTA (replaces the orange one) */
.glow { position: absolute; z-index: 0; pointer-events: none; width: 760px; height: 440px; left: 50%; top: 0; transform: translateX(-50%); background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.07), transparent 62%); filter: blur(24px); }

/* ============================================================
   GRID CANVAS + brackets + corner crosses
   ============================================================ */
.grid-canvas { position: relative; max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--g2); border-right: 1px solid var(--g2); }
.grid-canvas, .footer .grid-canvas, .bigfoot .grid-canvas { width: calc(100% - var(--frame-gutter) * 2); }
.gc-row { position: relative; border-bottom: 1px solid var(--g2); }
.gc-row:last-child { border-bottom: none; }
.gc-pad { padding: 0 40px; }
@media (max-width: 700px) { .gc-pad { padding: 0 20px; } }

.cross { position: absolute; width: 11px; height: 11px; z-index: 3; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--g1); }
.cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-0.5px); }
.cross::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-0.5px); }
.cross.tl { left: -6px; top: -6px; } .cross.tr { right: -6px; top: -6px; }
.cross.bl { left: -6px; bottom: -6px; } .cross.br { right: -6px; bottom: -6px; }

/* reusable inner cross at a cell's top-left */
.cell-x::before { content: ""; position: absolute; left: -5.5px; top: -5.5px; width: 11px; height: 11px; z-index: 3; pointer-events: none;
  background: linear-gradient(var(--g1),var(--g1)) center/1px 11px no-repeat, linear-gradient(var(--g1),var(--g1)) center/11px 1px no-repeat; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; text-align: center; padding: 120px 0 100px; overflow: hidden; }
.hero .kicker { margin-bottom: 28px; }
.hero h1 { position: relative; z-index: 2; }
.hero h1 .dim { color: var(--g1); }
.hero .lede { position: relative; z-index: 2; margin: 26px auto 0; max-width: 56ch; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--w2); }
.hero .actions { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.page-hero { position: relative; text-align: center; padding: 96px 0 76px; overflow: hidden; }
.page-hero .kicker { margin-bottom: 18px; }
.page-hero .lede { position: relative; z-index: 2; margin: 22px auto 0; max-width: 56ch; font-size: 17px; font-weight: 500; color: var(--w2); line-height: 1.5; }
.page-hero .actions { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ============================================================
   WHITE SQUARE BULLETS
   ============================================================ */
.sq { width: 4px; height: 4px; background: var(--w1); flex: none; display: inline-block; }

/* ============================================================
   FEATURE GRID — bracketed cells
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { position: relative; padding: 34px 32px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.feature:hover { background: rgba(255,255,255,0.015); }
.feature::before { content: ""; position: absolute; left: -5.5px; top: -5.5px; width: 11px; height: 11px; z-index: 3; background: linear-gradient(var(--g1),var(--g1)) center/1px 11px no-repeat, linear-gradient(var(--g1),var(--g1)) center/11px 1px no-repeat; }
.feature-grid .feature:nth-child(3n+1) { border-left: none; }
.feature .icon { width: 22px; height: 22px; color: var(--w1); margin-bottom: 18px; }
.feature h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--w1); margin-bottom: 9px; }
.feature p { font-size: 14px; font-weight: 500; color: var(--g1); line-height: 1.55; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } .feature:nth-child(3n+1) { border-left: none; } }

/* ============================================================
   STATEMENT / STEPS / QUOTE / CTA
   ============================================================ */
.statement { position: relative; padding: 96px 40px; text-align: center; overflow: hidden; }
.statement h2 { position: relative; z-index: 2; font-size: clamp(28px, 4.2vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; color: var(--w1); max-width: 880px; margin: 0 auto; }
.statement h2 .dim { color: var(--g1); }
@media (max-width: 700px) { .statement { padding: 72px 20px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 40px 32px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.step::before { content: ""; position: absolute; left: -5.5px; top: -5.5px; width: 11px; height: 11px; z-index: 3; background: linear-gradient(var(--g1),var(--g1)) center/1px 11px no-repeat, linear-gradient(var(--g1),var(--g1)) center/11px 1px no-repeat; }
.steps .step:nth-child(3n+1) { border-left: none; }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--w1); margin-bottom: 18px; letter-spacing: 0.1em; }
.step h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--w1); margin-bottom: 9px; }
.step p { font-size: 14px; font-weight: 500; color: var(--g1); line-height: 1.55; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } .step:nth-child(3n+1) { border-left: none; } }

.quote { padding: 88px 40px; text-align: center; }
.quote blockquote { font-size: clamp(20px, 3vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; color: var(--w1); max-width: 760px; margin: 0 auto; }
.quote .by { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--g1); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 700px) { .quote { padding: 64px 20px; } }

.cta-band { position: relative; padding: 96px 40px; text-align: center; overflow: hidden; }
.cta-band h2 { position: relative; z-index: 2; font-size: clamp(30px, 5vw, 56px); font-weight: 600; letter-spacing: -0.04em; color: var(--w1); line-height: 1.02; }
.cta-band p { position: relative; z-index: 2; margin: 18px auto 0; max-width: 50ch; color: var(--w2); font-size: 17px; font-weight: 500; }
.cta-band .actions { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-band { padding: 72px 20px; } }

/* ============================================================
   SERVICE LIST
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(4, 1fr); }
.service { padding: 16px 18px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); font-family: var(--mono); font-size: 13px; color: var(--g1); }
.service:hover { background: rgba(255,255,255,0.02); color: var(--w1); }
.services .service:nth-child(4n+1) { border-left: none; }
@media (max-width: 768px) { .services { grid-template-columns: repeat(2,1fr); } .service:nth-child(4n+1){border-left:1px solid var(--g2)} .service:nth-child(2n+1){border-left:none} }
@media (max-width: 460px) { .services { grid-template-columns: 1fr; } .service { border-left: none !important; } }

/* ============================================================
   PRICING — recommended = white top border + glow
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; padding: 36px 30px; border-left: 1px solid var(--g2); }
.plan:first-child { border-left: none; }
.plan.featured { background: var(--s1); }
.plan.featured::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--w1); box-shadow: 0 0 22px rgba(255,255,255,0.25); }
.plan .name { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g1); }
.plan .amount { margin-top: 16px; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; color: var(--w1); }
.plan .amount span { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--g1); letter-spacing: 0; }
.plan .desc { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--g1); min-height: 40px; line-height: 1.4; }
.plan .btn { width: 100%; margin-top: 24px; }
.plan ul { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 500; color: var(--w2); line-height: 1.4; }
.plan li .sq { margin-top: 6px; }
@media (max-width: 768px) { .pricing { grid-template-columns: 1fr; } .plan { border-left: none; border-top: 1px solid var(--g2); } .plan:first-child { border-top: none; } }

/* ============================================================
   CODE BLOCK
   ============================================================ */
.code-block { border: 1px solid var(--g2); background: var(--s1); overflow: hidden; text-align: left; }
.code-block .titlebar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--g2); font-family: var(--mono); font-size: 12px; color: var(--g1); }
.code-block .titlebar .fname { color: var(--w2); }
.code-block .titlebar .dot { width: 8px; height: 8px; background: var(--g2); }
.code-block pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--w1); overflow-x: auto; }
.code-block .cmt { color: var(--g1); }
.code-block .str { color: var(--w2); }
.code-block .cursor { display: inline-block; width: 7px; height: 14px; background: var(--w1); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   OFFERING DETAIL
   ============================================================ */
.offer-detail { position: relative; max-width: 760px; margin: 0 auto; padding: 84px 40px 44px; text-align: center; overflow: hidden; }
.offer-detail .kicker { justify-content: center; margin-bottom: 16px; }
.offer-detail h1 { position: relative; z-index: 2; }
.offer-detail p.sub { position: relative; z-index: 2; margin: 18px auto 0; max-width: 48ch; color: var(--w2); font-size: 18px; font-weight: 500; line-height: 1.5; }
.offer-detail .actions { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.offer-points { display: grid; grid-template-columns: repeat(3,1fr); }
.offer-point { position: relative; padding: 32px 28px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.offer-point::before { content: ""; position: absolute; left: -5.5px; top: -5.5px; width: 11px; height: 11px; z-index: 3; background: linear-gradient(var(--g1),var(--g1)) center/1px 11px no-repeat, linear-gradient(var(--g1),var(--g1)) center/11px 1px no-repeat; }
.offer-points .offer-point:nth-child(3n+1) { border-left: none; }
.offer-point .sq { margin-bottom: 16px; }
.offer-point p { font-size: 14px; font-weight: 500; color: var(--w2); line-height: 1.55; }
@media (max-width: 760px){ .offer-points{grid-template-columns:1fr} .offer-point:nth-child(3n+1){border-left:none} }

.other-strip { padding: 40px; }
.other-strip .lab { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--g1); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.other-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.other-grid a { font-family: var(--mono); font-size: 13px; color: var(--g1); border: 1px solid var(--g2); padding: 7px 13px; }
.other-grid a:hover { border-color: var(--w1); color: var(--w1); transition: border-color var(--hover) linear, color var(--hover) linear; }

/* ============================================================
   PROSE
   ============================================================ */
.prose { max-width: 640px; margin: 0 auto; padding: 64px 40px 88px; }
.prose p { color: var(--w2); font-size: 16px; font-weight: 500; margin-bottom: 16px; line-height: 1.6; }
.prose .code-block { margin: 20px 0; }
.prose a { color: var(--w1); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .prose { padding: 48px 20px 72px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--g2); }
.footer .grid-canvas { border-bottom: none; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px 40px; }
.footer-inner .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-inner .links a { font-family: var(--mono); font-size: 12px; color: var(--g1); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-inner .copy { font-family: var(--mono); font-size: 12px; color: var(--g1); }
@media (max-width: 700px) { .footer-inner { padding: 24px 20px; } }

/* ============================================================
   ENTRANCE
   ============================================================ */
.rv { opacity: 0; transform: translateY(24px); animation: reveal 0.4s var(--reveal) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0s; } .d2 { animation-delay: 0.07s; } .d3 { animation-delay: 0.14s; } .d4 { animation-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) { .rv { animation: none; opacity: 1; transform: none; } .cursor { animation: none; } }

/* ============================================================
   TOPOLOGY DIAGRAM (monochrome)
   ============================================================ */
.topo { padding: 64px 40px 72px; }
.topo .cap { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.topo svg { display: block; width: 100%; height: auto; max-width: 920px; margin: 0 auto; }
.topo svg text { font-family: var(--sans); }
.topo svg .mono { font-family: var(--mono); }
.topo svg .node-fill { fill: var(--s1); }
.topo svg .node-stroke { stroke: var(--g2); }
.topo svg .hub-fill { fill: var(--w1); }
.topo svg .line { stroke: var(--g1); }
.topo svg .line-faint { stroke: var(--g2); }
.topo svg .lbl { fill: var(--g1); }
.topo svg .lbl-dim { fill: var(--g1); }
.topo svg .svc { fill: var(--w2); }
@keyframes flow { to { stroke-dashoffset: -16; } }
.topo svg .flow { stroke-dasharray: 4 6; animation: flow 1.4s linear infinite; }
@media (prefers-reduced-motion: reduce) { .topo svg .flow { animation: none; } }
@media (max-width: 700px) { .topo { padding: 48px 20px 56px; } }

/* ============================================================
   COMPLETE-SITE ADDITIONS (monochrome)
   changelog timeline · blog list · FAQ · spec strip ·
   comparison · big-quote · logo marquee · sub-footer
   ============================================================ */

/* — spec / metrics strip (label/value, mono) — */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { position: relative; padding: 30px 28px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.spec:nth-child(4n+1) { border-left: none; }
.spec .v { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; color: var(--w1); line-height: 1; }
.spec .k { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g1); }
@media (max-width: 860px) { .spec-strip { grid-template-columns: repeat(2,1fr); } .spec:nth-child(4n+1){border-left:1px solid var(--g2)} .spec:nth-child(2n+1){border-left:none} }
@media (max-width: 460px) { .spec-strip { grid-template-columns: 1fr; } .spec { border-left: none !important; } }

/* — logo / tagline marquee (edge-faded) — */
.marquee { position: relative; overflow: hidden; padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee .item { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--g1); white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* — two-column "split" feature band (text beside visual) — */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 56px 40px; }
.split .copy h2 { font-size: clamp(24px,3.4vw,36px); font-weight: 600; letter-spacing: -0.035em; color: var(--w1); line-height: 1.08; }
.split .copy p { margin-top: 16px; color: var(--g1); font-size: 15px; font-weight: 500; line-height: 1.6; max-width: 44ch; }
.split .copy .kicker { margin-bottom: 20px; }
.split .visual { border-left: 1px solid var(--g2); position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .visual { border-left: none; border-top: 1px solid var(--g2); } }

/* mini terminal visual inside split */
.mini-term { width: 100%; max-width: 380px; border: 1px solid var(--g2); background: var(--s1); }
.mini-term .tb { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--g2); }
.mini-term .tb i { width: 7px; height: 7px; background: var(--g2); display: block; }
.mini-term pre { margin: 0; padding: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--w2); white-space: pre; overflow-x: auto; }
.mini-term .cmt { color: var(--g1); } .mini-term .ok { color: var(--w1); }

/* file-tree visual */
.filetree { font-family: var(--mono); font-size: 12.5px; line-height: 2; color: var(--g1); }
.filetree .f { color: var(--w2); } .filetree .on { color: var(--w1); }

/* — changelog timeline — */
.changelog { max-width: 820px; margin: 0 auto; padding: 64px 40px 88px; }
.cl-entry { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 36px 0; border-top: 1px solid var(--g2); }
.cl-entry:first-child { border-top: none; }
.cl-meta { font-family: var(--mono); font-size: 12px; color: var(--g1); }
.cl-meta .ver { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border: 1px solid var(--g2); color: var(--w1); letter-spacing: 0.04em; }
.cl-meta .date { display: block; letter-spacing: 0.04em; }
.cl-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--w1); margin-bottom: 10px; }
.cl-body p { color: var(--w2); font-size: 14px; font-weight: 500; line-height: 1.6; margin-bottom: 12px; }
.cl-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cl-body li { position: relative; padding-left: 18px; color: var(--w2); font-size: 14px; font-weight: 500; line-height: 1.5; }
.cl-body li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: var(--w1); }
.cl-body .tag { font-family: var(--mono); font-size: 11px; color: var(--g1); border: 1px solid var(--g2); padding: 2px 7px; margin-right: 6px; }
@media (max-width: 700px) { .changelog { padding: 48px 20px 72px; } .cl-entry { grid-template-columns: 1fr; gap: 14px; } }

/* — blog / lab list — */
.bloglist { max-width: 980px; margin: 0 auto; padding: 56px 40px 88px; }
.blog-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.blog-filter a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--g1); border: 1px solid var(--g2); padding: 7px 14px; }
.blog-filter a.on, .blog-filter a:hover { color: var(--w1); border-color: var(--w1); transition: color var(--hover) linear, border-color var(--hover) linear; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.post { position: relative; padding: 32px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.post:hover { background: rgba(255,255,255,0.015); }
.blog-grid .post:nth-child(2n+1) { border-left: none; }
.post .cat { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--g1); }
.post h3 { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -0.025em; color: var(--w1); line-height: 1.2; }
.post:hover h3 { text-shadow: 0 0 24px rgba(255,255,255,0.25); }
.post p { margin-top: 10px; color: var(--g1); font-size: 14px; font-weight: 500; line-height: 1.55; }
.post .meta { margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--g1); letter-spacing: 0.04em; }
@media (max-width: 720px) { .bloglist { padding: 44px 20px 72px; } .blog-grid { grid-template-columns: 1fr; } .post:nth-child(2n+1){border-left:1px solid var(--g2)} .post { border-left: none; } }

/* — FAQ (accordion-look, static open) — */
.faq { max-width: 760px; margin: 0 auto; padding: 8px 40px 16px; }
.faq-item { border-top: 1px solid var(--g2); padding: 26px 0; }
.faq-item:first-child { border-top: none; }
.faq-item h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--w1); margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.faq-item h3 .q { font-family: var(--mono); font-size: 12px; color: var(--g1); }
.faq-item p { color: var(--w2); font-size: 14px; font-weight: 500; line-height: 1.6; padding-left: 30px; }
@media (max-width: 700px) { .faq { padding: 8px 20px 16px; } .faq-item p { padding-left: 0; } }

/* — comparison (before / after) — */
.compare { display: grid; grid-template-columns: 1fr 1fr; }
.compare > div { padding: 44px 40px; }
.compare .before { border-right: 1px solid var(--g2); }
.compare h3 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 22px; }
.compare .before h3 { color: var(--g1); }
.compare .after h3 { color: var(--w1); }
.compare ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.compare .before li { color: var(--g1); }
.compare .before li::before { content: "—"; position: absolute; left: 0; color: var(--g1); }
.compare .after li { color: var(--w2); }
.compare .after li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: var(--w1); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare .before { border-right: none; border-bottom: 1px solid var(--g2); } }

/* — big pull quote band — */
.bigquote { position: relative; padding: 110px 40px; text-align: center; overflow: hidden; }
.bigquote blockquote { position: relative; z-index: 2; font-size: clamp(26px, 4vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.12; color: var(--w1); max-width: 920px; margin: 0 auto; }
.bigquote blockquote .dim { color: var(--g1); }
.bigquote .by { position: relative; z-index: 2; margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g1); }
@media (max-width: 700px) { .bigquote { padding: 80px 20px; } }

/* — use-case grid (what people build) — */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); }
.usecase { position: relative; padding: 30px 28px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.usecases .usecase:nth-child(3n+1) { border-left: none; }
.usecase .n { font-family: var(--mono); font-size: 11px; color: var(--g1); letter-spacing: 0.08em; }
.usecase h3 { margin-top: 12px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--w1); }
.usecase p { margin-top: 8px; font-size: 13.5px; font-weight: 500; color: var(--g1); line-height: 1.55; }
@media (max-width: 768px) { .usecases { grid-template-columns: 1fr; } .usecase:nth-child(3n+1){border-left:none} }

/* — section heading (centered, reusable) — */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto; padding: 0 20px; }
.sec-head .kicker { margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(26px,3.8vw,42px); font-weight: 600; letter-spacing: -0.04em; color: var(--w1); line-height: 1.05; }
.sec-head p { margin-top: 16px; color: var(--g1); font-size: 16px; font-weight: 500; line-height: 1.55; }
.sec-pad { padding: 88px 0 0; }

/* — rich footer (multi-column, spec-sheet) — */
.bigfoot { border-top: 1px solid var(--g2); }
.bigfoot .grid-canvas { border-bottom: none; }
.bigfoot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding: 56px 40px; }
.bigfoot-cols .brandcol .logo { margin-bottom: 16px; }
.bigfoot-cols .brandcol p { color: var(--g1); font-size: 13px; font-weight: 500; line-height: 1.6; max-width: 30ch; }
.bigfoot-cols .col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--g1); margin-bottom: 16px; }
.bigfoot-cols .col a { display: block; font-size: 13px; font-weight: 500; color: var(--w2); margin-bottom: 11px; }
.bigfoot-cols .col a:hover { color: var(--w1); transition: color var(--hover) linear; }
@media (max-width: 820px) { .bigfoot-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 44px 20px; } .bigfoot-cols .brandcol { grid-column: 1 / -1; } }

/* ============================================================
   MOTION — scroll reveals, hover micro-interactions, idle drift
   basement method: fast feedback, confident entrance, then still.
   ============================================================ */

/* scroll-triggered reveal: start hidden, .in adds when in view */
[data-reveal] { opacity: 0; transform: translateY(22px); will-change: transform, opacity;
  transition: opacity 0.7s var(--reveal), transform 0.7s var(--reveal); }
[data-reveal].in { opacity: 1; transform: none; }
/* stagger children */
[data-reveal-group] > * { opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--reveal), transform 0.6s var(--reveal); }
[data-reveal-group].in > * { opacity: 1; transform: none; }
[data-reveal-group].in > *:nth-child(1){transition-delay:.00s}
[data-reveal-group].in > *:nth-child(2){transition-delay:.06s}
[data-reveal-group].in > *:nth-child(3){transition-delay:.12s}
[data-reveal-group].in > *:nth-child(4){transition-delay:.18s}
[data-reveal-group].in > *:nth-child(5){transition-delay:.24s}
[data-reveal-group].in > *:nth-child(6){transition-delay:.30s}

/* hero headline: per-word rise on load */
.word { display: inline-block; opacity: 0; transform: translateY(0.5em); }
.word.in { opacity: 1; transform: none; transition: opacity .6s var(--reveal), transform .6s var(--reveal); }

/* feature/step/offer cells — lift + edge-glow on hover (60ms in, settle out) */
.feature, .step, .offer-point, .usecase, .post {
  transition: background .4s var(--reveal), transform .25s var(--reveal), box-shadow .4s var(--reveal);
}
.feature:hover, .usecase:hover, .post:hover {
  transform: translateY(-2px); background: rgba(255,255,255,0.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.feature .icon { transition: transform var(--hover) linear, color var(--hover) linear; }
.feature:hover .icon { transform: translateY(-1px) scale(1.04); }

/* service rows — slide the label slightly on hover */
.service { transition: background var(--hover) linear, color var(--hover) linear, padding-left .2s var(--reveal); }
.service:hover { padding-left: 24px; }

/* plan card — featured lifts; all cards get a hairline sweep on hover */
.plan { transition: background .4s var(--reveal), transform .3s var(--reveal); }
.plan:hover { transform: translateY(-3px); }

/* button press depth + sheen already handled; add active depth */
.btn:active { transform: translateY(1px) scale(0.99); }

/* magnetic primary buttons get a subtle inner highlight */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .6s var(--reveal); }

/* topology connectors: draw-in on reveal, then keep the flow dash */
.topo svg .flow { opacity: 0; transition: opacity .6s ease; }
.topo.in svg .flow { opacity: 1; }
.topo svg .node-fill, .topo svg .hub-fill { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.9); }
.topo.in svg g { animation: nodepop .5s var(--reveal) forwards; }
@keyframes nodepop { to { } }
.topo.in svg .node-fill, .topo.in svg .hub-fill { opacity: 1; transform: none; transition: opacity .5s var(--reveal), transform .5s var(--reveal); }

/* number counters tick up — handled in JS; ensure stable layout */
.spec .v[data-count] { font-variant-numeric: tabular-nums; }

/* marquee pauses on hover */
.marquee:hover .track { animation-play-state: paused; }

/* nav link active indicator already via .actionable; add header shadow on scroll */
.header { transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.header.scrolled { background: rgba(0,0,0,0.85); box-shadow: 0 1px 0 var(--g2), 0 8px 30px rgba(0,0,0,0.5); }

/* cursor-follow glow on hero (driven by JS via --mx/--my) */
.hero .glow, .cta-band .glow, .bigquote .glow { transition: opacity .4s ease; }

/* scroll progress bar at very top */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--w1); z-index: 200; box-shadow: 0 0 12px rgba(255,255,255,0.5); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > *, .word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .feature:hover, .usecase:hover, .post:hover, .plan:hover { transform: none; }
  .btn-primary::after { display: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   OFFERING DETAIL — redesigned, substantial
   ============================================================ */
/* two-column hero: copy left, service glyph/visual right */
.od-hero { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden; }
.od-hero .od-copy { padding: 84px 48px 84px 40px; display: flex; flex-direction: column; justify-content: center; }
.od-hero .od-copy .kicker { margin-bottom: 20px; }
.od-hero .od-copy h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 600; color: var(--w1); }
.od-hero .od-copy .sub { margin-top: 20px; max-width: 42ch; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--w2); }
.od-hero .od-copy .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.od-hero .od-art { position: relative; border-left: 1px solid var(--g2); min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.od-hero .od-art .dotgrid { z-index: 0; }
.od-hero .od-art .glyph-wrap { position: relative; z-index: 2; width: 100%; max-width: 360px; padding: 32px; }
@media (max-width: 880px) {
  .od-hero { grid-template-columns: 1fr; }
  .od-hero .od-copy { padding: 72px 24px 40px; text-align: center; align-items: center; }
  .od-hero .od-copy .actions { justify-content: center; }
  .od-hero .od-art { border-left: none; border-top: 1px solid var(--g2); min-height: 300px; }
}

/* "what it does" — alternating label/value rows (spec-sheet) */
.od-what { padding: 80px 40px; }
.od-what .od-head { max-width: 560px; margin-bottom: 44px; }
.od-what .od-head .kicker { margin-bottom: 16px; }
.od-what .od-head h2 { font-size: clamp(26px,3.4vw,38px); font-weight: 600; letter-spacing: -0.035em; color: var(--w1); line-height: 1.06; }
.od-rows { border-top: 1px solid var(--g2); }
.od-row { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--g2); align-items: start; }
.od-row .od-n { font-family: var(--mono); font-size: 12px; color: var(--g1); padding-top: 3px; letter-spacing: 0.04em; }
.od-row .od-txt { font-size: clamp(16px,2.1vw,21px); font-weight: 500; line-height: 1.4; color: var(--w1); max-width: 52ch; }
@media (max-width: 700px) { .od-what { padding: 64px 24px; } .od-row { grid-template-columns: 1fr; gap: 8px; } }

/* "how your agent uses it" — 3-step flow with connector */
.od-flow { padding: 80px 40px; position: relative; }
.od-flow .od-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.od-flow .od-head .kicker { margin-bottom: 16px; }
.od-flow .od-head h2 { font-size: clamp(26px,3.4vw,38px); font-weight: 600; letter-spacing: -0.035em; color: var(--w1); }
.od-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--g2); border: 1px solid var(--g2); }
.od-step { background: var(--k); padding: 32px 28px; position: relative; }
.od-step .s-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--g2); font-family: var(--mono); font-size: 12px; color: var(--w1); margin-bottom: 18px; }
.od-step h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--w1); margin-bottom: 8px; }
.od-step p { font-size: 14px; font-weight: 500; color: var(--g1); line-height: 1.55; }
@media (max-width: 760px) { .od-flow { padding: 64px 24px; } .od-steps { grid-template-columns: 1fr; } }

/* mono code peek (server-side example, for credibility — kept minimal) */
.od-peek { padding: 0 40px 80px; }
.od-peek .pk { max-width: 720px; margin: 0 auto; }
@media (max-width: 700px) { .od-peek { padding: 0 24px 64px; } }

/* related services — proper cards, not just tags */
.od-related { padding: 72px 40px; }
.od-related .od-head { text-align: center; margin-bottom: 40px; }
.od-related .od-head .kicker { margin-bottom: 14px; }
.od-related .od-head h2 { font-size: clamp(22px,3vw,32px); font-weight: 600; letter-spacing: -0.03em; color: var(--w1); }
.rel-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.rel-card { position: relative; padding: 22px 20px; border-right: 1px solid var(--g2); border-bottom: 1px solid var(--g2); transition: background var(--hover) linear; }
.rel-card:hover { background: rgba(255,255,255,0.025); }
.rel-card .rc-name { font-family: var(--mono); font-size: 13px; color: var(--w1); }
.rel-card .rc-desc { margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--g1); line-height: 1.45; }
.rel-card .rc-arr { position: absolute; top: 18px; right: 16px; color: var(--g1); transition: transform var(--hover) linear, color var(--hover) linear; }
.rel-card:hover .rc-arr { transform: translate(2px,-2px); color: var(--w1); }
@media (max-width: 900px) { .rel-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .od-related { padding: 56px 24px; } .rel-grid { grid-template-columns: 1fr; } }

/* service glyph (per-offering line art) */
.svc-glyph { width: 100%; height: auto; }
.svc-glyph .gl-line { stroke: var(--g1); fill: none; stroke-width: 1.5; }
.svc-glyph .gl-strong { stroke: var(--w1); fill: none; stroke-width: 1.5; }
.svc-glyph .gl-fill { fill: var(--s1); stroke: var(--g2); stroke-width: 1; }
.svc-glyph .gl-dot { fill: var(--w1); }
.svc-glyph .gl-mono { font-family: var(--mono); fill: var(--g1); font-size: 11px; }

/* ============================================================
   COMPLETENESS PASS — docs shell, enterprise, customers,
   blog/changelog detail (monochrome)
   ============================================================ */

/* ---- three-column docs shell ---- */
.docs-shell { display: grid; grid-template-columns: 240px 1fr 200px; min-height: 70vh; }
.docs-nav { border-right: 1px solid var(--g2); padding: 40px 24px 60px; position: sticky; top: var(--header-h); align-self: start; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.docs-nav .grp { margin-bottom: 28px; }
.docs-nav .grp-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g1); margin-bottom: 12px; }
.docs-nav a { display: block; font-size: 13px; font-weight: 500; color: var(--g1); padding: 6px 0; transition: color var(--hover) linear, padding-left var(--hover) linear; }
.docs-nav a:hover { color: var(--w2); padding-left: 4px; }
.docs-nav a.active { color: var(--w1); }
.docs-nav a.active::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--w1); margin-right: 8px; vertical-align: middle; }
.docs-body { padding: 48px 56px 88px; min-width: 0; max-width: 760px; }
.docs-body .doc-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g1); }
.docs-body h1 { font-size: clamp(32px,4vw,46px); font-weight: 600; letter-spacing: -0.035em; color: var(--w1); margin: 14px 0 18px; line-height: 1.05; }
.docs-body .lede { font-size: 18px; font-weight: 500; color: var(--w2); line-height: 1.55; margin-bottom: 36px; }
.docs-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--w1); margin: 48px 0 14px; scroll-margin-top: 80px; }
.docs-body h3 { font-size: 17px; font-weight: 600; color: var(--w1); margin: 28px 0 10px; }
.docs-body p { font-size: 15px; font-weight: 500; color: var(--w2); line-height: 1.7; margin-bottom: 16px; }
.docs-body ul { list-style: none; margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.docs-body ul li { position: relative; padding-left: 18px; font-size: 15px; font-weight: 500; color: var(--w2); line-height: 1.6; }
.docs-body ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; background: var(--w1); }
.docs-body .callout { border: 1px solid var(--g2); background: var(--s1); padding: 16px 18px; margin: 22px 0; font-size: 14px; color: var(--w2); line-height: 1.6; display: flex; gap: 12px; }
.docs-body .callout .mk { font-family: var(--mono); font-size: 11px; color: var(--w1); border: 1px solid var(--g2); padding: 2px 7px; height: fit-content; letter-spacing: 0.06em; white-space: nowrap; }
.docs-body .code-block { margin: 22px 0; }
.docs-toc { border-left: 1px solid var(--g2); padding: 48px 20px; position: sticky; top: var(--header-h); align-self: start; }
.docs-toc .toc-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g1); margin-bottom: 14px; }
.docs-toc a { display: block; font-size: 12.5px; font-weight: 500; color: var(--g1); padding: 5px 0; line-height: 1.4; transition: color var(--hover) linear; }
.docs-toc a:hover { color: var(--w1); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--g2); border: 1px solid var(--g2); margin-top: 56px; }
.docs-pager a { background: var(--k); padding: 22px 24px; transition: background var(--hover) linear; }
.docs-pager a:hover { background: rgba(255,255,255,0.02); }
.docs-pager .dir { font-family: var(--mono); font-size: 11px; color: var(--g1); text-transform: uppercase; letter-spacing: 0.08em; }
.docs-pager .ttl { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--w1); }
.docs-pager .next { text-align: right; }
@media (max-width: 1080px) { .docs-shell { grid-template-columns: 220px 1fr; } .docs-toc { display: none; } }
@media (max-width: 820px) { .docs-shell { grid-template-columns: 1fr; } .docs-nav { display: none; } .docs-body { padding: 40px 24px 72px; } }

/* ---- enterprise / contact ---- */
.ent-hero { position: relative; text-align: center; padding: 100px 40px 72px; overflow: hidden; }
.ent-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--g2); }
.ent-left { padding: 64px 48px; border-right: 1px solid var(--g2); }
.ent-left h2 { font-size: clamp(24px,3vw,34px); font-weight: 600; letter-spacing: -0.03em; color: var(--w1); margin-bottom: 28px; line-height: 1.1; }
.ent-points { display: flex; flex-direction: column; gap: 24px; }
.ent-point { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.ent-point .ic { width: 24px; height: 24px; color: var(--w1); }
.ent-point h3 { font-size: 15px; font-weight: 600; color: var(--w1); margin-bottom: 5px; }
.ent-point p { font-size: 14px; font-weight: 500; color: var(--g1); line-height: 1.5; }
.ent-form { padding: 64px 48px; }
.ent-form .frow { margin-bottom: 18px; }
.ent-form label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g1); margin-bottom: 8px; }
.ent-form input, .ent-form select, .ent-form textarea { width: 100%; background: var(--s3); border: 1px solid var(--g2); color: var(--w1); font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 11px 12px; border-radius: 0; transition: border-color var(--hover) linear; }
.ent-form input:focus, .ent-form select:focus, .ent-form textarea:focus { outline: none; border-color: var(--w1); }
.ent-form input::placeholder, .ent-form textarea::placeholder { color: var(--g1); }
.ent-form textarea { resize: vertical; min-height: 96px; }
.ent-form .frow-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ent-form .btn { width: 100%; margin-top: 8px; }
.ent-form .fnote { margin-top: 14px; font-size: 12px; color: var(--g1); text-align: center; }
@media (max-width: 820px) { .ent-grid { grid-template-columns: 1fr; } .ent-left { border-right: none; border-bottom: 1px solid var(--g2); padding: 48px 24px; } .ent-form { padding: 48px 24px; } }

/* ---- customers / showcase ---- */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); }
.logo-cell { border-right: 1px solid var(--g2); border-bottom: 1px solid var(--g2); aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 15px; letter-spacing: 0.02em; color: var(--g1); transition: color var(--hover) linear, background var(--hover) linear; }
.logo-cell:hover { color: var(--w1); background: rgba(255,255,255,0.015); }
@media (max-width: 760px) { .logo-wall { grid-template-columns: repeat(2,1fr); } }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.testi { position: relative; padding: 34px 30px; border-top: 1px solid var(--g2); border-left: 1px solid var(--g2); display: flex; flex-direction: column; }
.testi-grid .testi:nth-child(3n+1) { border-left: none; }
.testi p { font-size: 15px; font-weight: 500; color: var(--w1); line-height: 1.55; flex: 1; }
.testi .who { margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--g1); letter-spacing: 0.04em; }
.testi .who b { color: var(--w2); font-weight: 600; display: block; margin-bottom: 2px; }
@media (max-width: 820px) { .testi-grid { grid-template-columns: 1fr; } .testi:nth-child(3n+1) { border-left: none; } }

.feat-story { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--g2); }
.feat-story .fs-copy { padding: 56px 48px; }
.feat-story .fs-copy .kicker { margin-bottom: 18px; }
.feat-story .fs-copy blockquote { font-size: clamp(22px,2.8vw,30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; color: var(--w1); }
.feat-story .fs-copy .src { margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--g1); }
.feat-story .fs-copy .src b { color: var(--w2); }
.feat-story .fs-stat { padding: 56px 48px; border-left: 1px solid var(--g2); display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.feat-story .fs-stat .big { font-size: clamp(40px,5vw,64px); font-weight: 600; letter-spacing: -0.04em; color: var(--w1); line-height: 0.95; }
.feat-story .fs-stat .lbl { margin-top: 8px; font-size: 13px; color: var(--g1); }
@media (max-width: 820px) { .feat-story { grid-template-columns: 1fr; } .feat-story .fs-stat { border-left: none; border-top: 1px solid var(--g2); padding: 40px 24px; } .feat-story .fs-copy { padding: 48px 24px; } }

/* ---- blog/changelog article (detail) ---- */
.article { max-width: 720px; margin: 0 auto; padding: 56px 40px 88px; }
.article .a-meta { font-family: var(--mono); font-size: 12px; color: var(--g1); letter-spacing: 0.04em; margin-bottom: 16px; }
.article .a-meta .cat { color: var(--w1); border: 1px solid var(--g2); padding: 3px 9px; margin-right: 12px; }
.article h1 { font-size: clamp(30px,4.2vw,52px); font-weight: 600; letter-spacing: -0.04em; color: var(--w1); line-height: 1.04; margin-bottom: 20px; }
.article .a-lede { font-size: 19px; font-weight: 500; color: var(--w2); line-height: 1.5; padding-bottom: 32px; border-bottom: 1px solid var(--g2); margin-bottom: 36px; }
.article p { font-size: 16px; font-weight: 500; color: var(--w2); line-height: 1.75; margin-bottom: 20px; }
.article h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--w1); margin: 40px 0 14px; }
.article ul { list-style: none; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.article ul li { position: relative; padding-left: 18px; font-size: 16px; font-weight: 500; color: var(--w2); line-height: 1.6; }
.article ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; background: var(--w1); }
.article .pull { font-size: clamp(20px,2.6vw,26px); font-weight: 600; letter-spacing: -0.02em; color: var(--w1); line-height: 1.3; padding: 24px 0 24px 24px; border-left: 2px solid var(--w1); margin: 32px 0; }
.article .a-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--g2); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
@media (max-width: 700px) { .article { padding: 44px 24px 72px; } }

/* breadcrumb */
.crumb { font-family: var(--mono); font-size: 12px; color: var(--g1); letter-spacing: 0.04em; padding: 20px 40px 0; max-width: var(--max); margin: 0 auto; width: 100%; }
.crumb a:hover { color: var(--w1); }
.crumb .sep { margin: 0 8px; opacity: 0.5; }
@media (max-width: 700px) { .crumb { padding: 16px 24px 0; } }

/* ============================================================
   FINAL TOUCHES — interactions, focus, flourishes, life
   ============================================================ */

/* accessible focus ring (keyboard only) */
:focus-visible { outline: 2px solid var(--w1); outline-offset: 3px; border-radius: 0; }
.btn:focus-visible, .actionable:focus-visible { outline-offset: 4px; }

/* ---- accordion FAQ (real) ---- */
.faq-item { cursor: pointer; }
.faq-item h3 { justify-content: space-between; }
.faq-item h3 .qwrap { display: flex; align-items: center; gap: 12px; }
.faq-item .chev { width: 16px; height: 16px; flex: none; position: relative; transition: transform .35s var(--reveal); color: var(--g1); }
.faq-item .chev::before, .faq-item .chev::after { content: ""; position: absolute; top: 50%; width: 9px; height: 1.5px; background: currentColor; transition: transform .35s var(--reveal), background .2s linear; }
.faq-item .chev::before { left: 0; transform: rotate(45deg); }
.faq-item .chev::after { right: 0; transform: rotate(-45deg); }
.faq-item.open .chev { transform: rotate(180deg); color: var(--w1); }
.faq-item .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--reveal); }
.faq-item .ans > div { overflow: hidden; }
.faq-item .ans p { padding-top: 12px; margin: 0; }
.faq-item.open .ans { grid-template-rows: 1fr; }
.faq-item:hover h3 { color: var(--w0); }

/* ---- copy button on code blocks ---- */
.code-block { position: relative; }
.code-block .copy-btn {
  position: absolute; top: 9px; right: 10px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--g1); background: var(--s3); border: 1px solid var(--g2);
  padding: 5px 9px; cursor: pointer; transition: color var(--hover) linear, border-color var(--hover) linear, background var(--hover) linear;
}
.code-block .copy-btn:hover { color: var(--w1); border-color: var(--g1); }
.code-block .copy-btn.copied { color: var(--w0); border-color: var(--w1); }
.code-block .copy-btn svg { width: 12px; height: 12px; }

/* ---- back to top ---- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 120;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--s1); border: 1px solid var(--g2); color: var(--w2);
  cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--reveal), transform .3s var(--reveal), border-color var(--hover) linear, color var(--hover) linear, background var(--hover) linear;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--w1); color: var(--w1); background: var(--s2); }
.to-top svg { width: 16px; height: 16px; }

/* ---- docs scroll-spy active state already styled via .active ---- */
.docs-toc a.active { color: var(--w1); }
.docs-toc a.active::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--w1); margin-right: 7px; vertical-align: middle; }

/* ---- section divider motif (ticked rule) ---- */
.divider { display: flex; align-items: center; gap: 0; padding: 0 40px; }
.divider .ln { flex: 1; height: 1px; background: var(--g2); }
.divider .tick { width: 1px; height: 7px; background: var(--g1); }
.divider .dot { width: 4px; height: 4px; background: var(--g1); margin: 0 8px; }

/* ---- animated logo mark (idle shimmer of the 4 squares) ---- */
@keyframes sq-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.logo svg .lz1 { animation: sq-pulse 3.2s ease-in-out infinite; }
.logo svg .lz2 { animation: sq-pulse 3.2s ease-in-out infinite .4s; }
.logo svg .lz3 { animation: sq-pulse 3.2s ease-in-out infinite .8s; }
.logo svg .lz4 { animation: sq-pulse 3.2s ease-in-out infinite 1.2s; }
.logo:hover svg .lz1, .logo:hover svg .lz2, .logo:hover svg .lz3, .logo:hover svg .lz4 { animation-play-state: paused; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .logo svg [class^="lz"] { animation: none; } }

/* ---- kicker leading rule: draw-in on reveal ---- */
.kicker::before { transform-origin: left; }
[data-reveal].in .kicker::before, .kicker.in::before { animation: rule-grow .5s var(--reveal); }
@keyframes rule-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- hero headline: subtle gradient sheen drift (very faint) ---- */
.hero h1 .word { background-clip: border-box; }

/* ---- card hover: corner-bracket flick (the bracket brightens) ---- */
.feature::before, .step::before, .offer-point::before, .usecase::before, .od-step::before {
  transition: background .25s var(--reveal), filter .25s var(--reveal);
}
.feature:hover::before, .usecase:hover::before {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}

/* ---- 404 ---- */
.nf { min-height: 64vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; position: relative; overflow: hidden; }
.nf .code { font-family: var(--mono); font-size: clamp(72px,16vw,180px); font-weight: 600; letter-spacing: -0.04em; color: var(--w1); line-height: 0.9; position: relative; z-index: 2; }
.nf .msg { margin-top: 18px; font-size: 18px; font-weight: 500; color: var(--w2); position: relative; z-index: 2; }
.nf .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; }

/* ---- magnetic/tilt helper (driven by JS via custom props) ---- */
.tilt { transition: transform .3s var(--reveal); transform-style: preserve-3d; }

/* ---- marquee item dot separator ---- */
.marquee .item::after { content: "·"; margin-left: 56px; color: var(--g2); }

/* ---- subtle link arrow nudge already present; add to actionable footer links nothing extra ---- */
