/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  /* Surfaces (overridden by the "dark vs darker" tweak) */
  --bg:        #0a0a0b;
  --bg-elev:   #111114;
  --bg-card:   #131316;
  --bg-card-2: #17171b;

  /* Ink */
  --ink:       #f4f4f5;
  --ink-2:     #d4d4d8;
  --ink-3:     #a1a1aa;
  --ink-4:     #71717a;
  --ink-5:     #52525a;

  /* Lines */
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(255,255,255,0.12);
  --line-3:    rgba(255,255,255,0.20);

  /* Accent (overridden via tweak) */
  --accent:        #00E5FF;
  --accent-ink:    #001218;
  --accent-soft:   rgba(0, 229, 255, 0.14);
  --accent-glow:   rgba(0, 229, 255, 0.40);

  /* Semantic */
  --good:      #4ade80;
  --warn:      #f59e0b;
  --bad:       #ef4444;

  /* Type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body:    "Geist", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --maxw:      1240px;
  --pad-x:     32px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  color-scheme: dark;
}

/* ─── Reset + base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ─── Typography ────────────────────────────────────────────────────────── */
.h-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.h-eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: middle;
  box-shadow: 0 0 12px var(--accent-glow);
}

.h-display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
.h-display .accent { color: var(--accent); }
.h-display em {
  font-style: normal;
  background: linear-gradient(90deg, var(--ink), var(--ink-3));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h-section-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 56px;
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0 0 18px 0;
  text-wrap: balance;
}
.h-section-sub {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink-3);
  max-width: 720px;
  margin: 0;
  line-height: 1.5;
}

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 12px 32px -6px var(--accent-glow); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,0.03); }

.btn-arrow svg { width: 14px; height: 14px; transition: transform .15s; }
.btn-arrow:hover svg { transform: translateX(3px); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }

/* ─── Sections ──────────────────────────────────────────────────────────── */
section {
  position: relative;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
section:first-of-type { border-top: 0; }

.section-head { margin-bottom: 50px; max-width: 100%; }

/* ─── Card primitive ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ─── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 16.5px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--accent-ink);
  font-family: var(--f-mono); font-weight: 600; font-size: 13px;
  box-shadow: 0 0 18px var(--accent-glow);
}
.brand-tld { color: var(--ink-4); font-weight: 500; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--ink-3);
  font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
  transition: color .12s, background .12s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.04); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero { padding-top: 50px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.hero h1 { font-size: clamp(54px, 6.4vw, 86px); }
.hero-sub {
  margin: 24px 0 28px;
  font-size: 18px; line-height: 1.5;
  color: var(--ink-3);
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trustline {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-4); letter-spacing: 0.02em;
}
.hero-trustline .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.hero-trustline .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 8px var(--good);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero-visual {
  position: relative;
}
.hero-visual .sb {
  zoom: 1.1;
}

/* Apptunix strip on top of hero (when in "hero" mode) */
.apptunix-strip {
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 9px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-ink) 20%, transparent);
}
.apptunix-strip strong { font-weight: 700; }
.apptunix-strip a { text-decoration: underline; text-underline-offset: 2px; }

/* ─── PROBLEM (Old vs New) ──────────────────────────────────────────────── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  position: relative;
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.compare-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-4);
}
.compare-head.is-new { color: var(--accent); }
.compare-head .tag {
  font-family: var(--f-body); font-weight: 500;
  font-size: 11px; letter-spacing: 0;
  padding: 3px 8px; border-radius: 5px;
  background: rgba(255,255,255,0.06); color: var(--ink-3);
  text-transform: none;
}
.compare-head.is-new .tag {
  background: var(--accent-soft); color: var(--accent);
}
.compare-list { list-style: none; margin: 0; padding: 0; }
.compare-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.compare-list li:last-child { border-bottom: 0; }
.compare-list .icon {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 6px;
}
.compare-list.is-old .icon { background: rgba(239,68,68,0.12); color: #ff7373; }
.compare-list.is-new .icon { background: var(--accent-soft); color: var(--accent); }
.compare-list li .text { color: var(--ink-2); }
.compare-list li .text small {
  display: block;
  font-size: 13px; color: var(--ink-4); margin-top: 3px;
}
.compare-list.is-old li .text { color: var(--ink-3); }

/* Why-weekly band under the compare */
.why-band {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.why-band > div {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.why-band > div:last-child { border-right: 0; }
.why-band h4 {
  margin: 0 0 4px 0;
  font-family: var(--f-display); font-size: 20px;
  font-weight: 600; letter-spacing: -0.012em;
}
.why-band p { margin: 0; font-size: 13.5px; color: var(--ink-4); line-height: 1.45; }
.why-band .num {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* ─── SOLUTION ──────────────────────────────────────────────────────────── */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}
.deliver-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deliver-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.deliver-item:hover { border-color: var(--line-2); background: var(--bg-card-2); }
.deliver-item .ico {
  width: 28px; height: 28px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--accent-soft); color: var(--accent);
}
.deliver-item h5 {
  margin: 0 0 2px 0;
  font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.deliver-item p {
  margin: 0; font-size: 12.5px; color: var(--ink-4);
  line-height: 1.4;
}

/* Slack column wrapper */
.slack-wrap {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 580px;
}

/* ─── HOW IT WORKS ──────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.step::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}
.step-num {
  position: relative;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--accent); letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step h3 {
  position: relative;
  margin: 0 0 8px 0;
  font-family: var(--f-display); font-size: 26px;
  font-weight: 600; letter-spacing: -0.015em;
}
.step p {
  position: relative;
  margin: 0 0 24px 0; color: var(--ink-3); font-size: 15px;
}
.step-illo {
  position: relative;
  height: 130px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elev);
  overflow: hidden;
}

/* ─── AI STACK ──────────────────────────────────────────────────────────── */
.stack-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}
.stack-tile {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 18px;
  border-right: 1px solid var(--line);
  transition: background .15s;
  cursor: default;
}
.stack-tile:last-child { border-right: 0; }
.stack-tile:hover { background: var(--bg-card-2); }
.stack-tile .logo {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--ink-2);
}
.stack-tile .label {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.02em;
}
.stack-tile .role {
  font-size: 11px; color: var(--ink-5); letter-spacing: 0.02em;
}

