/* Agentic Symphony — plain, high-trust landing page styles.
   Deliberately restrained: lots of whitespace, real typography, one accent,
   no gradients, no stock imagery. The :root values here are FALLBACKS — the
   build injects a <style id="tokens"> block from content.base.design that
   overrides them, so design changes live in one JSON file. */

:root {
  --bg: #fbfaf7;
  --surface: #f3f1ea;
  --ink: #1a1a1a;
  --muted: #5d5a52;
  --border: #ddd9cf;
  --accent: #1f4e46; /* calm, trustworthy deep teal-green */
  --accent-ink: #ffffff;

  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1120px;
  --measure: 46rem; /* readable text column */
  --radius: 4px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 0.9rem; }
h3 { font-size: 1.18rem; margin: 0 0 0.35rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.measure { max-width: var(--measure); }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface); }
.lead, .lede { color: var(--muted); }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; margin-bottom: 1.6rem; }
.lead { font-size: 1.15rem; margin-bottom: 2rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.78rem;
  font-weight: 600; color: var(--accent); margin: 0 0 0.85rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.brand {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand-mark { display: inline-flex; width: 40px; height: 40px; flex: 0 0 40px; color: var(--ink); text-decoration: none; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; }
.brand-lockup .brand { font-family: var(--font-sans); font-weight: 650; letter-spacing: -0.025em; }
.brand-divider { width: 1px; height: 28px; flex: 0 0 1px; background: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.brand-header-lockup { flex: 0 0 auto; gap: 0.55rem; }
.brand-header-lockup img { width: 34px; height: 34px; }
.brand-header-lockup .brand { font-size: 1rem; white-space: nowrap; }
.brand-header-lockup .brand-divider { height: 24px; }
.brand-flag { color: var(--muted); font-weight: 400; font-size: 0.72em; margin-left: 0.35em; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; flex-wrap: nowrap; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem; white-space: nowrap;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1.1rem; padding: 0.3rem 0.6rem; cursor: pointer; color: var(--ink); }

/* language toggle */
.lang-toggle { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.lang-toggle a { color: var(--muted); text-decoration: none; }
.lang-toggle a:hover { color: var(--ink); }
.lang-current { color: var(--ink); font-weight: 700; }
.lang-sep { color: var(--border); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  padding: 0.7rem 1.25rem; border-radius: var(--radius);
  border: 1px solid var(--accent); transition: opacity .15s ease, transform .05s ease;
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); opacity: 1; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 0.75rem; }
.cta-sub { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem); }
.hero h1 { max-width: 18ch; }

/* ---------- pain ---------- */
.pain-list { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.pain-list li { padding-left: 1.1rem; border-left: 2px solid var(--accent); }
.pain-list p { color: var(--muted); margin: 0; }

/* ---------- card grids ---------- */
.cards-3, .cards-4 { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 li, .cards-4 li {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem;
}
.section-alt .cards-3 li, .section-alt .cards-4 li { background: var(--bg); }
.cards-3 p, .cards-4 p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- method / tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; counter-reset: tier; }
.tier { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.5rem; position: relative; }
.tier-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.8rem;
}
.tier-tagline { color: var(--muted); margin-bottom: 0.9rem; }
.tier ul { display: grid; gap: 0.45rem; }
.tier ul li { position: relative; padding-left: 1.1rem; font-size: 0.96rem; color: var(--ink); }
.tier ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- flow diagram ---------- */
.flow { display: flex; align-items: stretch; gap: 0.5rem; margin: 2.5rem 0 1rem; flex-wrap: nowrap; }
.flow-step {
  flex: 1 1 0; min-width: 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; position: relative;
}
.section-alt .flow-step { background: var(--surface); }
.flow-step-label { font-weight: 700; font-size: 0.98rem; }
.flow-step-body { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.flow-step.is-human { border-color: var(--accent); border-width: 2px; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.flow-badge {
  position: absolute; top: -0.7rem; left: 0.9rem;
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.flow-arrow { flex: 0 0 auto; align-self: center; color: var(--muted); font-size: 1.3rem; }
.flow-note { color: var(--muted); font-size: 0.95rem; }
.flow-note-mark { color: var(--accent); font-weight: 700; }

/* ---------- use-case cards (core page) ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.25rem; }
.usecase-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none; color: var(--ink); transition: border-color .15s ease;
}
.usecase-card:hover { border-color: var(--accent); }
.usecase-label { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.usecase-teaser { color: var(--muted); font-size: 0.96rem; }
.usecase-more { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-top: auto; }

/* ---------- who it's for ---------- */
.whofor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
.whofor-yes, .whofor-no { font-family: var(--font-sans); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.check-list li, .x-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.7rem; color: var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.x-list li::before { content: "✕"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }

/* ---------- approach ---------- */
.proof {
  margin-top: 2.25rem; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent); background: var(--bg);
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; color: var(--ink);
}

/* ---------- founding partner feature ---------- */
.section-feature { background: var(--ink); color: var(--bg); }
.section-feature .eyebrow { color: color-mix(in srgb, var(--accent) 60%, #ffffff); }
.section-feature h2 { color: #fff; }
.section-feature .lead { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.section-feature .check-list li { color: var(--bg); }
.section-feature .check-list li::before { color: color-mix(in srgb, var(--accent) 60%, #ffffff); }
.section-feature .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); margin-top: 1.5rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.08rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding-bottom: 1.1rem; }
.faq-answer p { color: var(--muted); margin: 0; }

/* ---------- final CTA ---------- */
.section-cta { background: var(--surface); text-align: center; }
.section-cta .measure { margin-inline: auto; }
.section-cta .cta-sub { margin-top: 1rem; }
.scheduler { margin: 1.75rem 0 0.5rem; }
.scheduler[data-placeholder]:empty::before,
.scheduler .calendly-inline-widget:empty { content: ""; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 3rem; font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer-brand { max-width: 22rem; }
.brand-lockup img { display: block; width: 40px; height: 40px; object-fit: contain; }
.brand-header-lockup img { width: 34px; height: 34px; }
.footer-brand .brand { font-size: 1.1rem; }
.footer-brand p { color: var(--muted); margin-top: 0.5rem; }
.footer-imprint h4 { margin: 0 0 0.6rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; color: var(--muted); }
.footer-imprint address { font-style: normal; color: var(--muted); display: grid; gap: 0.15rem; }
.footer-note { color: var(--muted); margin-top: 0.9rem; font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards-3, .cards-4, .tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) and (min-width: 721px) {
  .header-inner { gap: 0.8rem; }
  .site-nav { gap: 0.8rem; }
  .brand-header-lockup { gap: 0.4rem; }
  .brand-header-lockup .brand { font-size: 0.94rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; order: 3; margin-left: auto; }
  .header-inner .btn-sm { display: none; }
  .site-nav {
    display: none; flex-direction: column; gap: 0; width: 100%; order: 4;
    margin-left: 0; border-top: 1px solid var(--border); padding-top: 0.5rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.6rem 0; }
  .header-inner { flex-wrap: wrap; }
  .cards-3, .cards-4, .tiers, .usecase-grid, .whofor-grid { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-step.is-human { margin-top: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ====== review revamp: new components ====== */

/* hero proof strip */
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.hero-proof li { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); display: inline-flex; align-items: center; }
.hero-proof li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 0.4rem; }

/* tier price anchor */
.tier-price { display: inline-block; font-weight: 700; font-size: 0.92rem; color: var(--ink); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); border: 1px solid var(--border); border-radius: 999px; padding: 0.15rem 0.65rem; margin: 0 0 0.9rem; }

/* who-for enterprise note */
.whofor-note { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.96rem; }

/* use-case "also for" link */
.usecase-more-link { margin: 1.4rem 0 0; }
.usecase-more-link a { color: var(--accent); font-weight: 600; text-decoration: none; }
.usecase-more-link a:hover { text-decoration: underline; }

/* founders */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; list-style: none; padding: 0; }
.person { display: flex; gap: 1.1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.person-avatar { flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--accent); }
.person-name { display: block; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.person-role { display: block; color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.person p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.person-links { margin-top: 0.6rem !important; }
.person-links a { font-size: 0.85rem; font-weight: 600; color: var(--accent); text-decoration: none; margin-right: 0.9rem; }
.person-links a:hover { text-decoration: underline; }
.person-quote { margin: 0.9rem 0 0; padding: 0.55rem 0 0.15rem 0.9rem; border-left: 2px solid var(--accent); font-family: var(--font-serif); font-style: italic; color: var(--ink); font-size: 0.95rem; line-height: 1.45; }
.person-quote cite { display: block; margin-top: 0.5rem; font-style: normal; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; color: var(--muted); }

/* client logos — monochrome track record */
.section-clients { text-align: center; }
.clients-heading { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.clients-note { color: var(--muted); font-size: 0.92rem; margin: 0.4rem 0 0; }
.client-logos { list-style: none; padding: 0; margin: 2.4rem auto 0; width: 100%; max-width: 1000px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center; gap: 2.4rem 2rem; }
.client-logos li { display: inline-flex; width: 100%; justify-content: center; }
/* Logos are pre-normalized to equal optical size on identical canvases, so one
   rule keeps every logo the same slot — no per-logo sizing, no stretching. */
.client-logos img { width: 100%; max-width: 220px; height: auto; opacity: 0.7; transition: opacity .15s ease; }
.client-logos img:hover { opacity: 1; }
@media (max-width: 820px) { .client-logos { grid-template-columns: repeat(2, 1fr); max-width: 520px; } }
@media (max-width: 460px) { .client-logos { grid-template-columns: 1fr; max-width: 260px; } }
@media (max-width: 460px) { .client-logos { grid-template-columns: 1fr; gap: 1.6rem; } }

/* proof / "see it work" */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.25rem; list-style: none; padding: 0; }
.proof-card { background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius); padding: 1.4rem; }
.proof-card-media { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--accent); margin-bottom: 0.85rem; font-size: 0.9rem; }
.proof-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.proof-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* two-column checklist (security) */
.check-list.two-col { columns: 2; column-gap: 2.5rem; }
.check-list.two-col li { break-inside: avoid; }

/* qualification form */
.qual-form { margin: 1.9rem 0 0.5rem; text-align: left; }
.form-intro { color: var(--muted); margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field-wide { grid-column: 1 / -1; }
.field select, .field input, .field textarea {
  font: inherit; font-weight: 400;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding: 0.6rem 0.7rem; border: 1px solid var(--border); border-radius: var(--radius);
  background-color: var(--bg); color: var(--ink); width: 100%;
}
/* Normalize single-line control heights across browsers. Safari clamps native
   <select> height and keeps its own chrome, so without appearance:none the selects
   render shorter and off-brand next to the inputs. Fixed height + custom caret fixes it. */
.field select, .field input { height: 2.9rem; padding-block: 0; line-height: 1.4; }
.field select {
  padding-right: 2.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d5a52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 0.7rem;
}
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field.has-error select, .field.has-error input, .field.has-error textarea { border-color: #b42318; }
.field.has-error select:focus, .field.has-error input:focus, .field.has-error textarea:focus { outline-color: #b42318; border-color: #b42318; }
.field-error { color: #b42318; font-size: 0.8rem; font-weight: 600; line-height: 1.35; }
.field textarea { resize: vertical; }
.qual-form .btn { width: auto; }
.qual-form .btn[disabled] { cursor: wait; opacity: 0.7; }
.form-error { margin-top: 0.8rem; color: #b42318; font-weight: 600; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-prep { margin-top: 0.9rem; }
.form-prep a { color: var(--accent); }
.fitcheck-success { margin: 1.9rem auto 0.5rem; padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.fitcheck-success h3 { margin-bottom: 0.4rem; }

/* prep page */
.prep-list { margin: 1.75rem 0; }
.prep-title { max-width: 22ch; }

@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .people, .proof-grid, .form-grid { grid-template-columns: 1fr; }
  .check-list.two-col { columns: 1; }
}
