/* Avocado Assure marketing site
   Tokens follow 04-brand-guide.md. Lime (#70C40F) never carries white text. */

:root {
  --avocado: #70C40F;
  --leaf: #5B9E0D;
  --avocado-700: #447A09;
  --avocado-50: #F2F9E7;
  --avocado-100: #E2F3CC;
  --ink: #1B2410;
  --ink-2: #10160A;
  --ink-card: #1A2312;
  --ink-line: #2A3520;
  --on-dark: #F2F5EC;
  --on-dark-muted: #A9B39C;
  --slate: #4B5345;
  --muted: #7E8676;
  --line: #E6E9E1;
  --surface: #F6F7F3;
  --white: #FFFFFF;
  --info: #2C6E8A;
  --warning: #F59E0B;
  --danger: #D64545;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27, 36, 16, .06);
  --shadow: 0 1px 2px rgba(27, 36, 16, .05), 0 8px 24px -8px rgba(27, 36, 16, .12);
  --shadow-lg: 0 2px 4px rgba(27, 36, 16, .04), 0 30px 60px -20px rgba(27, 36, 16, .28);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--avocado-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 62px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.01em; }
h4 { font-size: 17px; letter-spacing: -0.005em; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--avocado); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s, color .15s;
}
.btn-primary { background: var(--avocado); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(112, 196, 15, .7); }
.btn-primary:hover { background: #7ED31A; color: var(--ink); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A3818; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; color: var(--avocado-700); }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 243, .86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand .mark { width: 34px; height: 34px; }
.brand .word { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-links > li > button {
  font: 600 15px/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current="page"] { background: var(--avocado-50); color: var(--ink); }
.nav-links .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .login { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.nav-actions .login:hover { background: var(--avocado-50); }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -140px; width: 680px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega.open .chev { transform: rotate(180deg); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--slate); }
.mega a:hover { background: var(--avocado-50); }
.mega .ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--avocado-50); color: var(--avocado-700); display: grid; place-items: center; }
.mega .ico svg { width: 20px; height: 20px; }
.mega strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.mega span.d { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.mega .all svg { width: 18px; height: 18px; }
.mega .all { grid-column: 1 / -1; justify-content: space-between; align-items: center; background: var(--surface); font-weight: 600; color: var(--ink); font-size: 14px; margin-top: 4px; }

.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 10px; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-open .nav-panel { display: block; }
}
.nav-panel {
  display: none; position: fixed; inset: 72px 0 0 0; background: var(--surface); overflow-y: auto;
  padding: 16px var(--gutter) 40px; border-top: 1px solid var(--line);
}
.nav-panel h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.nav-panel a.row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-panel a.row svg { width: 20px; height: 20px; color: var(--avocado-700); }
.nav-panel .actions { display: grid; gap: 10px; margin-top: 24px; }
body.nav-open { overflow: hidden; }
/* backdrop-filter makes the header a containing block for fixed children, so drop it while the panel is open */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }

/* ---------- Generic sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-white { background: var(--white); }
.bg-green { background: var(--avocado-50); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--avocado-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--avocado); box-shadow: 0 0 0 3px var(--avocado-100); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--slate); max-width: 640px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; background: var(--avocado-100); color: var(--avocado-700); vertical-align: middle;
}
.badge.rolling { background: #FEF3DC; color: #8A5300; }
.badge.rolling::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warning); }

/* Pit bullets: the round avocado pit with its highlight, from the mark */
.pit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pit-list li { position: relative; padding-left: 30px; }
.pit-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--avocado) 0 4px, transparent 4.5px), var(--avocado-100);
}
.pit-list li strong { color: var(--ink); }

