/* ============================================================================
   Binder marketing site v1
   Refs: heypocket.com (warmth + premium type), tradingview.com (confident
   hero + data-forward), esri.com (enterprise gravitas + segment modularity).
   ============================================================================ */

:root {
  --bg:           #ffffff;
  --bg-soft:      #faf7f1;    /* warm cream, alt band */
  --bg-accent:    #fdf4e3;    /* gold-tinted band */
  --bg-dark:      #0c1018;    /* dark band + brand mark */
  --bg-darker:    #07090f;
  --ink:          #0f1115;    /* primary text */
  --ink-2:        #3a3a3a;    /* body */
  --ink-3:        #6b6b6b;    /* secondary */
  --ink-faint:    #9aa0a8;    /* tertiary */
  --accent:       #d4a045;    /* gold */
  --accent-deep:  #8a6224;
  --accent-soft:  #f1e2bd;
  --success:      #1a8a3c;
  --warn:         #dba445;
  --bad:          #dc6b3c;
  --ring:         rgba(0,0,0,0.08);
  --ring-strong:  rgba(0,0,0,0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 820px; }

::selection { background: rgba(212,160,69,0.30); color: var(--ink); }

/* ─── Typography scale ─────────────────────────────────────────────── */

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }

.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.display em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 600;
}
.display-2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h3 { font-size: 20px; line-height: 1.35; }
p { margin: 0; }
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 700px;
}
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

.center { text-align: center; }
.light { color: #ffffff !important; }

/* ─── Eyebrow ──────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 18px;
  font-feature-settings: "ss01";
}
.eyebrow.light { color: var(--accent); }
.eyebrow.center { display: block; text-align: center; }

/* ─── Nav ─────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
  line-height: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.brand-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400; font-size: 11px; color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  justify-content: center;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-3);
  padding: 8px 16px; border-radius: 8px; transition: all 120ms;
}
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,0.04); }

.nav-cta { display: flex; gap: 8px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
}

/* ─── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 14px/1 'Inter', sans-serif;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 160ms cubic-bezier(.2,.8,.2,1);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--ring-strong); }
.btn-secondary:hover { background: var(--bg-soft); }
.btn-ghost { background: transparent; color: var(--ink-3); }
.btn-ghost:hover { color: var(--ink); background: rgba(0,0,0,0.04); }
.btn-large { padding: 16px 28px; font-size: 15px; }

/* ─── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 80px 28px 100px;
  overflow: hidden;
  background: #fffdf8;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(212,160,69,0.20), transparent 60%),
    radial-gradient(ellipse 600px 400px at 0% 100%, rgba(212,160,69,0.08), transparent 50%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: center;
}
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding: 56px 28px 72px; }
}
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy .lede { margin-bottom: 36px; font-size: 20px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Hero product mockup (HTML/CSS) ──────────────────────────────── */

.hero-mockup {
  perspective: 1500px;
  position: relative;
}
.mock-window {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 1px 1px rgba(0,0,0,0.05),
    0 30px 80px -20px rgba(138, 98, 36, 0.30),
    0 12px 30px -10px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 400ms;
}
.mock-window:hover { transform: rotateY(-1deg) rotateX(1deg); }
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #f5f5f3; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }
.mock-url {
  margin-left: auto;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px; color: var(--ink-faint);
  background: rgba(0,0,0,0.04);
  padding: 3px 12px; border-radius: 6px;
}
.mock-app { display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 340px; }

.mock-sidebar {
  background: #fafafa;
  border-right: 1px solid rgba(0,0,0,0.04);
  padding: 12px 8px;
}
.mock-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; margin-bottom: 10px;
}
.mock-brand-mark {
  width: 22px; height: 22px; line-height: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.mock-brand-mark svg { display: block; }
.mock-brand strong { display: block; font-size: 11px; font-weight: 600; }
.mock-brand small { display: block; font-size: 9px; color: var(--ink-faint); }
.mock-nav-item {
  font-size: 10px; padding: 6px 8px; border-radius: 5px; color: var(--ink-3);
  margin-bottom: 1px;
}
.mock-nav-item.active { background: #f0e8d6; color: var(--accent-deep); font-weight: 600; }
.mock-nav-item.gold { color: var(--accent-deep); }

.mock-main { padding: 16px; }
.mock-title { font-size: 13px; font-weight: 700; }
.mock-sub { font-size: 9px; color: var(--ink-faint); margin-top: 1px; margin-bottom: 12px; }

.mock-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-bottom: 10px;
}
.mock-kpi {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 6px;
  padding: 8px;
}
.mock-kpi.accent { background: rgba(212,160,69,0.10); border-color: rgba(212,160,69,0.25); }
.mock-kpi.warn { background: rgba(220,107,60,0.08); border-color: rgba(220,107,60,0.18); }
.mock-kpi-lbl { font-size: 7.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.mock-kpi-val { font-size: 16px; font-weight: 700; margin-top: 2px; letter-spacing: -0.02em; }
.mock-kpi-val span { font-size: 9px; color: var(--ink-faint); font-weight: 400; }
.mock-kpi-bar { height: 3px; border-radius: 1.5px; background: rgba(0,0,0,0.05); overflow: hidden; margin-top: 6px; }
.mock-kpi-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--warn)); }
.mock-kpi.warn .mock-kpi-val { color: var(--bad); }

