:root {
  --bg: #f5f7f6;
  --bg-1: #ffffff;
  --surface: #ffffff;
  --surface-2: #eaefed;
  --border: #dde4e1;
  --border-strong: #c3ceca;

  --text: #15201d;
  --text-dim: #3c4844;
  --text-muted: #59665f;

  --brand: #0b6b61;
  --brand-dark: #07514a;
  --brand-tint: #e2f1ee;
  --brand-line: rgba(11,107,97,.24);

  --success: #15803d;
  --success-tint: #e7f5ec;
  --warn: #9a4a06;
  --warn-tint: #fcf0e2;
  --danger: #b42318;
  --danger-tint: #fdecea;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(21,32,29,.08);
  --shadow: 0 10px 30px -12px rgba(21,32,29,.18);
  --shadow-lg: 0 24px 60px -28px rgba(21,32,29,.26);

  --container: 1180px;
  --header-h: 70px;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1rem; color: var(--text-dim); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--text-dim); max-width: 58ch; }

a { color: var(--text); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.muted { color: var(--text-muted); }
.small { font-size: .87rem; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brand); color: #fff; font-weight: 700;
  padding: 10px 18px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
section.tight { padding: clamp(40px, 6vw, 80px) 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { display: block; width: 28px; height: 28px; fill: var(--brand); flex: none; }
.brand-text { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.brand-text span { color: var(--brand); }
.brand:hover .brand-text { color: var(--text); }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main > a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .95rem;
  color: var(--text-dim);
  font-weight: 700;
  transition: color .15s ease, background .15s ease;
}
.nav-main > a:hover { color: var(--text); background: var(--surface); }
.nav-main > a.active { color: var(--text); background: var(--surface-2); }
.nav-main > a.nav-cta {
  margin-left: 8px;
  padding: 9px 18px;
  background: var(--brand); color: #fff;
}
.nav-main > a.nav-cta:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block; position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn .material-symbols-rounded { font-size: 19px; }
.btn-primary { color: #fff; background: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero .eyebrow, .page-hero .eyebrow { margin-bottom: 20px; }

/* Hero */
.hero {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative; overflow: hidden;
}
.hero p.lead { margin-top: 22px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Screenshot drop-in */
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero .shot { margin-top: 64px; }
.split-visual .shot img, .farea .shot img { box-shadow: var(--shadow); border-radius: var(--radius); }

/* Section heading */
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin: 14px auto 0; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: .97rem; margin-bottom: 0; }
.card .checks { margin-top: 16px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 700; color: var(--brand); }
.card .more:hover { color: var(--brand-dark); }
.card .more .material-symbols-rounded { font-size: 18px; }
.card .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  margin-bottom: 16px;
}

/* Split feature rows */
.split-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.flip .split-text { order: 2; }
.split-text h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.split-text p { margin-bottom: 18px; max-width: 54ch; }
.split-text .checks { margin-top: 18px; }
.split-text .lede {
  font-size: .82rem; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px;
}
.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
}
.split-visual .vh {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
  font-size: .82rem; font-weight: 700; color: var(--text-muted);
}

/* Steps inside a visual */
.flow-mini { display: grid; gap: 10px; }
.flow-mini .step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: .92rem;
}
.flow-mini .step .n {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-dark);
  border-radius: 50%; font-size: .78rem; font-weight: 700;
}
.flow-mini .step .label { color: var(--text); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .split-text { order: 0; }
}

