/* styles.css — Printflow landing */

:root {
  --brand: #F26B1F;
  --brand-glow: #F26B1F55;
  --brand-soft: #F26B1F1A;
  --brand-line: #F26B1F33;
  --bg:   #FAFAF7;
  --bg-2: #F2F0EB;
  --surface: #FFFFFF;
  --text-1: #0F0F0F;
  --text-2: rgba(15,15,15,0.65);
  --text-3: rgba(15,15,15,0.42);
  --line:   rgba(15,15,15,0.08);
  --line-strong: rgba(15,15,15,0.14);
  --card:   #FFFFFF;
  --card-2: #F7F5F0;
  --ink:    #0F0F0F;
  --paper:  #FAFAF7;
  --font-h: 'Plus Jakarta Sans', system-ui, sans-serif;
  --density: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

.page { min-height: 100vh; overflow-x: hidden; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-h);
  letter-spacing: -0.01em;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 20px var(--brand-glow);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 28px var(--brand-glow); }
.btn-ghost {
  background: var(--surface); color: var(--text-1);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--card-2); }
.btn-ghost-on-dark {
  background: rgba(255,255,255,0.08); color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-ghost-on-dark:hover { background: rgba(255,255,255,0.14); }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-links {
  display: flex; gap: 8px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 14px; border-radius: 999px; color: var(--text-2);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); background: var(--card-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 4px 12px var(--brand-glow);
  flex-shrink: 0;
}
.nav-logo-name { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; color: var(--text-1); }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ── Section primitives ──────────────────────────────────────────── */
section { position: relative; padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: left; }
.section-head-row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px;
}
.section-tag {
  display: inline-block; font-family: var(--font-h);
  font-size: 13px; font-weight: 600;
  color: var(--brand); letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.section-sub {
  font-size: 17px; color: var(--text-2);
  line-height: 1.5;
  max-width: 560px;
  margin: 0;
}
.section-sub-narrow { max-width: 380px; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 60px 0 100px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-h);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--brand-line);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3px rgba(242,107,31,0.25);
}
.display {
  font-family: var(--font-h);
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 22px;
}
.display-center { text-align: center; max-width: 920px; margin-left: auto; margin-right: auto; margin-bottom: 22px; }
.display-huge { font-size: clamp(44px, 7vw, 92px); }
.accent-wrap { position: relative; display: inline-block; }
.accent-text { color: var(--brand); }
.accent-underline {
  position: absolute; left: -2%; right: -2%; bottom: -0.05em;
  width: 104%; height: 0.2em; pointer-events: none;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 0 32px;
}
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas-center { justify-content: center; }
.trust-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 32px;
}
.trust-center { margin: 24px auto 0; text-align: center; }
.trust-avatars { display: flex; }
.trust-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  position: relative;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-avatar[data-i="0"] { background: linear-gradient(135deg, #F26B1F, #f5a06d); }
.trust-avatar[data-i="1"] { background: linear-gradient(135deg, #6B5544, #A8806B); }
.trust-avatar[data-i="2"] { background: linear-gradient(135deg, #4A5560, #6B7C8A); }
.trust-avatar[data-i="3"] { background: linear-gradient(135deg, #b34d16, #F26B1F); }
.trust-text { font-size: 13px; color: var(--text-2); max-width: 320px; line-height: 1.4; }

.hero-centered-inner { display: flex; flex-direction: column; align-items: center; }

/* Background grid + glow */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 80%);
}
.bg-grid-glow {
  position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, var(--brand-soft) 0%, transparent 60%);
  filter: blur(40px);
}

/* Hero screenshots stack */
.hero-screenshots {
  position: relative;
  width: 100%;
  padding-bottom: 120px;
  padding-right: 12px;
}

.hero-ss-back,
.hero-ss-front {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,.18), 0 8px 20px -8px rgba(0,0,0,.08);
}

.hero-ss-back {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 80%;
  transform: perspective(1000px) rotateX(1deg) rotateY(3deg) rotate(-1deg);
  transform-origin: bottom right;
  opacity: 0.92;
  z-index: 0;
}

.hero-ss-front {
  position: relative;
  width: 92%;
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
  transform-origin: top left;
  z-index: 1;
}

.hero-ss-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--card-2);
  border-bottom: 1px solid var(--line);
}

.hero-ss-chrome .preview-url {
  flex: 1; text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--text-3);
}

.hero-ss-back img,
.hero-ss-front img {
  width: 100%; height: auto; display: block;
}

@media (max-width: 980px) {
  .hero-screenshots { padding-right: 0; padding-bottom: 90px; }
  .hero-ss-back { right: 0; }
}

/* Hero preview — mock dashboard */
.hero-preview {
  position: relative;
  width: 100%;
}
.preview-frame {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 30px 60px -20px rgba(0,0,0,.18),
    0 12px 24px -8px rgba(0,0,0,.08);
  overflow: hidden;
  transform: perspective(1400px) rotateX(2deg) rotateY(-3deg);
  transform-origin: center center;
}
.preview-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--card-2);
  border-bottom: 1px solid var(--line);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.preview-dots i:nth-child(1) { background: #FF5F57; opacity: .8; }
.preview-dots i:nth-child(2) { background: #FEBC2E; opacity: .8; }
.preview-dots i:nth-child(3) { background: #28C840; opacity: .8; }
.preview-url {
  flex: 1; text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--text-3);
}
.preview-body {
  display: grid; grid-template-columns: 140px 1fr;
  min-height: 360px;
}
.preview-side {
  background: var(--card-2);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--line);
}
.preview-logo { display: flex; align-items: center; gap: 7px; padding: 4px 8px 14px; }
.preview-logo-mark { width: 16px; height: 16px; border-radius: 4px; background: var(--brand); }
.preview-logo span { font-weight: 700; font-size: 13px; letter-spacing: -0.02em; }
.preview-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11.5px; color: var(--text-2);
}
.preview-nav-item.active { background: var(--surface); color: var(--text-1); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.preview-nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
.preview-nav-item.active .preview-nav-dot { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.preview-main { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 14px; }
.preview-head { display: flex; align-items: flex-end; justify-content: space-between; }
.preview-eyebrow { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.preview-title { font-size: 14px; font-weight: 700; margin-top: 2px; }
.preview-pill {
  background: rgba(31,138,91,0.2);
  color: #1F8A5B; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
}
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.preview-card {
  padding: 10px 12px; border-radius: 10px;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.preview-card-l { font-size: 10px; color: var(--text-3); font-weight: 500; }
.preview-card-v { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 0; }
.preview-card-t { font-size: 10px; color: var(--brand); font-weight: 600; margin-top: 1px; }
.preview-chart { height: 72px; }
.preview-chart svg { width: 100%; height: 100%; }
.preview-rows { display: flex; flex-direction: column; gap: 4px; }
.preview-row {
  display: grid; grid-template-columns: 70px 1fr 70px;
  align-items: center; gap: 8px;
  padding: 7px 10px;
  font-size: 11px;
  border-radius: 7px;
  background: var(--card-2);
}
.preview-row-id { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; color: var(--text-3); }
.preview-row-c { font-weight: 500; color: var(--text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-row-s { text-align: right; font-weight: 600; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.preview-row-s-running { background: var(--brand-soft); color: var(--brand); }
.preview-row-s-done { background: rgba(31,138,91,0.18); color: #1F8A5B; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.18);
  font-size: 12px;
}
.float-card-1 { top: 30px; left: -28px; }
.float-card-2 { bottom: 40px; right: -32px; }
.float-card-ic {
  width: 22px; height: 22px; border-radius: 50%;
  background: #1F8A5B; color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.float-card-t { font-weight: 600; }
.float-card-s { font-size: 11px; color: var(--text-3); }
@media (max-width: 980px) {
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
}

/* ── Stats ───────────────────────────────────────────────────────── */
.stats { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
}
.stat-num {
  font-family: var(--font-h);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--brand);
  margin-bottom: 12px;
}
.stat-label { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.stat-note { font-size: 13px; color: var(--text-3); }

/* ── Modules ─────────────────────────────────────────────────────── */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .modules-grid { grid-template-columns: 1fr; } }
.module-card {
  position: relative;
  padding: 32px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  min-height: 360px;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.12);
}
.module-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--text-3); margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.module-name { font-family: var(--font-h); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.module-desc { font-size: 14.5px; color: var(--text-2); margin: 0 0 20px; line-height: 1.55; }
.module-bullets { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.module-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500;
}
.module-glyph { margin-top: auto; align-self: flex-end; opacity: .9; }
.module-glyph svg { width: 110px; height: 110px; }

/* ── Features deep dive ──────────────────────────────────────────── */
.features { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 36px;
}
.feat-tab {
  border: 0; background: transparent;
  font-family: var(--font-h);
  font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
  color: var(--text-2);
  transition: background .15s, color .15s;
}
.feat-tab:hover { color: var(--text-1); }
.feat-tab.active { background: var(--ink); color: var(--paper); }
.feat-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 36px; align-items: stretch;
}
@media (max-width: 980px) { .feat-body { grid-template-columns: 1fr; } }
.feat-list { display: flex; flex-direction: column; gap: 8px; }
.feat-item {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px; align-items: start;
  text-align: left;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  color: var(--text-1);
  transition: border-color .2s, background .2s;
}
.feat-item:hover { border-color: var(--brand-line); }
.feat-item.active {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--brand) inset, 0 8px 24px -10px var(--brand-glow);
}
.feat-item-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--text-3); padding-top: 4px;
}
.feat-item.active .feat-item-num { color: var(--brand); }
.feat-item-t { font-family: var(--font-h); font-weight: 700; font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
.feat-item-d { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.feat-item-arrow { color: var(--text-3); transition: color .15s, transform .15s; align-self: center; }
.feat-item.active .feat-item-arrow { color: var(--brand); transform: translateX(2px); }
.feat-preview { position: sticky; top: 100px; }
@media (max-width: 980px) { .feat-preview { position: static; } }
.feat-ph {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.10);
  animation: fadeIn .4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.feat-ph-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card-2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--text-3);
}
.feat-ph-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.feat-ph-chrome span { margin-left: auto; }
.feat-ph-body {
  flex: 1; position: relative;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, var(--brand-soft) 0 1px, transparent 1px 14px),
    var(--card-2);
}
.feat-ph-monolabel {
  position: relative;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; color: var(--text-2);
  background: var(--surface); padding: 8px 14px; border-radius: 8px;
  border: 1px dashed var(--line-strong);
  letter-spacing: 0.02em;
}
.feat-ph-img-wrap {
  overflow-y: auto;
  background: var(--bg-2);
}
.feat-ph-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Flow ────────────────────────────────────────────────────────── */
.flow-rail {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 900px) { .flow-rail { grid-template-columns: 1fr; gap: 16px; } }
.flow-line {
  position: absolute; top: 28px; left: 28px; right: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
@media (max-width: 900px) { .flow-line { display: none; } }
.flow-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.flow-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  color: var(--brand);
  display: grid; place-items: center;
  font-family: var(--font-h);
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 6px var(--bg);
}
.flow-step-card { padding: 20px 0 0; }
.flow-step-card h3 {
  font-family: var(--font-h);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.flow-step-card p {
  font-size: 14px; color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ── Compare ─────────────────────────────────────────────────────── */
.compare { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col { padding: 32px 32px 36px; }
.compare-col-old { background: var(--surface); color: var(--text-2); border-right: 1px solid var(--line); }
.compare-col-new { background: var(--ink); color: var(--paper); }
.compare-col-head { margin-bottom: 24px; }
.compare-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  font-family: var(--font-h);
}
.compare-badge-old { background: rgba(15,15,15,0.08); color: var(--text-2); }
.compare-badge-new { background: var(--brand); color: #fff; }
.compare-col ul { display: flex; flex-direction: column; gap: 16px; }
.compare-col li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; line-height: 1.5;
}
.compare-col li svg { flex-shrink: 0; margin-top: 2px; }
.compare-col-old li { text-decoration: line-through; text-decoration-color: var(--text-3); text-decoration-thickness: 1px; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { padding-bottom: 80px; }
.faq-list {
  max-width: 820px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  background: transparent; border: 0;
  font-family: var(--font-h);
  font-size: 17px; font-weight: 600;
  color: var(--text-1);
  text-align: left;
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--brand); }
.faq-plus {
  position: relative; flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-plus i {
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
  display: block;
}
.faq-plus i:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus i:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-a > p {
  overflow: hidden;
  margin: 0;
  font-size: 15px; color: var(--text-2);
  line-height: 1.6;
  padding-right: 40px;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { margin: 0 0 22px; }

/* ── Final CTA ───────────────────────────────────────────────────── */
.final-cta { padding: 60px 0 100px; }
.final-cta-card {
  position: relative;
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
  padding: 80px 32px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.final-cta-deco {
  position: absolute; inset: 0; pointer-events: none;
}
.final-cta-deco svg { width: 100%; height: 100%; }
.final-cta-body { position: relative; max-width: 720px; margin: 0 auto; }
.final-cta-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--paper);
}
.final-cta-sub {
  font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.5;
  max-width: 480px; margin: 0 auto 32px;
}
.final-cta-card .btn-primary { background: var(--brand); color: #fff; }
.final-cta-micro { font-size: 13px; color: rgba(255,255,255,.5); margin: 24px 0 0; }

/* ── Nav active link ─────────────────────────────────────────────── */
.nav-links a.active { color: var(--text-1); background: var(--card-2); }

/* ── Contact ─────────────────────────────────────────────────────── */
.hero-contact { padding: 60px 0 24px; }
.contact-section { padding: 24px 0 100px; }
.contact-grid {
  display: grid; gap: 24px;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
@media (max-width: 960px) { .contact-info { position: static; } }
.contact-info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px;
}
.ci-row { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.ci-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.ci-label {
  font-family: var(--font-h); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 6px;
}
.ci-text { font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 0; }
.ci-link { display: block; font-size: 14px; color: var(--text-1); font-weight: 500; }
.ci-link:hover { color: var(--brand); }
.ci-stack { display: flex; flex-direction: column; gap: 4px; }
.ci-divider { height: 1px; background: var(--line); margin: 18px 0; }
.contact-wa-card {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff; padding: 16px 18px; border-radius: 16px;
  transition: transform .2s, box-shadow .2s;
}
.contact-wa-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(18,140,126,.45); }
.ci-icon-wa { background: rgba(255,255,255,.18); color: #fff; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }
.contact-wa-card .ci-label { color: rgba(255,255,255,.8); }
.contact-wa-msg { font-size: 14px; font-weight: 500; }
.contact-wa-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.18); color: #fff;
  padding: 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.contact-hours {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 22px;
}
.contact-hours-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.contact-hours-list li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--text-2);
  padding: 6px 0; border-bottom: 1px dashed var(--line);
}
.contact-hours-list li:last-child { border-bottom: 0; }
.contact-hours-list li span:last-child { color: var(--text-1); font-weight: 500; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
}
.cf-head { margin-bottom: 22px; }
.cf-title { font-family: var(--font-h); font-size: 24px; font-weight: 700; margin: 0 0 6px; color: var(--text-1); letter-spacing: -0.01em; }
.cf-sub { margin: 0; font-size: 14px; color: var(--text-2); }
.cf-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .cf-grid { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf-field-full { grid-column: 1 / -1; }
.cf-label {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-h); font-size: 12px; font-weight: 600;
  color: var(--text-2); letter-spacing: .02em;
}
.cf-req { color: var(--brand); font-weight: 700; }
.cf-field input, .cf-field textarea, .cf-field select {
  width: 100%;
  font-family: inherit; font-size: 14px; color: var(--text-1);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.cf-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--text-3); }
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  background: var(--surface);
}
.cf-select-wrap { position: relative; }
.cf-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.cf-select-chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.cf-foot { margin-top: 20px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; }
.cf-submit { min-width: 180px; }

/* ── Plans ───────────────────────────────────────────────────────── */
.hero-solutions { padding: 60px 0 40px; }
.plans { padding-top: 20px; padding-bottom: 100px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: 0 18px 40px -16px rgba(0,0,0,.10); }
.plan-card-pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, 0 18px 40px -16px var(--brand-glow); }
.plan-badge {
  position: absolute; top: -10px; left: 24px;
  background: var(--brand); color: #fff;
  font-family: var(--font-h); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-family: var(--font-h); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.plan-tagline { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin: 0 0 20px; min-height: 60px; }
.plan-price { margin-bottom: 18px; }
.plan-price-tag { font-size: 11px; color: var(--text-3); font-family: 'JetBrains Mono', ui-monospace, monospace; }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.plan-price-v { font-family: var(--font-h); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--text-1); line-height: 1; }
.plan-price-v-lg { font-size: 24px; }
.plan-price-p { font-size: 13px; color: var(--text-3); }
.plan-cta { width: 100%; margin-top: auto; }
.plan-divider { height: 1px; background: var(--line); margin: 22px 0 18px; }
.plan-highlights { display: flex; flex-direction: column; gap: 10px; }
.plan-highlights li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.plan-highlights li svg { flex-shrink: 0; margin-top: 3px; }

