:root {
  --bg: #FDFBF7;
  --surface: #FFFFFF;
  --surface-soft: #F7F3EC;
  --text: #0F172A;
  --text-soft: #475569;
  --text-muted: #64748B;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --teal: #0E7C86;
  --teal-bright: #14B8A6;
  --teal-wash: #E6F7F5;
  --purple: #6D28D9;
  --purple-soft: #EDE9FE;
  --gold: #B08544;
  --gold-bright: #D4A574;
  --gold-wash: #FBF3E4;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --gradient: linear-gradient(135deg, #0E7C86 0%, #6D28D9 55%, #D4A574 100%);
  --gradient-soft: linear-gradient(135deg, rgba(14, 124, 134, 0.12) 0%, rgba(109, 40, 217, 0.10) 55%, rgba(212, 165, 116, 0.14) 100%);
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: 'Fraunces', 'Playfair Display', Georgia, serif; letter-spacing: -0.02em; line-height: 1.15; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 600; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

section { padding: 100px 0; position: relative; }
section .section-header { max-width: 720px; margin-bottom: 60px; }
section .section-header p { color: var(--text-soft); font-size: 1.1rem; margin-top: 16px; }

a { color: var(--teal); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(109, 40, 217, 0.35);
  opacity: 1;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  opacity: 1;
}

/* ============ NAV ============ */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.site-nav.scrolled { border-bottom-color: var(--border); }
nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo svg { flex-shrink: 0; }
.logo span.and { color: var(--gold); font-style: italic; margin: 0 2px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: 0.3s; border-radius: 2px; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, rgba(14, 124, 134, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin: 20px 0 24px; }
.hero .hero-sub {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
}
.hero-stat .lbl { font-size: 0.85rem; color: var(--text-soft); }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-left: auto;
}
.feather-scene { width: 100%; height: 100%; }

/* ============ COMMITMENTS BAND ============ */
.proof {
  padding: 56px 0 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.proof-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 34px;
  font-weight: 600;
}
.proof-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.proof-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.proof-item .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.proof-item strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.proof-item span {
  display: block;
  font-size: 0.87rem;
  color: var(--text-soft);
  margin-top: 3px;
  line-height: 1.45;
}

/* ============ OFFERS (services + use cases, merged — interactive split panel) ============ */
.offer-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}
.offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  align-content: start;
}
.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}
.offer-item:hover { background: var(--surface-soft); }
.offer-item.is-active {
  background: var(--gradient-soft);
  border-color: var(--teal);
}
.offer-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-item.is-active .offer-item-icon { background: var(--surface); }
.offer-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.offer-item-top { display: flex; flex-direction: column; gap: 1px; }
.offer-item-title { font-weight: 650; font-size: 0.92rem; line-height: 1.25; }
.offer-item-tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
}
.offer-item-tag em { color: var(--gold); font-style: normal; }
.offer-item-desc {
  /* Full description is read by JS for the detail panel and kept for
     crawlers/AEO, but not shown inline so every row stays the same
     compact height. */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.offer-item-chevron {
  flex-shrink: 0;
  color: var(--text-soft);
  transition: transform 0.2s, color 0.2s;
}
.offer-item.is-active .offer-item-chevron { color: var(--teal); transform: translateX(2px); }
.offer-detail {
  display: flex;
}
.offer-detail-card {
  position: sticky;
  top: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              var(--gradient) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.offer-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-detail-icon svg { width: 30px; height: 30px; }
.offer-detail-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
}
.offer-detail-card h3 { font-size: 1.5rem; margin: 0; }
.offer-detail-card p { color: var(--text-soft); font-size: 1rem; margin: 0; }
.offer-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--teal);
  font-weight: 650;
}
.offer-footnote {
  text-align: center;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.offer-footnote a { color: var(--teal); font-weight: 600; }

/* ============ PROCESS ============ */
.process {
  background: var(--surface-soft);
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--purple) 50%, var(--gold) 100%);
  opacity: 0.2;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.step:hover .step-num {
  border-color: transparent;
  transform: scale(1.05);
}
.step:hover .step-num::after { opacity: 1; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 0.92rem; }