/* What it replaces */
.diff-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
}
.diff-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.diff-row:last-child { border-bottom: none; }
.diff-row > div { padding: 18px 24px; font-size: .98rem; }
.diff-row .legacy { color: var(--text-muted); border-right: 1px solid var(--border); }
.diff-row .legacy strong { color: var(--text-dim); }
.diff-row .ours { color: var(--text); background: #f2f9f7; }
.diff-row.head > div { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 14px 24px; }
.diff-row.head .ours { color: var(--brand); }

/* Lifecycle card */
.life-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(28px, 5vw, 56px);
  background: var(--bg-1);
}
.life-card .head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: 36px;
}
.life-card .head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0; }
.life-card .head p { margin: 0; font-size: 1.04rem; }
.life-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border);
}
.life-steps li { padding: 24px 18px 0 0; }
.life-steps li + li { padding-left: 18px; border-left: 1px solid var(--border); }
.life-steps h4 { color: var(--brand); margin-bottom: 6px; font-size: 1.02rem; }
.life-steps p { font-size: .9rem; margin: 0; }

/* Audience cards */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud-grid .card { padding: 26px; }
.aud-grid .card h3 { font-size: 1.08rem; }
.aud-grid .card p { font-size: .94rem; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-dim); font-size: .97rem; }
.checks li::before {
  content: 'check';
  font-family: 'Material Symbols Rounded';
  position: absolute; left: 0; top: 1px;
  font-size: 20px; line-height: 1.2;
  color: var(--brand);
}
.checks li strong { color: var(--text); font-weight: 700; }

/* Closing row */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 48px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 0; }
.cta-band p { grid-column: 1; max-width: 64ch; margin: 0; }
.cta-band .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 720px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}

/* Contact: email only */
.contact-email {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  background: var(--bg-1);
}
.contact-email p { margin: 0 0 10px; font-size: 1.08rem; }
.contact-email .alt { margin: 22px 0 0; font-size: .97rem; }
.contact-email .alt a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.contact-email .addr {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 3px solid var(--brand);
  overflow-wrap: anywhere;
}
.contact-email .addr:hover { color: var(--brand); }

/* Founder note */
.fnote {
  max-width: 760px; margin: 0 auto;
  padding: clamp(26px, 4vw, 40px);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.fnote p { font-size: 1.12rem; line-height: 1.7; color: var(--text); margin: 0 0 1em; }
.fnote p:last-of-type { margin-bottom: 0; }
.fnote-sig { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.fnote-sig img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: 48% 22%; flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 3.5px var(--brand);
}
.fnote-sig strong { display: block; font-size: .97rem; font-weight: 700; color: var(--text); }
.fnote-sig span { display: block; font-size: .84rem; color: var(--text-muted); margin-top: 2px; }

/* Footer */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--surface-2);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand p { margin-top: 14px; max-width: 36ch; }
.foot-h { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 14px; }
.site-footer a:not(.brand), .site-footer .small { display: block; margin-bottom: 8px; font-size: .93rem; color: var(--text-dim); }
.site-footer a:not(.brand):hover { color: var(--brand); }
.foot-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--border-strong);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* Reveal on scroll, only when scripts run */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Page header (subpages) */
.page-hero { padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 6vw, 70px); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero .lead { max-width: 660px; margin: 18px auto 0; }

/* How it works: numbered steps */
.flow { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.flow-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.flow-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  font-size: 1.5rem; font-weight: 700;
}
.flow-body h3 { margin-bottom: 10px; }
.flow-body p { margin-bottom: 16px; max-width: 70ch; }

