/* ============================================================
   Neil Egginton — styles.css
   Single stylesheet for all pages.
   Font paths are relative to this file (root).
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-variable-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --bg:           #f8fafc;
  --bg-card:      #ffffff;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --border:       #e2e8f0;
  --accent:       #005ae0;
  --accent-bg:    rgba(0,90,224,0.08);
  --shadow:       0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-lg:    0 10px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --nav-height:   64px;
}

html.dark {
  --bg:           #0f172a;
  --bg-card:      #1e293b;
  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --border:       #334155;
  --accent:       #5580ee;
  --accent-bg:    rgba(91,155,248,0.1);
  --shadow:       0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-lg:    0 10px 24px rgba(0,0,0,0.35), 0 4px 8px rgba(0,0,0,0.2);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}

/* ── Scroll margin for sticky nav ───────────────────────────── */
[id] { scroll-margin-top: calc(var(--nav-height) + 1rem); }

/* ── Focus styles ───────────────────────────────────────────── */
:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ── Header / Nav ───────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  list-style: none;
}

.nav-links > li > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links > li > a:hover { color: var(--text); }

.nav-links > li > a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.nav-links > li > a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.15s, color 0.15s;
}

.nav-links > li > a.nav-cta:hover { color: #fff; opacity: 0.88; }

/* ── Desktop dropdown ───────────────────────────────────────── */
.has-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  transition: color 0.15s;
}

.nav-dropdown-trigger:hover { color: var(--text); }

.nav-dropdown-trigger .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.has-dropdown:hover .nav-dropdown-trigger .chevron,
.nav-dropdown-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding-top: 0.75rem;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
  z-index: 200;
}

.has-dropdown:hover .dropdown-panel,
.nav-dropdown-trigger[aria-expanded="true"] ~ .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 0.4rem;
  transition: background 0.2s, border-color 0.2s;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--accent-bg);
  color: var(--accent);
  outline: none;
}

.dropdown-menu a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Nav controls ───────────────────────────────────────────── */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.2s, color 0.2s;
}

.theme-toggle:hover { background: var(--border); color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; }

/* ── Hamburger ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.2s;
}

.hamburger:hover { background: var(--border); }

.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, width 0.2s;
}

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

/* ── Mobile menu ────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  max-height: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: max-height 0.32s ease, border-color 0.2s, background 0.2s;
}

.mobile-menu[aria-hidden="false"] { max-height: 480px; }

.mobile-nav-list {
  list-style: none;
  padding: 0.5rem 1.5rem 1.25rem;
}

.mobile-nav-list > li {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.mobile-nav-list > li:last-child { border-bottom: none; }

.mobile-nav-list > li > a,
.mobile-sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}

.mobile-nav-list > li > a:hover,
.mobile-sub-trigger:hover { color: var(--accent); }

.mobile-nav-list > li > a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.mobile-sub-trigger .chevron {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.22s;
}

.mobile-sub-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.mobile-sub {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  border-left: 2px solid var(--border);
  margin: 0 0 0.25rem 0.25rem;
  transition: max-height 0.25s ease, border-color 0.2s;
}

.mobile-sub[aria-hidden="false"] { max-height: 200px; }

.mobile-nav-list .mobile-sub > li { border-bottom: none; }

.mobile-nav-list .mobile-sub > li > a {
  display: block;
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-nav-list .mobile-sub > li > a:hover { color: var(--accent); }

.mobile-cta-wrap { padding-top: 0.5rem; }

.mobile-nav-list > li > a.mobile-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.mobile-nav-list > li > a.mobile-cta:hover { color: #fff; opacity: 0.88; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent);
  color: #fff;
  padding: 0.72rem 1.6rem;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.72rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }

.section-action { margin-top: 2.5rem; }

/* ── Section typography ─────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.75;
  transition: color 0.2s;
}

/* ── Homepage hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.13) 0%, transparent 68%);
  pointer-events: none;
  transition: background 0.2s;
}

html.dark .hero-glow {
  background: radial-gradient(ellipse at center, rgba(85,128,238,0.11) 0%, transparent 68%);
}

html.dark .btn-primary,
html.dark .nav-links > li > a.nav-cta,
html.dark .mobile-nav-list > li > a.mobile-cta { color: var(--bg); }

html.dark .btn-ghost:hover { color: var(--bg); }

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  transition: background 0.2s, color 0.2s;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 1.25rem;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  transition: color 0.2s;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Inner page hero ────────────────────────────────────────── */
.page-hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
  transition: color 0.2s;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.25rem;
  color: var(--border);
}

/* ── What's included ────────────────────────────────────────── */
.included-header { margin-bottom: 3rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-icon {
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
}

.card-icon svg { width: 30px; height: 30px; }

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color 0.2s;
}

