/* Meridian — Accounting software marketing site */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #0b1a16;
  --ink-soft: #1a2e28;
  --sage: #1f6b56;
  --sage-bright: #2a8a6e;
  --sage-muted: #3d7a68;
  --mist: #e8eeeb;
  --paper: #f4f7f5;
  --white: #fafcfb;
  --line: rgba(11, 26, 22, 0.1);
  --line-strong: rgba(11, 26, 22, 0.18);
  --gold: #9a7b3c;
  --gold-soft: #c4a86a;
  --muted: #5a6e66;
  --danger: #8b3a3a;
  --radius: 4px;
  --max: 1120px;
  --nav-h: 72px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 50px rgba(11, 26, 22, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

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

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

/* —— Atmosphere —— */
.bg-ledger {
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(232, 238, 235, 0.9) 0%, rgba(244, 247, 245, 1) 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(11, 26, 22, 0.035) 31px,
      rgba(11, 26, 22, 0.035) 32px
    );
}

.bg-ink {
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(42, 138, 110, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(154, 123, 60, 0.12), transparent 50%),
    linear-gradient(165deg, #0b1a16 0%, #132820 55%, #0f221c 100%);
  color: var(--white);
}

.bg-sage-wash {
  background:
    linear-gradient(135deg, rgba(31, 107, 86, 0.08), transparent 50%),
    linear-gradient(to bottom, var(--mist), var(--paper));
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.display-xl { font-size: clamp(2.75rem, 6vw, 4.75rem); }
.display-lg { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.display-md { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.display-sm { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.7;
}

.bg-ink .lede { color: rgba(250, 252, 251, 0.72); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.bg-ink .eyebrow { color: var(--gold-soft); }

.prose {
  max-width: 42rem;
}

.prose p + p { margin-top: 1.15rem; }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 2.25rem 0 0.85rem;
  line-height: 1.2;
}
.prose h2 { font-size: 1.85rem; }
.prose h3 { font-size: 1.4rem; }
.prose ul, .prose ol {
  margin: 1rem 0 1rem 1.25rem;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin: 0.4rem 0; }
.prose strong { font-weight: 600; }
.prose a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.75rem 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid var(--sage);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-bright); }

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--ink); background: rgba(11, 26, 22, 0.04); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 252, 251, 0.35);
}
.btn-ghost:hover { background: rgba(250, 252, 251, 0.08); border-color: rgba(250, 252, 251, 0.6); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #ad8c48; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 247, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(11, 26, 22, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, var(--sage), var(--gold-soft), var(--sage-bright), var(--sage));
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--paper);
  border-radius: 50%;
}

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

.nav a {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}

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

.nav a.active::after,
.nav a:hover::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1.5px;
  background: var(--sage);
  transform-origin: left;
  animation: lineIn 0.35s var(--ease) both;
}

@keyframes lineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.nav-cta { margin-left: 0.5rem; padding: 0.55rem 1.1rem !important; font-size: 0.85rem !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s ease;
    box-shadow: var(--shadow-soft);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 0.85rem 1rem; }
  .nav a::after { display: none; }
  .nav-cta { margin: 0.5rem 0 0; text-align: center; }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-items: end;
  padding: 3rem 0 4.5rem;
  overflow: hidden;
  background: #0b1a16;
  color: var(--white);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 35%, rgba(42, 138, 110, 0.35), transparent 60%),
    radial-gradient(ellipse 45% 40% at 15% 70%, rgba(154, 123, 60, 0.18), transparent 55%),
    linear-gradient(160deg, #0b1a16 0%, #143028 45%, #0e221c 100%);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(250, 252, 251, 0.03) 79px,
      rgba(250, 252, 251, 0.03) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(250, 252, 251, 0.025) 39px,
      rgba(250, 252, 251, 0.025) 40px
    );
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-80px, -40px); }
}

.hero-chart {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(420px, 42vw);
  height: min(320px, 38vh);
  opacity: 0.55;
  pointer-events: none;
}

.hero-chart svg { width: 100%; height: 100%; }

.hero .container {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 640px);
}

.hero .display {
  margin-bottom: 1.15rem;
  animation: rise 0.9s var(--ease) both;
}

.hero .lede {
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero .btn-group {
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
  animation: rise 0.85s var(--ease) both;
}

.hero .brand-lockup span {
  display: block;
  font-size: 0.28em;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header.centered .lede { margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

/* —— Feature rows (not cards in hero; interactive/content sections OK) —— */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s ease;
}

.feature-row:last-child { border-bottom: 1px solid var(--line); }

.feature-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage);
  line-height: 1;
}

.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.feature-row p { color: var(--muted); max-width: 36rem; }

/* —— Grid of topics —— */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.topic {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.3s ease;
}

.topic:hover { background: rgba(31, 107, 86, 0.05); }

.topic h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.5rem 0 0.5rem;
}

.topic p { color: var(--muted); font-size: 0.95rem; }
.topic .icon {
  width: 36px;
  height: 36px;
  color: var(--sage);
}

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .topic-grid { grid-template-columns: 1fr; }
}

