/* ──────────────────────────────────────────────
 * Accelerate landing — site styles
 * Built on top of Ascend OS tokens.
 * ────────────────────────────────────────────── */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: var(--font-sans); color: var(--fg); min-width: 1280px; }

a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

/* layout shell */
.page { width: 1440px; margin: 0 auto; }

/* ── Topbar ─────────────────────────────────────── */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 48px;
  background: var(--bg-ink); color: #fff;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
}
.topbar .left { display: flex; gap: 24px; align-items: center; }
.topbar .right { display: flex; gap: 20px; opacity: 0.8; }
.topbar .dot { width: 6px; height: 6px; background: var(--aos-success-1); display: inline-block; }

/* ── Nav ────────────────────────────────────────── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .wm { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.nav .crumb {
  display: flex; align-items: center; gap: 10px; margin-left: 24px;
  padding-left: 24px; border-left: 1px solid var(--border);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
}
.nav .crumb .pill {
  background: var(--aos-austin-orange-tint); color: var(--aos-austin-orange-100);
  padding: 4px 10px; clip-path: var(--chamfer-all-12);
}
.nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em; }
.nav ul li { cursor: pointer; }
.nav ul li.active { color: var(--aos-lviv-blue-100); }
.nav .actions { display: flex; align-items: center; gap: 20px; }
.nav .actions .icon { color: var(--fg-subtle); display: inline-flex; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 0; cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
}
.btn-primary { background: var(--aos-lviv-blue-100); color: #fff; clip-path: var(--chamfer-all-12); }
.btn-primary:hover { background: #0e6fa5; }
.btn-dark { background: var(--bg-ink); color: #fff; clip-path: var(--chamfer-all-12); }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--aos-austin-orange-100); color: #fff; clip-path: var(--chamfer-all-12); }
.btn-ghost { background: transparent; color: var(--fg); border-bottom: 2px solid var(--fg); padding: 13px 0; }
.btn-outline {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border);
  clip-path: var(--chamfer-all-12);
}
.btn-outline:hover { background: var(--bg-muted); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 48px 72px;
  background:
    linear-gradient(90deg, #FFFFFF 0%, #F4F9FD 30%, #E1ECF5 55%, #C1DFF4 78%, #459FDD 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: end; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted);
  margin-bottom: 28px;
}
.hero .eyebrow::before { content:""; width: 36px; height: 2px; background: var(--fg); }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 124px; line-height: 0.92; letter-spacing: -0.02em;
  margin: 0; color: var(--fg);
}
.hero h1 .line2 { display: block; }
.hero h1 em { font-style: normal; color: var(--aos-lviv-blue-100); }
.hero .lead {
  font-family: var(--font-sans); font-size: 19px; line-height: 1.5;
  color: var(--fg-muted); margin: 32px 0 36px; max-width: 540px;
}
.hero .cta-row { display: flex; gap: 16px; align-items: center; }
.hero .hero-meta {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 640px;
}
.hero .hero-meta .k {
  font-family: var(--font-display); font-weight: 400;
  font-size: 44px; line-height: 1; letter-spacing: -0.01em;
}
.hero .hero-meta .l {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-subtle); margin-top: 8px;
}

/* Hero visual — abstract flow graph */
.hero-visual {
  position: relative; aspect-ratio: 1/1;
  background: linear-gradient(155deg, #0a1a2a 0%, #163756 35%, #1485C4 75%, #C1DFF4 100%);
  clip-path: polygon(64px 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%, 0 64px);
  overflow: hidden;
}
.hero-visual svg { width: 100%; height: 100%; display: block; }
.hero-visual .badge {
  position: absolute; left: 28px; top: 28px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  color: #fff; padding: 8px 14px; clip-path: var(--chamfer-all-12);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; gap: 8px;
}
.hero-visual .badge .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aos-success-1); box-shadow: 0 0 0 0 var(--aos-success-1);
  animation: pulse 1.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(32,224,119,0.6); }
  100% { box-shadow: 0 0 0 10px rgba(32,224,119,0); }
}
.hero-visual .stat-overlay {
  position: absolute; left: 28px; bottom: 28px; color: #fff;
}
.hero-visual .stat-overlay .n {
  font-family: var(--font-display); font-weight: 400; font-size: 64px;
  line-height: 1; letter-spacing: -0.01em;
}
.hero-visual .stat-overlay .c {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 10px; opacity: 0.85; max-width: 280px;
}