/* Faint rounded-triangle motif */
.tri { position: absolute; pointer-events: none; z-index: 0; color: var(--avocado); opacity: .09; }
.tri svg { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .tri { width: 900px; height: 800px; right: -260px; top: -120px; opacity: .07; }
.hero-copy { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl {
  background: linear-gradient(transparent 66%, rgba(112, 196, 15, .5) 66%, rgba(112, 196, 15, .5) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em;
}
.hero .lede { margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; z-index: 1; margin: clamp(40px, 6vw, 64px) auto 0; max-width: 1180px; }
.hero-visual img { width: 100%; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero .tri { width: 640px; height: 580px; right: -180px; top: -140px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; }
.page-hero .lede { margin-bottom: 28px; }

/* ---------- Problem: the stack ---------- */
.stack-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.stack-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool {
  background: var(--white); border: 1px dashed #CDD3C5; border-radius: 12px; padding: 14px 14px;
  display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--slate); font-size: 15px;
}
.tool svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.stack-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--avocado); display: grid; place-items: center; }
.stack-arrow svg { width: 26px; height: 26px; }
.one-box {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px;
  border: 1.5px solid var(--avocado);
}
.one-box .brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.one-box .brand-row img.mark { width: 40px; }
.one-box .brand-row img.word { height: 24px; width: auto; }
.one-box .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 600; background: var(--avocado-50); color: var(--avocado-700); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--avocado-100); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.pain { border-top: 2px solid var(--ink); padding-top: 16px; }
.pain h4 { margin-bottom: 6px; }
.pain p { font-size: 15.5px; margin: 0; }

/* ---------- Deal flow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--avocado) 0 8px, transparent 8px 14px); }
.flow li { position: relative; text-align: center; padding: 0 8px; }
.flow a { text-decoration: none; color: inherit; display: block; border-radius: 14px; padding: 0 4px 12px; }
.flow a:hover .node { background: var(--avocado); color: var(--ink); transform: translateY(-2px); }
.flow a:hover h4 { color: var(--avocado-700); }
.flow .node {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--ink); color: var(--avocado);
  display: grid; place-items: center; position: relative; transition: background .15s, color .15s, transform .15s;
  box-shadow: 0 0 0 6px var(--surface);
}
.bg-white .flow .node { box-shadow: 0 0 0 6px var(--white); }
.flow .node svg { width: 24px; height: 24px; }
.flow .num { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.flow h4 { margin: 2px 0 4px; }
.flow p { font-size: 14.5px; line-height: 1.5; margin: 0; color: var(--muted); }

/* ---------- Feature rows ---------- */
.feature-rows { display: grid; gap: clamp(72px, 10vw, 128px); }
.frow { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.frow.flip { grid-template-columns: 7fr 5fr; }
.frow.flip .frow-copy { order: 2; }
.frow-copy h2 { font-size: clamp(26px, 3vw, 38px); }
.frow-copy .lede { font-size: 18px; margin-bottom: 22px; }
.frow-copy .pit-list { margin-bottom: 26px; }
.shot { position: relative; isolation: isolate; }
.shot img { border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--white); }
.shot::before {
  content: ""; position: absolute; inset: 8% -5% -6% 10%; z-index: -1; border-radius: 28px;
  background: linear-gradient(135deg, var(--avocado-100), var(--avocado-50));
}
.frow.flip .shot::before { inset: 8% 10% -6% -5%; }
.shot .tag {
  position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(4px);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- Dark band ---------- */
.dark { background: var(--ink); color: var(--on-dark-muted); overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: var(--on-dark); }
.dark .eyebrow { color: var(--avocado); }
.dark .eyebrow::before { box-shadow: 0 0 0 3px rgba(112, 196, 15, .25); }
.dark .lede { color: var(--on-dark-muted); }
.dark a:not(.btn) { color: var(--avocado); }
.dark .tri { opacity: .06; }
.dark .pit-list li::before { background: radial-gradient(circle, var(--avocado) 0 4px, transparent 4.5px), rgba(112, 196, 15, .18); }
.dark .pit-list li strong { color: var(--on-dark); }
.floor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.floor-grid .shot img { border-color: var(--ink-line); box-shadow: 0 40px 80px -30px rgba(112, 196, 15, .35); }
.floor-grid .shot::before { display: none; }
.dark .tri.floor { width: 700px; height: 640px; left: -240px; bottom: -260px; }
.floor-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.floor-stats div { background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: 12px; padding: 14px; }
.floor-stats strong { display: block; color: var(--on-dark); font-size: 15px; margin-bottom: 2px; }
.floor-stats span { font-size: 13.5px; line-height: 1.4; display: block; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s; position: relative;
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #D4DBCB; }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--avocado-50); color: var(--avocado-700);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15.5px; margin-bottom: 0; }
.card .pit-list { font-size: 15.5px; gap: 8px; margin-top: 14px; }
.card .more { margin-top: 16px; font-size: 15px; }
.bg-green .card { border-color: var(--avocado-100); }

/* ---------- Integrations ---------- */
.int-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.int-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-weight: 700; color: var(--ink); font-size: 15px; letter-spacing: -0.01em;
}
.int-table { display: grid; gap: 16px; }
.int-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; align-items: start; }
.int-row h3 { font-size: 18px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.int-row h3 svg { width: 22px; height: 22px; color: var(--avocado-700); }
.int-row > div:first-child p { font-size: 14.5px; color: var(--muted); margin: 0; }
.int-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.int-logos .int-pill { background: var(--surface); }
.int-logos .int-pill small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); letter-spacing: 0; }
.int-logos .int-pill.box { border-radius: 14px; padding: 12px 16px; }

