/* ============================================================
   Atlara marketing site — brand stylesheet
   Palette drawn from the Atlara logo:
   navy #152A5C · blue #2E7CD6 · light blue #5B9BE0
   green #3FA37C · light green #6FBF9C
   ============================================================ */

:root {
  --navy: #152A5C;
  --navy-deep: #0E1D42;
  --blue: #2E7CD6;
  --blue-light: #5B9BE0;
  --blue-tint: #EAF2FC;
  --green: #3FA37C;
  --green-light: #6FBF9C;
  --green-tint: #E9F6F0;
  --ink: #1F2A44;
  --muted: #5A6782;
  --line: #E3E9F2;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(21, 42, 92, 0.10);
  --shadow-sm: 0 3px 12px rgba(21, 42, 92, 0.08);
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.18rem; font-weight: 600; }

a { color: var(--blue); text-decoration: none; }
img, svg { max-width: 100%; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(46, 124, 214, 0.35); }
.btn-primary:hover { background: #2568B8; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 32px; flex: none; }
/* Raster wordmark logo used in the header and footer. Source PNG is 2000x500 (4:1),
   so height alone drives the size and width stays proportional — no more squished mark. */
.brand-logo { height: 44px; width: auto; display: block; }
.brand-footer .brand-logo { height: 36px; }
/* Stacked logo shown on the About page hero. */
.about-logo { display: block; width: 420px; max-width: 100%; height: auto; margin: -8px 0 20px -14px; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 10px 14px;
  border-radius: 8px;
}
.nav-link:hover { color: var(--blue); background: var(--blue-tint); }
.caret { width: 14px; height: 14px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Mega menu */
.nav-item.has-menu { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: -40px;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
}
.nav-item.has-menu:hover .mega-menu,
.nav-item.has-menu:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  display: grid;
  /* Five feature groups flow into a 3-column x 2-row grid; the CTA card
     spans both rows in a 4th column so the menu stays ~900px wide. */
  grid-template-columns: repeat(3, 190px) 210px;
  gap: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}
.mega-group {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--green);
  margin-bottom: 10px;
}
.mega-link {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  line-height: 1.35;
}
.mega-link:hover { color: var(--blue); }
.mega-cta { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; grid-column: 4; grid-row: 1 / -1; }
.mega-cta p { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-tint) 0%, #fff 78%); padding: 84px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--green-light); }
.grad-text {
  background: linear-gradient(92deg, var(--blue) 20%, var(--green) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 1.14rem; color: var(--muted); margin-top: 18px; max-width: 60ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-tagline { margin-top: 26px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.tag-blue { color: var(--blue); }
.tag-green { color: var(--green); }

/* Hero mock visuals */
.hero-visual { position: relative; min-height: 380px; }
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}
.mock-main { position: relative; z-index: 2; max-width: 460px; }
.mock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-head > div { flex: 1; }
.mock-avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.mock-title { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1rem; }
.mock-title-sm { font-size: 0.95rem; margin: 6px 0 14px; }
.mock-sub { font-size: 0.8rem; color: var(--muted); }
.pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-green { background: var(--green-tint); color: var(--green); }
.pill-blue { background: var(--blue-tint); color: var(--blue); }
.mock-progress { height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; margin-bottom: 16px; }
.mock-progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.mock-list { list-style: none; }
.mock-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink); padding: 7px 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; margin-top: 6px; }
.dot-done { background: var(--green); }
.dot-active { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.mock-float { position: absolute; z-index: 3; }
.mock-float-1 { right: -6px; top: -18px; width: 180px; }
.mock-float-2 { right: 6px; bottom: -8px; width: 230px; display: grid; gap: 8px; }
.mock-mini-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.mock-mini-value { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--navy); }
.mock-mini-sm { font-size: 0.95rem; font-weight: 600; }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; margin-top: 8px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-light), var(--blue)); }
.mock-bars i:last-child { background: linear-gradient(180deg, var(--green-light), var(--green)); }
.mock-bars-lg { height: 74px; margin-top: 18px; }
.mock-lines { display: grid; gap: 10px; }
.mock-line { display: flex; align-items: center; gap: 10px; }
.mock-line .dot { margin-top: 0; }
.mock-line i { display: block; height: 9px; border-radius: 99px; background: var(--bg-alt); }

