/* Scaleiko — Client acquisition for UK accountancy firms */
:root {
  --ink: #0b1f1a;
  --ink-soft: #1a2e28;
  --ink-muted: #3d524b;
  --ink-faint: #6b7f77;
  --paper: #f7f5f0;
  --paper-elevated: #fffcf7;
  --paper-muted: #efebe3;
  --line: rgba(11, 31, 26, 0.1);
  --line-strong: rgba(11, 31, 26, 0.16);
  --accent: #1f5c4a;
  --accent-deep: #164538;
  --accent-soft: rgba(31, 92, 74, 0.1);
  --accent-mid: rgba(31, 92, 74, 0.18);
  --success: #1f5c4a;
  --warning: #8a6a2f;
  --danger: #8b3a3a;
  --dash-bg: #0e1c18;
  --dash-panel: #152822;
  --dash-line: rgba(244, 241, 236, 0.08);
  --dash-text: #f4f1ec;
  --dash-muted: rgba(244, 241, 236, 0.55);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 26, 0.04);
  --shadow: 0 4px 24px rgba(11, 31, 26, 0.06), 0 1px 3px rgba(11, 31, 26, 0.04);
  --shadow-lg: 0 24px 64px rgba(11, 31, 26, 0.1), 0 8px 16px rgba(11, 31, 26, 0.05);
  --font-display: "Newsreader", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: var(--accent);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: var(--paper-elevated);
  border-color: var(--ink-muted);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--paper-muted);
}

.nav-cta { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.5rem 0 1.25rem;
  border-top: 1px solid var(--line);
  gap: 0.15rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.mobile-nav a:hover { color: var(--ink); }

.mobile-nav .btn { margin-top: 0.75rem; width: 100%; }

@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    padding: 5rem 0 5.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.hero-copy .display { margin-bottom: 1.25rem; }

.hero-copy .lede { margin-bottom: 1.75rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-micro {
  font-size: 0.875rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-micro svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* —— Hero dashboard mock —— */
.dash-card {
  background: var(--dash-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--dash-text);
  position: relative;
}

.dash-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(31, 92, 74, 0.25), transparent 60%);
  pointer-events: none;
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--dash-line);
  position: relative;
}

.dash-dots {
  display: flex;
  gap: 0.35rem;
}

.dash-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 241, 236, 0.15);
}

.dash-title {
  font-size: 0.75rem;
  color: var(--dash-muted);
  margin-left: 0.5rem;
  letter-spacing: -0.01em;
}

.example-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.7);
  background: rgba(244, 241, 236, 0.08);
  border: 1px solid rgba(244, 241, 236, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.dash-body {
  padding: 1.15rem;
  position: relative;
  display: grid;
  gap: 0.85rem;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .dash-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .dash-metrics { grid-template-columns: repeat(5, 1fr); }
}

.metric {
  background: var(--dash-panel);
  border: 1px solid var(--dash-line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
}

.metric-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dash-muted);
  margin-bottom: 0.4rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--dash-text);
}

