/* ============================================================
   EdgeLabAI — design tokens (navy + hi-vis orange, FINAL)
   ============================================================ */
:root {
  --navy:         #13243B;  /* base dark, wordmark "Edge", dark sections */
  --navy-2:       #1E3450;
  --orange-burnt: #C2540E;  /* orange TEXT/accents on light bg (legible) */
  --orange-hivis: #F97316;  /* bright orange: button hover, accents on dark */
  --orange-light: #FFB066;  /* tallest waveform bar on dark */
  --paper:        #F7F6F2;  /* page background */
  --paper-2:      #FCFCFA;  /* cards */
  --line:         #E3E1DA;  /* borders */
  --line-dk:      #2C3D48;
  --live:         #2FA463;  /* GREEN — live/online status dots only */
  --ink-soft:     #516069;  /* secondary text */

  /* ALTERNATE PALETTES (do not use unless asked):
     amber:  burnt #C97A0A / bright #F6A623 / light #FFCB6B
     copper: base  #B26A3A / bright #CB854F  (Claude-warm) */
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .display {
  font-family: 'Archivo', system-ui, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
.btn:hover, .livepill:hover, .cc-btn:hover, .play:hover { text-decoration: none; }

/* Skip link + focus */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--paper);
  padding: 10px 14px; border-radius: 0 0 6px 0;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--orange-hivis);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Layout
   ============================================================ */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange-burnt);
}
.eyebrow-dark { color: var(--orange-hivis); }

section.pad { padding: 78px 0; }
.pad-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sechead { max-width: 34em; margin-bottom: 46px; }
.sechead h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  margin-top: 14px;
}
.sechead-sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 36em;
}
.sechead-centered { margin: 0 auto 46px; text-align: center; }
.sechead-centered .sechead-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   Header / top bar
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, .85);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
          backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; width: auto; }

.livepill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500;
  background: var(--navy); color: var(--paper);
  padding: 9px 16px; border-radius: 40px;
  transition: transform .15s ease, background .15s ease;
}
.livepill:hover { transform: translateY(-1px); background: var(--navy-2); color: var(--paper); }

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(47, 164, 99, .6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 164, 99, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(47, 164, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 164, 99, 0); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  padding: 16px 24px; border-radius: 12px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--orange-burnt);
  color: var(--navy);
  box-shadow: 0 8px 22px -8px rgba(249, 115, 22, .55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-hivis);
  color: var(--navy);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark {
  border-color: rgba(255, 255, 255, .25);
  color: var(--paper);
}
.btn-ghost-dark:hover { border-color: var(--paper); color: var(--paper); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row-centered { justify-content: center; margin-top: 8px; }
.undercta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: var(--ink-soft);
  margin-top: 16px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 74px 0 86px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  margin-top: 18px;
}
.hero h1 em { font-style: normal; color: var(--orange-burnt); }
.hero .sub {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 24px 0 34px;
  max-width: 30em;
}

/* ============================================================
   Incoming-call card (signature element)
   ============================================================ */
.callcard {
  background: var(--navy);
  color: var(--paper);
  border-radius: 22px;
  padding: 30px 30px 26px;
  box-shadow: 0 30px 60px -28px rgba(22, 36, 46, .6);
  position: relative;
  overflow: hidden;
}
.callcard::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% -10%, rgba(249, 115, 22, .28), transparent 60%);
  pointer-events: none;
}
.callcard > * { position: relative; }

.cc-top { display: flex; align-items: center; justify-content: space-between; }
.cc-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  color: #9DE7BC;
}
.cc-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: #7E909B;
}
.cc-caller {
  margin: 26px 0 6px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 24px;
}
.cc-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: #8FA1AC;
}

.wave {
  display: flex; align-items: flex-end; gap: 4px;
  height: 62px; margin: 28px 0 26px;
}
.wave span {
  flex: 1;
  background: linear-gradient(var(--orange-hivis), var(--orange-burnt));
  border-radius: 3px;
  height: 18%;
  animation: wv 1.1s ease-in-out infinite;
}
.wave span:nth-child(5)  { background: linear-gradient(var(--orange-light), var(--orange-hivis)); }
.wave span:nth-child(11) { background: linear-gradient(var(--orange-light), var(--orange-hivis)); }
@keyframes wv {
  0%, 100% { height: 16%; }
  50%      { height: 96%; }
}

