/* ============================================================
   Briefly — marketing site
   Fresh creative direction, v2 (Apr 2026)
   Typography: Roboto (headings) + Noto Sans (body)
   Brand:      #1B4332 primary · #52B788 accent
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* brand */
  --primary:        #1B4332;
  --primary-900:    #0F2D1F;
  --primary-700:    #2D6A4F;
  --primary-500:    #40916C;
  --primary-300:    #74C69D;
  --accent:         #52B788;
  --accent-soft:    #D8F3DC;
  --accent-50:      #ECFAF1;

  /* neutrals */
  --ink:            #121618;
  --ink-700:        #2E363D;
  --ink-500:        #5C6770;
  --ink-400:        #8A959E;
  --ink-300:        #B8C1C9;
  --line:           #E6E9EC;
  --line-soft:      #F1F3F5;
  --paper:          #FFFFFF;
  --ivory:          #FAFAF5;
  --ivory-warm:     #F5F3EB;

  /* signals */
  --danger:         #C24B38;
  --warning:        #D69E2E;

  /* radii / space / shadow */
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 24, 20, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(16, 24, 20, 0.14);
  --shadow-xl: 0 32px 80px -20px rgba(16, 24, 20, 0.22);

  --display: 'Roboto', 'Noto Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --text:    'Noto Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-700); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--primary-900); }

/* ---------- type ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.375rem; line-height: 1.3; }
h4 { font-size: 1.0625rem; }
p  { margin: 0 0 var(--space-4); color: var(--ink-700); }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-500); max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

.accent-underline {
  position: relative;
  white-space: nowrap;
}
.accent-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 8px;
  background: var(--accent);
  opacity: 0.35;
  z-index: -1;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.container       { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: 780px;  margin: 0 auto; padding: 0 24px; }
section          { padding: var(--space-9) 0; }
section.tight    { padding: var(--space-7) 0; }
.divider-rule    { height: 1px; background: var(--line); margin: var(--space-8) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transition: all 160ms ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm  { padding: 10px 16px; font-size: 0.875rem; }
.btn-lg  { padding: 16px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-900); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--accent);
  color: var(--primary-900);
}
.btn-accent:hover { background: var(--primary-300); color: var(--primary-900); }

.btn-secondary {
  background: var(--paper);
  color: var(--primary);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-900); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--line-soft); }

.btn-arrow::after { content: '→'; transition: transform 160ms ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid rgba(230,233,236,0.8);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-brand .brand-owl { height: 32px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: var(--space-5);
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-500);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--line-soft);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  border-radius: 999px;
}
.lang-switch a.active { background: var(--primary); color: #fff; }

.nav-burger { display: none; background: transparent; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu .btn { margin-top: 10px; }
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn, .nav-actions .lang-switch { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-actions { gap: 0; }
  .mobile-menu.open { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  padding: var(--space-9) 0 var(--space-8);
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(82,183,136,0.18), transparent 70%),
    radial-gradient(700px 400px at 10% 110%, rgba(27,67,50,0.08), transparent 70%),
    #FDFDFA;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero h1 em {
  font-style: normal;
  color: var(--primary-700);
}
.hero-meta {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  color: var(--ink-500);
  font-size: 0.9375rem;
  margin-top: var(--space-4);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-300); }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; margin-top: var(--space-6); flex-wrap: wrap; }

/* hero visual (email screenshot) */
.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: var(--radius-lg);
}

/* ---------- stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-7) var(--space-6);
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: var(--space-7) 0;
}
.stat-strip .stat { text-align: center; }
.stat-strip .stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}
.stat-strip .stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  opacity: 0.9;
}
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- product preview / before+after ---------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 860px) { .before-after { grid-template-columns: 1fr; } }

.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  font-family: 'Georgia', 'Noto Serif', serif;
  color: var(--ink-700);
  overflow: hidden;
}
.doc-card.raw {
  background: var(--ivory-warm);
  max-height: 420px;
  overflow: hidden;
}
.doc-card.raw::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--ivory-warm));
}
.doc-card.brief {
  border-top: 4px solid var(--accent);
}
.doc-card .doc-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--text);
}
.doc-card .doc-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doc-card.raw .doc-tag { background: var(--line); color: var(--ink-500); }
.doc-card.brief .doc-tag { background: var(--accent-soft); color: var(--primary-700); }
.doc-card .doc-word-count { font-size: 0.8125rem; color: var(--ink-400); font-family: var(--text); }
.doc-card h4 { font-family: var(--display); color: var(--ink); margin-bottom: 12px; font-size: 1.1rem; }
.doc-card p { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 12px; }
.doc-card.brief .issue-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-family: var(--text);
}
.doc-card.brief .issue-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--ink-700);
  font-size: 0.9375rem;
  border-bottom: 1px dashed var(--line);
}
.doc-card.brief .issue-list li:last-child { border-bottom: 0; }
.doc-card.brief .issue-list li::before {
  content: '';
  position: absolute; left: 4px; top: 15px;
  width: 14px; height: 14px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.25;
}
.doc-card.brief .issue-list li::after {
  content: '✓';
  position: absolute; left: 6px; top: 10px;
  color: var(--primary-700);
  font-weight: 700;
  font-size: 12px;
}

/* ---------- section blocks ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-7);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { color: var(--ink-500); font-size: 1.0625rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.feature-card:hover {
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-card .icon-tile {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--primary-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.125rem; font-weight: 700;
}
.feature-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature-card p  { color: var(--ink-500); margin-bottom: 0; font-size: 0.9375rem; }

/* ---------- "how it works" steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(to right, var(--accent-soft), var(--accent), var(--accent-soft));
  z-index: 0;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}
.step {
  position: relative;
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  z-index: 1;
  text-align: center;
  border: 1px solid var(--line);
}
.step .step-num {
  display: inline-flex;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.step p  { color: var(--ink-500); font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- product preview (search UI) ---------- */