/* ---------- Social proof placeholder ---------- */
.proof {
  border: 2px dashed #CDD3C5; border-radius: var(--radius-lg); padding: 36px; text-align: center; color: var(--muted);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(126, 134, 118, .04) 14px 28px);
}
.proof strong { display: block; color: var(--slate); font-size: 17px; margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 9vw, 112px); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--avocado);
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-box .tri { color: var(--leaf); opacity: .45; width: 520px; height: 480px; right: -80px; top: -60px; }
.cta-box > *:not(.tri) { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; max-width: 640px; }
.cta-box p { color: var(--ink); opacity: .8; font-size: 18px; margin: 0; max-width: 560px; }
.cta-box .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-box .btn-ghost { background: rgba(255, 255, 255, .35); border-color: rgba(27, 36, 16, .25); }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, .6); }

/* ---------- Feature page modules ---------- */
.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 14px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--avocado); }
.module { scroll-margin-top: 140px; border-bottom: 1px solid var(--line); }
.module:last-of-type { border-bottom: 0; }
.module-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.module-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mod-item h4 { margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.mod-item h4 svg { width: 20px; height: 20px; color: var(--avocado-700); flex-shrink: 0; }
.mod-item p { font-size: 15px; margin: 0; line-height: 1.55; }
.mod-item em { font-style: normal; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 0 6px; border-radius: 6px; font-size: .92em; }
.connects { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-size: 15px; }
.connects span { color: var(--muted); font-weight: 600; }

/* ---------- Audience ---------- */
.aud { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.aud:first-child { border-top: 0; padding-top: 0; }
.aud .who { display: flex; gap: 16px; align-items: flex-start; }
.aud .who .ico { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--avocado); display: grid; place-items: center; }
.aud .who .ico svg { width: 28px; height: 28px; }
.aud h2 { font-size: clamp(24px, 2.6vw, 32px); }
.aud .persona { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; }
.aud .persona strong { color: var(--ink); }
.aud .persona p { margin: 0; font-size: 15px; }

/* Persona tiles */
.persona-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.persona-grid .card { padding: 22px; }
.persona-grid h4 { margin-bottom: 4px; }
.persona-grid .role { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: block; }
.persona-grid p { font-size: 14.5px; line-height: 1.5; }

/* FAQ / objections */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--avocado-700); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; font-size: 16px; }

/* ---------- Pricing ---------- */
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.price-card > div { padding: clamp(28px, 4vw, 48px); }
.price-card .left { background: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.price-card .left h2 { color: var(--on-dark); }
.price-card .left .tri { width: 420px; height: 380px; right: -140px; bottom: -160px; opacity: .1; }
.price-card .left > *:not(.tri) { position: relative; z-index: 1; }
.price-card .left .pit-list li strong { color: var(--on-dark); }
.price-card .left .pit-list li::before { background: radial-gradient(circle, var(--avocado) 0 4px, transparent 4.5px), rgba(112, 196, 15, .18); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--avocado-50); color: var(--avocado-700); font-weight: 800; display: grid; place-items: center; }
.steps strong { color: var(--ink); display: block; }
.steps span { font-size: 15px; }

/* ---------- Demo form ---------- */
.demo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, background .15s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237E8676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--avocado); background: var(--white); box-shadow: 0 0 0 4px rgba(112, 196, 15, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: 13px; color: var(--danger); display: none; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; color: var(--slate); cursor: pointer; transition: all .15s; }
.seg input:checked + span { background: var(--avocado-50); border-color: var(--avocado); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--avocado); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.field .consent input { appearance: auto; -webkit-appearance: checkbox; width: 20px; height: 20px; padding: 0; margin-top: 1px; accent-color: var(--avocado-700); flex-shrink: 0; box-shadow: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success img { width: 64px; margin: 0 auto 16px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
.expect { display: grid; gap: 14px; margin: 28px 0; }
.expect > div { display: flex; gap: 14px; }
.expect .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--avocado-50); color: var(--avocado-700); display: grid; place-items: center; }
.expect .ico svg { width: 20px; height: 20px; }
.expect strong { color: var(--ink); display: block; }
.expect span { font-size: 15px; }

