/* ==========================================================================
   DockQueue — "Every dock door, on schedule"
   Dock scheduling & yard management. Operational, grid-driven, precise.
   BuildspaceLabs
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  --base: #F4F7F6;
  --surface: #FFFFFF;
  --ink: #0C1B19;
  --slate: #5A6B68;
  --slate-2: #8A9B98;
  --hair: #E4EAE8;
  --hair-strong: #D3DCDA;

  --teal: #0F766E;
  --teal-hover: #0B5C54;
  --teal-tint: #E6F3F1;
  --teal-ring: rgba(15, 118, 110, 0.14);

  --amber: #C2770C;
  --amber-tint: #FBF0DF;
  --red: #B42318;
  --red-tint: #FDEDEC;
  --green: #067647;

  --ink-dark: #0A2624;

  --ink-soft: rgba(12, 27, 25, 0.06);
  --ink-soft-2: rgba(12, 27, 25, 0.10);

  --shadow-sm: 0 1px 2px rgba(12, 27, 25, 0.05);
  --shadow-md: 0 8px 24px -12px rgba(12, 27, 25, 0.16), 0 2px 6px -3px rgba(12, 27, 25, 0.08);
  --shadow-lg: 0 40px 80px -32px rgba(12, 27, 25, 0.30), 0 12px 28px -12px rgba(12, 27, 25, 0.14);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset-ish ----- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: -0.02em; }

/* ----- Layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.hero-grid > *, .shot-row > *, .why-grid > *, .contact-grid > *,
.steps > *, .features > *, .diff-inner > *, .board-foot > *, .kpi-inner > * { min-width: 0; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--teal); opacity: 0.6; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--slate); font-size: clamp(16px, 1.4vw, 18px); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), box-shadow 0.25s var(--ease), color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--teal); color: #fff;
  box-shadow: 0 1px 2px rgba(15,118,110,0.25), 0 10px 22px -12px rgba(15,118,110,0.55);
}
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15,118,110,0.3), 0 18px 34px -14px rgba(15,118,110,0.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--hair-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--slate-2); transform: translateY(-2px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 246, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--hair); }
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #12907f, var(--teal-hover));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  flex: none;
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: none; align-items: center; gap: 28px; margin-left: 22px; }
.nav-links a { font-size: 14.5px; color: var(--slate); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.built-by {
  display: none; align-items: center; gap: 6px;
  font-size: 13px; color: var(--slate);
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--hair);
  background: var(--surface);
  transition: border-color 0.2s, color 0.2s;
}
.built-by:hover { color: var(--ink); border-color: var(--hair-strong); }
.built-by svg { width: 12px; height: 12px; }
.built-by b { color: var(--ink); font-weight: 600; }
.nav-cta { display: none; }
@media (min-width: 820px) {
  .nav-links { display: flex; }
  .built-by { display: inline-flex; }
  .nav-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1000px 520px at 82% 6%, var(--teal-tint), transparent 62%),
    radial-gradient(680px 420px at 4% 96%, rgba(194,119,12,0.06), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--ink-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(760px 520px at 68% 34%, #000 30%, transparent 78%);
  mask-image: radial-gradient(760px 520px at 68% 34%, #000 30%, transparent 78%);
  opacity: 0.55;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 6vw, 56px);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1.05fr; } }

.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--slate);
  background: var(--surface); border: 1px solid var(--hair);
  padding: 7px 13px 7px 11px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pulse-dot { position: relative; width: 8px; height: 8px; }
.pulse-dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--teal); }
.pulse-dot span:last-child { animation: pulse-ring 2.4s var(--ease) infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

.hero h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.02; margin-top: 22px; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.10em;
  background: linear-gradient(90deg, var(--teal), rgba(15,118,110,0.15)); border-radius: 2px;
}
.hero-sub { margin-top: 24px; max-width: 520px; font-size: clamp(16px, 1.55vw, 19px); color: var(--slate); line-height: 1.62; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 13.5px; color: var(--slate); }
.hero-trust .item { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

/* ----- Signature hero visual: live dock board ----- */
.hero-visual { position: relative; }
.dock-board {
  position: relative; background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 20px; overflow: hidden;
}
.dock-board::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 90% -12%, var(--teal-tint), transparent 70%);
  pointer-events: none;
}
.board-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; position: relative; }
.board-top .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.board-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--teal); }
.board-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: blink 2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.board-grid { position: relative; }
.board-grid svg { width: 100%; height: auto; display: block; overflow: visible; }
.bg-row { fill: #FAFBFB; }
.bg-line { stroke: var(--hair); stroke-width: 1; }
.bg-axis { font-family: var(--font-mono); font-size: 8px; fill: var(--slate-2); }
.bg-door { font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; fill: var(--slate); }
.blk-in { fill: var(--teal-tint); }
.blk-in-cap { fill: var(--teal); }
.blk-out { fill: var(--amber-tint); }
.blk-out-cap { fill: var(--amber); }
.blk-late { fill: none; stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 3 3; }
.blk-door-ring { fill: none; stroke: var(--green); stroke-width: 1.4; }
.now-sweep { animation: nowSweep 7s var(--ease) infinite; }
@keyframes nowSweep { 0% { transform: translateX(0); } 100% { transform: translateX(252px); } }
.now-line { stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 2 3; }
.pip-door { transform-box: fill-box; transform-origin: center; animation: doorPulse 2.6s var(--ease) infinite; }
@keyframes doorPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.board-foot { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 16px; position: relative; }
.yard-gauge { position: relative; width: 78px; height: 78px; flex: none; }
.yard-gauge svg { transform: rotate(-90deg); width: 78px; height: 78px; }
.yg-track { fill: none; stroke: var(--hair); stroke-width: 9; }
.yg-fill { fill: none; stroke: var(--teal); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 1.4s var(--ease); }
.yg-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.yg-label .v { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1; }
.yg-label .l { font-family: var(--font-mono); font-size: 8px; color: var(--slate); }
.board-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bstat { padding: 8px 10px; border: 1px solid var(--hair); border-radius: 10px; background: #FCFDFC; }
.bstat .n { font-family: var(--font-mono); font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.bstat .n.amber { color: var(--amber); }
.bstat .l { font-size: 10px; color: var(--slate); margin-top: 2px; }
.board-legend { display: flex; gap: 14px; margin-top: 14px; position: relative; flex-wrap: wrap; }
.board-legend .lg { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--slate); }
.board-legend .sw { width: 10px; height: 10px; border-radius: 3px; border: 1px solid transparent; }
.board-legend .sw.in { background: var(--teal-tint); border-color: var(--teal); }
.board-legend .sw.out { background: var(--amber-tint); border-color: var(--amber); }
.board-legend .sw.door { background: #fff; border: 1.4px solid var(--green); }

/* ==========================================================================
   KPI band
   ========================================================================== */
.kpi-band { background: var(--ink-dark); color: #fff; position: relative; overflow: hidden; }
.kpi-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 25% 100%; opacity: 0.5;
}
.kpi-inner { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 760px) { .kpi-inner { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 30px); border-top: 1px solid rgba(255,255,255,0.10); border-left: 1px solid rgba(255,255,255,0.10); }
.kpi:nth-child(1), .kpi:nth-child(2) { border-top: none; }
@media (min-width: 760px) { .kpi { border-top: none; } .kpi:first-child { border-left: none; } }
.kpi .num { font-family: var(--font-mono); font-size: clamp(34px, 5vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.kpi .num .unit { color: #5EEAD4; font-size: 0.6em; margin-left: 2px; }
.kpi .lbl { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,0.62); letter-spacing: 0.01em; }
.kpi .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; }
.kpi .tag.risk { color: #F5B970; }
.kpi .tag.save { color: #6EE7B7; }

/* ==========================================================================
   Why section
   ========================================================================== */
.why-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 0.95fr 1.05fr; } }
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.why:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--hair-strong); }
.why-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.why-name { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15.5px; }
.why-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); flex: none; }
.why-ic svg { width: 18px; height: 18px; }
.why-cost { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--ink); }
.why-bar { margin-top: 14px; height: 7px; border-radius: 999px; background: var(--ink-soft); overflow: hidden; }
.why-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--teal), #22A196); transition: width 1.1s var(--ease); }
.why.w2 .why-ic { background: var(--amber-tint); color: var(--amber); }
.why.w2 .why-bar i { background: linear-gradient(90deg, var(--amber), #E0982F); }
.why.w3 .why-ic { background: var(--red-tint); color: var(--red); }
.why.w3 .why-bar i { background: linear-gradient(90deg, var(--red), #E0685C); }
.why-desc { margin-top: 10px; font-size: 13.5px; color: var(--slate); }

.why-note {
  align-self: stretch;
  background: linear-gradient(180deg, var(--surface), #FBFDFC);
  border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.why-note h3 { font-size: 22px; }
.why-note p { margin-top: 14px; color: var(--slate); font-size: 15.5px; }
.gauge-row { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.ring-wrap { position: relative; width: 132px; height: 132px; flex: none; }
.ring-wrap svg { transform: rotate(-90deg); width: 132px; height: 132px; }
.ring-track { fill: none; stroke: var(--hair); stroke-width: 11; }
.ring-fill { fill: none; stroke: var(--teal); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 1.4s var(--ease); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label .score { font-family: var(--font-mono); font-size: 28px; font-weight: 500; color: var(--ink); line-height: 1; }
.ring-label .of { font-family: var(--font-mono); font-size: 11px; color: var(--slate); margin-top: 2px; }
.ring-legend { display: flex; flex-direction: column; gap: 10px; }
.ring-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--slate); }
.ring-legend .k { font-family: var(--font-mono); color: var(--ink); font-size: 13px; margin-left: auto; }
.ring-legend .d { width: 9px; height: 9px; border-radius: 3px; flex: none; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius-lg); padding: 30px 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-n { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: 0.1em; }
.step-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin: 16px 0 20px; background: var(--teal-tint); color: var(--teal); }
.step-ic svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 12px; color: var(--slate); font-size: 14.5px; }
@media (min-width: 800px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -12px; width: 24px; height: 1px; background: var(--hair-strong); z-index: 2; }
}

/* ==========================================================================
   Product tour
   ========================================================================== */
.tour { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.shot-row { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .shot-row { grid-template-columns: 1fr 1.25fr; }
  .shot-row.reverse { grid-template-columns: 1.25fr 1fr; }
  .shot-row.reverse .shot-copy { order: 2; }
}
.shot-copy .eyebrow { margin-bottom: 14px; }
.shot-copy h3 { font-size: clamp(24px, 3vw, 32px); }
.shot-copy p { margin-top: 16px; color: var(--slate); font-size: 16px; }
.shot-copy .shot-feats { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.shot-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.shot-feats svg { width: 19px; height: 19px; color: var(--teal); flex: none; margin-top: 1px; }

.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #FAFBFB; border-bottom: 1px solid var(--hair); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--hair-strong); }
.browser-url {
  margin-left: 8px; flex: 1; max-width: 360px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--slate);
  background: var(--base); border: 1px solid var(--hair); border-radius: 7px;
  padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-url svg { width: 11px; height: 11px; color: var(--teal); flex: none; }
.browser img { width: 100%; display: block; }
.shot-cap { margin-top: 14px; font-size: 13px; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.shot-cap svg { width: 14px; height: 14px; color: var(--slate-2); flex: none; }

/* ==========================================================================
   Feature grid
   ========================================================================== */
.features { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); padding: 30px 28px; transition: background 0.3s; }
.feature:hover { background: #FBFDFC; }
.feature-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); margin-bottom: 18px; }
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 10px; color: var(--slate); font-size: 14.5px; }

/* ==========================================================================
   Differentiator band
   ========================================================================== */
.diff { background: var(--ink-dark); color: #fff; position: relative; overflow: hidden; }
.diff-inner { display: grid; gap: clamp(32px, 5vw, 60px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .diff-inner { grid-template-columns: 1fr 0.9fr; } }
.diff .eyebrow { color: #5EEAD4; }
.diff .eyebrow::before { background: #5EEAD4; }
.diff h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 16px; }
.diff p { margin-top: 18px; color: rgba(255,255,255,0.68); font-size: 17px; max-width: 520px; }
.diff-points { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.diff-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,0.85); }
.diff-points svg { width: 20px; height: 20px; color: #5EEAD4; flex: none; margin-top: 1px; }

.diff-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(8px); }
.diff-card .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.diff-card .head .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.diff-card .head .s { font-family: var(--font-mono); font-size: 24px; color: #F5B970; }
.diff-card .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.diff-card .row:last-child { border-bottom: none; }
.diff-card .row .name { font-size: 14px; color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 9px; }
.diff-card .row .name .dot { width: 8px; height: 8px; border-radius: 50%; }
.diff-card .row .wt { font-family: var(--font-mono); font-size: 13px; color: #fff; }
.mini-bar { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.12); margin: 0 12px; overflow: hidden; max-width: 130px; }
.mini-bar i { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 1.1s var(--ease); }

/* ==========================================================================
   Tech chips
   ========================================================================== */
.tech { text-align: center; }
.tech .section-head { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hair);
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--teal); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #062f2b 0%, #0B5C54 46%, #0F766E 100%);
  border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 76px);
  color: #fff; box-shadow: 0 40px 90px -40px rgba(11,92,84,0.7);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(600px 400px at 85% 20%, #000, transparent 75%);
  mask-image: radial-gradient(600px 400px at 85% 20%, #000, transparent 75%);
}
.cta-card .inner { position: relative; z-index: 1; max-width: 660px; }
.cta-card h2 { font-size: clamp(28px, 4.4vw, 46px); }
.cta-card p { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.82); }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-card .btn-primary { background: #fff; color: var(--teal-hover); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.4); }
.cta-card .btn-primary:hover { background: #ECFDF5; }
.cta-card .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); color: #fff; box-shadow: none; }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--hair); background: var(--surface); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-block: clamp(48px, 6vw, 72px); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--slate); font-size: 14.5px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-2); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--slate); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--hair); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.credit { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; color: var(--slate); }
.bs-lockup { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 500; color: var(--ink); padding: 6px 12px; border: 1px solid var(--hair); border-radius: 10px; transition: border-color 0.2s, transform 0.2s; }
.bs-lockup:hover { border-color: var(--teal); transform: translateY(-1px); }
.bs-lockup .bs { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink-dark); color: #fff; font-size: 11px; font-weight: 600; }
.credit .tag { color: var(--slate); }
.footer-note { font-size: 13px; color: var(--slate-2); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.page-hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(20px, 3vw, 32px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 56px); max-width: 14ch; }
.page-hero p { margin-top: 20px; color: var(--slate); font-size: clamp(16px, 1.5vw, 19px); max-width: 560px; }

.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; } }
.form-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--teal); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--base); border: 1px solid var(--hair-strong); border-radius: 11px;
  padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px var(--teal-ring); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn-primary { width: 100%; margin-top: 4px; }