/* Sample week timeline */
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wf-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.wf-time { display: block; font-size: .82rem; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.wf-step h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wf-step h4 .material-symbols-rounded { color: var(--brand); font-size: 21px; }
.wf-step p { margin: 0; font-size: .95rem; }

/* Features page */
.jump {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 900px; margin: 0 auto;
  list-style: none; padding: 0;
}
.jump a {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .9rem; font-weight: 700; color: var(--text-dim);
}
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.fareas { display: grid; gap: 18px; }
.farea {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.farea .eyebrow { margin-bottom: 12px; }
.farea h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.farea .intro p { margin: 0; }
.farea .shot { grid-column: 1 / -1; }
.farea .note { margin-top: 16px; font-size: .88rem; color: var(--text-muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: 'expand_more';
  font-family: 'Material Symbols Rounded';
  font-size: 24px; font-weight: 400;
  color: var(--brand);
  transition: transform .2s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 26px 24px; font-size: .98rem; }
.faq-item .faq-body p { margin: 0 0 10px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Inline links in prose-like blocks */
.cta-band p a, .faq-body a, .card p a, .section-head .lead a, .statement a {
  color: var(--brand); text-decoration: underline; text-underline-offset: 3px;
}
.cta-band p a:hover, .faq-body a:hover, .card p a:hover, .section-head .lead a:hover, .statement a:hover { color: var(--brand-dark); }

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-main {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    padding: 18px 24px 28px;
    background: var(--bg);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
    gap: 4px;
  }
  .nav-main.open { transform: none; opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }
  .nav-main > a { padding: 14px; border-radius: 12px; font-size: 1.02rem; }
  .nav-main > a.nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 1020px) {
  .life-steps { grid-template-columns: repeat(3, 1fr); }
  .life-steps li:nth-child(4) { border-left: none; padding-left: 0; }
  .life-steps li { padding-bottom: 20px; }
}

@media (max-width: 960px) {
  .grid-3, .grid-4, .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .life-card .head { grid-template-columns: 1fr; }
  .farea { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-visual { padding: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .aud-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .diff-row { grid-template-columns: 1fr; }
  .diff-row .legacy { border-right: none; padding-bottom: 6px; }
  .diff-row .ours { padding-top: 6px; }
  .diff-row.head { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .flow-num { width: 44px; height: 44px; font-size: 1.2rem; }
  .life-steps { grid-template-columns: 1fr; }
  .life-steps li, .life-steps li + li { border-left: none; padding: 18px 0; border-bottom: 1px solid var(--border); }
  .life-steps li:last-child { border-bottom: none; padding-bottom: 0; }
  .split-visual { padding: 16px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}
.article-card {
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.article-card:hover { color: var(--text); }
.article-card:hover h3 { color: var(--brand); }
.article-card .tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 12px;
}
.article-card .tag .sep, .article-feature .meta .sep { color: var(--border-strong); margin: 0 6px; }
.article-card h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 12px; max-width: 28ch; transition: color .15s ease; }
.article-card p { font-size: .98rem; margin-bottom: 14px; line-height: 1.55; max-width: 52ch; flex-grow: 1; }
.article-card .read { font-size: .9rem; font-weight: 700; color: var(--brand); }
.article-card .read::after { content: ' \2192'; }
@media (min-width: 720px) {
  .article-card { padding: 32px clamp(20px, 3vw, 36px); }
  .article-card:nth-child(2n) { border-left: 1px solid var(--border); }
}
.article-grid.compact { grid-template-columns: repeat(3, 1fr); }
.article-grid.compact .article-card { border-bottom: none; border-left: 1px solid var(--border); padding: 28px clamp(16px, 2.4vw, 28px); }
.article-grid.compact .article-card:first-child { border-left: none; padding-left: 0; }
.article-grid.compact .article-card:last-child { padding-right: 0; }
.article-grid.compact .article-card h3 { font-size: 1.12rem; }
.article-grid.compact .article-card p { font-size: .93rem; }
@media (max-width: 720px) {
  .article-grid, .article-grid.compact { grid-template-columns: 1fr; }
  .article-card { padding: 24px 0; }
  .article-grid.compact .article-card { border-left: none; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .article-grid.compact .article-card:last-child { border-bottom: none; }
}

.article-feature {
  display: block;
  color: var(--text);
  padding: 0 0 clamp(40px, 6vw, 72px);
  margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
}
.article-feature:hover { color: var(--text); }
.article-feature:hover h2 { color: var(--brand); }
.article-feature .meta {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 24px;
}
.article-feature .meta .feat { color: var(--brand); }
.article-feature h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; margin-bottom: 22px; max-width: 22ch; transition: color .15s ease; }
.article-feature p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.55; max-width: 60ch; margin: 0 0 22px; }
.article-feature .read { font-size: 1rem; font-weight: 700; color: var(--brand); }
.article-feature .read::after { content: ' \2192'; }

.article { padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); }
.article .crumbs { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.article .crumbs a { color: var(--text-dim); }
.article .crumbs a:hover { color: var(--brand); }
.article .meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .88rem; color: var(--text-muted); margin: 18px 0 0; }
.article .meta .tag { color: var(--brand); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.article h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.03em; max-width: 24ch; }
.prose { max-width: 760px; margin: 40px auto 0; font-size: 1.08rem; line-height: 1.75; color: var(--text-dim); }
.prose > p:first-of-type { font-size: 1.2rem; color: var(--text); line-height: 1.65; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 56px 0 18px; }
.prose h3 { font-size: 1.22rem; margin: 36px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin: 0 0 8px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); font-style: italic; }
.prose .callout { margin: 28px 0; padding: 22px 24px; background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: var(--radius); color: var(--text); }
.prose .callout p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 700; }
@media (max-width: 560px) { .prose { font-size: 1.02rem; } }

/* Call illustrations */
.hero-visual {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.tag-s {
  justify-self: end; white-space: nowrap;
  font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.tag-s.full { background: var(--brand-tint); color: var(--brand-dark); }
.tag-s.open { background: var(--success-tint); color: var(--success); }
.tag-s.held { background: var(--warn-tint); color: var(--warn); }
.tag-s.muted { background: var(--surface-2); color: var(--text-dim); }
.flow-mini .step .t { font-size: .78rem; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 40px; }

.console {
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.con-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--border);
}
.con-call { display: flex; align-items: center; gap: 12px; }
.con-call strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.con-call div span { display: block; font-size: .8rem; color: var(--text-muted); }
.con-ic {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand);
}
.con-ic .material-symbols-rounded { font-size: 20px; }
.con-actions { display: flex; align-items: center; gap: 8px; }
.con-clock { font-size: .9rem; font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; margin-right: 6px; }
.con-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border-strong); color: var(--text-dim); background: #fff; white-space: nowrap;
}
.con-btn .material-symbols-rounded { font-size: 17px; }
.con-btn.on { background: var(--brand-tint); border-color: var(--brand-line); color: var(--brand-dark); }
.con-btn.end { background: var(--danger); border-color: var(--danger); color: #fff; }
.con-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; }
.con-transcript { padding: 18px 20px; display: grid; gap: 10px; align-content: start; }
.con-side { padding: 18px; border-left: 1px solid var(--border); background: #fff; }
.con-h { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 8px; }
.con-side .con-h:not(:first-child) { margin-top: 20px; }
.con-box {
  padding: 10px 12px; border-radius: 10px; font-size: .84rem; line-height: 1.45; color: var(--text);
  background: var(--brand-tint); border: 1px solid var(--brand-line);
}
.con-box small { display: block; font-size: .72rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 2px; }
.con-input { padding: 10px 12px; border-radius: 10px; font-size: .84rem; color: var(--text-muted); border: 1px solid var(--border-strong); background: #fff; }

.tl { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; }
.tl .who { font-size: .76rem; font-weight: 600; color: var(--text-muted); padding-top: 9px; white-space: nowrap; }
.tl .who em { display: block; font-style: normal; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.tl p {
  margin: 0; padding: 8px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.45; color: var(--text);
  background: #fff; border: 1px solid var(--border);
}
.tl.agent p { background: var(--brand-tint); border-color: var(--brand-line); }
.tl .tag-s { align-self: center; }
.tl.typing p { color: var(--text-muted); border-style: dashed; }
.tl.note {
  grid-template-columns: auto 1fr; gap: 8px; align-items: center; justify-content: center;
  font-size: .76rem; font-weight: 600; color: var(--brand-dark); padding-left: 90px;
}
.tl.note .material-symbols-rounded { font-size: 16px; }
.split-visual .tl + .tl { margin-top: 8px; }
.unheard { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.vnote {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2); color: var(--text-dim); font-size: .86rem; font-weight: 500;
}
.vnote .material-symbols-rounded { font-size: 19px; color: var(--brand); }

.lvl { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.meter { display: flex; align-items: center; gap: 3px; height: 26px; }
.meter i { display: block; width: 6px; min-height: 3px; border-radius: 3px; background: var(--brand); }
.lvl:first-of-type .meter i { background: var(--border-strong); }

/* Scenario card */
.kv { display: grid; gap: 8px; }
.kv > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg);
  font-size: .9rem; color: var(--text);
}
.kv .k { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); padding-top: 2px; }
.kv small { display: block; font-size: .78rem; color: var(--text-muted); }
.kb { margin-top: 12px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.kb-h, .kb-r { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: .86rem; }
.kb-h { justify-content: space-between; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); background: var(--bg); border-bottom: 1px solid var(--border); }
.kb-r + .kb-r { border-top: 1px solid var(--border); }
.kb-r .material-symbols-rounded { font-size: 18px; color: var(--brand); }
.kb-r span:last-child { margin-left: auto; color: var(--text-muted); font-variant-numeric: tabular-nums; font-size: .8rem; }

/* Post-call analysis */
.sum { font-size: .98rem; color: var(--text); margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scores > div {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
  font-size: .84rem; color: var(--text-muted); font-weight: 600;
}
.scores b { color: var(--text); font-weight: 600; }
.bar { flex: 1; max-width: 90px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.quote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--brand); font-size: .9rem; font-style: italic; color: var(--text); background: var(--bg); border-radius: 0 10px 10px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-dim); }