.cc-actions { display: flex; gap: 12px; }
.cc-btn {
  flex: 1; text-align: center;
  padding: 14px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
}
.cc-answer { background: var(--live); color: #06301B; }
.cc-answer:hover { background: #36b370; color: #06301B; }
.cc-note { background: rgba(255, 255, 255, .08); color: var(--paper); cursor: default; }

.transcript {
  margin-top: 22px;
  border-top: 1px solid var(--line-dk);
  padding-top: 16px;
}
.tline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px; margin: 7px 0;
  color: #B8C6CE;
}
.tline b { color: var(--orange-hivis); font-weight: 500; }

/* ============================================================
   ROI band (navy)
   ============================================================ */
.band {
  background: var(--navy);
  color: var(--paper);
  padding: 74px 0;
}
.band h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  max-width: 16em;
  margin-top: 14px;
}
.band h2 em { font-style: normal; color: var(--orange-hivis); }
.band-lede {
  color: #A9B6BE;
  font-size: 18px;
  max-width: 40em;
  margin-top: 20px;
}
.roi {
  display: flex; gap: 46px; flex-wrap: wrap;
  margin-top: 40px;
}
.roi .n {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 46px; color: #fff;
  letter-spacing: -.03em;
}
.roi .l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: #8FA1AC;
  letter-spacing: .04em; margin-top: 4px;
}

/* ============================================================
   Sample calls
   ============================================================ */
.samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scard {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.scard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -22px rgba(22, 36, 46, .4);
}
.scard .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: var(--orange-burnt);
  letter-spacing: .1em; text-transform: uppercase;
}
.scard h3 { font-size: 19px; font-weight: 700; margin: 12px 0 8px; }
.scard p { font-size: 14.5px; color: var(--ink-soft); }
.minwave {
  display: flex; align-items: flex-end; gap: 3px;
  height: 26px; margin: 18px 0 14px;
}
.minwave span { flex: 1; background: var(--line); border-radius: 2px; }
.scard audio {
  width: 100%;
  margin-top: auto;
}
.hear-foot {
  margin-top: 36px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ink-soft);
}
.hear-foot a { color: var(--orange-burnt); }

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 30px;
}
.step {
  padding: 26px 0;
  border-top: 2px solid var(--navy);
}
.step .num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800; font-size: 15px;
  color: var(--orange-burnt);
  letter-spacing: .05em;
}
.step h3 { font-size: 18px; font-weight: 700; margin: 12px 0 7px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   What you get + SMS bubble
   ============================================================ */
.getgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.get-h {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  margin: 14px 0 16px;
}
.get-sub { color: var(--ink-soft); font-size: 17px; }
.sms {
  background: var(--navy);
  border-radius: 20px;
  padding: 26px;
  max-width: 380px;
}
.sms-head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: #8FA1AC;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.bubble {
  background: var(--navy-2); color: var(--paper);
  border-radius: 14px 14px 14px 4px;
  padding: 16px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px; line-height: 1.7;
}
.bubble b { color: var(--orange-hivis); font-weight: 500; }
.stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; color: #6F818C;
  margin-top: 8px;
}

/* ============================================================
   Trust cards
   ============================================================ */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tcard {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--paper-2);
}
.tcard h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.tcard p { font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   Founding offer
   ============================================================ */
.offer {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 54px 46px;
  text-align: center;
}
.offer h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  margin: 14px auto 16px;
  max-width: 18em;
}
.offer p {
  max-width: 40em; margin: 0 auto 28px;
  color: #FCE9DC; font-size: 17px;
}
.offer .btn-primary {
  background: var(--orange-hivis);
  color: var(--navy);
  box-shadow: none;
}
.offer .btn-primary:hover { background: var(--paper); }

/* ============================================================
   Pricing
   ============================================================ */