.mock-chart {
  height: 50px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 8px;
}
.mock-chart svg { width: 100%; height: 100%; }

.mock-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mock-site {
  display: flex; justify-content: space-between; align-items: center;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 9px;
}
.mock-site.good { border-color: rgba(26,138,60,0.15); }
.mock-site.warn { border-color: rgba(219,164,69,0.30); }
.mock-pct { font-weight: 700; }
.mock-site.good .mock-pct { color: var(--success); }
.mock-site.warn .mock-pct { color: var(--warn); }

/* ─── Trust strip ─────────────────────────────────────────────────── */

.trust-strip {
  background: var(--ink);
  color: #fff;
  padding: 32px 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { text-align: center; }
.trust-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f5d68a, #d4a045);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-lbl { font-size: 12px; color: rgba(255,255,255,0.62); margin-top: 4px; }

/* ─── Bands ──────────────────────────────────────────────────────── */

.band { padding: 100px 28px; }
@media (max-width: 700px) { .band { padding: 64px 28px; } }
.band-light { background: var(--bg-soft); }
.band-accent { background: linear-gradient(180deg, var(--bg-accent) 0%, #faf0d8 100%); }
.band-dark { background: var(--bg-dark); color: rgba(255,255,255,0.78); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: rgba(255,255,255,0.65); }

/* ─── Problem grid ────────────────────────────────────────────────── */

.problem-grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1000px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 200ms, box-shadow 200ms;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.pc-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px; color: var(--accent); font-weight: 600;
  margin-bottom: 12px; line-height: 1; letter-spacing: -0.02em;
}
.problem-card h3 { margin-bottom: 10px; font-size: 18px; }
.problem-card p { color: var(--ink-3); font-size: 14px; line-height: 1.55; }

/* ─── Step bands (How it works) ───────────────────────────────────── */

.step-band {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 28px;
  max-width: 1180px; margin: 0 auto;
}
.step-band.reversed { direction: rtl; }
.step-band.reversed > * { direction: ltr; }
@media (max-width: 900px) {
  .step-band, .step-band.reversed { grid-template-columns: 1fr; gap: 36px; padding: 48px 28px; direction: ltr; }
}

.step-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(212,160,69,0.14);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.step-band-text h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  font-weight: 600;
}
.step-band-text p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.step-band-text .check-list { margin-top: 20px; }

/* ─── Check list ─────────────────────────────────────────────────── */

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 32px;
  font-size: 15px; color: var(--ink);
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 2px;
  color: var(--accent-deep); font-weight: 700; font-size: 13px;
  background: rgba(212,160,69,0.18);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
}
.check-list.small li { font-size: 14px; padding-left: 28px; }
.check-list.small li::before { width: 19px; height: 19px; font-size: 11px; }

/* ─── Mini mock: log completion (step 1) ──────────────────────────── */