/* ============ WHY US ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon.purple { background: var(--purple-soft); }
.why-icon.gold { background: var(--gold-wash); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--text-soft); font-size: 0.95rem; }

/* ============ TECH ============ */
.tech {
  background: var(--surface-soft);
  text-align: center;
}
.tech-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 900px;
  margin: 40px auto 0;
}
.tech-groups {
  max-width: 980px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tech-group-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
  text-align: center;
}
.tech-group .tech-badges { margin-top: 0; }
.tech-badge {
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
}
.tech-badge:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}
.tech-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  text-align: center;
}
.testimonial-track {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  min-height: 240px;
}
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  padding: 40px;
}
.testimonial.active { opacity: 1; }
.testimonial .quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: -20px;
}
.testimonial blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 24px;
}
.testimonial cite {
  font-style: normal;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.testimonial cite strong { color: var(--text); font-weight: 600; }
.testimonial-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}
.dot-btn.active {
  background: var(--gradient);
  width: 28px;
  border-radius: 4px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 44px 26px 0;
  text-align: left;
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal); }
.faq-q::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 60px 0 0;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 26px; }
.faq-a p { color: var(--text-soft); font-size: 1rem; line-height: 1.7; }

/* ============ CONTACT ============ */
.contact {
  position: relative;
  overflow: hidden;
}
.contact-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.contact-inner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 124, 134, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.contact-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  z-index: 1;
}
.contact-info h2 { margin: 20px 0 20px; }
.contact-info p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.95rem;
}
.contact-detail svg { flex-shrink: 0; color: var(--teal); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
}
.field input,
.field textarea,
.field select {
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.10);
}
.contact-form .btn { align-self: flex-start; margin-top: 8px; }

/* ============ FOOTER ============ */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 14px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--teal); border-color: var(--teal); }

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  33% { transform: translate(10px, -12px) rotate(4deg); }
  66% { transform: translate(-8px, 8px) rotate(-3deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes rotate-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.feather-main { animation: float 6s ease-in-out infinite; transform-origin: center; }
.orb { animation: drift 8s ease-in-out infinite; }
.orb-2 { animation-delay: -2s; animation-duration: 10s; }
.orb-3 { animation-delay: -4s; animation-duration: 9s; }
.pulse { animation: pulse-glow 3s ease-in-out infinite; }
.rotate { animation: rotate-slow 40s linear infinite; transform-origin: center; }

/* ============ RESPONSIVE ============ */
/* Nav collapses to the menu button before the 8 links run out of room. */
@media (max-width: 1200px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  .nav-cta .btn { display: none; }
  section { padding: 70px 0; }
  .hero { padding: 40px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .offer-split { grid-template-columns: 1fr; }
  .offer-detail-card { position: static; }
  .offer-list { grid-template-columns: repeat(2, 1fr); }
  .proof-items { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { padding: 50px 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .testimonial { padding: 20px; }
  .testimonial blockquote { font-size: 1.25rem; }
}
@media (max-width: 560px) {
  .offer-list { grid-template-columns: 1fr; }
  .offer-detail-card { padding: 28px 22px; }
  .proof-items { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.6rem; }
}

/* =====================================================================
   SUBPAGES: articles (/use-cases/*, /blog/*) and hub pages
   Mobile-first. Reuses the :root variables above.
   ===================================================================== */

/* Current section in the main nav */
.nav-links a[aria-current="page"] { color: var(--text); }

/* Page header (top of every subpage) */
.page-hero { padding: 32px 0 40px; background: var(--gradient-soft); border-bottom: 1px solid var(--border); }
.page-hero-inner { max-width: 720px; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 14px 0 16px; }
.page-hero .lead { color: var(--text-soft); font-size: 1.1rem; }
.page-hero .badges { margin-bottom: 16px; }

/* Breadcrumbs: <nav class="breadcrumbs" aria-label="Breadcrumb"><ol>…</ol></nav> */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.5;
  background: var(--purple-soft); color: var(--purple); border: 1px solid rgba(109, 40, 217, 0.2);
}
.badge--case { background: var(--gold-wash); color: #7A5A26; border-color: rgba(176, 133, 68, 0.35); }
.badge--outcome { background: var(--teal-wash); color: #0B5F67; border-color: rgba(14, 124, 134, 0.3); }

/* Author / date line */
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; }
.article-meta strong { color: var(--text-soft); font-weight: 600; }

/* Article body: readable column, spacing for plain HTML content */
.article { max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; font-size: 1.06rem; }
.article section { padding: 0; } /* undo the global section padding */
.article > * + *, .article section > * + * { margin-top: 1.1em; }
.article > * + section, .article > section + * { margin-top: 2.4em; }
.article h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); }
.article h3 { font-size: 1.2rem; }
.article * + h2 { margin-top: 1.8em; }
.article * + h3 { margin-top: 1.4em; }
.article p, .article li { color: var(--text-soft); line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: 0.4em; }
.article p a, .article li a, .article td a { text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--text); }

/* Sample messages/scripts inside articles */
.article pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.9rem; line-height: 1.6; background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--text); }
.article blockquote { border-left: 4px solid var(--border-strong); padding: 4px 0 4px 18px; }