/* ── Process steps ──────────────────────────────────────────── */
.process {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.process-header { margin-bottom: 3rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  list-style: none;
}

.step-num {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  transition: color 0.2s;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color 0.2s;
}

/* ── Testimonial ────────────────────────────────────────────── */
.testimonial-section { text-align: center; }

.testimonial-inner {
  max-width: 680px;
  margin: 0 auto;
}

blockquote {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1.5rem;
}

blockquote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 1.75rem;
  left: -0.5rem;
  color: var(--accent);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.quote-attr {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.quote-attr strong { color: var(--text); font-weight: 600; }

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-header { margin-bottom: 3rem; }

.pricing-header.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.pricing-header.pricing-split h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pricing-header.pricing-split p {
  color: var(--text-muted);
  line-height: 1.75;
  transition: color 0.2s;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s;
}

.price-card.featured {
  background: #1e293b;
  border-color: #1e293b;
  box-shadow: var(--shadow-lg);
}

html.dark .price-card.featured {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.price-card.featured .price-label,
.price-card.featured .price-freq,
.price-card.featured .price-list li { color: #94a3b8; }

.price-card.featured .price-amount { color: #f1f5f9; }

html.dark .price-card.featured .price-label,
html.dark .price-card.featured .price-freq,
html.dark .price-card.featured .price-list li { color: var(--text-muted); }

html.dark .price-card.featured .price-amount { color: var(--text); }

.price-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-range {
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.035em;
  vertical-align: baseline;
  margin-left: 0.1em;
}

.price-freq {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.price-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.price-card.featured .price-desc {
  color: #94a3b8;
  border-bottom-color: rgba(255,255,255,0.1);
}

html.dark .price-card.featured .price-desc {
  color: var(--text-muted);
  border-bottom-color: var(--border);
}

.price-highlight {
  color: var(--accent);
  font-weight: 600;
}

html.dark .price-highlight { color: #7ba4f8; }

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-list li {
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.price-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Contact / CTA ──────────────────────────────────────────── */
.cta-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-section > .container > .cta-inner > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.75;
  transition: color 0.2s;
}

.form-wrapper { margin-top: 2rem; text-align: left; }

/* ── About page ──────────────────────────────────────────────── */
.about-figure {
  margin: 2.5rem 0 0;
  border-radius: 12px;
  overflow: hidden;
}

.about-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.about-figure figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.6rem 0 0;
  transition: color 0.2s;
}

.contact-form { max-width: 600px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
}

.faq-item { border-bottom: 1px solid var(--border); transition: border-color 0.2s; }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}

.faq-trigger:hover { color: var(--accent); }

.faq-trigger .chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s;
}

.faq-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  transition: color 0.2s;
}

.faq-answer-inner p + p { margin-top: 0.75rem; }

/* ── Trades landing grid ────────────────────────────────────── */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.trade-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.trade-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.trade-card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  transition: background 0.2s;
}

.trade-card-icon svg { width: 20px; height: 20px; }

.trade-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.trade-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.2s;
}

/* ── Service / trade page content ───────────────────────────── */
.content-section { padding: 5rem 0; }

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-section .steps { margin-top: 2.5rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  transition: color 0.2s;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.prose p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  transition: color 0.2s;
}

.prose p + p { margin-top: 1rem; }

.prose strong { color: var(--text); font-weight: 600; }

/* ── Alt background section ─────────────────────────────────── */
.section-alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

/* ── Thank you page ─────────────────────────────────────────── */
.thankyou-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
}

.thankyou-inner { max-width: 560px; margin: 0 auto; }

.thankyou-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  transition: background 0.2s;
}

.thankyou-icon svg { width: 32px; height: 32px; }

.thankyou-inner h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.thankyou-inner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.thankyou-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.notfound-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.notfound-links a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.notfound-links a:hover { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.2s;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-inner p {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

/* ── Case Studies ───────────────────────────────────────────── */
.cs-list { padding: 4rem 0 5rem; }

.cs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.cs-card-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.cs-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.cs-card-header h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.cs-body { padding: 2rem 2.5rem 2.5rem; }

.cs-section { margin-bottom: 2rem; }

.cs-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.cs-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.cs-section p:last-child { margin-bottom: 0; }

.cs-section code {
  font-family: ui-monospace, monospace;
  font-size: 0.875em;
  background: var(--bg);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  transition: background 0.2s;
}

.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.cs-stat {
  background: var(--bg);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background 0.2s;
}

.cs-stat-value {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.cs-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.2s;
}

.cs-quote {
  margin: 0 0 2rem;
}

.cs-quote figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  transition: color 0.2s;
}

.cs-lesson {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  transition: background 0.2s;
}

.cs-lesson p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  transition: color 0.2s;
}

@media (max-width: 640px) {
  .cs-card-header,
  .cs-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cs-stats { grid-template-columns: 1fr; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links    { display: none; }
  .hamburger    { display: flex; }
  .mobile-menu  { display: block; overflow: hidden; }
  .nav-controls { margin-left: auto; }
  .two-col      { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .hero    { padding: 5rem 0 4rem; }
  section  { padding: 4rem 0; }
  blockquote::before { display: none; }
  blockquote { padding: 0; }
  .pricing-header.pricing-split { grid-template-columns: 1fr; }
}