.metric-value.accent { color: #7dbaa4; }

.metric.span-wide {
  grid-column: span 2;
}

@media (min-width: 960px) {
  .metric.span-wide { grid-column: span 1; }
}

.dash-pipeline {
  background: var(--dash-panel);
  border: 1px solid var(--dash-line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.dash-pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.dash-pipeline-head h4 {
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.dash-pipeline-head span {
  font-size: 0.7rem;
  color: var(--dash-muted);
}

.pipeline-bars {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pipe-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.75rem;
}

.pipe-row .label { color: var(--dash-muted); }
.pipe-row .count { color: var(--dash-text); font-variant-numeric: tabular-nums; min-width: 1.5rem; text-align: right; }

.pipe-track {
  height: 6px;
  background: rgba(244, 241, 236, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.pipe-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f5c4a, #3d8f75);
}

/* —— Sections common —— */
section {
  padding: 4.5rem 0;
}

@media (min-width: 960px) {
  section { padding: 6rem 0; }
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head .section-title { margin-bottom: 0.85rem; }

.section-head .lede { max-width: 34rem; }

/* —— Problem —— */
.problem {
  background: var(--paper-elevated);
  border-block: 1px solid var(--line);
}

.problem-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .problem-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1.25rem;
  }
}

@media (min-width: 960px) {
  .problem-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-item {
  display: flex;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.problem-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.problem-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.problem-icon svg { width: 0.9rem; height: 0.9rem; }

.problem-item p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* —— How it works —— */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}

.step {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

@media (min-width: 800px) {
  .step {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 0 1.15rem 0 1.35rem;
  }
  .step:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.step-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.step-num::before {
  content: "0" counter(step);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* —— Features —— */
.features {
  background: var(--ink);
  color: var(--paper);
}

.features .section-title { color: var(--paper); }
.features .lede { color: rgba(244, 241, 236, 0.65); }
.features .eyebrow { color: #7dbaa4; }
.features .eyebrow::before { background: #7dbaa4; }

.feature-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

.feature-card {
  padding: 1.5rem 1.4rem;
  background: rgba(244, 241, 236, 0.03);
  border: 1px solid rgba(244, 241, 236, 0.08);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: rgba(244, 241, 236, 0.055);
  border-color: rgba(244, 241, 236, 0.14);
}

.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(125, 186, 164, 0.12);
  color: #7dbaa4;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}

.feature-icon svg { width: 1.1rem; height: 1.1rem; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  color: var(--paper);
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(244, 241, 236, 0.58);
  line-height: 1.5;
}

/* —— ROI —— */
.roi-funnel {
  background: var(--paper-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 720px) {
  .roi-funnel { padding: 2rem 2.25rem; }
}

.funnel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--paper-muted);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.funnel-stages {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.funnel-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.funnel-bar-wrap {
  position: relative;
}

.funnel-bar {
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 510;
  letter-spacing: -0.01em;
  transition: width 0.6s var(--ease);
}

.funnel-count {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  min-width: 1.75rem;
  text-align: right;
}

.roi-calc {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .roi-calc {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.roi-example {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.roi-example h4 {
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
}

.roi-math {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.roi-math strong {
  color: var(--accent);
  font-weight: 500;
}

.roi-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.roi-aside p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* —— Large dashboard —— */
.dashboard-section {
  background: var(--paper-muted);
  border-block: 1px solid var(--line);
}

.dash-large {
  background: var(--dash-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--dash-text);
}

.dash-large-chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--dash-line);
  flex-wrap: wrap;
}

.dash-sidebar-mock {
  display: none;
}

@media (min-width: 900px) {
  .dash-large-body {
    display: grid;
    grid-template-columns: 12rem 1fr;
    min-height: 420px;
  }
  .dash-sidebar-mock {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.15rem 0.85rem;
    border-right: 1px solid var(--dash-line);
  }
}

.side-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  font-size: 0.8rem;
  color: var(--dash-muted);
}

.side-item.active {
  background: rgba(244, 241, 236, 0.07);
  color: var(--dash-text);
}

.side-item svg { width: 0.9rem; height: 0.9rem; opacity: 0.7; }

.dash-main {
  padding: 1.15rem;
  display: grid;
  gap: 1rem;
}

.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .dash-stat-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .dash-stat-row { grid-template-columns: repeat(4, 1fr); }
}

.stat-tile {
  background: var(--dash-panel);
  border: 1px solid var(--dash-line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.stat-tile .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dash-muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.stat-tile .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.stat-tile .delta {
  font-size: 0.7rem;
  color: #7dbaa4;
  margin-top: 0.3rem;
}

.timeline-panel {
  background: var(--dash-panel);
  border: 1px solid var(--dash-line);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.timeline-panel h4 {
  font-size: 0.8rem;
  font-weight: 550;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1.25rem 1fr auto;
  gap: 0.85rem;
  padding: 0.65rem 0;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.5rem;
  bottom: -0.15rem;
  width: 1px;
  background: var(--dash-line);
}

.tl-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #3d8f75;
  margin-top: 0.25rem;
  box-shadow: 0 0 0 3px rgba(61, 143, 117, 0.2);
}

.tl-dot.muted {
  background: rgba(244, 241, 236, 0.25);
  box-shadow: none;
}

.tl-content .tl-title {
  font-size: 0.85rem;
  font-weight: 510;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.tl-content .tl-desc {
  font-size: 0.75rem;
  color: var(--dash-muted);
}

.tl-time {
  font-size: 0.7rem;
  color: var(--dash-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.activity-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .activity-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.status-list {
  background: var(--dash-panel);
  border: 1px solid var(--dash-line);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.status-list h4 {
  font-size: 0.8rem;
  font-weight: 550;
  margin-bottom: 0.9rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--dash-line);
  font-size: 0.8rem;
}

.status-row:last-child { border-bottom: none; }

.status-row .name { color: var(--dash-muted); }

.status-pill {
  font-size: 0.65rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.status-pill.green {
  background: rgba(125, 186, 164, 0.15);
  color: #7dbaa4;
}

.status-pill.amber {
  background: rgba(196, 160, 80, 0.15);
  color: #c4a050;
}

.status-pill.blue {
  background: rgba(120, 160, 200, 0.15);
  color: #90b0d0;
}

/* —— Built for accountants —— */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  background: var(--paper-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.practice-note {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 40rem;
  line-height: 1.65;
}

/* —— Trust —— */
.trust {
  background: var(--paper-elevated);
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-card {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.trust-card h3 {
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* —— Pricing —— */
.pricing-card {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--paper-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .pricing-card { padding: 2.5rem 2.75rem; }
}

.pricing-tiers {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 560px) {
  .pricing-tiers {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.price-block .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.price-block .amount span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: -0.01em;
}

.price-block .label {
  font-size: 0.9rem;
  font-weight: 550;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.price-block .desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.pricing-includes {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-bottom: 1.75rem;
}

.pricing-includes h4 {
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.85rem;
}

.pricing-includes ul {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 560px) {
  .pricing-includes ul { grid-template-columns: 1fr 1fr; }
}

.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-includes li svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pricing-card .btn { width: 100%; }

/* —— FAQ —— */
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1rem;
  font-weight: 520;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 36rem;
}

/* —— Final CTA —— */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 5rem 0;
}

.final-cta .section-title {
  color: var(--paper);
  max-width: 28rem;
  margin: 0 auto 1rem;
}

.final-cta .lede {
  color: rgba(244, 241, 236, 0.65);
  margin: 0 auto 1.75rem;
  max-width: 32rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(244, 241, 236, 0.55);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(244, 241, 236, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand .logo {
  color: var(--paper);
  margin-bottom: 0.65rem;
}

.footer-brand .logo-mark {
  background: var(--paper);
  color: var(--ink);
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 16rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-links a:hover { color: var(--paper); }

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 236, 0.08);
  font-size: 0.8rem;
}

/* —— Forms (contact / demo) —— */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero .display {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.form-card {
  max-width: 32rem;
  margin: 0 auto 4rem;
  background: var(--paper-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

@media (min-width: 560px) {
  .form-card { padding: 2.25rem 2rem; }
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--danger);
}

.field-error {
  display: none;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.35rem;
}

.field-error.show { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.form-success.show { display: block; }

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.form-success p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-card.submitted .demo-form { display: none; }

.legal-content {
  max-width: 40rem;
  margin: 0 auto 4rem;
  padding-bottom: 2rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