.mini-mock {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  box-shadow: 0 24px 50px -15px rgba(138,98,36,0.18);
  overflow: hidden;
  max-width: 460px;
  margin: 0 auto;
}
.mini-mock-head { padding: 18px 22px; border-bottom: 1px solid var(--ring); }
.mini-mock-title { font-weight: 700; font-size: 15px; }
.mini-mock-sub { font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.mini-mock-body { padding: 18px 22px; }
.mini-mock-body label {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-faint); margin: 12px 0 6px;
}
.mini-mock-body label:first-child { margin-top: 0; }
.mini-input {
  padding: 10px 12px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
  display: flex; justify-content: space-between; align-items: center;
}
.mini-input.pass { background: rgba(26,138,60,0.06); border-color: rgba(26,138,60,0.20); color: var(--success); font-weight: 600; }
.mini-input.pass span { font-weight: 500; font-size: 12px; }
.mini-input.notes { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.mini-pf { display: flex; gap: 6px; }
.mini-pf-btn {
  flex: 1; text-align: center;
  padding: 8px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  font-size: 13px; color: var(--ink-3);
}
.mini-pf-btn.active { background: rgba(26,138,60,0.08); border-color: var(--success); color: var(--success); font-weight: 600; }
.mini-mock-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  background: #fafafa;
  border-top: 1px solid var(--ring);
  font-size: 12px; color: var(--ink-faint);
}
.mini-mock-foot button {
  background: var(--ink); color: #fff;
  border: 0; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer;
}

/* ─── Escalation timeline (step 2) ────────────────────────────────── */

.esc-timeline {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  box-shadow: 0 24px 50px -15px rgba(138,98,36,0.18);
  padding: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.esc-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 4px 14px;
  padding: 14px 18px;
  border-radius: 12px;
  position: relative;
}
.esc-row + .esc-row { border-top: 1px solid var(--ring); }
.esc-time { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--ink-faint); grid-row: 1; }
.esc-actor { font-size: 11px; font-weight: 600; color: var(--ink-3); grid-row: 1; }
.esc-event { grid-column: 1 / -1; font-size: 14px; }
.esc-row.critical .esc-event { font-weight: 600; color: var(--bad); }
.esc-row.sent .esc-event { color: var(--success); }
.esc-row.pending { opacity: 0.65; }
.esc-row.pending .esc-event::before { content: '◌  '; color: var(--ink-faint); }

/* ─── Region grid (step 3) ────────────────────────────────────────── */

.region-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 460px; margin: 0 auto;
}
.region-card {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 30px -10px rgba(138,98,36,0.15);
}
.region-name { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.region-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -0.02em;
  margin: 8px 0;
}
.region-bar { height: 4px; border-radius: 2px; background: rgba(0,0,0,0.06); overflow: hidden; margin-bottom: 8px; }
.region-bar span { display: block; height: 100%; background: var(--success); }
.region-sub { font-size: 11px; color: var(--ink-faint); }

/* ─── Audit mock (step 4) ────────────────────────────────────────── */

.audit-mock {
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -15px rgba(0,0,0,0.30);
  max-width: 460px; margin: 0 auto;
}
.audit-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 10px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.audit-row:last-of-type { border-bottom: 0; }
.audit-mono { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--accent); }
.audit-actor { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: rgba(255,255,255,0.45); }
.audit-foot { padding-top: 12px; font-size: 11px; color: rgba(255,255,255,0.50); text-align: center; }

/* ─── AAAHC mock ─────────────────────────────────────────────────── */

.two-col {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.aaahc-mock {
  background: #ffffff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 30px 60px -20px rgba(138,98,36,0.30);
}
.aaahc-mock-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--ring); padding-bottom: 16px; margin-bottom: 12px;
}
.aaahc-mock-title { font-size: 13px; font-weight: 600; }
.aaahc-mock-overall {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px; font-weight: 600; color: var(--accent-deep); letter-spacing: -0.02em;
}
.aaahc-chapter {
  display: grid; grid-template-columns: 56px 1fr 56px; gap: 12px;
  align-items: center; padding: 10px 0;
}
.aaahc-chapter:not(:last-of-type) { border-bottom: 1px solid rgba(0,0,0,0.04); }
.aaahc-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px; font-weight: 700;
  background: rgba(0,0,0,0.05);
  padding: 4px 8px; border-radius: 6px; text-align: center;
}
.aaahc-name { font-size: 14px; color: var(--ink); }
.aaahc-pct { font-weight: 700; font-size: 14px; color: var(--success); text-align: right; }
.aaahc-pct.gap { color: var(--bad); }
.aaahc-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.06); overflow: hidden; margin-top: -4px; }
.aaahc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--success), #2cb158); }
.aaahc-mock-foot { text-align: center; font-size: 11px; color: var(--ink-faint); margin-top: 16px; font-style: italic; }

