/* ---- internalhire.work landing — warm cream + orange + editorial ---- */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F5F1E8;
  --surface: #FFFFFF;
  --surface-2: #F0ECE2;
  --ink: #14171A;
  --ink-2: #3A4046;
  --ink-3: #6E7680;
  --ink-4: #9AA1AB;
  --border: #E8E3D6;
  --border-strong: #D8D2C0;
  --accent: #E85D2F;
  --accent-soft: #F2C7B5;
  --accent-tint: #FBEEE6;
  --green: #2F8F5F;
  --green-soft: #D9EDD9;
  --red: #B0331A;
  --red-soft: #FBEDE7;
  --amber: #B57A1F;

  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-1: 0 1px 2px rgba(20,23,26,0.04), 0 1px 3px rgba(20,23,26,0.06);
  --shadow-2: 0 4px 16px rgba(20,23,26,0.06), 0 2px 4px rgba(20,23,26,0.04);
  --shadow-3: 0 24px 64px rgba(20,23,26,0.12), 0 8px 16px rgba(20,23,26,0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.serif { font-family: 'Source Serif 4', Georgia, serif; }
.mono  { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.tnum  { font-variant-numeric: tabular-nums; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
.eyebrow.accent { color: var(--accent); }
.muted { color: var(--ink-3); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: -0.02em;
}
.brand-name span { color: var(--accent); font-weight: 500; }

.nav-links { display: flex; gap: 26px; margin-left: 24px; }
.nav-link {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color 120ms;
}
.nav-link:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--ink);
  transition: all 120ms;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: #000; border-color: #000; }
.btn.accent { background: var(--accent); color: white; border-color: var(--accent); }
.btn.accent:hover { background: #D9532A; border-color: #D9532A; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.lg { padding: 13px 22px; font-size: 15px; }
.btn.sm { padding: 6px 12px; font-size: 13px; }

/* ---- hero ---- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent);
  border: 1px solid var(--accent-soft);
  font-size: 12px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }

.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 76px; line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 500; margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero h1 .strike { text-decoration: line-through; text-decoration-color: var(--ink-4); text-decoration-thickness: 3px; opacity: 0.55; }
.hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 540px; margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
}
.hero-trust-item { display: flex; align-items: center; gap: 6px; }

/* hero visual right */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  max-width: 560px;
  margin-left: auto;
}
.hero-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
/* match ring — center */
.hv-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: white;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-3);
  display: grid;
  place-items: center;
}
.hv-ring-svg {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
}
.hv-ring-label { text-align: center; z-index: 1; }
.hv-ring-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #6E7680;
  letter-spacing: 0.1em;
}
.hv-ring-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 76px;
  font-weight: 500;
  line-height: 1;
  margin-top: 6px;
  letter-spacing: -0.04em;
}
.hv-ring-cap {
  font-size: 12px;
  color: #3A4046;
  margin-top: 6px;
  font-style: italic;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* concierge card — top left */
.hv-concierge {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  transform: rotate(-2deg);
  z-index: 2;
}
.hv-concierge-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.hv-concierge-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: #FBEEE6; display: grid; place-items: center; color: #E85D2F;
}
.hv-concierge-title { font-size: 12px; font-weight: 600; }
.hv-concierge-time {
  font-size: 10px; color: #6E7680; margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
}
.hv-concierge-body {
  font-size: 13px; color: #3A4046; line-height: 1.5;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* skill chips card — bottom left */
.hv-skills {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  transform: rotate(-1.5deg);
  z-index: 2;
}
.hv-skills-eyebrow {
  font-size: 10px; color: #6E7680;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 10px; font-weight: 500;
}
.hv-skills-chips {
  display: flex; flex-wrap: wrap; gap: 5px;
}
.hv-chip {
  padding: 3px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 500;
}

/* +1 hire ping */
.hv-ping {
  position: absolute;
  top: 36%;
  right: -8px;
  background: #1A1F25;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: var(--shadow-2);
  z-index: 3;
}
.hv-ping-dot {
  width: 6px; height: 6px; border-radius: 3px; background: #5DBC72;
}

/* ---- section base ---- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section.warm { background: var(--bg-warm); }
section.dark { background: var(--ink); color: var(--bg); }

.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 52px; line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 500; margin: 14px 0 18px;
  text-wrap: balance;
}
.section-head p {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  margin: 0; text-wrap: pretty;
}
section.dark .section-head p { color: rgba(255,255,255,0.72); }
section.dark .eyebrow { color: rgba(255,255,255,0.55); }
section.dark .eyebrow.accent { color: var(--accent); }

/* ---- problem rails ---- */
.rails-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.rail-card {
  background: var(--surface); padding: 0 0 32px 0;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 120ms;
}
.rail-card:hover { background: var(--bg); }
.rail-card > .rail-num,
.rail-card > h3,
.rail-card > p,
.rail-card > .rail-stat { padding-left: 32px; padding-right: 32px; }
.rail-visual {
  background: #FAF6EC;
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  height: 128px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.rail-card:hover .rail-visual { background: #F5EFDF; }
.rail-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500; color: var(--accent);
  letter-spacing: 0.08em;
}
.rail-card h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 24px; line-height: 1.2; font-weight: 500;
  margin: 0; letter-spacing: -0.01em;
}
.rail-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.rail-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--ink-3);
  border-top: 1px dashed var(--border-strong);
  padding-top: 12px; margin-top: auto;
}
.rail-stat strong { color: var(--ink); font-weight: 600; }