.pricecard {
  max-width: 700px;
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 44px;
  text-align: center;
}
.price-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
  text-align: left;
  margin-bottom: 24px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 6px;
}
.price-figure {
  font-family: 'Archivo', sans-serif;
  font-weight: 800; font-size: 52px;
  color: var(--navy); letter-spacing: -.03em;
}
.price-per {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px; color: var(--ink-soft);
}
.price-list { display: grid; gap: 6px; }
.price-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px; color: var(--ink-soft);
  padding-left: 22px; position: relative;
}
.price-list li::before {
  content: "✓";
  color: var(--orange-burnt);
  position: absolute; left: 0; top: 0;
  font-weight: 700;
}
.price-foot {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 22px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.q { border-bottom: 1px solid var(--line); }
.q button {
  width: 100%;
  background: none; border: none; cursor: pointer;
  text-align: left;
  padding: 22px 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700; font-size: 18px;
  color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.q .plus {
  color: var(--orange-burnt);
  font-weight: 700; font-size: 24px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.q.open .plus { transform: rotate(45deg); }
.q .a {
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
  color: var(--ink-soft); font-size: 15.5px;
}
.q.open .a { max-height: 280px; }
.q .a p { padding: 0 0 22px; max-width: 54em; }

/* ============================================================
   About
   ============================================================ */
.aboutgrid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
}
.about-photo { display: flex; justify-content: center; }
.photo-placeholder {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--orange-hivis);
  font-family: 'Archivo', sans-serif;
  font-weight: 800; font-size: 72px;
  display: grid; place-items: center;
  letter-spacing: -.04em;
  border: 4px solid var(--paper-2);
  box-shadow: 0 20px 40px -20px rgba(22, 36, 46, .35);
}
.about-body {
  font-size: 17px; color: var(--ink-soft);
  margin: 14px 0;
  max-width: 36em;
}
.about-body em { color: var(--navy); font-style: italic; }
.about-sign {
  margin-top: 18px;
  font-size: 13.5px; color: var(--navy);
}
.about-sign a { color: var(--orange-burnt); }

/* ============================================================
   Final CTA
   ============================================================ */
.finalcta {
  background: var(--navy);
  color: var(--paper);
  border-radius: 22px;
  padding: 64px 46px;
  text-align: center;
}
.finalcta h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  margin: 14px auto 16px;
  max-width: 16em;
}
.finalcta > p {
  color: #C9D3DA; font-size: 17px;
  max-width: 40em; margin: 0 auto 28px;
}
.finalcta .btn-primary { background: var(--orange-hivis); color: var(--navy); box-shadow: none; }
.finalcta .btn-primary:hover { background: var(--paper); }

.contact-toggle {
  margin-top: 36px;
  text-align: left;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.contact-toggle summary {
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: #A9B6BE;
  list-style: none;
  text-align: center;
  padding: 12px 0;
}
.contact-toggle summary::-webkit-details-marker { display: none; }
.contact-toggle summary:hover { color: var(--paper); }
.contact-toggle[open] summary { color: var(--paper); margin-bottom: 18px; }

.contact-form {
  display: grid; gap: 14px;
  background: var(--navy-2);
  padding: 24px;
  border-radius: 14px;
}
.contact-form .field { display: grid; gap: 6px; }
.contact-form label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: #A9B6BE;
  letter-spacing: .08em; text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--paper);
  font-family: 'Inter', sans-serif; font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange-hivis);
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .btn { justify-content: center; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-foot {
  font-size: 11.5px; color: #8FA1AC;
  text-align: center; margin-top: 4px;
}
.form-foot a { color: var(--orange-hivis); }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--navy);
  color: var(--paper);
  padding: 60px 0 36px;
}
.foot {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 30px;
}
.foot-brand img { height: 32px; width: auto; }
.foot .tg {
  font-family: 'Archivo', sans-serif;
  font-weight: 700; font-size: 20px;
  margin-top: 12px;
  max-width: 12em; line-height: 1.15;
  color: var(--paper);
}
.foot a {
  color: #A9B6BE;
  font-size: 14.5px;
  font-family: 'IBM Plex Mono', monospace;
  display: block;
  margin: 7px 0;
}
.foot a:hover { color: var(--orange-hivis); text-decoration: none; }
.foot .col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase;
  color: #6F818C;
  margin-bottom: 12px;
}
.legal {
  border-top: 1px solid var(--line-dk);
  margin-top: 42px; padding-top: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: #6F818C;
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.legal-page h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}
.legal-page .updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 22px; font-weight: 700;
  margin: 32px 0 12px;
}
.legal-page p, .legal-page li {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 22px; list-style: disc; }
.legal-page ul li { margin-bottom: 6px; }
.legal-page a { color: var(--orange-burnt); }
.legal-page a:hover { color: var(--orange-hivis); }
.legal-page .placeholder {
  background: #FFF5E5;
  border-left: 3px solid var(--orange-burnt);
  padding: 12px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--navy);
  margin: 12px 0;
  border-radius: 4px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid,
  .getgrid,
  .aboutgrid { grid-template-columns: 1fr; gap: 40px; }
  .samples,
  .steps,
  .trust { grid-template-columns: 1fr; }
  .steps .step {
    border-top: none;
    border-left: 2px solid var(--navy);
    padding: 8px 0 8px 20px;
  }
  .hero { padding: 48px 0 60px; }
  .sms { margin: 0 auto; }
  .photo-placeholder { width: 180px; height: 180px; font-size: 56px; }
  .price-row { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .price-list { max-width: 240px; margin: 0 auto; }
  .offer, .finalcta { padding: 44px 24px; }
  .bar { height: 60px; }
  .brand img { height: 28px; }
  .livepill { padding: 8px 13px; font-size: 12px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 34px; }
  .roi { gap: 26px; }
  .roi .n { font-size: 36px; }
  .cta-row .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .dot { animation: none; box-shadow: 0 0 0 2px rgba(47, 164, 99, .25); }
  .wave span { height: 55%; }
}