/* ---------- Trust band ---------- */
.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 18px 0; text-align: center; }
.trust-band p { color: var(--muted); font-size: 0.95rem; }
.trust-band strong { color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255, 255, 255, 0.75); }

/* Group blocks + feature cards */
.group-block { margin-bottom: 46px; }
.group-block:last-child { margin-bottom: 0; }
.group-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.group-num { color: var(--green); font-size: 0.9rem; font-weight: 800; }
.group-tag { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.feature-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.card-more { font-weight: 600; font-size: 0.88rem; color: var(--blue); }
.icon-chip {
  width: 46px; height: 46px; flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}
.icon-chip svg { width: 23px; height: 23px; }
.icon-chip-green { background: rgba(111, 191, 156, 0.16); color: var(--green-light); }

/* ---------- Dark section ---------- */
.dark-section {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #1B3A72 100%);
  color: #fff;
  padding: 92px 0;
}
.dark-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.dark-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
}
.dark-card h3 { color: #fff; margin: 14px 0 8px; }
.dark-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.dark-note { margin-top: 34px; color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; max-width: 70ch; }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.journey-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.journey-step h3 { margin: 12px 0 8px; }
.journey-step p { font-size: 0.9rem; color: var(--muted); }
.journey-step-accent { border-color: var(--green-light); background: var(--green-tint); }
.journey-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 4px 11px;
  border-radius: 999px;
}
.journey-badge-green { color: var(--green); background: #fff; }
.journey-arrow { align-self: center; color: var(--blue-light); font-size: 1.4rem; font-weight: 700; }

/* ---------- Stats ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 56px 0; }
.stats-band-tight { padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(92deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.audience-card h3 { color: var(--blue); margin-bottom: 10px; }
.audience-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.audience-card ul { list-style: none; }
.audience-card li { padding: 7px 0 7px 26px; font-size: 0.92rem; position: relative; }
.audience-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--green-tint);
  box-shadow: inset 0 0 0 1.5px var(--green);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--blue-tint) 0%, #fff 90%); padding: 76px 0 56px; }
.page-hero .lead { margin-top: 16px; }
.detail-hero { padding-bottom: 72px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs span { margin: 0 4px; }
.crumb-group { color: var(--green); font-weight: 600; }

/* ---------- Detail rows ---------- */
.detail-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 44px 0;
}
.detail-row + .detail-row { border-top: 1px solid var(--line); }
.detail-row-flip .detail-copy { order: 2; }
.detail-row-flip .detail-visual { order: 1; }
.detail-copy p { color: var(--muted); margin-top: 14px; }
.detail-visual .mock-card { max-width: 430px; margin: 0 auto; }
.feature-points { list-style: none; margin-top: 20px; }
.feature-points li { padding: 8px 0 8px 30px; position: relative; font-size: 0.97rem; }
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}