/* ---- live preview ---- */
.preview-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  position: relative;
}
.preview-tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 14px 18px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.preview-traffic { display: flex; gap: 6px; margin-right: 14px; }
.preview-traffic span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.preview-traffic span:first-child { background: #E85D5D; }
.preview-traffic span:nth-child(2) { background: #E8A93D; }
.preview-traffic span:nth-child(3) { background: #5DBC72; }
.preview-tab {
  padding: 6px 14px; border-radius: 6px;
  font-size: 13px; color: var(--ink-3); font-weight: 500;
  transition: all 140ms;
}
.preview-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.preview-tab:hover:not(.active) { color: var(--ink); }
.preview-url {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-3);
}

.preview-body {
  position: relative;
  background: #FAFAF7;
  height: 580px;
  overflow: hidden;
}
.preview-screen {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 320ms;
  padding: 24px 28px;
  overflow: hidden;
}
.preview-screen.active { opacity: 1; z-index: 2; }

/* preview screen content shared */
.psc-eyebrow { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.psc-title { font-family: 'Source Serif 4', serif; font-size: 28px; font-weight: 500; line-height: 1.15; margin: 6px 0 8px; letter-spacing: -0.01em; }
.psc-sub { font-size: 13px; color: var(--ink-2); margin: 0 0 18px; max-width: 580px; }

/* riya cards */
.psc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
}
.psc-card.feature {
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--surface) 60%);
  border-color: var(--accent-soft);
}
.psc-row { display: flex; align-items: flex-start; gap: 12px; }
.psc-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 500;
  background: var(--surface-2); color: var(--ink-2);
}
.psc-tag.accent { background: var(--accent); color: white; }
.psc-tag.green { background: var(--green-soft); color: var(--green); }
.psc-tag.amber { background: #F8E5B8; color: var(--amber); }
.psc-tag.red { background: var(--red-soft); color: var(--red); }

.psc-ring {
  width: 56px; height: 56px; flex-shrink: 0; position: relative;
}
.psc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.psc-ring-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 600;
  letter-spacing: -0.02em;
}

.preview-toast {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--ink); color: var(--bg);
  padding: 8px 14px; border-radius: 8px;
  font-size: 12px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-2);
  z-index: 5;
}
.preview-toast .dot { width: 6px; height: 6px; border-radius: 3px; background: var(--accent); animation: pulse 1.4s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* persona switcher */
.persona-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 28px; }
.persona-tab {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px 20px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  text-align: left; transition: all 140ms;
  position: relative;
}
.persona-tab:hover { border-color: var(--border-strong); }
.persona-tab.active { border-color: var(--accent); background: var(--accent-tint); }
.persona-tab .persona-name {
  font-family: 'Source Serif 4', serif; font-size: 18px; font-weight: 500;
  margin-bottom: 2px;
}
.persona-tab .persona-role { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.persona-tab .persona-q {
  font-size: 13px; color: var(--ink-2); margin-top: 10px;
  font-family: 'Source Serif 4', serif; font-style: italic;
  line-height: 1.4;
}
.persona-tab.active .persona-q { color: var(--ink); }
.persona-tab .persona-marker {
  position: absolute; top: 16px; right: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--ink-4); letter-spacing: 0.08em;
}
.persona-tab.active .persona-marker { color: var(--accent); }

/* ---- skill graph ---- */
.skillgraph-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center;
}
.sg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 24px; }
.sg-item { display: flex; gap: 16px; }
.sg-item .num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500;
  color: var(--accent);
}
.sg-item h4 { margin: 4px 0 4px; font-size: 16px; font-weight: 600; }
.sg-item p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

.sg-viz {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; aspect-ratio: 1 / 1;
}