/* ─── Industries grid ────────────────────────────────────────────── */

.ind-grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 28px;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.ind-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(138,98,36,0.12);
}
.ind-card.featured {
  background: linear-gradient(180deg, #fff 0%, #fdf4e3 100%);
  border-color: rgba(212,160,69,0.30);
}
.ind-icon { font-size: 30px; margin-bottom: 14px; }
.ind-card h3 { margin-bottom: 12px; font-size: 19px; }
.ind-pain { color: var(--ink-3); font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.ind-outcome {
  font-size: 14px; color: var(--ink);
  padding: 12px 14px;
  background: rgba(212,160,69,0.10);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}
.ind-card.featured .ind-outcome { background: rgba(255,255,255,0.60); }

/* ─── Trust cards (dark band) ────────────────────────────────────── */

.trust-cards {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .trust-cards { grid-template-columns: 1fr; } }
.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 200ms, transform 200ms;
}
.trust-card:hover {
  border-color: rgba(212,160,69,0.40);
  transform: translateY(-3px);
}
.tc-icon { font-size: 28px; margin-bottom: 12px; }
.trust-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.trust-card p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.55; }
.trust-card em { color: var(--accent); font-style: italic; }

/* ─── Pricing ────────────────────────────────────────────────────── */

.price-grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 18px;
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 200ms;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 24px 50px rgba(212,160,69,0.20);
  transform: translateY(-10px);
}
.price-card.featured:hover { transform: translateY(-13px); }
.badge {
  position: absolute; top: -13px; left: 28px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 14px; color: var(--ink-faint); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.10em; font-weight: 700; }
.price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px; font-weight: 600; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 14px;
}
.price .pre, .price .post { font-size: 16px; color: var(--ink-faint); font-weight: 400; font-family: 'Inter', sans-serif; }
.price-tag { color: var(--ink-3); font-size: 14px; margin-bottom: 6px; }
.price-card .check-list { margin-top: 20px; flex: 1; }
.price-card .btn { margin-top: 28px; align-self: stretch; text-align: center; justify-content: center; }

.pilot-strip {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: var(--ink); color: rgba(255,255,255,0.82);
  border-radius: 18px; padding: 26px 32px;
  max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere;
}
.pilot-strip > div { flex: 1; min-width: 0; }
.pilot-strip strong {
  display: block; color: #fff; font-size: 18px;
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; margin-bottom: 6px;
}
.pilot-strip span { font-size: 14px; line-height: 1.55; display: block; }
.pilot-strip .btn { white-space: nowrap; }
@media (max-width: 640px) {
  /* Stack vertically on phones: full-width text on top, full-width CTA below.
     Without this the no-wrap button keeps its lane and squeezes the paragraph
     into a tall, skinny column. */
  .pilot-strip {
    flex-direction: column; align-items: stretch;
    padding: 20px 22px; gap: 18px; border-radius: 16px;
  }
  .pilot-strip strong { font-size: 16px; }
  .pilot-strip .btn { align-self: stretch; justify-content: center; text-align: center; white-space: normal; }
}

/* ─── Contact band ──────────────────────────────────────────────── */

.contact-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.contact-band > div { flex: 1; min-width: 280px; }
.contact-band h2 { margin: 8px 0 16px; }
.contact-band p { font-size: 17px; }

/* ─── Footer ────────────────────────────────────────────────────── */