/* ---------- Split + checklist ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.split h2 { margin-bottom: 6px; }
.split p { color: var(--muted); margin-top: 12px; }
.check-list { display: grid; gap: 14px; }
.check-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 54px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.check-item::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: none;
}
.check-item::after {
  content: "";
  position: absolute;
  left: 23px; top: 50%;
  transform: translateY(-58%) rotate(45deg);
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2.4px 2.4px 0;
}

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.why-num { font-family: var(--font-head); font-weight: 800; color: var(--green); font-size: 0.95rem; margin-bottom: 12px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; }
.compare-col { border-radius: var(--radius-lg); padding: 32px; }
.compare-legacy { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); }
.compare-atlara { background: #fff; box-shadow: var(--shadow); }
.compare-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; }
.compare-legacy .compare-title { color: rgba(255, 255, 255, 0.85); }
.compare-atlara .compare-title { color: var(--navy); }
.compare ul { list-style: none; }
.compare li { padding: 9px 0 9px 30px; position: relative; font-size: 0.95rem; }
.compare-legacy li { color: rgba(255, 255, 255, 0.65); }
.compare-legacy li::before { content: "✕"; position: absolute; left: 2px; color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; }
.compare-atlara li { color: var(--ink); font-weight: 500; }
.compare-atlara li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ---------- Demo page ---------- */
.demo-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.demo-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; display: grid; gap: 18px; }
.demo-form label { display: grid; gap: 7px; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.demo-form input, .demo-form select, .demo-form textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { color: var(--muted); font-weight: 400; }
.form-note { text-align: center; font-size: 0.83rem; color: var(--muted); font-weight: 400; }
.form-success { background: var(--green-tint); border: 1px solid var(--green-light); border-radius: var(--radius-lg); padding: 44px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.form-success h2 { color: var(--green); }
.demo-aside { display: grid; gap: 24px; }
.aside-quote { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.aside-quote p { font-size: 1.02rem; font-style: italic; line-height: 1.55; }
.aside-quote span { display: block; margin-top: 14px; font-size: 0.85rem; color: var(--green-light); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 55%, var(--green) 130%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-inner p { color: rgba(255, 255, 255, 0.8); margin: 14px auto 28px; max-width: 56ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 28px; }
.brand-footer .brand-word { color: #fff; }
.footer-tag { font-family: var(--font-head); font-weight: 600; margin-top: 14px; font-size: 0.95rem; }
.footer-note { font-size: 0.85rem; margin-top: 10px; }
.footer-note strong { color: #fff; }
.footer-note a:hover strong { text-decoration: underline; }
.footer-heading {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--green-light);
  margin-bottom: 12px;
}
.footer-col a { display: block; color: rgba(255, 255, 255, 0.72); font-size: 0.86rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- "Who it's for" dropdown + persona pages ---------- */
.who-inner { display: block; width: 300px; padding: 18px 22px; }
.who-link { padding: 9px 0; }
.who-link strong { display: block; font-weight: 600; color: var(--navy); }
.who-link:hover strong { color: var(--blue); }
.who-link span { display: block; font-size: 0.8rem; font-weight: 400; color: var(--muted); line-height: 1.35; }
.persona-hero .lead { max-width: 68ch; }
.persona-hero .hero-tagline { margin-top: 22px; }
.persona-split { padding: 48px 0; }
.persona-split + .persona-split { border-top: 1px solid var(--line); }
.persona-split:first-child { padding-top: 0; }
.persona-split:last-child { padding-bottom: 0; }
.persona-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mega-inner { grid-template-columns: repeat(3, 180px); }
  .mega-cta { display: none; }
  .mega-menu { left: -20px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey-arrow { display: none; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .detail-row { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; }
  .detail-row-flip .detail-copy { order: 1; }
  .detail-row-flip .detail-visual { order: 2; }
  .hero-visual { min-height: 0; }
  .mock-float { position: static; width: auto; margin-top: 14px; }
  .hero-visual { display: grid; gap: 0; }
  .audience-grid, .why-grid, .persona-links { grid-template-columns: 1fr; }
  .stats-grid, .stats-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
}

/* Mobile header: below 940px the inline nav collapses into a hamburger menu. */
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 940px) {
  .header-inner { height: 60px; gap: 12px; }
  .brand-logo { height: 32px; }
  .site-nav, .mega-menu { display: none; }
  .header-actions { gap: 8px; }
  .header-actions > .nav-link { display: none; }
  .header-actions > .btn { padding: 8px 14px; font-size: 0.85rem; white-space: nowrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex: none;
    border: 1px solid var(--line); border-radius: 8px;
    background: #fff; color: var(--navy); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle .icon-close { display: none; }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  body.nav-open .mobile-menu { display: block; }
  .mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(21, 42, 92, 0.14);
    padding: 6px 24px 20px;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .mm-link {
    display: block; padding: 13px 2px;
    font-weight: 600; font-size: 1rem; color: var(--navy);
    border-bottom: 1px solid var(--line);
  }
  .mm-link:hover { color: var(--blue); }
  .mm-sub { font-weight: 500; color: var(--ink); padding-left: 14px; }
  .mm-group {
    font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em; color: var(--green);
    margin: 18px 0 2px;
  }
  .mm-actions { display: grid; gap: 10px; margin-top: 18px; }
  .mm-actions .btn { justify-content: center; }
}

@media (max-width: 360px) {
  /* Very narrow phones: the CTA still lives inside the menu. */
  .header-actions > .btn { display: none; }
  .brand-logo { height: 28px; }
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 60px 0; }
  .journey { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .stats-grid-3 { grid-template-columns: 1fr; }
}

/* ================= Journey map (homepage signature visual) ================= */
.journey-section { padding: 72px 0 56px; background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%); }
.journey-map { margin-top: 8px; }
.journey-map svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) {
  .journey-section { padding: 48px 0 36px; }
}

/* Hero visual gets the same faint topo backdrop as the app. */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -30px -20px; z-index: -1; opacity: 0.8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420' fill='none' stroke='%23152A5C' stroke-opacity='0.06' stroke-width='1.5'%3E%3Cpath d='M-20 330 C 80 260, 150 350, 240 300 S 400 250, 460 290'/%3E%3Cpath d='M-20 60 C 60 110, 170 20, 260 70 S 390 130, 460 80'/%3E%3Ccircle cx='330' cy='180' r='34'/%3E%3Ccircle cx='330' cy='180' r='58'/%3E%3Ccircle cx='330' cy='180' r='84'/%3E%3Ccircle cx='90' cy='230' r='26'/%3E%3Ccircle cx='90' cy='230' r='48'/%3E%3C/svg%3E") center / 420px repeat;
}

/* ================= By-state section ================= */
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.feature-card-static { cursor: default; }
.feature-card-static:hover { transform: none; }
.state-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.state-abbr {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; font-family: var(--font-head);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
  background: var(--blue-tint); color: var(--blue);
}
.state-plan-badge {
  display: inline-block; padding: 3px 9px; border-radius: 99px;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(63, 163, 124, 0.12); color: var(--green);
  white-space: nowrap;
}
.state-region { margin-bottom: 34px; }
.state-region-name {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--green); margin-bottom: 12px;
}
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.state-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  color: var(--navy); font-weight: 600; font-size: 0.92rem;
}
.state-row:hover { border-color: var(--blue); color: var(--blue); }
.state-row .state-abbr { width: 34px; height: 34px; font-size: 0.76rem; border-radius: 8px; }
.state-row-name { flex: 1; min-width: 0; line-height: 1.25; }
.state-disclaimer { margin-top: 26px; font-size: 0.82rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 720px) {
  .state-grid { grid-template-columns: 1fr 1fr; }
  .state-row { padding: 9px 10px; font-size: 0.86rem; }
  .state-row .state-plan-badge { display: none; }
}
@media (max-width: 420px) {
  .state-grid { grid-template-columns: 1fr; }
  .state-row .state-plan-badge { display: inline-block; }
}

/* ================= Legal / trust pages ================= */
.legal-hero { padding: 56px 0 36px; background: linear-gradient(180deg, var(--blue-tint) 0%, #fff 90%); }
.legal-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.legal-meta { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding: 48px 0 72px; }
.legal-toc { position: sticky; top: 92px; align-self: start; font-size: 0.88rem; }
.legal-toc .toc-head { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--green); margin-bottom: 10px; }
.legal-toc a { display: block; padding: 5px 0; color: var(--muted); border-left: 2px solid var(--line); padding-left: 12px; }
.legal-toc a:hover { color: var(--blue); border-left-color: var(--blue); }
.legal-prose { max-width: 74ch; }
.legal-prose h2 { margin: 40px 0 12px; font-size: 1.45rem; scroll-margin-top: 96px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 16px 22px; }
.legal-prose li { margin-bottom: 7px; }
.legal-prose table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 0.92rem; }
.legal-prose th, .legal-prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-prose th { font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.legal-callout { background: var(--green-tint); border: 1px solid rgba(63,163,124,0.25); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; font-size: 0.95rem; }
.legal-callout strong { color: var(--navy); }
.commit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 20px 0 8px; }
.commit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.commit-card h3 { font-size: 1rem; margin-bottom: 6px; }
.commit-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.faq-item p { color: var(--muted); margin: 0; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: inherit; opacity: 0.85; }
.footer-legal a:hover { opacity: 1; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .legal-toc .toc-head { width: 100%; }
  .legal-toc a { border-left: 0; padding-left: 0; }
  .legal-prose table { display: block; overflow-x: auto; }
}