/* ---- comparison ---- */
.compare-table {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.compare-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div {
  padding: 18px 22px; font-size: 14px;
  border-right: 1px solid var(--border);
}
.compare-row > div:last-child { border-right: none; }
.compare-row.head {
  background: var(--bg-warm);
  font-family: 'Source Serif 4', serif;
  font-size: 17px; font-weight: 500;
}
.compare-row.head > div { padding: 20px 22px; }
.compare-row.head .us { background: var(--ink); color: var(--bg); }
.compare-cell-them { color: var(--ink-3); }
.compare-cell-us { background: rgba(232,93,47,0.04); color: var(--ink); font-weight: 500; }

/* ---- deploy / timeline ---- */
.deploy-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.deploy-grid::before {
  content: ''; position: absolute;
  top: 28px; left: 30px; right: 30px; height: 2px;
  background: var(--border-strong);
  background-image: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
.deploy-step {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0 14px;
  position: relative;
}
.deploy-day {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: 'Source Serif 4', serif; font-size: 18px; font-weight: 500;
  position: relative; z-index: 2;
  margin-bottom: 8px;
}
.deploy-step:nth-child(2) .deploy-day { background: #2A2F35; }
.deploy-step:nth-child(3) .deploy-day { background: #4A5058; }
.deploy-step:nth-child(4) .deploy-day { background: var(--accent); }
.deploy-step h4 { font-size: 16px; font-weight: 600; margin: 0; }
.deploy-step p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }
.deploy-step .deploy-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- ROI calc ---- */
.roi {
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  position: relative; overflow: hidden;
}
.roi::before {
  content: ''; position: absolute;
  top: -50%; right: -20%; width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(232,93,47,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.roi-controls { position: relative; z-index: 1; }
.roi-slider { margin-bottom: 28px; }
.roi-slider-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.roi-slider-label { font-size: 13px; color: rgba(255,255,255,0.7); }
.roi-slider-value {
  font-family: 'Source Serif 4', serif; font-size: 24px; font-weight: 500;
  color: var(--bg);
  font-variant-numeric: tabular-nums;
}
.roi-slider-value .unit { font-size: 13px; opacity: 0.6; margin-left: 4px; font-family: 'Inter'; }
.roi input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  background: transparent; cursor: pointer;
}
.roi input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; background: rgba(255,255,255,0.18); border-radius: 2px;
}
.roi input[type="range"]::-moz-range-track {
  height: 4px; background: rgba(255,255,255,0.18); border-radius: 2px;
}
.roi input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid white;
  margin-top: -7px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.roi input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid white;
}

.roi-results { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.roi-result-row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 16px;
}
.roi-result-row:last-child { border-bottom: none; }
.roi-result-label { font-size: 13px; color: rgba(255,255,255,0.6); }
.roi-result-value {
  font-family: 'Source Serif 4', serif; font-size: 32px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.roi-result-value.big {
  font-size: 56px; line-height: 1; color: var(--accent);
}
.roi-result-value .unit { font-size: 16px; opacity: 0.7; margin-left: 6px; font-family: 'Inter'; }
.roi-disclaimer { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 6px; line-height: 1.6; }

/* ---- trust ---- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.trust-card .ico {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-warm); display: grid; place-items: center;
  color: var(--accent);
}
.trust-card h4 { font-size: 15px; font-weight: 600; margin: 0; }
.trust-card p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---- pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; transition: all 160ms;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.price-card.featured {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.price-card.featured .price-name,
.price-card.featured h3,
.price-card.featured .price-feat { color: var(--bg); }
.price-card.featured .price-feat-list li { color: rgba(255,255,255,0.78); }
.price-name { font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.price-card .price {
  display: flex; align-items: baseline; gap: 4px;
  font-family: 'Source Serif 4', serif;
}
.price-card .price-num { font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.price-card .price-unit { font-size: 14px; color: var(--ink-3); font-family: 'Inter'; }
.price-card.featured .price-unit { color: rgba(255,255,255,0.6); }
.price-card h3 { font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 500; margin: 0; }
.price-card .price-tag-row { display: flex; gap: 8px; align-items: center; }
.price-feat { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.price-feat-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.price-feat-list li {
  font-size: 14px; color: var(--ink-2); line-height: 1.45;
  display: flex; gap: 10px; align-items: flex-start;
}
.price-feat-list li::before {
  content: '✓'; color: var(--accent); font-weight: 600; flex-shrink: 0; margin-top: 1px;
}
.price-card.featured .price-feat-list li::before { color: var(--accent); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-badge {
  position: absolute; top: -10px; right: 24px;
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; text-align: left; cursor: pointer;
  font-family: 'Source Serif 4', serif; font-size: 19px; font-weight: 500;
  letter-spacing: -0.005em;
}
.faq-q .ico {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  font-size: 14px; color: var(--ink-2); flex-shrink: 0;
  transition: transform 200ms;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq-a {
  font-size: 15px; color: var(--ink-2); line-height: 1.65;
  max-width: 680px; margin: 12px 0 0;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ---- final CTA ---- */
.final-cta {
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-xl);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(232,93,47,0.18) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(232,93,47,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 56px; line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 500; margin: 0 0 16px;
  text-wrap: balance;
}
.final-cta h2 .accent { color: var(--accent); font-style: italic; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.72); max-width: 580px; margin: 0 auto 32px; line-height: 1.55; }
.final-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn { padding: 14px 26px; font-size: 15px; }
.final-cta .btn:not(.accent) { background: rgba(255,255,255,0.08); color: var(--bg); border-color: rgba(255,255,255,0.18); }
.final-cta .btn:not(.accent):hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  background: var(--bg-warm);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-blurb { max-width: 320px; }
.footer-blurb p { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.6; }
.footer-col h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--ink-3);
}

/* responsive (basic) */
@media (max-width: 1080px) {
  .hero-grid, .skillgraph-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 56px; }
  .section-head h2, .final-cta h2 { font-size: 40px; }
  .rails-grid, .pricing-grid, .trust-grid { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .deploy-grid::before { display: none; }
  .roi { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
