/* ===== NathTech: "control room / blueprint" design, v2 ===== */
:root {
  /* Dark (control room) */
  --ink: #0B0F14;
  --ink-raise: #121821;
  --ink-line: #1E2733;
  --ink-text: #E6EAEE;
  --ink-muted: #95A1AE;
  --ink-deep: #05070A;

  /* Light (blueprint paper) */
  --bg: #F3F4F1;
  --surface: #FFFFFF;
  --line: #E3E6E8;
  --line-strong: #7A838B;
  --text: #0E1116;
  --muted: #525B67;
  --soft: #5F6873;

  /* Signals */
  --amber: #FFB224;
  --amber-hover: #FFC24D;
  --amber-ink: #8A5300;
  --cyan: #3DD6F5;
  --cyan-ink: #0A6278;
  --green: #3FE09A;
  --green-ink: #0B6B43;

  --radius: 12px;
  --radius-sm: 8px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --nav-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.8rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.label { font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 200; font-weight: 600; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; box-shadow: 0 0 0 5px var(--amber); border-radius: 6px; }
.dark :focus-visible, .nav :focus-visible { outline-color: var(--amber); box-shadow: 0 0 0 5px rgba(255,178,36,.25); }

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.led-amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,178,36,.18), 0 0 10px rgba(255,178,36,.6); }
.led-green { background: var(--green); box-shadow: 0 0 0 3px rgba(63,224,154,.18), 0 0 10px rgba(63,224,154,.55); }

/* ----- Dark sections: blueprint grid + drafting crosses + grain ----- */
.dark { background: var(--ink); color: var(--ink-text); }
.dark h1, .dark h2, .dark h3 { color: #F4F6F8; }
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112'%3E%3Cpath d='M56 51v10M51 56h10' stroke='%233DD6F5' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(61,214,245,.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61,214,245,.065) 1px, transparent 1px);
  background-size: 112px 112px, 28px 28px, 28px 28px;
  background-position: 0 calc(var(--sy, 0) * 1px), 0 calc(var(--sy, 0) * 1px), 0 calc(var(--sy, 0) * 1px);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 82%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Light sections with faint drafting grid */
.section-grid { position: relative; isolation: isolate; }
.section-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,15,20,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,15,20,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 22px; min-height: 48px; border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .2s ease, translate .25s var(--ease);
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 0 0 0 rgba(255,178,36,0); }
.btn-primary:hover { background: var(--amber-hover); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 8px 28px rgba(255,178,36,.3); }
.btn-primary .ico { transition: transform .2s ease; }
.btn-primary:hover .ico { transform: translateX(3px); }
.btn-ghost { color: var(--ink-text); border-color: #4A5868; background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--ink-muted); background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 16px; min-height: 40px; font-size: .93rem; }
.btn-block { width: 100%; }

/* ----- Nav ----- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background:
    radial-gradient(480px 130px at 6% 0%, rgba(255,178,36,.06), transparent 70%),
    radial-gradient(560px 150px at 92% 100%, rgba(61,214,245,.12), transparent 70%),
    linear-gradient(180deg, rgba(22,31,43,.97) 0%, rgba(11,15,20,.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 20px rgba(0,0,0,.18);
  color: var(--ink-text);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background-color: var(--ink); }
}
.nav:has(.mobile-menu:not([hidden])) { background-color: var(--ink); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem var(--font-head); color: #F4F6F8; text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: #A7B1BC; text-decoration: none; font-weight: 500; font-size: .94rem; padding: 8px 12px; border-radius: 6px; transition: color .15s, background .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--amber); border-radius: 2px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink-text); border-radius: 2px; transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, rgba(61,214,245,.22) 20%, rgba(255,178,36,.22) 80%, transparent); }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--amber)); transform-origin: left; transform: scaleX(0); }
.mobile-menu { background: var(--ink); display: flex; flex-direction: column; gap: 2px; padding: 8px 24px 20px; border-top: 1px solid var(--ink-line); animation: menuIn .2s ease; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; color: var(--ink-text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--ink-line); }
.mobile-menu .btn { margin-top: 14px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }

/* ----- Hero ----- */
.hero { padding: 92px 0 112px; overflow: hidden; }
.worklight {
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; border-radius: 50%;
  left: calc(var(--lx, 72%) - 450px); top: calc(var(--ly, 45%) - 450px);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,178,36,.10) 0%, transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(61,214,245,.12) 0%, transparent 62%);
  transition: left .6s var(--ease), top .6s var(--ease);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-muted); border: 1px solid var(--ink-line); background: rgba(18,24,33,.7); padding: 8px 14px; border-radius: 6px; margin-bottom: 28px; }