/* —— Pricing —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

.price-plan {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}

.price-plan:hover { transform: translateY(-4px); border-color: var(--sage-muted); }

.price-plan.featured {
  border-color: var(--sage);
  background:
    linear-gradient(180deg, rgba(31, 107, 86, 0.06), transparent 40%),
    var(--white);
}

.price-plan .plan-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.price-plan .plan-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.price-plan .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-plan .amount span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}

.price-plan .period {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.price-plan ul {
  flex: 1;
  margin-bottom: 1.75rem;
}

.price-plan li {
  padding: 0.45rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}

.price-plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  background: var(--sage);
  color: var(--white);
  margin-bottom: 0.75rem;
}

/* —— Testimonials / quotes —— */
.quote-block {
  padding: 2.5rem 0;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-meta strong { color: var(--ink); display: block; font-weight: 600; }

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--gold-soft));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

/* —— Stats —— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
}

.bg-ink .stat-label { color: rgba(250, 252, 251, 0.65); }

/* —— Timeline —— */
.timeline {
  position: relative;
  padding-left: 1.75rem;
  border-left: 2px solid var(--line-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.25rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1.75rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  border: 2px solid var(--paper);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.25rem;
}

.timeline-item p { color: var(--muted); }

/* —— Tables —— */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

table.data th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--mist);
}

table.data tr:hover td { background: rgba(31, 107, 86, 0.04); }

/* —— Blog —— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  transition: opacity 0.25s ease;
}

.blog-item:hover { opacity: 0.75; }

.blog-item .meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.blog-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
}

.blog-item p { color: var(--muted); font-size: 0.95rem; flex: 1; }

.blog-item .read {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sage);
  margin-top: 0.5rem;
}

.article-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.25rem;
}

.article-body {
  padding: 3rem 0 4rem;
}

.article-body .prose { margin-inline: auto; }

/* —— Forms —— */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 32rem;
}

.form.two-col {
  max-width: none;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .form.two-col { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(31, 107, 86, 0.15);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(31, 107, 86, 0.1);
  border-left: 3px solid var(--sage);
  margin-top: 1rem;
}

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

/* —— FAQ —— */
.faq { max-width: 44rem; }

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

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

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sage);
}

.faq-item.open .faq-q::after { content: '−'; }

.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.faq-item.open .faq-a { display: block; animation: rise 0.4s var(--ease); }

/* —— CTA band —— */
.cta-band {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  text-align: center;
}

.cta-band .display { margin-bottom: 0.75rem; }
.cta-band .lede { margin-inline: auto; }

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(250, 252, 251, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo { color: var(--white); margin-bottom: 0.85rem; }
.footer-brand .logo-mark::after { background: var(--ink); }
.footer-brand p {
  font-size: 0.95rem;
  max-width: 16rem;
  line-height: 1.6;
  color: rgba(250, 252, 251, 0.6);
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(250, 252, 251, 0.7);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 252, 251, 0.12);
  font-size: 0.85rem;
  color: rgba(250, 252, 251, 0.45);
}

.footer-bottom a {
  color: rgba(250, 252, 251, 0.55);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero .display { margin-bottom: 0.85rem; max-width: 18ch; }

.page-hero.compact { padding-bottom: 2rem; }

/* —— Comparison / checklist —— */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

@media (max-width: 640px) {
  .check-grid { grid-template-columns: 1fr; }
}

.check-grid li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink-soft);
}

.check-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* —— Integration logos strip —— */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.logo-strip span {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: -0.02em;
  opacity: 0.75;
}

/* —— Reveal on scroll (visible by default if JS is off) —— */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal-delay-1 { transition-delay: 0.1s; }
html.js .reveal-delay-2 { transition-delay: 0.2s; }
html.js .reveal-delay-3 { transition-delay: 0.3s; }

/* —— Utility —— */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

.pill-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 0.15rem;
  margin-bottom: 0.5rem;
}

/* —— Visual panel (for splits) —— */
.visual-panel {
  aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 70% 30%, rgba(42, 138, 110, 0.35), transparent 50%),
    linear-gradient(145deg, #0b1a16, #1a3d32);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.visual-panel::before {
  content: '';
  position: absolute;
  inset: 12% 10%;
  border: 1px solid rgba(250, 252, 251, 0.15);
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(250, 252, 251, 0.06) 28px 29px
    );
}

.visual-panel .panel-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  color: rgba(250, 252, 251, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
}

.visual-panel .panel-metric {
  position: absolute;
  top: 18%;
  left: 14%;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1;
}

.visual-panel .panel-metric small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.visual-panel.alt {
  background:
    radial-gradient(circle at 30% 70%, rgba(154, 123, 60, 0.3), transparent 50%),
    linear-gradient(200deg, #132820, #0b1a16);
}

/* —— Security badges row —— */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sec-badge {
  padding: 0.65rem 1rem;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
}

.step { counter-increment: step; }

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sage);
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.step p { color: var(--muted); }

/* —— Resource list —— */
.resource-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: color 0.2s ease;
}

.resource-list a:first-child { border-top: 1px solid var(--line); }
.resource-list a:hover { color: var(--sage); }
.resource-list h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}
.resource-list .type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}\n
