/* ==========================================================================
   Quola Tech — styles.css
   Dark navy hero + light body. Restrained motion. No external requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0b121a;
  --navy-800: #101922;   /* brand navy (from logo) */
  --navy-700: #16222e;
  --navy-600: #1f2d3b;

  --orange: #ff3000;     /* brand orange (from logo) — large text, lines, icons */
  --orange-cta: #d92800; /* buttons: AA contrast with white text */
  --orange-ink: #c42400; /* small orange text on white */
  --orange-soft: rgba(255, 48, 0, 0.10);
  --green: #34d399;

  --ink: #101922;
  --ink-2: #3b4655;
  --ink-3: #6b7686;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --line: #e4e8ee;

  --on-dark: #f4f6f9;
  --on-dark-2: rgba(244, 246, 249, 0.72);
  --on-dark-3: rgba(244, 246, 249, 0.5);
  --line-dark: rgba(255, 255, 255, 0.10);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 25, 34, 0.05), 0 2px 10px rgba(16, 25, 34, 0.06);
  --shadow-md: 0 10px 34px rgba(16, 25, 34, 0.12);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.45);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 180ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: inherit;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
::selection { background: rgba(255, 48, 0, 0.25); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-light { color: var(--orange); }
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 48, 0, 0.18);
}
.section-title {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 22ch;
  text-wrap: balance;
}
.section-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.section-head { max-width: 760px; margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-primary { background: var(--orange-cta); color: #fff; }
.btn-primary:hover { background: var(--orange); }
.btn-primary:active { background: #c02300; }

.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.4); }

.btn-secondary { background: var(--navy-800); color: #fff; }
.btn-secondary:hover { background: var(--navy-600); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 250ms, color 250ms, border-color 250ms, box-shadow 250ms;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(16, 25, 34, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header.is-solid,
.site-header.nav-open {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.site-header.nav-open { background: #fff; }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; color: currentColor; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name-tech { font-weight: 400; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity var(--t-fast), color var(--t-fast);
  padding: 6px 0;
}
.nav-list a:hover { opacity: 1; color: var(--orange); }
.is-solid .nav-list a:hover { color: var(--orange-ink); }
.nav-mobile-only { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.is-solid .nav-toggle, .nav-open .nav-toggle { border-color: var(--line); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-800);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 55% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 55% 35%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 820px; height: 820px;
  right: -240px; top: -200px;
  background: radial-gradient(circle, rgba(255, 48, 0, 0.22) 0%, rgba(255, 48, 0, 0.06) 35%, transparent 62%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.2rem, 1rem + 3.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hero-title .grad {
  font-style: normal;
  background: linear-gradient(92deg, #ff9a70 0%, var(--orange) 45%, #ff5a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Crosshair accents on grid intersections (56px cells) */
.plus { position: absolute; width: 14px; height: 14px; opacity: 0.5; animation: twinkle 5s ease-in-out infinite; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--orange); border-radius: 1px; }
.plus::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.plus::after { top: 50%; left: 0; height: 2px; width: 100%; transform: translateY(-50%); }
.plus-1 { left: calc(16 * 56px - 7px); top: calc(2 * 56px - 7px); }
.plus-2 { left: calc(24 * 56px - 7px); top: calc(6 * 56px - 7px); animation-delay: -1.2s; }
.plus-3 { left: calc(23 * 56px - 7px); top: calc(13 * 56px - 7px); animation-delay: -2.4s; opacity: 0.35; }
.plus-4 { left: calc(7 * 56px - 7px); top: calc(14 * 56px - 7px); animation-delay: -3.6s; opacity: 0.35; }
.plus-5 { left: calc(1 * 56px - 7px); top: calc(11 * 56px - 7px); animation-delay: -4.2s; opacity: 0.3; }
@keyframes twinkle { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.12; } }

.hero-lead {
  margin-top: 24px;
  font-size: clamp(16px, 1rem + 0.25vw, 18px);
  line-height: 1.65;
  color: var(--on-dark-2);
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-offer { margin-top: 14px; font-size: 14px; color: var(--on-dark-3); max-width: 52ch; }
.hero-trust {
  margin-top: 32px;
  display: flex; flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--on-dark-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.5; }

/* ---------- Hero visual: living security-ops scene ---------- */
.hero-visual {
  position: relative;
  width: min(calc(100% + 48px), 560px);
  height: calc(620px * var(--s, 1));
  margin-left: auto;
  margin-right: -48px;
}
.scene {
  position: absolute; left: 0; top: 0;
  width: 560px; height: 620px;
  transform: scale(var(--s, 1));
  transform-origin: top left;
  --tx: 0; --ty: 0;
}
.layer {
  position: absolute;
  --d: 1;
  transform: translate(calc(var(--tx) * var(--d) * 7px), calc(var(--ty) * var(--d) * 7px));
  transition: transform 300ms ease-out;
  will-change: transform;
}
.layer[data-depth="2"] { --d: 1.9; }
.layer[data-depth="3"] { --d: 2.8; }

.scene-mark { position: absolute; right: -170px; top: -150px; width: 620px; height: 620px; color: #fff; opacity: 0.045; }
.streaks i {
  position: absolute; top: -40%;
  width: 1px; height: 180%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  transform: rotate(32deg);
  animation: streak 16s ease-in-out infinite alternate;
}
.streaks i:nth-child(1) { left: 14%; }
.streaks i:nth-child(2) { left: 46%; opacity: 0.55; animation-delay: -6s; }
.streaks i:nth-child(3) { left: 82%; animation-delay: -11s; }
@keyframes streak { from { translate: -34px 0; } to { translate: 34px 0; } }

/* platform badges */
.badge {
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(16, 25, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  color: var(--on-dark);
  animation: rise 0.9s var(--ease) both, floaty 8s ease-in-out 0.9s infinite;
}
.badge i {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 800; font-style: normal;
  color: var(--navy-800); background: #fff;
}
.b-1 { left: 472px; top: 128px; animation-delay: 0.55s, 1.4s; }
.b-2 { left: -58px; top: 262px; animation-delay: 0.65s, 3.2s; }
.b-3 { left: 404px; top: 566px; animation-delay: 0.75s, 5.1s; }
@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* console mockup */
.console {
  z-index: 2;
  left: 58px; top: 56px; width: 446px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  animation: rise 0.9s var(--ease) 0.15s both;
}
.console::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 48, 0, 0.9), transparent);
  box-shadow: 0 0 14px rgba(255, 48, 0, 0.6);
  animation: scan 7s linear 2s infinite;
  pointer-events: none;
}
@keyframes scan { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.console.layer {
  transform: perspective(1400px) rotateY(calc(var(--tx) * -4deg)) rotateX(calc(var(--ty) * 3deg)) translate(calc(var(--tx) * 6px), calc(var(--ty) * 6px));
}
.console-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.console-bar i:first-child { background: rgba(255, 48, 0, 0.75); }
.console-title { flex: 1; text-align: center; padding-right: 36px; font-size: 12px; font-weight: 500; color: var(--on-dark-2); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.pill-live { background: rgba(52, 211, 153, 0.12); color: #7ee2b8; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.console-body { padding: 14px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; }
.kpi {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid; gap: 5px; align-content: center;
}
.kpi-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-num em { font-style: normal; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--on-dark-3); margin-left: 2px; }
.kpi-label { display: block; font-size: 11px; color: var(--on-dark-3); letter-spacing: 0.02em; }
.kpi-sub { display: block; font-size: 11px; color: #7ee2b8; margin-top: 3px; }
.kpi-score { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.mini-ring { position: relative; width: 56px; height: 56px; }
.mini-ring svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 6; }
.ring-value {
  fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 169.6;
  stroke-dashoffset: 13.6; /* 92% */
  animation: ring-in 1.6s var(--ease) 0.5s both;
  filter: drop-shadow(0 0 5px rgba(255, 48, 0, 0.5));
}
@keyframes ring-in { from { stroke-dashoffset: 169.6; } to { stroke-dashoffset: 13.6; } }
.mini-ring .score-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
}

.chart, .feed {
  padding: 11px 12px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; }
.muted { color: var(--on-dark-3); font-weight: 500; font-size: 11px; }
.stream { display: block; width: 100%; height: 76px; margin-top: 8px; overflow: hidden; }
.stream .gridline { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.stream .area { fill: url(#streamFill); }
.stream .line { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(255, 48, 0, 0.55)); }
.stream .dot { fill: #fff; stroke: var(--orange); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(255, 48, 0, 0.8)); }

.feed-list { margin-top: 4px; display: grid; }
.feed-list li {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 46px; overflow: hidden;
  transition: max-height 420ms var(--ease), opacity 420ms, padding 420ms var(--ease);
}
.feed-list li:first-child { border-top: 0; }
.feed-list li.in { animation: feed-in 520ms var(--ease) both; }
.feed-list li.out { max-height: 0; opacity: 0; padding: 0; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.feed-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 48, 0, 0.16); color: #ff8a66; }
.feed-ico.ok { background: rgba(52, 211, 153, 0.14); color: var(--green); }
.feed-ico .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.feed-text b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.feed-text span { display: block; font-size: 11px; color: var(--on-dark-3); margin-top: 1px; }
.feed-time { font-size: 11px; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }

/* floating cards */
.fcard {
  z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(16, 25, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: rise 0.9s var(--ease) both, floaty 9s ease-in-out 0.9s infinite;
}
.fc-radar { left: -24px; top: 8px; animation-delay: 0.4s, 1s; }
.fc-backup { left: 384px; top: 22px; animation-delay: 0.5s, 4s; }
.fcard-label { display: block; font-size: 11px; color: var(--on-dark-3); }
.fcard-value { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.fcard-check { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(52, 211, 153, 0.15); color: var(--green); }
.fcard-check .icon { width: 18px; height: 18px; stroke-width: 2.6; }

.radar {
  position: relative; width: 50px; height: 50px; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 48, 0, 0.16) 0 28%, transparent 29%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 11px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 48, 0, 0.6), rgba(255, 48, 0, 0.1) 22%, transparent 30%); animation: spin 3s linear infinite; }
.radar .blip { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; opacity: 0; animation: blip 3s linear infinite; }
.blip-1 { left: 30%; top: 34%; animation-delay: 0.6s; }
.blip-2 { left: 64%; top: 56%; animation-delay: 1.9s; }
.blip-3 { left: 42%; top: 70%; animation-delay: 2.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 0; } 6% { opacity: 1; } 55%, 100% { opacity: 0; } }

.toast {
  z-index: 5;
  left: -34px; top: 532px;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 12px;
  border-radius: 14px;
  background: rgba(16, 25, 34, 0.94);
  border: 1px solid rgba(255, 48, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 48, 0, 0.08), 0 24px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  translate: 0 14px;
  transition: opacity 420ms var(--ease), translate 420ms var(--ease), transform 300ms ease-out;
  pointer-events: none;
}
.toast.show { opacity: 1; translate: 0 0; }
.toast-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.toast-ico .icon { width: 18px; height: 18px; }
.toast b { display: block; font-size: 13px; }
.toast span { display: block; font-size: 11.5px; color: var(--on-dark-2); white-space: nowrap; }

/* ---------- Manifesto + platforms ---------- */
.manifesto { background: var(--bg); padding: clamp(64px, 8vw, 104px) 0 0; }
.manifesto-title {
  display: grid; gap: 2px;
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: none;
}
.manifesto-title span { display: block; }
.manifesto-title em { font-style: normal; color: var(--orange); }
.manifesto-sub { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.platforms {
  margin-top: 56px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
}
.platforms-title {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
  max-width: 230px; line-height: 1.5;
}
.platform-list { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.platform-list li {
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.platform-list li:hover { border-color: rgba(255, 48, 0, 0.5); color: var(--ink); transform: translateY(-1px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-foot { margin-top: 32px; text-align: center; font-size: 14.5px; color: var(--ink-3); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), 0 8px 32px rgba(255, 48, 0, 0.09); border-color: rgba(255, 48, 0, 0.4); }

/* ---------- Services: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.bento-card { grid-column: span 5; display: flex; flex-direction: column; padding: 14px 14px 0; overflow: hidden; }
.bento-wide { grid-column: span 7; }
.bento-body { padding: 24px 16px 30px; display: flex; flex-direction: column; flex: 1; }
.bento-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); }
.bento-body h3 { margin-top: 10px; font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.bento-fit { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.bento-fit strong { color: var(--ink); font-weight: 600; }
.check-list { margin-top: 18px; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c42400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card-link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  transition: color var(--t-fast);
}
.card-link .icon { width: 18px; height: 18px; color: var(--orange-ink); transition: transform var(--t-fast) var(--ease); }
.card-link:hover { color: var(--orange-ink); }
.card-link:hover .icon { transform: translateX(3px); }

/* mini-scenes: small living panels inside the service cards */
.mini {
  position: relative;
  height: 196px;
  border-radius: 14px;
  overflow: hidden;
  color: var(--on-dark);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(255, 48, 0, 0.22), transparent 55%),
    var(--navy-800);
  background-size: 28px 28px, 28px 28px, auto, auto;
}
.bento-wide .mini { height: 220px; }

/* shield */
.mini-shield { display: grid; place-items: center; }
.mini-shield .ring {
  position: absolute; width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid rgba(255, 48, 0, 0.55);
  animation: ring-pulse 3.6s ease-out infinite;
}
.mini-shield .ring:nth-child(2) { animation-delay: 1.2s; }
.mini-shield .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring-pulse { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.mini-core {
  position: relative; width: 66px; height: 66px; border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #ff7a4d, var(--orange));
  color: #fff;
  box-shadow: 0 0 44px rgba(255, 48, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.mini-core .icon { width: 32px; height: 32px; }
.mini-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 25, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  animation: floaty 7s ease-in-out infinite;
}
.mini-chip .icon { width: 13px; height: 13px; color: var(--green); stroke-width: 2.6; }
.chip-c .icon { color: var(--orange); }
.chip-a { left: 7%; top: 20%; }
.chip-b { right: 7%; top: 30%; animation-delay: -2.4s; }
.chip-c { left: 16%; bottom: 16%; animation-delay: -4.6s; }

/* migration */
.mini-migrate { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 22px 18px 60px; }
.node { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 11px; line-height: 1.4; }
.node b { display: block; font-size: 12.5px; font-weight: 600; }
.node span { color: var(--on-dark-3); }
.node-to { border-color: rgba(255, 48, 0, 0.55); box-shadow: 0 0 26px rgba(255, 48, 0, 0.18); }
.lane { position: relative; width: 64px; height: 2px; background: rgba(255, 255, 255, 0.14); }
.lane i {
  position: absolute; top: -3px; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 8px var(--orange);
  animation: lane 2.4s linear infinite;
}
.lane i:nth-child(2) { animation-delay: 0.6s; }
.lane i:nth-child(3) { animation-delay: 1.2s; }
.lane i:nth-child(4) { animation-delay: 1.8s; }
@keyframes lane { 0% { transform: translateX(-4px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(60px); opacity: 0; } }
.mini-progress {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center;
  font-size: 11px; color: var(--on-dark-3);
}
.mini-progress em { font-style: normal; }
.mini-progress strong { color: var(--on-dark); font-family: var(--font-display); font-size: 13px; font-variant-numeric: tabular-nums; }
.mini-progress .bar { order: 3; grid-column: 1 / -1; position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mini-progress .bar::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.mini-progress .bar-green::after { background: var(--green); }
.reveal.is-visible .mini-progress .bar::after { animation: fill 1.8s var(--ease) 0.4s forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* patch tiles */
.mini-patch { padding: 22px 18px 60px; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; max-width: 330px; }
.tiles i { aspect-ratio: 1; border-radius: 5px; background: rgba(255, 255, 255, 0.08); animation: tile 7.2s ease-in-out infinite; }
.tiles i:nth-child(2) { animation-delay: 0.14s; }
.tiles i:nth-child(3) { animation-delay: 0.28s; }
.tiles i:nth-child(4) { animation-delay: 0.42s; }
.tiles i:nth-child(5) { animation-delay: 0.56s; }
.tiles i:nth-child(6) { animation-delay: 0.7s; }
.tiles i:nth-child(7) { animation-delay: 0.84s; }
.tiles i:nth-child(8) { animation-delay: 0.98s; }
.tiles i:nth-child(9) { animation-delay: 1.12s; }
.tiles i:nth-child(10) { animation-delay: 1.26s; }
.tiles i:nth-child(11) { animation-delay: 1.4s; }
.tiles i:nth-child(12) { animation-delay: 1.54s; }
.tiles i:nth-child(13) { animation-delay: 1.68s; }
.tiles i:nth-child(14) { animation-delay: 1.82s; }
.tiles i:nth-child(15) { animation-delay: 1.96s; }
.tiles i:nth-child(16) { animation-delay: 2.1s; }
.tiles i:nth-child(17) { animation-delay: 2.24s; }
.tiles i:nth-child(18) { animation-delay: 2.38s; }
.tiles i:nth-child(19) { animation-delay: 2.52s; }
.tiles i:nth-child(20) { animation-delay: 2.66s; }
.tiles i:nth-child(21) { animation-delay: 2.8s; }
.tiles i:nth-child(22) { animation-delay: 2.94s; }
.tiles i:nth-child(23) { animation-delay: 3.08s; }
.tiles i:nth-child(24) { animation-delay: 3.22s; }
@keyframes tile {
  0%, 6% { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
  12%, 72% { background: var(--green); box-shadow: 0 0 12px rgba(52, 211, 153, 0.45); }
  80%, 100% { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
}

/* terminal */
.mini-term { display: flex; flex-direction: column; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.term-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.term-bar i:first-child { background: rgba(255, 48, 0, 0.8); }
.term-bar span { margin-left: 6px; font-size: 11px; color: var(--on-dark-3); }
.term-body {
  flex: 1; margin: 0; padding: 14px 16px;
  font: 12.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--on-dark-2);
  white-space: pre-wrap; overflow: hidden;
}
.term-body .cmd { color: var(--on-dark); }
.term-body .ok { color: var(--green); }
.term-foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; font-size: 11px; color: var(--on-dark-3); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.term-cursor { display: inline-block; width: 8px; height: 13px; margin-left: 2px; background: var(--orange); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Why: comparison ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.vs { max-width: 1000px; margin: 0 auto; display: grid; gap: 8px; border-collapse: collapse; }
.vs thead, .vs tbody { display: contents; }
.vs-head, .vs-row { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 12px; }
.vs-head > th { padding: 6px 18px 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.vs-head .vs-us { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.vs-mark { width: 18px; height: 18px; color: var(--navy-800); }
.vs-row > th, .vs-row > td { padding: 16px 18px; border-radius: 12px; font-size: 15px; line-height: 1.45; display: flex; align-items: center; gap: 12px; text-align: left; }
.vs-row .vs-label { padding-left: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.vs-row .vs-them { background: var(--bg-alt); color: var(--ink-3); border: 1px solid var(--line); }
.vs-row .vs-us { background: var(--navy-800); color: var(--on-dark); font-weight: 600; box-shadow: var(--shadow-sm); }
.mark-x, .mark-ok { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.mark-x { background-color: rgba(16, 25, 34, 0.07); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7686' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.mark-ok { background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); box-shadow: 0 0 0 4px rgba(255, 48, 0, 0.18); }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-800); color: var(--on-dark); padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; right: -200px; top: -300px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255, 48, 0, 0.16) 0%, transparent 60%); pointer-events: none; }
.stats-head { position: relative; margin-bottom: 44px; }
.stats-head .section-title { color: #fff; }
.stats-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { position: relative; display: flex; flex-direction: column; padding: 8px 32px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat dt { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); order: 2; max-width: 30ch; }
.stat dt sup { line-height: 0; }
.stat dt sup a { margin-left: 3px; font-size: 11px; color: var(--on-dark-3); text-decoration: none; }
.stat dt sup a:hover { color: var(--orange); }
.sources {
  position: relative;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-size: 12.5px; color: var(--on-dark-3);
  counter-reset: src;
}
.sources li { counter-increment: src; }
.sources li::before { content: counter(src); color: var(--orange); font-weight: 700; margin-right: 6px; }
.sources a { color: var(--on-dark-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.22); text-underline-offset: 3px; }
.sources a:hover { color: #fff; }
.stat dd {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-suffix, .stat-prefix { color: var(--orange); }

/* ---------- Process ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 32px;
  padding-top: 30px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 48, 0, 0.25));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease);
}
.steps.is-drawn::before { transform: scaleX(1); }
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -35px; left: 0;
  width: 12px; height: 12px;
  border-radius: 4px;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--bg-alt);
}
.step-num {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-ink);
}
.step-when {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 25, 34, 0.06);
}
.deliverable {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px dashed rgba(196, 36, 0, 0.45);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.step h3 { margin-top: 10px; font-size: 21px; font-weight: 600; }
.step p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-copy p + p { margin-top: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.glance {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.glance::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255, 48, 0, 0.3) 0%, transparent 62%);
  pointer-events: none;
}
.glance-mark { position: absolute; right: -50px; bottom: -70px; width: 260px; height: 260px; color: #fff; opacity: 0.05; pointer-events: none; }
.glance-title {
  position: relative;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-dark-3);
}
.glance-list { position: relative; margin: 14px 0 0; display: grid; }
.glance-list > div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
}
.glance-list > div:first-child { border-top: 0; }
.glance-list dt { color: var(--orange); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; padding-top: 2px; }
.glance-list dd { margin: 0; color: var(--on-dark-2); line-height: 1.55; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-800); color: var(--on-dark); position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  left: -300px; bottom: -400px;
  background: radial-gradient(circle, rgba(255, 48, 0, 0.16) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact .section-lead { color: var(--on-dark-2); }
.next-steps { margin-top: 28px; display: grid; gap: 12px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
.next-steps li span {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 48, 0, 0.16); color: var(--orange);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
}
.contact-channels { margin-top: 28px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-channels li:last-child .channel { border-bottom: 1px solid var(--line-dark); }
.channel .icon { width: 22px; height: 22px; color: var(--orange); }
.channel-label { display: block; font-size: 12.5px; color: var(--on-dark-3); letter-spacing: 0.02em; }
.channel-value { display: block; font-size: 16px; font-weight: 600; transition: color var(--t-fast); }
.channel:hover .channel-value { color: var(--orange); }

.contact-form, .form-success {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b4655' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
  background: var(--bg);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-note { font-size: 13px; color: var(--ink-3); }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: 14px; font-weight: 500; min-height: 1.4em; }
.form-status.is-error { color: #b42318; }
.form-status.is-info { color: var(--ink-3); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.form-success { display: grid; justify-items: start; gap: 10px; align-self: start; }
.form-success .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(52, 211, 153, 0.15); color: #0f9d6e; stroke-width: 2.5; }
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--ink-2); }
.form-success a { color: var(--orange-ink); font-weight: 600; }

/* ---------- 404 ---------- */
.page-404 .hero { min-height: 100vh; display: flex; align-items: center; padding: 48px 0; }
.notfound { position: relative; max-width: 720px; }
.notfound .brand { display: flex; width: fit-content; color: var(--on-dark); margin-bottom: 56px; }
.notfound .hero-title { font-size: clamp(2rem, 1rem + 3vw, 3.5rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-2); padding: 64px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.footer-note { color: var(--on-dark-3); }

/* ---------- Reveal on scroll (JS-gated; instant without JS or with reduced motion) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pill-dot, .plus, .badge, .fcard, .console, .console::after, .streaks i, .radar .sweep, .radar .blip, .feed-list li.in, .mini-shield .ring, .mini-chip, .lane i, .tiles i, .term-cursor { animation: none; }
  .tiles i { background: var(--green); }
  .mini-progress .bar::after { transform: scaleX(1); }
  .steps::before { transform: scaleX(1); transition: none; }
  .ring-value { animation: none; }
  .layer { transition: none; }
  .card, .card-link .icon, .btn .icon { transition: none; }
  .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero-visual { width: min(100%, 560px); margin-right: 0; }
  .b-1 { left: 236px; top: 0; }   /* joins the top row instead of protruding past the viewport */
}

@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .bento-card, .bento-wide { grid-column: span 12; }
  .bento-wide .mini { height: 196px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 560px); margin: 24px auto 0; --s: 1; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .plus { display: none; }
  }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .nav-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-open .nav-list a { display: block; padding: 14px 4px; font-size: 17px; opacity: 1; border-bottom: 1px solid var(--line); }
  .nav-mobile-only { display: block; }
  .nav-open .nav-cta { margin-top: 12px; justify-content: center; padding: 14px; font-size: 16px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 20px; }
  .hero-actions .btn { width: 100%; }
  .glance-list > div { grid-template-columns: 1fr; gap: 4px; }
  .vs-head { display: none; }
  .vs-head, .vs-row { grid-template-columns: 1fr; gap: 8px; }
  .vs-row { padding-top: 8px; }
  .vs-row .vs-label { padding: 6px 0 0; }
  .vs-row > td { display: grid; grid-template-columns: 22px 1fr; }
  .vs-row > td::before { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
  .vs-row .vs-them::before { content: "Typical MSP"; }
  .vs-row .vs-us::before { content: "Quola Tech"; color: var(--orange); }
  .platforms { padding-bottom: 28px; }
  .stat dt { max-width: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 8px 0 8px 20px; }
  .stat:first-child, .stat:nth-child(3) { padding-left: 0; }
  .steps { padding-top: 0; gap: 0; }
  .steps::before { display: none; }
  .step { padding: 22px 0 22px 26px; border-left: 2px solid var(--line); }
  .step::before { top: 26px; left: -7px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