/* TL;DR / Summary callout: <aside class="summary"> */
.summary {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.summary-title { font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); }
.article .summary > * + * { margin-top: 0.6em; }
.summary p, .summary li { color: var(--text); }

/* Key facts: <dl class="key-facts"> with dt/dd pairs */
.key-facts {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.key-facts > div { background: var(--surface); padding: 14px 18px; }
.key-facts dt { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.key-facts dd { color: var(--text); font-weight: 500; margin-top: 2px; }

/* Problem -> Solution -> How it works -> Expected outcomes */
.story-step { position: relative; padding-left: 20px; border-left: 2px solid var(--border-strong); }
.article .story-step { padding: 4px 0 4px 20px; }
.story-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.article .story-step > h2 { margin-top: 0.2em; }
.story-step--problem { border-left-color: #B04444; }
.story-step--solution { border-left-color: var(--purple); }
.story-step--how { border-left-color: var(--teal); }
.story-step--outcomes { border-left-color: var(--gold); }

/* Tables: wrap in <div class="table-wrap"> so wide tables scroll on mobile */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table-wrap caption { text-align: left; padding: 12px 16px 0; font-size: 0.85rem; color: var(--text-muted); }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th { background: var(--surface-soft); font-weight: 600; color: var(--text); font-size: 0.85rem; }
.table-wrap td { color: var(--text-soft); }
.table-wrap tr:last-child td { border-bottom: none; }

/* FAQ with native <details class="faq-details"><summary>…</summary><div>…</div></details> */
.faq-details { border-bottom: 1px solid var(--border); }
.faq-details:first-of-type { border-top: 1px solid var(--border); }
.faq-details summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 36px 18px 0; font-weight: 600; color: var(--text); line-height: 1.4;
}
.faq-details summary::-webkit-details-marker { display: none; }
.faq-details summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-details summary:hover { color: var(--teal); }
.faq-details > div { padding-bottom: 18px; }
.article .faq-details + .faq-details { margin-top: 0; }

/* CTA box */
.cta-box {
  background: var(--text); color: #fff; border-radius: var(--radius); padding: 32px 24px;
  background-image: radial-gradient(circle at 100% 0%, rgba(109, 40, 217, 0.45), transparent 55%);
}
.cta-box h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 1.8rem); }
.cta-box p { color: rgba(255, 255, 255, 0.82); margin-top: 10px; }
.article .cta-box p { color: rgba(255, 255, 255, 0.82); }
.card-grid + .cta-box { margin-top: 48px; }
.cta-box .btn { margin-top: 20px; }
.article .cta-box .btn { text-decoration: none; }