.product-shot {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--line);
}
.product-shot img { width: 100%; height: auto; display: block; }
.product-caption {
  text-align: center;
  margin-top: var(--space-4);
  color: var(--ink-500);
  font-size: 0.9375rem;
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3,
.price-card.featured .price { color: #fff; }
.price-card.featured .features li { color: rgba(255,255,255,0.86); }
.price-card.featured .features li::before { color: var(--accent); }
.price-card.featured .price-hint { color: var(--accent-soft); }
.price-card.featured .btn-primary { background: var(--accent); color: var(--primary-900); }
.price-card.featured .btn-primary:hover { background: #fff; }
.price-card .badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent);
  color: var(--primary-900);
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card h3 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.price-card .price {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .price-period { font-size: 0.9375rem; color: var(--ink-500); }
.price-card .price-hint   { font-size: 0.8125rem; color: var(--ink-400); margin-top: 4px; }
.price-card .features {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  flex: 1;
}
.price-card .features li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line-soft);
}
.price-card.featured .features li { border-bottom-color: rgba(255,255,255,0.12); }
.price-card .features li::before {
  content: '✓';
  position: absolute; left: 0; top: 10px;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- compare table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: 0.9375rem;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.compare-table thead th {
  background: var(--ivory);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--ink-700);
}
.compare-table td.yes::before { content: '✓'; color: var(--primary-700); font-weight: 800; }
.compare-table td.no::before  { content: '—'; color: var(--ink-300); }

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-700);
  transition: transform 200ms ease;
}
.faq details[open] summary::after { content: '×'; }
.faq details p { color: var(--ink-500); margin-top: 10px; font-size: 0.9375rem; line-height: 1.7; }

/* ---------- testimonial ---------- */
.quote-card {
  background: var(--ivory);
  border-left: 4px solid var(--accent);
  padding: var(--space-6) var(--space-7);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.quote-card blockquote {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--ink-500);
}
.quote-card cite strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--primary-900);
  color: #fff;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 340px at 30% 120%, rgba(82,183,136,0.28), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p  { color: var(--accent-soft); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--accent); color: var(--primary-900); }
.cta-band .btn-primary:hover { background: #fff; }

/* ---------- footer ---------- */
.footer {
  background: var(--ivory);
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-3);
}
.footer-brand .brand-owl { height: 28px; width: auto; display: block; }
.footer-col h4 {
  font-family: var(--display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: var(--space-4);
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a  { color: var(--ink-500); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
  margin-top: var(--space-7);
  font-size: 0.875rem;
  color: var(--ink-400);
}
.footer-bottom a { color: var(--ink-500); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- blog list ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card .category {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.blog-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-3);
  line-height: 1.35;
}
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--primary-700); }
.blog-card p {
  color: var(--ink-500);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}
.blog-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-400);
}

/* ---------- blog post ---------- */
.post-article { max-width: 720px; margin: 0 auto; }
.post-article h1 { margin-bottom: 18px; }
.post-article h2 { margin: var(--space-7) 0 var(--space-3); font-size: 1.5rem; }
.post-article p  { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-700); }
.post-article blockquote {
  margin: var(--space-5) 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: var(--accent-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-700);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.post-meta { color: var(--ink-500); font-size: 0.9375rem; margin-bottom: var(--space-6); }

/* ---------- page-header (non-hero pages) ---------- */
.page-header {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(82,183,136,0.12), transparent 70%),
    var(--ivory);
  padding: var(--space-8) 0 var(--space-7);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: var(--space-3); }
.page-header .lede { color: var(--ink-500); }