/* Analytics illustration */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.kpi .label { font-size: .72rem; color: var(--text-muted); font-weight: 600; }
.kpi .value { font-size: 1.3rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.kpi.warn .value { color: var(--warn); }
.kpi.good .value { color: var(--success); }
.chart { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #fff; }
.chart .ch { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; }
.cols { display: flex; align-items: flex-end; gap: 6px; height: 96px; border-bottom: 1px solid var(--border); }
.cols i { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; opacity: .85; }
.cols i.lo { background: var(--border-strong); }
.days { display: flex; gap: 6px; margin-top: 6px; }
.days span { flex: 1; text-align: center; font-size: .68rem; color: var(--text-muted); }
.moods { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 12px; }
.moods i:nth-child(1) { background: var(--brand); }
.moods i:nth-child(2) { background: #7fb8b0; }
.moods i:nth-child(3) { background: #e3a35b; }
.moods i:nth-child(4) { background: var(--danger); }
.mood-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: .74rem; color: var(--text-muted); font-weight: 600; }
.mood-key span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; background: var(--c); }

/* Search illustration */
.search-box {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: #fff;
  font-size: .9rem; color: var(--text); margin-bottom: 12px;
}
.search-box .material-symbols-rounded { color: var(--text-muted); font-size: 20px; }
.hits { display: grid; gap: 8px; }
.hit { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); font-size: .86rem; }
.hit .hm { display: flex; justify-content: space-between; gap: 10px; font-size: .76rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.hit p { margin: 0; font-size: .88rem; color: var(--text); }
.hit mark { background: #fbe7b5; color: var(--text); padding: 0 2px; border-radius: 3px; }

@media (max-width: 960px) {
  .con-body { grid-template-columns: 1fr; }
  .con-side { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .con-transcript { padding: 14px; }
  .tl { grid-template-columns: 1fr; }
  .tl .who { padding-top: 0; }
  .tl .who em { display: inline; margin-left: 6px; }
  .tl .tag-s { justify-self: start; }
  .tl.note { padding-left: 0; justify-content: start; }
  .con-actions { width: 100%; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .scores { grid-template-columns: 1fr; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
}

/* FAQ groups */
.faq-group { max-width: 880px; margin: 0 auto 48px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-h { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 16px; }
.page-hero .lead a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* How it works: four-up */
.workflow.wf-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .workflow.wf-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .workflow.wf-4 { grid-template-columns: 1fr; } }

/* Live control illustrations */
.acalls { display: grid; gap: 8px; }
.acall {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); font-size: .86rem;
}
.acall > .material-symbols-rounded { font-size: 20px; color: var(--brand); }
.acall b { display: block; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.acall small { display: block; font-size: .76rem; color: var(--text-muted); }
.acall .t { font-size: .8rem; font-weight: 600; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.acall .meter { height: 22px; }
.acall .meter i { width: 4px; }
.con-box.steer { margin: 8px 0 8px 90px; }
.typed {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 8px 0; padding: 8px 8px 8px 14px; border-radius: 12px;
  border: 1px solid var(--brand); background: #fff; font-size: .88rem; color: var(--text);
}
@media (max-width: 640px) {
  .acall { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .acall .meter, .acall .t { display: none; }
  .con-box.steer { margin-left: 0; }
}

@media (max-width: 560px) {
  .hero h1 br, .page-hero h1 br { display: none; }
}

/* Why it sounds real */
.real {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.real-head .eyebrow { margin-bottom: 16px; }
.real-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.real-head p { font-size: 1.04rem; }
.real-head p:last-child { margin-bottom: 0; color: var(--text); }
.real-list { margin: 0; display: grid; gap: 0; }
.real-list > div { padding: 18px 0; border-top: 1px solid var(--border); }
.real-list > div:first-child { border-top: none; padding-top: 4px; }
.real-list dt { font-weight: 700; color: var(--text); margin-bottom: 4px; font-size: 1.05rem; }
.real-list dd { margin: 0; color: var(--text-dim); font-size: .98rem; }
@media (max-width: 960px) { .real { grid-template-columns: 1fr; } }

.kb + .kb, .kv + .kb { margin-top: 12px; }
.scores .wide { grid-column: 1 / -1; }
.scores b.ok { color: var(--success); }

/* Compliance */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.statement {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.statement h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 18px; }
.real .checks li { font-size: 1rem; }
@media (max-width: 860px) { .rules-grid { grid-template-columns: 1fr; } }
.comp-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.comp-card h3 { font-size: 1.35rem; }
.comp-card .checks { margin-top: 0; }
@media (max-width: 820px) { .comp-card { grid-template-columns: 1fr; } }

/* Use cases */
.uc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.uc-grid.small { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.uc-card { display: flex; flex-direction: column; color: var(--text); transition: border-color .15s ease; }
.uc-card:hover { color: var(--text); border-color: var(--brand); }
.uc-card:hover h3 { color: var(--brand); }
.uc-card h3 { transition: color .15s ease; }
.uc-card p { flex-grow: 1; }
.uc-card .read { margin-top: 18px; font-size: .92rem; font-weight: 700; color: var(--brand); }
.uc-card .read::after { content: ' \2192'; }
.uc-grid.small .uc-card { padding: 22px; }
.uc-grid.small .uc-card .ic { margin-bottom: 12px; }
.uc-grid.small .uc-card h3 { font-size: 1.02rem; margin: 0; }
.uc-hero { text-align: left; }
.uc-hero .crumbs { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.uc-hero .crumbs a { color: var(--text-dim); }
.uc-hero h1 { max-width: 20ch; }
.uc-hero .lead { margin: 18px 0 0; max-width: 64ch; }
.uc-calls { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.uc-calls .card h3 { font-size: 1.1rem; }
.uc-body { max-width: 760px; margin: 0 auto; }
.uc-body.prose { margin-top: 0; }
.uc-body .prose-h { margin-top: 0; }

.checks li a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