/* ── Strip / KPI ────────────────────────────────── */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.strip .cell {
  padding: 32px 32px; border-right: 1px solid var(--border);
}
.strip .cell:last-child { border-right: 0; }
.strip .cell .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-subtle); margin-bottom: 12px;
}
.strip .cell .n {
  font-family: var(--font-display); font-weight: 400; font-size: 48px;
  line-height: 1; letter-spacing: -0.01em;
}
.strip .cell .l {
  font-family: var(--font-sans); font-size: 14px;
  color: var(--fg-muted); margin-top: 10px; max-width: 260px;
}

/* ── Section heads ──────────────────────────────── */
.section { padding: 96px 48px; border-bottom: 1px solid var(--border); }
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--bg-ink); color: #fff; border-bottom: 0; }
.section.dark .sec-head h2 { color: #fff; }
.section.dark .sec-head .eyebrow { color: rgba(255,255,255,0.7); }
.section.dark .sec-head .eyebrow::before { background: rgba(255,255,255,0.4); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 48px; }
.sec-head .eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-subtle);
  margin-bottom: 20px;
}
.sec-head .eyebrow::before { content:""; width: 36px; height: 2px; background: var(--fg); }
.sec-head h2 {
  font-family: var(--font-sans); font-weight: 400;
  font-size: 56px; line-height: 1.04; letter-spacing: -0.015em;
  margin: 0; max-width: 820px; color: var(--fg);
}
.sec-head .right-block { max-width: 360px; }
.sec-head .right-block p { font-size: 15px; color: var(--fg-muted); margin: 0 0 16px; }
.sec-head .right-block .link {
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--fg); border-bottom: 2px solid var(--fg); padding-bottom: 4px;
}

/* ── Architecture (the framework) ───────────────── */
.arch-wrap {
  background: #fff;
  border: 1px solid var(--border);
  padding: 48px;
  clip-path: var(--chamfer-diagonal-24);
}
.arch-layer { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: stretch; }
.arch-layer + .arch-layer { margin-top: 36px; padding-top: 36px;
  border-top: 1px dashed var(--border); }
.arch-label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-subtle);
  display: flex; align-items: center; justify-content: center;
  border-right: 2px solid var(--fg);
  padding: 0 12px 0 0;
}
.arch-box {
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 16px 20px;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px;
}
.arch-box .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
  display: block; margin-bottom: 4px;
}
.arch-box.tall { min-height: 100%; flex-direction: column; gap: 8px; }
.arch-box.dark { background: var(--bg-ink); color: #fff; border-color: var(--bg-ink); }
.arch-box.dark .cap { color: rgba(255,255,255,0.7); }
.arch-box.accent { background: var(--aos-austin-orange-100); color: #fff; border-color: var(--aos-austin-orange-100); }
.arch-box.accent .cap { color: rgba(255,255,255,0.9); }
.arch-box.blue { background: var(--aos-lviv-blue-tint); border-color: var(--aos-lviv-blue-50); }
.arch-box.chamfer-all { clip-path: var(--chamfer-all-12); border: 0; }
.arch-box.chamfer-diag { clip-path: var(--chamfer-diagonal-12); border: 0; }

.arch-row { display: grid; gap: 12px; }
.arch-stack { display: flex; flex-direction: column; gap: 12px; }

/* Center orchestration wheel */
.orch-wheel {
  position: relative; aspect-ratio: 1/1; max-width: 380px; margin: 0 auto;
}
.orch-wheel svg { width: 100%; height: 100%; }
.orch-wheel .wheel-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; pointer-events: none;
}
.orch-wheel .wheel-center .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  max-width: 70%;
}
.orch-wheel .wheel-center .em {
  font-family: var(--font-sans); font-weight: 700; font-size: 13px;
  color: #fff; text-transform: uppercase;
  letter-spacing: 0.02em; margin-top: 4px;
  max-width: 80%; line-height: 1.05;
}
.wheel-label {
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  fill: var(--fg);
}
.wheel-cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 9px;
  fill: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Demo (the big one) ─────────────────────────── */