/* ---------- Prose / legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.note {
  border-left: 4px solid var(--warning); background: #FFF8EA; padding: 14px 18px; border-radius: 0 12px 12px 0;
  font-size: 15px; color: #6B4A00; margin: 0 0 24px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--on-dark-muted); padding: 72px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-footer .brand .word { height: 22px; }
.site-footer p { margin: 16px 0 20px; max-width: 300px; line-height: 1.55; }
.site-footer h5 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--avocado); }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.foot-base ul { display: flex; gap: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .persona-grid { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .stack-grid { grid-template-columns: 1fr; }
  .stack-arrow { margin: 0 auto; transform: rotate(90deg); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .flow::before { display: none; }
  .frow, .frow.flip, .floor-grid, .module-head, .aud, .demo-grid { grid-template-columns: 1fr; }
  .frow.flip .frow-copy { order: 0; }
  .cards, .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .int-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-ctas .btn, .cta-box .btns .btn { width: 100%; }
  .cta-box .btns { width: 100%; }
  .pains, .cards, .cards.two, .cards.four, .mod-grid, .persona-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .stack-tools { grid-template-columns: 1fr 1fr; }
  .tool { font-size: 14px; padding: 12px; }
  .floor-stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-visual img { border-radius: 12px; }
  .shot img { border-radius: 10px; }
  .shot::before, .frow.flip .shot::before { inset: 8% 0 -5% 6%; }
  .card { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Queryable encryption page ---------- */
.qe-diagram { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; }
.qe-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.qe-label svg { width: 20px; height: 20px; color: var(--avocado-700); }
.qe-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px 20px; }
.qe-card.cipher { background: var(--ink); border-color: var(--ink-line); }
.qe-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.qe-row:last-child { border-bottom: 0; }
.qe-row span { color: var(--muted); }
.qe-row strong { color: var(--ink); text-align: right; }
.qe-card.cipher .qe-row { border-color: var(--ink-line); }
.qe-card.cipher .qe-row span { color: var(--on-dark-muted); }
.qe-row code { font: 500 14px/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--avocado); text-align: right; overflow-wrap: anywhere; }
.qe-cap { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14.5px; color: var(--slate); }
.qe-cap svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--avocado-700); }
.qe-mid { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.qe-mid span { max-width: 150px; }
.qe-lock { width: 64px; height: 64px; border-radius: 50%; background: var(--avocado); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--avocado-50); }
.qe-lock svg { width: 28px; height: 28px; }
.qe-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.qe-compare { display: grid; gap: 16px; }
.qe-cmp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.qe-cmp.on { background: var(--avocado-50); border-color: var(--avocado); }
.qe-cmp h4 { margin-bottom: 12px; }
.qe-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.qe-steps li { display: flex; align-items: center; gap: 10px; }
.qe-steps svg { width: 18px; height: 18px; flex-shrink: 0; }
.qe-steps .ok svg { color: var(--avocado-700); }
.qe-steps .bad { color: var(--muted); }
.qe-steps .bad svg { color: var(--danger); }
@media (max-width: 960px) {
  .qe-diagram { grid-template-columns: 1fr; }
  .qe-mid { grid-auto-flow: column; justify-content: center; align-items: center; text-align: left; }
  .qe-mid span { max-width: none; }
}

/* Encryption feature panel (Home, Security) */
.qe-feature {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark-muted); border-radius: 28px;
  padding: clamp(24px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
}
.qe-feature > *:not(.tri) { position: relative; z-index: 1; }
.qe-feature .tri { width: 560px; height: 500px; left: -160px; bottom: -220px; opacity: .08; }
.qe-feature h2 { color: var(--on-dark); font-size: clamp(28px, 3.4vw, 42px); }
.qe-feature .eyebrow { color: var(--avocado); }
.qe-feature .eyebrow::before { box-shadow: 0 0 0 3px rgba(112, 196, 15, .25); }
.qe-feature .lede { color: var(--on-dark-muted); font-size: 18px; margin-bottom: 26px; }
.qe-mini { display: grid; gap: 14px; }
.qe-tag { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--on-dark); margin-bottom: 8px; }
.qe-tag svg { width: 18px; height: 18px; color: var(--avocado); }
.qe-mini .qe-card { box-shadow: none; padding: 4px 18px; }
.qe-mini .qe-card.cipher { background: var(--ink-card); border-color: var(--ink-line); }
.qe-mini .qe-row { padding: 10px 0; font-size: 14.5px; }
.qe-mini .qe-mid { grid-auto-flow: column; justify-content: start; align-items: center; text-align: left; color: var(--on-dark-muted); }
.qe-mini .qe-mid span { max-width: none; }
.qe-mini .qe-lock { width: 44px; height: 44px; box-shadow: 0 0 0 6px rgba(112, 196, 15, .15); }
.qe-mini .qe-lock svg { width: 22px; height: 22px; }
.hl-text { color: var(--avocado-700); }