.strike { position: relative; white-space: nowrap; color: var(--ink-muted); }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em;
  background: var(--amber); box-shadow: 0 0 14px rgba(255,178,36,.7); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; animation: strike .8s .5s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes strike { to { transform: scaleX(1); } }
.lead { font-size: 1.2rem; line-height: 1.55; color: #A9B4C0; max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero-offer { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-muted); }
.hero-offer li::before { content: "✓"; color: var(--green); margin-right: 8px; }

.hero-visual { perspective: 1400px; }
.telemetry { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--ink-muted); font-size: .72rem; }
.telemetry #syncT { color: var(--ink-text); font-variant-numeric: tabular-nums; }

/* Flow diagram */
.flow { width: 100%; height: auto; margin-bottom: -2px; overflow: visible; }
.flow-nodes rect { fill: var(--ink-raise); stroke: #2A3544; }
.flow-nodes text { fill: #B7C1CC; font: 600 12px var(--font-mono); letter-spacing: .04em; text-anchor: middle; }
.flow-lines path { fill: none; stroke: #2A3544; stroke-width: 1.5; }
.flow-pulses path { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 95; stroke-dashoffset: 100; animation: pulse 2.4s linear infinite; }
.flow-pulses path:nth-child(2) { animation-delay: .8s; }
.flow-pulses path:nth-child(3) { animation-delay: 1.6s; }
@keyframes pulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.paused .flow-pulses path, .paused .led { animation-play-state: paused; }

/* HMI panel with gradient border + slight tilt */
.panel {
  position: relative; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, #151D28, var(--ink-raise)) padding-box,
              linear-gradient(160deg, rgba(61,214,245,.55), rgba(42,53,68,.9) 35%, rgba(42,53,68,.9) 70%, rgba(255,178,36,.45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
  transform: rotateY(-5deg) rotateX(2deg); transform-origin: 60% 50%;
  transition: transform .6s var(--ease);
}
.panel:hover { transform: none; }
.panel::before, .panel::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--cyan); border-style: solid; opacity: .8; }
.panel::before { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.panel::after { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.panel-title { display: inline-flex; align-items: center; gap: 10px; font: 600 1.02rem var(--font-head); color: #F4F6F8; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: none; border: 0; cursor: pointer; font: 500 .76rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 6px 2px; }
.toggle-track { width: 46px; height: 26px; border-radius: 999px; background: #2A3544; border: 1px solid #3A4757; position: relative; transition: background .25s, border-color .25s; }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #E6EAEE; transition: transform .25s var(--ease), background .25s; }
.toggle[aria-pressed="true"] .toggle-track { background: var(--green); border-color: var(--green); }
.toggle[aria-pressed="true"] .toggle-thumb { transform: translateX(20px); background: var(--ink); }
.toggle[aria-pressed="true"] .on, .toggle[aria-pressed="false"] .off { color: #F4F6F8; }
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks li { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px dashed #263140; font-size: .95rem; color: #CBD3DB; transition: color .3s; }
.tasks .check { flex: none; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #3A4757; position: relative; transition: background-color .3s, border-color .3s; }
.tasks .t { flex: 1; }
.tasks .h { font: 500 .92rem var(--font-mono); color: var(--amber); white-space: nowrap; transition: color .3s; }
.tasks li.done { color: var(--ink-muted); }
.tasks li.done .t { text-decoration: line-through; text-decoration-color: rgba(63,224,154,.7); text-decoration-thickness: 1.5px; }
.tasks li.done .check { background: var(--green); border-color: var(--green); }
.tasks li.done .check::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tasks li.done .h { color: var(--green); }
.tasks .h .was { text-decoration: line-through; color: var(--ink-muted); margin-right: 8px; }
.panel-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; color: var(--ink-muted); }
.panel-foot strong { font: 700 1.9rem var(--font-head); color: #F4F6F8; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.panel-note { margin: 10px 0 0; font-size: .85rem; color: var(--ink-muted); }

/* ----- Sections ----- */
.section { padding: 112px 0; }
.section-white { background: var(--surface); }
.section-process { padding-bottom: 88px; }
.band { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--cyan-ink); margin-bottom: 16px; }
.dark .kicker { color: var(--amber); }
.idx { display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; font-size: .7rem; }
.sub { font-size: 1.08rem; color: var(--muted); max-width: 38em; }

/* ----- Problems: bento ----- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s ease, transform .25s var(--ease), box-shadow .25s ease;
  overflow: hidden; isolation: isolate; text-decoration: none; color: inherit;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .25s ease; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(61,214,245,.10), transparent 60%);
}
.card::before { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--cyan-ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card-wide { grid-column: span 2; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--muted); }
.tag { color: var(--soft); }
.card blockquote { margin: 0 0 18px; font: 600 1.2rem/1.32 var(--font-head); letter-spacing: -0.02em; color: var(--text); }
.card-wide blockquote { font-size: 1.45rem; max-width: 30em; }
.card .fix { font-size: .97rem; color: var(--muted); margin: auto 0 18px; }
.card .win { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--green-ink); }
.card-dark { background-color: var(--ink); background-image: linear-gradient(to right, rgba(61,214,245,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(61,214,245,.06) 1px, transparent 1px); background-size: 28px 28px; border-color: var(--ink-line); color: var(--ink-text); }
.card-dark .card-top { color: var(--cyan); }
.card-dark .tag { color: var(--ink-muted); }
.card-dark blockquote { color: #F4F6F8; }
.card-dark .fix { color: #B7C1CC; }
.card-dark .win { color: var(--green); border-top-color: var(--ink-line); }
.card-dark::before { background: var(--cyan); }
.card-cta { border: 1.5px dashed var(--line-strong); background: rgba(255,178,36,.06); justify-content: center; align-items: flex-start; }
.card-cta .card-top { color: var(--amber-ink); width: 100%; }
.card-cta .cta-q { font: 600 1.35rem/1.3 var(--font-head); letter-spacing: -0.02em; margin: 0 0 18px; }
.card-cta .cta-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--amber-ink); }
.card-cta::before { display: none; }
.card-cta .ico { transition: transform .2s ease; }
@media (hover: hover) {
  .card:hover { border-color: #C9CED3; transform: translateY(-3px); box-shadow: 0 20px 44px rgba(14,17,22,.08); }
  .card:hover::after { opacity: 1; }
  .card:hover::before { transform: scaleX(1); }
  .card-dark:hover { border-color: #33404F; box-shadow: 0 20px 44px rgba(0,0,0,.28); }
  .card-cta:hover { border-color: var(--amber-ink); background: rgba(255,178,36,.1); }
  .card-cta:hover .cta-link .ico { transform: translateX(3px); }
}

/* ----- Process: timeline with travelling packet ----- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.6,0,.2,1);
}
.timeline::after {
  content: ""; position: absolute; top: 32px; left: 0; width: 9px; height: 9px; border-radius: 2px;
  background: var(--amber); box-shadow: 0 0 12px rgba(255,178,36,.8); opacity: 0;
}
.timeline.in::before { transform: scaleX(1); }
.timeline.in::after { animation: packet 5s 1.2s linear infinite; }
@keyframes packet { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
.timeline li { position: relative; }
.num {
  display: inline-block; position: relative; z-index: 1; padding-right: 14px; background: var(--surface);
  font: 600 4.6rem/1 var(--font-head); letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 1.25px var(--text); margin-bottom: 22px; opacity: .85;
}
.timeline li:first-child .num { -webkit-text-stroke-color: var(--amber-ink); opacity: 1; }
.timeline p { color: var(--muted); margin: 0; max-width: 26em; }

/* ----- Trust band ----- */
.trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: grid; gap: 6px; align-content: start; padding: 4px 28px; border-left: 1px solid var(--ink-line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust .ico-lg { color: var(--cyan); margin-bottom: 10px; }
.trust strong { font: 600 1.08rem var(--font-head); color: #F4F6F8; letter-spacing: -0.01em; }
.trust span { color: #A9B4C0; font-size: .95rem; }
.band-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ink-line); }
.band-cta p { margin: 0; font: 600 1.35rem var(--font-head); color: #F4F6F8; letter-spacing: -0.02em; }

/* ----- About + animated data path ----- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
.about-grid p { color: var(--muted); max-width: 38em; }
.tools-line { font-size: .94rem; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; }
.stack { position: relative; margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stack::before, .stack::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--cyan-ink); border-style: solid; }
.stack::before { top: -6px; left: -6px; border-width: 2px 0 0 2px; }
.stack::after { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; }
.stack figcaption { color: var(--soft); margin-bottom: 20px; }
.stack ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; position: relative; }
.stack ol::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: repeating-linear-gradient(to bottom, var(--cyan-ink) 0 4px, transparent 4px 9px); }
.stack ol::after {
  content: ""; position: absolute; left: 8px; top: 12px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-ink); box-shadow: 0 0 0 4px rgba(10,98,120,.15);
  animation: travel 4.5s var(--ease) infinite;
}
@keyframes travel { 0% { top: 12px; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 18px); opacity: 0; } }
.stack li { position: relative; display: grid; grid-template-columns: 96px 1fr; column-gap: 12px; padding-left: 36px; }
.stack li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 11px; height: 11px; border-radius: 3px; background: var(--surface); border: 2px solid var(--cyan-ink); }
.stack li:last-child::before { background: var(--amber); border-color: var(--amber-ink); }
.stack li .label { grid-row: span 2; color: var(--soft); font-size: .72rem; padding-top: 3px; }
.stack strong { font: 600 1.04rem var(--font-head); letter-spacing: -0.01em; }
.stack em { font-style: normal; font-size: .92rem; color: var(--muted); }

/* ----- FAQ ----- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-aside { display: grid; justify-items: start; gap: 14px; margin-top: 28px; }
.faq-mail { color: var(--muted); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding: 4px 0; }
.faq-mail:hover { color: var(--text); border-color: var(--text); }
.faq details { border-top: 1px solid #D5D9DD; }
.faq details:last-child { border-bottom: 1px solid #D5D9DD; }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font: 600 1.18rem var(--font-head); letter-spacing: -0.015em; position: relative; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 14px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--cyan-ink); }
.faq details p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 40em; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.contact-info > p { color: #A9B4C0; max-width: 32em; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; color: var(--ink-text); }
.contact-list .label { color: var(--ink-muted); }
.contact-list a { font: 600 1.4rem var(--font-head); color: #F4F6F8; text-decoration: none; letter-spacing: -0.015em; border-bottom: 1px solid #4A5868; justify-self: start; transition: border-color .15s, color .15s; }
.contact-list a:hover { color: var(--amber); border-color: var(--amber); }
.form { position: relative; background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  font: 400 1rem var(--font-body); color: var(--text);
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #FBFBFA;
  width: 100%; transition: border-color .15s, box-shadow .15s, background .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(255,178,36,.35); background: #fff; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #B42318; }
.form textarea { resize: vertical; min-height: 116px; }
.hidden-field { position: absolute; left: -9999px; }
.form-error { margin: 0; color: #B42318; font-weight: 500; font-size: .93rem; }
.form-error[hidden] { display: none; }
.form-cues { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; color: var(--muted); font-size: .76rem; }
.form-cues li::before { content: "✓"; color: var(--green-ink); margin-right: 6px; }
.form-note { margin: 0; text-align: center; font-size: .88rem; color: var(--muted); }
.form-success { position: absolute; inset: 0; background: var(--surface); border-radius: var(--radius); display: grid; place-content: center; justify-items: center; text-align: center; padding: 30px; gap: 8px; }
.form-success[hidden] { display: none; }
.form-success strong { font: 700 1.7rem var(--font-head); }
.form-success p { margin: 0; color: var(--muted); }

/* ----- Footer ----- */
.footer { position: relative; background: var(--ink-deep); padding: 0 0 28px; color: var(--ink-muted); border-top: 1px solid var(--ink-line); }
.roofline { width: 100%; height: 64px; display: block; }
.roofline path { fill: none; stroke: rgba(61,214,245,.28); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 36px; padding-bottom: 36px; }
.footer-brand p { margin: 12px 0 0; max-width: 22em; }
.footer-links, .footer-contact { display: grid; gap: 4px; align-content: start; }
.footer .label { color: var(--ink-muted); margin-bottom: 8px; }
.footer a { color: var(--ink-text); text-decoration: none; font-size: .95rem; display: inline-block; padding: 6px 0; justify-self: start; }
.footer a:hover { color: var(--amber); }
.footer-contact p { margin: 6px 0 0; font-size: .95rem; }
.footer-base { border-top: 1px solid var(--ink-line); padding-top: 22px; font-size: .88rem; }
.footer-base p { margin: 0; }

/* ----- Mobile book bar ----- */
.mobile-bar { display: none; }

/* ----- Reveal: only opacity/translate are delayed, so hover stays instant ----- */
.reveal { opacity: 0; translate: 0 18px; transition-property: opacity, translate, border-color, transform, box-shadow; transition-duration: .6s, .6s, .2s, .25s, .25s; transition-timing-function: ease, var(--ease), ease, var(--ease), ease; transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms, 0ms; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ----- Responsive ----- */
@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
  .trust { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-grid { gap: 44px; }
  .panel { transform: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 36px 0 72px; }
  .hero-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .faq-head { position: static; }
  .section { padding: 80px 0; }
  .section-process { padding-bottom: 72px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 30px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .timeline.in::before { transform: scaleY(1); }
  .timeline::after { display: none; }
  .timeline li { display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; }
  .num { grid-row: span 2; font-size: 2.6rem; padding: 4px 0 8px; margin: 0; }
  .timeline h3 { margin-top: 6px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-bar {
    display: flex; position: fixed; left: 12px; right: 12px; z-index: 90;
    bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transform: translateY(160%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .mobile-bar.show { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .card-wide blockquote { font-size: 1.2rem; }
  .card { padding: 24px; }
  .trust { grid-template-columns: 1fr; }
  .trust li { border-left: 0; padding: 0 0 22px; border-bottom: 1px solid var(--ink-line); }
  .trust li:last-child { border-bottom: 0; padding-bottom: 0; }
  .form .row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { margin: 26px 0 20px; }
  .strike { white-space: normal; text-decoration: line-through; text-decoration-color: var(--amber); text-decoration-thickness: .09em; }
  .strike::after { display: none; }
  .stack li { grid-template-columns: 1fr; }
  .stack li .label { grid-row: auto; }
  .band-cta .btn { width: 100%; }
  .eyebrow { margin-bottom: 20px; padding: 6px 12px; }
  .flow, .telemetry { display: none; }
  .worklight { width: 600px; height: 600px; left: calc(50% - 300px); top: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .strike::after { transform: scaleX(1); }
  .reveal { opacity: 1; translate: none; }
  .timeline::before { transform: none; }
  .flow-pulses, .timeline::after, .stack ol::after { display: none; }
  .panel { transform: none; }
}
.footer .logo { display: inline-flex; font-size: 1.25rem; padding: 0; }

/* ----- v3: highlight, fine print, more link ----- */
.hl { position: relative; white-space: nowrap; color: #fff; background: linear-gradient(transparent 62%, rgba(255,178,36,.35) 62%, rgba(255,178,36,.35) 88%, transparent 88%); padding: 0 .06em; }
.card .win { padding-bottom: 0; }
.card .fine { margin: 10px 0 0; font-size: .82rem; color: var(--soft); display: flex; gap: 6px; }
.card .fine::before { content: "↳"; color: var(--cyan-ink); }
.card-dark .fine { color: var(--ink-muted); }
.card-dark .fine::before { color: var(--cyan); }
.cards-more { margin: 32px 0 0; text-align: center; font-weight: 500; color: var(--muted); }
.cards-more a { font-weight: 600; color: var(--amber-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 600px) { .hl { white-space: normal; } }

/* ----- Small business strip ----- */
.smallbiz { background: var(--surface); padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.smallbiz-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.smallbiz h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.smallbiz p { color: var(--muted); max-width: 34em; }
.sb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--amber-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding: 4px 0; }
.sb-link .ico { transition: transform .2s ease; }
.sb-link:hover .ico { transform: translateX(3px); }
.sb-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sb-list li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 14px 38px; position: relative; font-size: .95rem; font-weight: 500; }
.sb-list li::before { content: "✓"; position: absolute; left: 15px; top: 13px; color: var(--green-ink); font-weight: 700; }
@media (max-width: 860px) { .smallbiz-inner { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .sb-list { grid-template-columns: 1fr; } .smallbiz { padding: 52px 0; } }

/* ----- Hero audience paths ----- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 600px; }
.path { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--ink-line); border-radius: var(--radius-sm); background: rgba(18,24,33,.7); text-decoration: none; color: var(--ink-text); transition: border-color .2s ease, background .2s ease; }
.path .label { color: var(--ink-muted); font-size: .68rem; }
.path strong { font: 600 1rem/1.3 var(--font-head); color: #F4F6F8; letter-spacing: -0.01em; }
.path-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--amber); font-weight: 600; font-size: .88rem; }
.path-go .ico { width: 15px; height: 15px; transition: transform .2s ease; }
.path:hover { border-color: #3A4757; background: rgba(30,39,51,.8); }
.path:hover .path-go .ico { transform: translateX(3px); }
.stack-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--soft); }
@media (max-width: 600px) { .paths { grid-template-columns: 1fr; } }
.path-desc { color: #A9B4C0; font-size: .86rem; line-height: 1.45; }