.demo-panel {
  background: var(--bg-ink); color: #fff;
  clip-path: var(--chamfer-diagonal-24);
  overflow: hidden;
}
.demo-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: #1a1d20;
  border-bottom: 1px solid #2c3033;
}
.demo-bar .left { display: flex; align-items: center; gap: 14px; }
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dots span { width: 10px; height: 10px; background: #444; border-radius: 50%; }
.demo-bar .title {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #aab;
}
.demo-bar .ctrl { display: flex; gap: 8px; }
.demo-bar .ctrl button {
  background: transparent; color: #d0d6db; border: 1px solid #2c3033;
  padding: 7px 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  clip-path: var(--chamfer-all-12);
  display: inline-flex; align-items: center; gap: 6px;
}
.demo-bar .ctrl button:hover { background: #24272a; }
.demo-bar .ctrl button.primary { background: var(--aos-lviv-blue-100); color: #fff; border-color: var(--aos-lviv-blue-100); }
.demo-bar .ctrl button.primary:hover { background: #0e6fa5; }
.demo-bar .ctrl button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Scenario tabs */
.scen-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #1a1d20;
  border-bottom: 1px solid #2c3033;
}
.scen-tabs .tab {
  padding: 18px 20px; cursor: pointer; border-right: 1px solid #2c3033;
  position: relative;
}
.scen-tabs .tab:last-child { border-right: 0; }
.scen-tabs .tab .num {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  letter-spacing: 0.08em; color: #6a7178;
}
.scen-tabs .tab .name {
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  color: #d8dde2; margin-top: 6px; line-height: 1.25;
}
.scen-tabs .tab.active { background: #24272a; }
.scen-tabs .tab.active .num { color: var(--aos-lviv-blue-75); }
.scen-tabs .tab.active .name { color: #fff; }
.scen-tabs .tab.active::after {
  content:""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--aos-austin-orange-100);
}

.demo-stage {
  display: grid; grid-template-columns: 1fr 320px; gap: 0; min-height: 700px;
}
.demo-canvas {
  position: relative; padding: 24px 24px 16px;
  background:
    radial-gradient(circle at 20% 30%, rgba(20,133,196,0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(244,106,74,0.08), transparent 50%),
    #0f1316;
  overflow: hidden;
}
.demo-canvas::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.stage-cols {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px;
  margin-bottom: 12px;
}
.stage-col-head {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #6a7178;
  text-align: center; padding: 4px 0 8px;
  border-bottom: 1px solid #25292d;
}
.stage-col-head .n { color: var(--aos-lviv-blue-75); margin-right: 6px; }

.flow-area { position: relative; z-index: 1; height: 510px; }
.flow-area svg.flow-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.flow-area .agent {
  position: absolute; width: 168px;
  background: #181c1f;
  border: 1px solid #2a2f33;
  padding: 10px 12px;
  clip-path: var(--chamfer-all-12);
  transition: all var(--dur-med) var(--ease-out);
}
.flow-area .agent .row1 { display: flex; align-items: center; gap: 8px; }
.flow-area .agent .ic {
  width: 26px; height: 26px;
  background: #232831; color: var(--aos-lviv-blue-75);
  display: inline-flex; align-items: center; justify-content: center;
  clip-path: var(--chamfer-all-6, polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px));
}
.flow-area .agent .name {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px;
  color: #d8dde2; line-height: 1.15;
}
.flow-area .agent .meta {
  font-family: var(--font-mono); font-weight: 700; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.06em; color: #6a7178;
  margin-top: 6px; display: flex; align-items: center; gap: 6px;
}
.flow-area .agent .meta .dot {
  width: 5px; height: 5px; border-radius: 50%; background: #4a5057;
}
.flow-area .agent.status-idle .meta .dot { background: #4a5057; }
.flow-area .agent.status-queued .meta .dot { background: var(--aos-lviv-blue-75); }
.flow-area .agent.status-active .meta .dot {
  background: var(--aos-austin-orange-100);
  box-shadow: 0 0 0 0 var(--aos-austin-orange-100);
  animation: pulse-orange 1.4s var(--ease-out) infinite;
}
.flow-area .agent.status-done .meta .dot { background: var(--aos-success-1); }
@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(244,106,74,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(244,106,74,0); }
}
.flow-area .agent.status-active {
  background: #1a2329; border-color: var(--aos-austin-orange-100);
  box-shadow: 0 0 0 1px var(--aos-austin-orange-100), 0 6px 24px rgba(244,106,74,0.25);
}
.flow-area .agent.status-active .ic { background: var(--aos-austin-orange-100); color: #fff; }
.flow-area .agent.status-done {
  border-color: #1a4a35;
}
.flow-area .agent.status-done .ic { color: var(--aos-success-1); }
.flow-area .agent.status-queued {
  border-color: var(--aos-lviv-blue-100);
}

.flow-area .packet {
  position: absolute; pointer-events: none; z-index: 5;
  transform: translate(-50%, -50%);
}
.flow-area .packet .core {
  width: 12px; height: 12px; background: var(--aos-austin-orange-100);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(244,106,74,0.25),
    0 0 16px rgba(244,106,74,0.8);
}

.demo-sidebar {
  background: #16191c; border-left: 1px solid #2a2f33;
  display: flex; flex-direction: column; min-height: 100%;
}
.demo-sidebar .sb-head {
  padding: 16px 20px; border-bottom: 1px solid #2a2f33;
}
.demo-sidebar .sb-head .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #6a7178;
}
.demo-sidebar .sb-head .title {
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  color: #fff; margin-top: 6px; line-height: 1.3;
}
.demo-sidebar .sb-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid #2a2f33;
}
.demo-sidebar .sb-meta .cell .l {
  font-family: var(--font-mono); font-weight: 700; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.06em; color: #6a7178;
}
.demo-sidebar .sb-meta .cell .v {
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  color: #fff; margin-top: 4px;
}

/* Log */
.demo-log {
  flex: 1; overflow-y: auto; padding: 12px 16px 20px;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.55;
}
.demo-log .entry {
  display: grid; grid-template-columns: 60px 16px 1fr; gap: 8px;
  align-items: baseline; padding: 6px 0;
  border-bottom: 1px dashed #23272a;
}
.demo-log .entry .ts { color: #6a7178; font-weight: 500; }
.demo-log .entry .marker { color: var(--aos-lviv-blue-75); }
.demo-log .entry .msg { color: #d0d6db; }
.demo-log .entry .msg b { color: #fff; font-weight: 700; }
.demo-log .entry.ok .marker { color: var(--aos-success-1); }
.demo-log .entry.warn .marker { color: var(--aos-austin-orange-100); }
.demo-log .entry.err .marker { color: var(--aos-error-1); }

/* Timeline / progress under canvas */
.demo-timeline {
  padding: 12px 24px 18px;
  display: flex; align-items: center; gap: 16px;
  background: #0f1316; border-top: 1px solid #25292d;
}
.demo-timeline .bar {
  position: relative; flex: 1; height: 4px; background: #25292d;
}
.demo-timeline .bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--aos-lviv-blue-100), var(--aos-austin-orange-100));
  transition: width 200ms linear;
}
.demo-timeline .step-label {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #aab;
  min-width: 130px;
}
.demo-timeline .step-label b { color: #fff; }
.demo-timeline .speed { display: flex; gap: 4px; }
.demo-timeline .speed button {
  background: transparent; color: #aab; border: 1px solid #2c3033;
  padding: 6px 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  clip-path: var(--chamfer-all-6, polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px));
}
.demo-timeline .speed button.on { background: #24272a; color: #fff; border-color: #3a3f44; }

/* Scenario summary band under demo */
.scen-summary {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.scen-summary .cell { padding: 24px 28px; border-right: 1px solid var(--border); }
.scen-summary .cell:last-child { border-right: 0; }
.scen-summary .cell .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-subtle);
}
.scen-summary .cell .v {
  font-family: var(--font-display); font-weight: 400; font-size: 32px;
  color: var(--fg); margin-top: 8px; line-height: 1;
}
.scen-summary .cell .sub {
  font-family: var(--font-sans); font-size: 13px;
  color: var(--fg-muted); margin-top: 8px; max-width: 220px;
}

/* ── Tech stack ─────────────────────────────────── */
.tech-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 32px;
}
.tech-spine {
  position: relative;
  background: var(--bg-ink); color: #fff;
  padding: 32px 28px;
  clip-path: var(--chamfer-diagonal-24);
}
.tech-spine h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 18px;
  text-transform: uppercase; color: #fff; margin: 0 0 12px;
}
.tech-spine p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0 0 24px; }
.tech-spine .arch-layer-mini {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px;
}
.tech-spine .arch-layer-mini .l-cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.08em; color: #aab;
}
.tech-spine .arch-layer-mini .l-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 14px;
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
}
.tech-spine .arch-layer-mini .l-box.active {
  background: rgba(20,133,196,0.22); border-color: var(--aos-lviv-blue-75);
}