/* ── Comparison table ────────────────────────────────────────────── */
.compare-tbl { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 100px; }
.cmp-wrap { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--card-2);
  font-family: var(--font-h); font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  padding: 18px 16px; text-align: center;
  border-bottom: 1px solid var(--line); color: var(--text-1);
}
.cmp-h-feat { width: 38%; text-align: left !important; }
.cmp-h-pop { background: var(--brand-soft) !important; color: var(--brand) !important; position: relative; }
.cmp-h-pop::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); }
.cmp-group td { background: var(--bg-2); font-family: var(--font-h); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); padding: 16px 16px 8px; border-top: 1px solid var(--line); }
.cmp tbody tr:not(.cmp-group) { border-top: 1px solid var(--line); }
.cmp-feat { padding: 14px 16px; font-size: 13.5px; color: var(--text-1); font-weight: 500; }
.cmp-cell { padding: 14px 16px; text-align: center; font-size: 13px; color: var(--text-2); }
.cmp-cell-pop { background: rgba(242,107,31,0.08); }
.cmp-yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; }
.cmp-no { color: var(--text-3); font-weight: 500; }
.cmp-text { font-weight: 500; color: var(--text-1); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-tag img { max-width: 100%; width: auto !important; } }
.footer-tag { font-size: 14px; color: var(--text-2); margin: 16px 0 24px; max-width: 280px; line-height: 1.5; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-h); font-size: 11px; font-weight: 700; color: var(--text-2);
  transition: border-color .15s, color .15s;
}
.footer-social:hover { border-color: var(--brand); color: var(--brand); }
.footer-col-t { font-family: var(--font-h); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.footer ul li { font-size: 14px; color: var(--text-2); padding: 4px 0; }
.footer ul li a:hover { color: var(--brand); }
.footer-contact p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin: 0 0 8px; max-width: 280px; }
.footer-base { border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--text-3); display: flex; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 2px 8px var(--brand-glow); }
.footer-logo-name { font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.footer-csd-logo { width: 300px; max-width: 100%; height: auto; display: block; }