/* Hub pages: card grid. Whole card is clickable via the title link. */
.hub { padding: 48px 0 72px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; list-style: none; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h2, .card h3 { font-size: 1.2rem; font-weight: 600; }
.card-link { color: var(--text); }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { opacity: 1; }
.card .badge { align-self: flex-start; }
.card p { color: var(--text-soft); font-size: 0.95rem; }
.card-more { margin-top: auto; color: var(--teal); font-weight: 600; font-size: 0.9rem; }

/* Focus states for subpage components */
.breadcrumbs a:focus-visible,
.faq-details summary:focus-visible,
.cta-box .btn:focus-visible,
.article a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.card:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }
.cta-box .btn:focus-visible { outline-color: #fff; }

@media (min-width: 640px) {
  .key-facts { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 40px; }
}
@media (min-width: 960px) {
  .page-hero { padding: 48px 0 56px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .card, .faq-details summary::after { transition: none; }
  .card:hover { transform: none; }
}

/* STAR "Example scenario" box (blog posts):
   <aside class="star-box"><p class="star-box__label">…</p><h3 class="star-box__title">…</h3>
   <dl><div class="star-box__row"><dt>Situation</dt><dd>…</dd></div> … <div class="star-box__row star-box__row--result">…</div></dl></aside> */
.star-box {
  background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.star-box__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #7A5A26; }
.article .star-box__label { color: #7A5A26; line-height: 1.4; }
.star-box__note { font-weight: 600; text-transform: none; letter-spacing: 0; padding: 2px 10px; border-radius: 999px; background: var(--gold-wash); border: 1px solid rgba(176, 133, 68, 0.35); }
.article .star-box__title { margin-top: 8px; font-size: 1.15rem; }
.star-box dl { margin-top: 14px; }
.star-box__row { padding: 10px 0; border-top: 1px solid var(--border); }
.star-box dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.star-box dd { margin: 4px 0 0; }
.star-box dd > * + * { margin-top: 0.7em; }
.star-box dd .table-wrap { font-size: 0.9rem; }
.star-box__row--result { margin-top: 6px; padding: 14px 16px; border: 1px solid rgba(14, 124, 134, 0.3); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); background: var(--teal-wash); }
.star-box__row--result dt { color: #0B5F67; }
.article .star-box__row--result p, .article .star-box__row--result li { color: var(--text); }
.star-box__row--result .table-wrap { background: var(--surface); }

/* === BLOG VISUALS ===
   Shared blog components. Copy markup from the guide; no per-page CSS.
   .toc (On this page) · .flow (HTML flow chart) · .compare (side-by-side cards)
   .stat-row (cited big numbers) · .star-box tabs (built by main.js) */

/* On this page: <nav class="toc" aria-labelledby="toc-title"><p class="toc__title" id="toc-title">On this page</p><ol>…</ol></nav> */
.toc { background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.toc__title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.article .toc ol { margin-top: 8px; padding-left: 1.3em; }
.article .toc li { font-size: 0.95rem; line-height: 1.5; margin: 0 0 6px; }
.article .toc a { color: var(--text); text-decoration: none; }
.article .toc a:hover { color: var(--teal); text-decoration: underline; }

/* Flow chart: <figure class="flow-fig"><ol class="flow">…</ol><figcaption>…</figcaption></figure>
   Vertical stepper in a panel, inside the text column. The figcaption is shown on top as the panel title. */
.flow-fig {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--teal);
  border-radius: var(--radius-sm); padding: 20px 22px 22px; box-shadow: var(--shadow-sm);
}
.flow-fig figcaption { order: -1; font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.flow-fig figcaption::before {
  content: 'Step by step'; display: block; margin-bottom: 4px;
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #0B5F67;
}
.article .flow { --node: 36px; position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
/* one continuous line through the node centres; the last step's ::after hides it below the last node */
.flow::before {
  content: ''; position: absolute; left: calc(var(--node) / 2 - 1px); top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), var(--purple) 60%, var(--gold-bright));
}
.article .flow > li { position: relative; margin: 0; padding: 6px 0 0 calc(var(--node) + 18px); min-height: var(--node); }
.flow > li:last-child::after { content: ''; position: absolute; left: 0; top: var(--node); bottom: 0; width: var(--node); background: var(--surface); }
.flow__num {
  position: absolute; z-index: 1; left: 0; top: 0; width: var(--node); height: var(--node); border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px rgba(14, 124, 134, 0.25);
}
.flow__title { display: block; color: var(--text); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.article .flow__text { margin-top: 2px; font-size: 0.95rem; line-height: 1.55; }
/* decision step: <li class="flow__step--decision"> with <ul class="flow__branches"> */
.flow__step--decision .flow__num {
  width: 28px; height: 28px; left: 4px; top: 4px; border-radius: 6px; transform: rotate(45deg);
  background: var(--purple); box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px rgba(109, 40, 217, 0.3);
}
.flow__step--decision .flow__num > * { transform: rotate(-45deg); }
.article .flow__branches { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 10px; }
.article .flow__branches li {
  margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.93rem; line-height: 1.5; color: var(--text);
  background: var(--gold-wash); border: 1px solid rgba(176, 133, 68, 0.3); border-left: 4px solid var(--gold);
}
/* plain branch li (e.g. "Warm") = gold; .flow__yes = teal; .flow__no = neutral */
.article .flow__branches .flow__yes { background: var(--teal-wash); border-color: rgba(14, 124, 134, 0.3); border-left-color: var(--teal); }
.article .flow__branches .flow__no { background: var(--surface-soft); border-color: var(--border-strong); border-left-color: #94A3B8; }
.flow__branches li strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7A5A26; }
.flow__branches .flow__yes strong { color: #0B5F67; }
.flow__branches .flow__no strong { color: #475569; }
/* optional click-to-expand detail: <details class="flow__more"><summary>Details</summary><p>…</p></details> */
.flow__more { margin-top: 6px; font-size: 0.9rem; }
.flow__more summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  color: #0B5F67; font-weight: 600; padding: 2px 0;
}
.flow__more summary::-webkit-details-marker { display: none; }
.flow__more summary::after {
  content: ''; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform 0.2s, margin 0.2s;
}
.flow__more[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.flow__more summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.article .flow__more p {
  margin-top: 6px; padding: 10px 14px; font-size: 0.92rem; line-height: 1.55; color: var(--text);
  background: var(--surface-soft); border: 1px solid var(--border); border-radius: 8px;
}

/* Compare cards: <div class="compare"><div class="compare__card">…</div><div class="compare__card compare__card--good">…</div></div> */
.compare { display: grid; grid-template-columns: 1fr; gap: 16px; }
.compare__card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--border-strong); border-radius: var(--radius-sm); padding: 18px 20px; }
.compare__card--good { border-top-color: var(--teal); background: linear-gradient(180deg, var(--teal-wash), var(--surface) 70%); }
.compare__card--alt { border-top-color: var(--purple); }
.article .compare__card h3 { margin: 0; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.article .compare__card ul { margin-top: 10px; padding-left: 1.1em; }
.article .compare__card li { font-size: 0.95rem; line-height: 1.55; }

/* Stat tiles: <ul class="stat-row"><li><span class="stat__num">…</span><span class="stat__label">…</span><a class="stat__src" …>Source: …</a></li></ul> */
.article .stat-row { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.article .stat-row > li { margin: 0; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.stat__num { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: var(--purple); text-wrap: balance; }
.stat__label { color: var(--text); font-size: 0.92rem; line-height: 1.45; }
.article .stat__src { margin-top: auto; font-size: 0.8rem; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* STAR tabs: main.js adds .star-box--tabs and a .star-tabs tablist; without JS all rows show. */
.star-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.star-tabs button {
  flex: 1 1 auto; max-width: 9rem; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 999px;
  background: var(--surface-soft); color: var(--text-soft); border: 1px solid var(--border-strong); transition: background 0.15s, color 0.15s;
}
.star-tabs button:hover { color: var(--text); }
.star-tabs button[aria-selected="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.star-box--tabs .star-box__row { border-top: none; }
.star-box--tabs dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.toc a:focus-visible,
.flow__more summary:focus-visible,
.star-tabs button:focus-visible,
.star-box--tabs [role="tabpanel"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

@media (min-width: 640px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .article .toc ol { columns: 2; column-gap: 32px; }
  .article .toc li { break-inside: avoid; }
  .article .flow__branches { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .article .stat-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .star-tabs button, .flow__more summary::after { transition: none; }
}