.form-reassure { margin-top: 16px; font-size: 13px; color: var(--slate); display: flex; align-items: center; gap: 8px; justify-content: center; text-align: center; }
.form-reassure svg { width: 14px; height: 14px; color: var(--teal); flex: none; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 17px; margin-bottom: 6px; }
.aside-card p { color: var(--slate); font-size: 14px; }
.aside-card a.link { color: var(--teal); font-weight: 500; word-break: break-word; }
.aside-card a.link:hover { color: var(--teal-hover); text-decoration: underline; }
.aside-contact { display: flex; align-items: center; gap: 13px; margin-top: 14px; }
.aside-contact .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); flex: none; }
.aside-contact .ic svg { width: 19px; height: 19px; }
.aside-contact .meta .k { font-size: 12px; color: var(--slate); }
.aside-contact .meta .v { font-size: 14.5px; font-weight: 500; }
.aside-facts { display: flex; flex-direction: column; gap: 14px; }
.aside-facts li { display: flex; gap: 11px; font-size: 14px; color: var(--slate); align-items: flex-start; }
.aside-facts svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 1px; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.thanks-inner { max-width: 520px; }
.success-badge { width: 84px; height: 84px; margin: 0 auto 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); border: 1px solid rgba(15,118,110,0.2); position: relative; }
.success-badge::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--teal-ring); animation: pulse-ring 2.8s var(--ease) infinite; }
.success-badge svg { width: 40px; height: 40px; }
.thanks h1 { font-size: clamp(30px, 4.6vw, 46px); }
.thanks p { margin-top: 18px; color: var(--slate); font-size: clamp(16px, 1.6vw, 18px); }
.thanks-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.thanks-email { margin-top: 24px; font-size: 14px; color: var(--slate); }
.thanks-email a { color: var(--teal); font-weight: 500; }
.thanks-email a:hover { text-decoration: underline; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .now-sweep, .pip-door, .pulse-dot span:last-child, .success-badge::after, .board-live .dot { animation: none !important; }
}