/* ─── PRICING ───────────────────────────────────────────────────────────── */
.price-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.price-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
}
.price-toggle button {
  position: relative; z-index: 1;
  height: 32px;
  padding: 0 16px;
  border: 0; background: transparent;
  color: var(--ink-3); font-size: 13px; font-weight: 500;
  border-radius: 7px;
  cursor: pointer;
  transition: color .15s;
  font-family: inherit;
}
.price-toggle button[data-on="1"] { color: var(--accent-ink); }
.price-toggle .thumb {
  position: absolute; top: 4px; bottom: 4px;
  background: var(--accent); border-radius: 7px;
  transition: left .2s cubic-bezier(.3,.7,.4,1), width .2s;
}
.price-toggle button .toggle-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
  vertical-align: 1px;
  transition: background .15s, color .15s;
}
.price-toggle button[data-on="1"] .toggle-badge {
  background: color-mix(in srgb, var(--accent-ink) 18%, transparent);
  color: var(--accent-ink);
}
.price-card .psub .strike {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.7;
  margin-right: 2px;
}

.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.price-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 32px 28px 28px;
  position: relative;
  transition: border-color .15s, transform .15s;
}
.price-card:hover { border-color: var(--line-2); }
.price-card.is-featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--bg-card)) 0%, var(--bg-card) 60%);
  border-color: var(--accent);
  box-shadow: 0 24px 60px -24px var(--accent-glow);
}
.price-card .ribbon {
  position: absolute; top: -10px; right: 24px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px;
}
.price-card .pname {
  font-family: var(--f-display); font-size: 22px;
  font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 4px 0;
}
.price-card .pbest {
  font-size: 13px; color: var(--ink-4); margin: 0 0 24px 0;
}
.price-card .pprice {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-card .pprice .num {
  font-family: var(--f-display);
  font-size: 56px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1;
}
.price-card .pprice .per {
  font-size: 14px; color: var(--ink-4);
}
.price-card .psub {
  font-size: 12.5px; color: var(--ink-5);
  margin: 0 0 24px 0;
  font-family: var(--f-mono);
}
.price-card .pfrom {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-5);
  margin: 0 0 4px 0;
}
.price-card.is-scalable .pprice .num {
  font-size: 48px;
}
.dev-stepper {
  margin: 0 0 20px 0;
  padding: 14px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}
.dev-stepper-label {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.dev-stepper-meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-5);
  letter-spacing: 0.02em;
}
.dev-stepper-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.dev-step-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-card);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
  padding: 0;
}
.dev-step-btn svg { width: 14px; height: 14px; }
.dev-step-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.dev-step-btn:active:not(:disabled) { transform: scale(0.94); }
.dev-step-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.dev-step-val {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-family: var(--f-display);
  letter-spacing: -0.01em;
}
.dev-step-val strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
  text-align: center;
}
.dev-step-unit {
  font-family: var(--f-base, inherit);
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
}
.pfeatures-note {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--ink-3) !important;
  font-size: 12.5px !important;
}
.check-plus {
  background: color-mix(in srgb, var(--accent) 16%, transparent) !important;
  color: var(--accent) !important;
}
.price-card .pcta {
  margin-bottom: 24px;
}
.price-card .pcta .btn { width: 100%; justify-content: center; }
.price-card .pfeatures {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card .pfeatures li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink-2);
}
.price-card .pfeatures .check {
  flex-shrink: 0; width: 16px; height: 16px;
  margin-top: 2px; color: var(--accent);
}