.footer { background: var(--bg-darker); color: rgba(255,255,255,0.62); padding: 64px 28px 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); max-width: 1180px; margin: 0 auto; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { color: #fff; font-family: 'Fraunces', Georgia, serif; font-size: 26px; }
.footer-brand .brand-sub { display: block; color: var(--ink-faint); font-family: 'Inter', sans-serif; font-size: 11px; margin-top: 4px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.50); margin-top: 12px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-cols strong { color: #fff; font-weight: 600; margin-bottom: 4px; letter-spacing: 0.02em; }
.footer-cols a, .footer-cols span { color: rgba(255,255,255,0.55); transition: color 120ms; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; font-size: 12px; color: rgba(255,255,255,0.40);
  flex-wrap: wrap; gap: 12px;
  max-width: 1180px; margin: 0 auto;
}
.faint { color: rgba(255,255,255,0.28); }

/* ─── Reveal-on-scroll (CSS-only) ────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .problem-card, .ind-card, .price-card, .trust-card {
    animation: rise 600ms ease-out backwards;
  }
  .problem-grid > *:nth-child(2) { animation-delay: 80ms; }
  .problem-grid > *:nth-child(3) { animation-delay: 160ms; }
  .problem-grid > *:nth-child(4) { animation-delay: 240ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-mockup {
    animation: float 800ms ease-out backwards;
    animation-delay: 200ms;
  }
  @keyframes float {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* ─── Mobile-specific overrides ─────────────────────────────────────────
   Below 640px the display headline at clamp(48px, …) was big enough to
   overflow the viewport horizontally with `overflow: hidden` on the hero
   clipping the right edge. The mockup's rotateY transform was likewise
   pushing past the viewport because perspective extends the effective
   bounding box. Pull both into safer ranges on phones. */
@media (max-width: 640px) {
  .display {
    font-size: clamp(36px, 10vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    word-break: break-word;
  }
  .display-2 {
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.08;
  }
  .hero {
    padding: 44px 20px 56px;
    overflow-x: clip; /* still clip horizontal overflow, but allow vertical */
  }
  /* Keep a safe gutter on every section; the hero supplies its own 20px
     side padding so its inner container stays flush to that. */
  .container { padding-left: 18px; padding-right: 18px; }
  .hero-inner { padding-left: 0; padding-right: 0; }
  .hero-copy .lede { font-size: 16.5px; line-height: 1.55; }

  /* Kill the 3D tilt on mobile — perspective overflow is the main cause
     of the dashboard mockup being clipped at "412". */
  .hero-mockup { perspective: none; }
  .mock-window {
    transform: none;
    max-width: 100%;
  }
  .mock-window:hover { transform: none; }
  .mock-app { min-height: auto; }

  /* Reflow the dashboard mockup so it fits a phone instead of being
     clipped by the window's overflow:hidden: narrower sidebar, KPIs
     2×2 instead of 4-across, site cards stacked. */
  .mock-app { grid-template-columns: 92px minmax(0, 1fr); }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-sites { grid-template-columns: 1fr; }

  /* Tighter inner padding so mockup KPIs aren't crushed. */
  .mock-main { padding: 14px; }
  .mock-kpis { gap: 5px; }
  .mock-kpi { padding: 7px; }

  /* CTA row should stack on very narrow screens. */
  .cta-row { gap: 10px; flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }

  /* Trust strip numbers were also tipping into 2-line wrap awkwardly. */
  .trust-num { font-size: 26px; }
}

/* Very narrow phones (<= 380px) get one more nudge. */
@media (max-width: 380px) {
  .display { font-size: 34px; }
}

/* ─── Self-serve restructure: hero paths, journeys, video, lead modal ─── */

.hero-paths {
  margin-top: 22px; font-size: 14.5px; line-height: 1.6; color: var(--ink-3);
}
.hero-paths strong { color: var(--ink); font-weight: 600; }
.hero-paths a { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid rgba(138,98,36,0.35); }
.hero-paths a:hover { border-bottom-color: var(--accent-deep); }

/* Anchor target that clears the sticky nav when jumped to. */
.anchor-offset { display: block; height: 0; scroll-margin-top: 90px; }
#pricing { scroll-margin-top: 90px; }

/* Small reassurance line under a card CTA. */
.card-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* Multi-site bulk-setup options block inside the featured card. */
.bulk-opts {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--ring-strong);
  text-align: left;
}
.bulk-opts-head { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.bulk-opts-row { font-size: 13px; line-height: 1.55; color: var(--ink-3); margin: 4px 0; }
.bulk-opts-row a { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid rgba(138,98,36,0.35); }
.bulk-opts-row a:hover { border-bottom-color: var(--accent-deep); }
.linklike {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--accent-deep); font-weight: 600;
  border-bottom: 1px solid rgba(138,98,36,0.35);
}
.linklike:hover { border-bottom-color: var(--accent-deep); }

.contact-inline-link {
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid rgba(212,160,69,0.45);
}
.contact-inline-link:hover { border-bottom-color: var(--accent); }

/* Product walkthrough video band. */
.video-frame {
  position: relative; width: 100%; max-width: 880px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--ring);
  box-shadow: 0 30px 80px -24px rgba(138,98,36,0.30), 0 12px 30px -12px rgba(0,0,0,0.20);
  background: var(--bg-dark);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background:
    radial-gradient(ellipse 600px 380px at 50% 0%, rgba(212,160,69,0.18), transparent 60%),
    var(--bg-dark);
  color: rgba(255,255,255,0.62);
}
.vp-play {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: var(--bg-dark);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 28px -8px rgba(212,160,69,0.6);
  /* ▶ glyph's bounding-box center is left-of-perceived-center because the
     triangle's mass sits on the right side — nudge the grid content right
     (and a hair down) so it reads as visually centered in the circle. */
  padding: 2px 0 0 4px;
}
.vp-text { font-size: 13px; letter-spacing: 0.02em; }

/* ─── Lead-form modal (Formspree, AJAX) ─── */
.lf-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,10,16,0.62); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px;
  animation: lf-fade 140ms ease-out;
}
.lf-overlay[hidden] { display: none; }
@keyframes lf-fade { from { opacity: 0; } to { opacity: 1; } }
.lf-modal {
  position: relative; width: 100%; max-width: 520px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg); border-radius: 18px; padding: 34px 32px 30px;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.45);
}
.lf-close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,0.05); color: var(--ink-3);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.lf-close:hover { background: rgba(0,0,0,0.10); color: var(--ink); }
.lf-title { font-family: 'Fraunces', Georgia, serif; font-size: 26px; line-height: 1.15; margin: 10px 0 8px; color: var(--ink); }
.lf-intro { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); margin: 0 0 22px; }
.lf-intro strong, .lf-success strong { color: var(--ink); }
.lf-label {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 14px;
}
.lf-input {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--ring-strong);
  outline: none; transition: border-color 120ms, box-shadow 120ms;
}
.lf-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,160,69,0.22); background: #fff; }
textarea.lf-input { resize: vertical; min-height: 70px; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf-submit { width: 100%; margin-top: 6px; justify-content: center; }
.lf-error {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 10px;
  background: rgba(220,107,60,0.10); border: 1px solid rgba(220,107,60,0.30);
  color: var(--bad); font-size: 13px; line-height: 1.45; text-align: left;
}
.lf-error[hidden] { display: none; }
.lf-fineprint { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-faint); text-align: center; }
.lf-success { text-align: center; padding: 14px 4px 6px; }
.lf-success[hidden] { display: none; }
#lfFormWrap[hidden] { display: none; }
.lf-check {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 26px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.lf-success .btn { margin-top: 22px; }

@media (max-width: 560px) {
  .lf-modal { padding: 28px 20px 24px; border-radius: 16px; }
  .lf-title { font-size: 22px; }
}

/* ─── Coming-soon / waitlist page ─── */
.cs-card {
  max-width: 480px; margin: 40px auto 0; text-align: left;
  background: var(--bg); border: 1px solid var(--ring);
  border-radius: 18px; padding: 32px 30px 28px;
  box-shadow: 0 30px 80px -28px rgba(138,98,36,0.30), 0 12px 30px -14px rgba(0,0,0,0.16);
}
.cs-card .lf-success { padding: 8px 2px 4px; }
.cs-card .lf-success .btn { margin-top: 20px; }
.cs-foot { margin: 28px auto 0; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.cs-foot a { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid rgba(138,98,36,0.35); }
.cs-foot a:hover { border-bottom-color: var(--accent-deep); }
@media (max-width: 560px) { .cs-card { padding: 26px 20px 22px; border-radius: 16px; } }