/* ---------- about timeline ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: var(--space-5) 0; }
.timeline li {
  position: relative;
  padding: 0 0 var(--space-5) 28px;
  border-left: 2px solid var(--accent-soft);
  margin-left: 6px;
}
.timeline li::before {
  content: '';
  position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
}
.timeline .date {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--primary-700);
  text-transform: uppercase;
}
.timeline h4 { margin: 4px 0 6px; font-size: 1rem; }
.timeline p  { color: var(--ink-500); font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- misc ---------- */
.kbd {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.85em;
  color: var(--ink-700);
}
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--primary-700);
}
.pill.ink   { background: var(--line-soft); color: var(--ink-700); }
.pill.warn  { background: rgba(214,158,46,0.12); color: #8A6A1C; }

/* ---------- logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px 36px;
  align-items: center;
  justify-items: center;
  opacity: 0.7;
}
.logo-wall .logo-placeholder {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink-400);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px dashed var(--line);
  padding: 10px 16px;
  border-radius: var(--radius);
}

/* ---------- callout ---------- */
.callout {
  padding: 18px 22px;
  background: var(--accent-50);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-700);
  font-size: 0.9375rem;
}
.callout strong { color: var(--primary-700); }

/* ============================================================
   Mobile polish — keep things tight, readable, and tappable
   on phones down to 360px. Layered from wide → narrow.
   ============================================================ */

/* Horizontal overflow safety (any stray element won't cause side-scroll) */
html, body { overflow-x: hidden; }

/* Tablet & small desktop (≤860px) */
@media (max-width: 860px) {
  section        { padding: var(--space-8) 0; }  /* 64px was 96px */
  section.tight  { padding: var(--space-6) 0; }  /* 32px was 48px */
}

/* Phones (≤700px) */
@media (max-width: 700px) {
  section        { padding: var(--space-7) 0; }  /* 48px */
  section.tight  { padding: var(--space-5) 0; }  /* 24px */

  /* Hero */
  .hero                 { padding: var(--space-7) 0 var(--space-6); }
  .hero-cta             { gap: 10px; }
  .hero-cta .btn        { width: 100%; justify-content: center; }
  .hero-meta            { gap: 8px 14px; font-size: 0.875rem; }
  .hero-meta .dot       { display: none; }

  /* Let the accent-underlined phrase wrap instead of overflowing */
  .accent-underline     { white-space: normal; }

  /* Stat strip */
  .stat-strip           { padding: var(--space-5) var(--space-4); gap: var(--space-4); margin: var(--space-5) 0; }
  .stat-strip .stat-num { font-size: 1.625rem; }
  .stat-strip .stat-label { font-size: 0.6875rem; }

  /* CTA bands (final CTA + AI Hub CTA) */
  .cta-band             { padding: var(--space-7) var(--space-5); border-radius: var(--radius-lg); }
  .cta-band h2          { font-size: 1.625rem; }
  .cta-band p           { font-size: 1rem; }
  .cta-band .btn        { width: 100%; justify-content: center; }

  /* Pricing */
  .pricing-wrap         { padding: 0 var(--space-4); }
  .plan-card            { padding: var(--space-4); }
  .plan-card .plan-price{ font-size: 2rem; }

  .billing-toggle       { gap: 4px; padding: 4px; flex-wrap: wrap; justify-content: center; }
  .billing-toggle button{ padding: 9px 14px; font-size: 0.8125rem; }
  .billing-toggle .save-pill { font-size: 0.5625rem; padding: 2px 6px; }

  /* Section heads (eyebrow + h2 + lede) */
  .section-head         { margin-bottom: var(--space-5); }
  .section-head p       { font-size: 1rem; }

  /* Doc / product shots */
  .doc-card             { padding: 20px; }

  /* FAQ */
  .faq summary          { font-size: 1rem; }
  .faq details          { padding: 18px 0; }

  /* Footer */
  .footer               { padding: var(--space-7) 0 var(--space-5); }
  .footer-grid          { gap: var(--space-5); }
  .footer-bottom        { flex-direction: column; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-5); }

  /* Quote */
  .quote-card           { padding: var(--space-5) var(--space-5); }
  .quote-card blockquote{ font-size: 1.0625rem; }
}

/* Small phones (≤540px) */
@media (max-width: 540px) {
  .container, .container-narrow { padding: 0 18px; }
  .nav-inner            { padding: 12px 18px; gap: 12px; }

  /* One-column stat strip and footer on very narrow screens */
  .stat-strip           { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; }

  /* Cards a little tighter */
  .feature-card         { padding: 22px 20px; }
  .step                 { padding: 22px 18px; }
}

/* Narrow phones (≤400px) — protect against text overflow on 360/375 devices */
@media (max-width: 400px) {
  .section-head h2      { font-size: 1.5rem; }
  .plan-card .plan-price{ font-size: 1.75rem; }
  .billing-toggle button{ padding: 8px 12px; }
}