.tech-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.tech-card {
  background: #fff; border: 1px solid var(--border);
  padding: 24px;
  clip-path: var(--chamfer-diagonal-12);
  display: flex; flex-direction: column;
  min-height: 200px;
}
.tech-card .head { display: flex; align-items: center; gap: 12px; }
.tech-card .logo {
  width: 36px; height: 36px;
  background: var(--bg-muted);
  display: inline-flex; align-items: center; justify-content: center;
  clip-path: var(--chamfer-all-6, polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px));
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--fg);
}
.tech-card .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
}
.tech-card h4 {
  font-family: var(--font-sans); font-weight: 500; font-size: 18px;
  margin: 12px 0 0; color: var(--fg); letter-spacing: -0.005em;
}
.tech-card p {
  font-size: 13px; color: var(--fg-muted); margin: 10px 0 0; line-height: 1.45;
}
.tech-card .role {
  margin-top: auto;
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--aos-lviv-blue-100);
  padding-top: 14px; border-top: 1px solid var(--border);
}

/* ── Animation reel (the “upload to show how it works”) ── */
.reel {
  background: var(--bg-soft); padding: 32px;
  clip-path: var(--chamfer-diagonal-24);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
}
.reel-stage {
  background: linear-gradient(180deg, #0d1014 0%, #1a2128 100%);
  clip-path: var(--chamfer-diagonal-24);
  position: relative; min-height: 380px; overflow: hidden;
}
.reel-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-side .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-subtle);
}
.reel-side h3 {
  font-family: var(--font-sans); font-weight: 400; font-size: 32px;
  color: var(--fg); margin: 10px 0 14px; letter-spacing: -0.01em;
  text-transform: none;
}
.reel-side p { font-size: 14px; color: var(--fg-muted); margin: 0 0 18px; }
.reel-side ol {
  list-style: none; counter-reset: rs; padding: 0; margin: 0;
}
.reel-side ol li {
  counter-increment: rs;
  padding: 12px 0 12px 36px; position: relative;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans); font-size: 14px; color: var(--fg);
}
.reel-side ol li::before {
  content: counter(rs, decimal-leading-zero);
  position: absolute; left: 0; top: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  color: var(--aos-lviv-blue-100);
}
.reel-side ol li b { display: block; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.reel-side ol li:last-child { border-bottom: 1px solid var(--border); }

/* upload zone */
.upload {
  margin-top: 18px; padding: 16px;
  border: 1px dashed var(--border); background: #fff;
  clip-path: var(--chamfer-diagonal-12);
  display: flex; align-items: center; gap: 14px;
}
.upload .ic {
  width: 36px; height: 36px; background: var(--aos-lviv-blue-tint);
  color: var(--aos-lviv-blue-100);
  display: inline-flex; align-items: center; justify-content: center;
  clip-path: var(--chamfer-all-6, polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px));
}
.upload .t {
  font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--fg);
}
.upload .t small {
  display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-subtle); margin-top: 4px;
}
.upload .link {
  margin-left: auto;
  font-family: var(--font-sans); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--aos-lviv-blue-100); border-bottom: 1px solid var(--aos-lviv-blue-100);
  padding-bottom: 2px; cursor: pointer;
}