/* "Ask any CRM" checklist */
.ask { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.ask-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.ask-row p { margin: 0; font-size: 16.5px; }
.ask-row strong { color: var(--ink); }
.ask-ans { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); background: var(--avocado); padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 15px; }
.ask-ans svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .qe-feature { grid-template-columns: minmax(0, 1fr); } }
.qe-feature .btn { white-space: normal; text-align: center; }
@media (max-width: 640px) { .qe-feature .btn { width: 100%; } .qe-mini .qe-card { padding: 4px 14px; } .qe-mini .qe-row { font-size: 13.5px; gap: 10px; } }
@media (max-width: 640px) { .ask-row { padding: 16px; } .ask-row p { font-size: 15.5px; } }

/* Links to the encryption page */
.qe-link { color: inherit; text-decoration: underline; text-decoration-color: var(--avocado); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.qe-link:hover { color: var(--avocado-700); }
.dark .qe-link:not(.btn), .qe-feature .qe-link, .price-card .left .qe-link { color: inherit; }
.dark .qe-link:hover, .qe-feature .qe-link:hover, .price-card .left .qe-link:hover { color: var(--avocado); }
.eyebrow .qe-link { text-decoration-thickness: 1.5px; }
.qe-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px var(--gutter);
  background: var(--ink); color: var(--on-dark); font-size: 14px; line-height: 1.35; text-decoration: none; text-align: center;
}
.qe-bar:hover { color: var(--on-dark); background: #24301A; }
.qe-bar > svg { width: 16px; height: 16px; color: var(--avocado); flex-shrink: 0; }
.qe-bar strong { color: var(--avocado); font-weight: 700; }
.qe-bar .long { color: var(--on-dark-muted); margin-left: .3em; }
.qe-bar .go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }
.qe-bar .go svg { width: 14px; height: 14px; transition: transform .15s; }
.qe-bar:hover .go svg { transform: translateX(3px); }
@media (max-width: 640px) { .qe-bar .long { display: none; } }

/* Emphasis inside ledes */
.lede strong { color: var(--ink); font-weight: 700; }
.dark .lede strong, .qe-feature .lede strong { color: var(--on-dark); }

/* Highlighter emphasis */
.mark-hl { background: rgba(112, 196, 15, .38); color: var(--ink); border-radius: 5px; padding: .02em .28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.qe-feature .mark-hl, .dark .mark-hl { background: var(--avocado); color: var(--ink); }

/* Book-of-business chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.chain li { background: #FDF3F3; border: 1px solid #F3D3D3; border-radius: var(--radius); padding: 20px 22px; position: relative; }
.chain li + li::before { content: "→"; position: absolute; left: -14px; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 1px solid #F3D3D3; color: var(--danger); display: grid; place-items: center; font-size: 14px; font-weight: 700; z-index: 1; }
.chain .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--danger); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.chain strong { display: block; color: var(--ink); margin-bottom: 4px; }
.chain span:not(.n) { font-size: 15px; display: block; }
.chain-stop { margin-top: 14px; display: flex; align-items: center; gap: 14px; background: var(--avocado-50); border: 1.5px solid var(--avocado); border-radius: var(--radius); padding: 18px 22px; }
.chain-stop svg { width: 28px; height: 28px; color: var(--avocado-700); flex-shrink: 0; }
.chain-stop p { margin: 0; }
.chain-stop strong { color: var(--ink); }
@media (max-width: 900px) {
  .chain { grid-template-columns: 1fr; }
  .chain li + li::before { content: "↓"; left: 50%; top: -14px; transform: translate(-50%, -50%); }
}