.price-foot {
  margin-top: 28px;
  text-align: center;
}
.price-foot-row {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 12.5px;
  color: var(--ink-3); letter-spacing: 0.02em;
}
.price-foot-row span { display: inline-flex; align-items: center; gap: 8px; }
.price-foot-row svg { color: var(--accent); }

/* ─── SOCIAL PROOF ──────────────────────────────────────────────────────── */
.proof-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 0%, var(--accent-soft) 0%, transparent 50%),
    var(--bg-card);
  padding: 56px 56px;
  overflow: hidden;
}
.proof-eyebrow {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--accent); letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.proof-title {
  font-family: var(--f-display);
  font-size: 44px; font-weight: 600;
  letter-spacing: -0.022em; line-height: 1.04;
  margin: 0 0 16px 0;
  max-width: 100%;
}
.proof-sub {
  font-size: 17px; color: var(--ink-3);
  max-width: 700px;
  margin: 0 0 48px 0;
}
.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.proof-stat {
  padding: 28px 8px 8px;
  border-right: 1px solid var(--line);
}
.proof-stat:last-child { border-right: 0; }
.proof-stat .big {
  font-family: var(--f-display);
  font-size: 56px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-stat .big .unit {
  font-size: 24px; color: var(--ink-3);
  -webkit-text-fill-color: var(--ink-3);
}
.proof-stat .lbl {
  margin-top: 10px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-4); letter-spacing: 0.04em;
}
.proof-industries {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.proof-industries .chip {
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-3);
}

/* ─── USE CASES ─────────────────────────────────────────────────────────── */
.cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: border-color .15s, background .15s;
  min-height: 156px;
  display: flex; flex-direction: column;
}
.case-card:hover { border-color: var(--line-2); background: var(--bg-card-2); }
.case-card .ico {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 7px;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.case-card h4 {
  margin: 0 0 4px 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: 16px; letter-spacing: -0.01em;
}
.case-card p {
  margin: 0; font-size: 13px; color: var(--ink-4); line-height: 1.4;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-wrap {
  display: grid; align-items:flex-start; grid-template-columns: 1fr 1.4fr; gap: 64px;
}
.faq-wrap>div:not([class]){
  position: sticky; top: 100px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent; border: 0; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  color: var(--ink); font-family: inherit;
  font-size: 17px; font-weight: 500; letter-spacing: -0.005em;
  text-align: left;
  cursor: pointer;
}
.faq-q .chev {
  width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .25s, background .15s, border-color .15s, color .15s;
  color: var(--ink-3);
}
.faq-item.open .faq-q .chev {
  transform: rotate(45deg);
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  color: var(--ink-3); font-size: 15px; line-height: 1.55;
}
.faq-item.open .faq-a {
  max-height: 420px;
  padding: 0 0 22px 0;
}

/* ─── FOOTER CTA ────────────────────────────────────────────────────────── */
.cta-band {
  padding: 96px 0 0;
  border-top: 1px solid var(--line);
}
.cta-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  background:
    radial-gradient(circle at 80% 50%, var(--accent-soft) 0%, transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta-wrap::before {
  content: ""; position: absolute;
  top: -2px; right: -2px; bottom: -2px; width: 2px;
  background: linear-gradient(180deg, transparent 20%, var(--accent) 50%, transparent 80%);
}
.cta-wrap h2 {
  font-family: var(--f-display);
  font-size: 56px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.02;
  margin: 0 0 18px 0;
  max-width: 100%;
}
.cta-wrap p {
  font-size: 18px; color: var(--ink-3);
  max-width: 600px; margin: 0 0 32px 0;
}

.footer {
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-col h6 {
  margin: 0 0 14px 0;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-5);
}
.footer-col a {
  display: block;
  font-size: 14px; color: var(--ink-3);
  padding: 6px 0;
  transition: color .12s;
}
.footer-col a:hover { color: var(--ink); }
.footer-tag {
  font-size: 13px; color: var(--ink-4);
  max-width: 320px; line-height: 1.55;
  margin: 14px 0 0 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--ink-5); letter-spacing: 0.02em;
}
.footer-apptunix {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-3);
}
.footer-apptunix strong { color: var(--ink); font-weight: 600; }

/* ─── Animations / utility ──────────────────────────────────────────────── */
@keyframes float-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1; transform: translateY(0);
}

/* Stagger reveal delays via inline style? Use children selector here */
.reveal-stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .22s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .34s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .46s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: .52s; }

/* Grid background helper (used on hero and some sections) */
.bg-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Responsive (rough — design is 1280) */
@media (max-width: 1100px) {
  .hero-grid, .solution-grid, .faq-wrap { grid-template-columns: 1fr; }
  .stack-bar { grid-template-columns: repeat(4, 1fr); }
  .stack-tile:nth-child(4) { border-right: 0; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .why-band { grid-template-columns: repeat(2, 1fr); }
  .why-band > div { border-bottom: 1px solid var(--line); }
}