/* ── Outcomes ───────────────────────────────────── */
.outcomes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.outcome-card {
  background: #fff; border: 1px solid var(--border);
  padding: 32px 28px;
  clip-path: var(--chamfer-diagonal-24);
  display: flex; flex-direction: column; min-height: 320px;
}
.outcome-card.dark { background: var(--bg-ink); color: #fff; border-color: var(--bg-ink); }
.outcome-card.accent { background: var(--aos-austin-orange-100); color: #fff; border-color: var(--aos-austin-orange-100); }
.outcome-card .cap {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
}
.outcome-card.dark .cap { color: rgba(255,255,255,0.7); }
.outcome-card.accent .cap { color: rgba(255,255,255,0.9); }
.outcome-card .n {
  font-family: var(--font-display); font-weight: 400; font-size: 88px;
  line-height: 1; letter-spacing: -0.01em; margin-top: 8px;
}
.outcome-card .sub {
  font-family: var(--font-sans); font-size: 15px; color: var(--fg-muted);
  margin-top: 16px; max-width: 320px; line-height: 1.45;
}
.outcome-card.dark .sub { color: rgba(255,255,255,0.75); }
.outcome-card.accent .sub { color: rgba(255,255,255,0.95); }
.outcome-card .foot {
  margin-top: auto; padding-top: 24px;
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── CTA Band ───────────────────────────────────── */
.cta-band {
  position: relative; padding: 96px 48px;
  background: linear-gradient(110deg, #0d1014 0%, #19354f 50%, #1485C4 100%);
  color: #fff; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -160px; bottom: -160px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(244,106,74,0.45), transparent 60%);
}
.cta-band-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 72px;
  line-height: 1.02; letter-spacing: -0.015em; margin: 0; color: #fff;
}
.cta-band h2 em { font-style: normal; color: var(--aos-austin-orange-75); }
.cta-band .actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band .sub {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}

/* ── Footer ─────────────────────────────────────── */
footer.foot { background: var(--bg-soft); padding: 64px 48px 24px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.foot-grid h5 {
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
  margin: 0 0 14px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-grid p { font-size: 14px; color: var(--fg-muted); margin: 12px 0 0; max-width: 320px; }
.foot-legal {
  display: flex; justify-content: space-between; padding-top: 20px;
  font-family: var(--font-mono); font-weight: 500; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
}
