/* ===================================================================
   EVRIKO — voice agents one-pager
   Two typefaces (Inter + JetBrains Mono), navy ground, one gold accent.
   =================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --navy:        #0F1A2E;
  --navy-deep:   #0A121F;
  --navy-line:   #26334A;
  --navy-line-2: #46556E;
  --gold:        #C9A227;
  --gold-ink:    #2C2005;
  --offwhite:    #F5F3EE;
  --offwhite-line:#DED9CE;

  --on-navy:     #F5F3EE;
  --on-navy-mut: #8494AC;
  --on-navy-mut2:#B9C4D4;
  --on-light:    #0F1A2E;
  --on-light-mut:#5E6B7E;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --measure: 680px;   /* prose spine */
  --measure-wide: 960px;

  --pad-x: 24px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, figure, table { margin: 0; }
a { color: inherit; }
strong { font-weight: 500; }
em { font-style: italic; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout: bands + spine ---------- */
.band { width: 100%; }
.band--navy  { background: var(--navy);      color: var(--on-navy); }
.band--deep  { background: var(--navy-deep);  color: var(--on-navy); }
.band--light { background: var(--offwhite);   color: var(--on-light); }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.wrap--wide { max-width: var(--measure-wide); }

.section { padding-top: 72px; padding-bottom: 72px; }
.section + .section.band--navy { border-top: 0.5px solid var(--navy-line); }

/* ---------- Type ---------- */
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.section__sub {
  color: var(--on-light-mut);
  margin-top: -10px;
  margin-bottom: 28px;
}
.band--navy .section__sub, .band--deep .section__sub { color: var(--on-navy-mut); }

.section p { margin-bottom: 16px; max-width: var(--measure); }
.section p:last-child { margin-bottom: 0; }
.lead { font-weight: 500; }
.band--navy .lead, .band--deep .lead { color: var(--on-navy); }

.subhead {
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 34px;
  margin-bottom: 12px;
}

.wordmark {
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--on-navy);
}

/* ---------- Header / footer ---------- */
.siteheader { background: var(--navy); border-bottom: 0.5px solid var(--navy-line); }
.siteheader__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 15px; padding-bottom: 15px;
}
.siteheader__loc { color: var(--on-navy-mut); font-size: 12px; }

.sitefooter { border-top: 0.5px solid var(--navy-line); }
.sitefooter__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px;
  padding-top: 26px; padding-bottom: 26px;
}
.sitefooter__left { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.sitefooter__tag { color: var(--on-navy-mut); font-size: 13px; }
.sitefooter__right { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--on-navy-mut); font-size: 13px; }
.sitefooter__right a { color: var(--on-navy-mut2); text-decoration: underline; text-underline-offset: 3px; }
.sitefooter__right a:hover { color: var(--on-navy); }
.sitefooter__dot { display: none; }

/* ---------- Phone numbers (the design) ---------- */
.phone {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-block;
}
.phone--hero {
  color: var(--gold);
  font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.5rem);
  line-height: 1.05;
  margin: 4px 0 16px;
  word-break: keep-all;
}
.phone--hero:hover { color: #E0B838; }
.phone--card {
  color: var(--on-navy);
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.45rem);
  margin-bottom: 10px;
}
.inlinephone {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.band--light .inlinephone { color: #A5851F; }
.inlinephone:hover { text-decoration: underline; }

.numberblock {
  border-top: 0.5px solid var(--navy-line);
  border-bottom: 0.5px solid var(--navy-line);
  padding: 30px 0;
  margin: 28px 0 26px;
}
.numberblock__label { color: var(--on-navy-mut); font-size: 13px; margin-bottom: 6px; }
.numberblock__rec {
  color: var(--on-navy-mut);
  font-size: 13px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.numberblock__rec::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #C0392B; flex: none;
}
.numberblock__note { color: var(--on-navy-mut2); font-size: 15px; line-height: 1.6; max-width: 520px; margin: 0; }
.btnrow__rec { margin: 18px 0 0; }
.band--light .numberblock__rec { color: var(--on-light-mut); }
.hearit__rec { margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero { padding-top: 60px; padding-bottom: 68px; }
.hero__headline {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
/* Force the two-beat break only where both beats fit on one line;
   let the headline flow naturally on narrow screens. */
@media (max-width: 720px) {
  .hero__headline br { display: none; }
}
.hero__turn { font-weight: 500; font-size: 1.05rem; margin-bottom: 28px; }

/* ---------- Buttons ---------- */
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500;
  padding: 13px 20px; border-radius: 6px;
  text-decoration: none; cursor: pointer;
  border: 0.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .ic { width: 17px; height: 17px; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: #D9B02E; }
.btn--navy { background: var(--navy); color: var(--on-navy); }
.btn--navy:hover { background: #16233b; }
.btn--ghost { border-color: var(--navy-line-2); color: var(--on-navy-mut2); }
.btn--ghost:hover { border-color: var(--on-navy-mut2); color: var(--on-navy); }
.btn--outline-ink { border-color: #C4BDB0; color: var(--on-light); }
.btn--outline-ink:hover { border-color: var(--on-light); }

/* ---------- Three lanes ---------- */
.lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 28px;
}
.lane {
  border: 0.5px solid var(--navy-line);
  border-radius: 8px;
  padding: 20px 20px 22px;
}
.lane--accent { border-color: var(--gold); }
.lane__who {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-navy-mut); margin-bottom: 14px;
}
.lane--accent .lane__who { color: var(--gold); }
.lane ul { list-style: none; padding: 0; margin: 0; }
.lane li {
  font-size: 15px; line-height: 1.5;
  padding: 9px 0; border-top: 0.5px solid var(--navy-line);
}
.lane li:first-child { border-top: none; padding-top: 0; }

/* ---------- Audio players ---------- */
.hearit__call { color: var(--on-light); font-size: 18px; margin-bottom: 24px; }
.hearit__call .inlinephone { font-size: 1.05em; }
.players { display: grid; gap: 12px; margin-bottom: 26px; }
.player {
  background: #fff;
  border: 0.5px solid var(--offwhite-line);
  border-radius: 10px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 18px;
}
.player__btn {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy); color: var(--offwhite);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .15s ease;
}
.player__btn:hover { background: #17273f; }
.player__btn .ic { width: 18px; height: 18px; }
.player__btn .ic-pause { display: none; }
.player.is-playing .player__btn .ic-play { display: none; }
.player.is-playing .player__btn .ic-pause { display: block; }

.player__body { min-width: 0; }
.player__label { font-size: 15px; font-weight: 500; color: var(--on-light); margin-bottom: 10px; }
.player__wave {
  width: 100%; height: 30px;
  display: flex; align-items: center; gap: 2px;
  overflow: hidden;
  cursor: pointer;
}
.player__wave .bar {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 1px;
  background: var(--offwhite-line);
  transition: background-color .05s linear;
}
.player__wave .bar.on { background: var(--gold); }
.player__desc { font-size: 14px; line-height: 1.6; color: var(--on-light-mut); margin: 12px 0 0; }
.player__time {
  font-family: var(--font-mono); font-size: 12px; color: var(--on-light-mut);
  flex: none; padding-top: 2px;
}

/* ---------- Pricing table ---------- */
.ptable {
  width: 100%; max-width: var(--measure);
  border-collapse: collapse;
  margin: 8px 0 10px;
}
.ptable th, .ptable td {
  text-align: left;
  padding: 13px 0;
  border-bottom: 0.5px solid var(--navy-line);
  font-size: 15px;
}
.ptable thead th {
  color: var(--on-navy-mut); font-weight: 400; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ptable td:last-child, .ptable th:last-child { text-align: right; }
.ptable__price { font-family: var(--font-mono); font-weight: 500; color: var(--gold); }
.fineprint { font-size: 13px; color: var(--on-navy-mut); margin-top: 4px !important; }

/* ---------- Pull quotes ---------- */
.pullquote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin-top: 28px !important;
  color: var(--on-navy-mut2);
  font-size: 15px;
}
.band--light .pullquote { color: var(--on-light-mut); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 8px 0 20px; max-width: var(--measure); }
.checklist li {
  position: relative; padding: 10px 0 10px 26px;
  border-top: 0.5px solid var(--offwhite-line);
  font-size: 15px;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 4px; }
.qa { padding: 20px 0; border-top: 0.5px solid var(--navy-line); }
.qa:first-child { border-top: none; padding-top: 4px; }
.qa__q { font-weight: 500; color: var(--on-navy); margin-bottom: 8px; }
.qa__a { color: var(--on-navy-mut2); font-size: 15px; margin: 0; }

/* ---------- Contact ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; margin: 8px 0 24px;
}
.numcard { border-radius: 10px; padding: 22px; }
.numcard--demo { border: 0.5px solid var(--gold); }
.numcard--contact { border: 0.5px solid var(--navy-line-2); }
.numcard__label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.numcard--demo .numcard__label { color: var(--gold); }
.numcard--contact .numcard__label { color: var(--on-navy-mut); }
.numcard__note { color: var(--on-navy-mut2); font-size: 13px; line-height: 1.6; margin: 0; }

.inbox { border-top: 0.5px solid var(--navy-line); padding-top: 24px; margin-top: 4px; }
.inbox__label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-navy-mut); margin-bottom: 10px;
}
.inbox__email { margin-bottom: 8px !important; }
.inbox__email a {
  font-family: var(--font-mono); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  font-weight: 500; color: var(--on-navy); text-decoration: none;
}
.inbox__email a:hover { color: var(--gold); }
.inbox__note { color: var(--on-navy-mut); font-size: 14px; margin: 0; }
.contact__aside { color: var(--on-navy-mut); font-size: 14px; font-style: italic; margin-top: 22px !important; }

/* ---------- Final CTA ---------- */
.finalcta .section__title { max-width: 560px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 680px; }
.legal p, .legal li { color: var(--on-navy-mut2); font-size: 16px; }
.legal__meta { color: var(--on-navy-mut); font-size: 14px; margin-top: -8px; margin-bottom: 28px !important; }
.legal__h {
  font-size: 1.15rem; font-weight: 500; color: var(--on-navy);
  margin-top: 40px; margin-bottom: 12px;
  padding-top: 20px; border-top: 0.5px solid var(--navy-line);
}
.legal__h3 { font-size: 1rem; font-weight: 500; color: var(--on-navy); margin-top: 22px; margin-bottom: 8px; }
.legal__list { margin: 0 0 16px; padding-left: 20px; }
.legal__list li { padding: 4px 0; }
.legal a { color: var(--gold); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .js-email { font-family: var(--font-mono); }
.legal__entity { color: var(--on-navy-mut); font-size: 14px; }
.legal__back { margin-top: 36px !important; padding-top: 20px; border-top: 0.5px solid var(--navy-line); }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  border-top: 0.5px solid var(--navy-line);
}
.callbar__label { color: var(--on-navy-mut); font-size: 13px; }
.callbar__btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--gold); color: var(--gold-ink);
  font-family: var(--font-mono); font-weight: 500; font-size: 14px;
  padding: 10px 15px; border-radius: 6px; text-decoration: none;
}
.callbar__btn .ic { width: 15px; height: 15px; }

/* ---------- Toast (clipboard confirmation) ---------- */
.toast {
  position: fixed;
  top: 20px;
  left: 0; right: 0;
  margin-inline: auto;
  width: max-content;
  max-width: calc(100% - 32px);
  transform: translateY(-10px);
  background: var(--navy-deep);
  color: var(--on-navy);
  border: 0.5px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 11px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 120;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Icons ---------- */
.ic { display: inline-block; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .lanes { grid-template-columns: 1fr; }
  .player { grid-template-columns: auto 1fr; gap: 14px; }
  .player__time { grid-column: 2; padding-top: 4px; }
  .btn { width: 100%; justify-content: center; }
  .btnrow { gap: 10px; }
  /* clear the sticky call bar so the footer (incl. Privacy link) stays visible */
  .sitefooter { padding-bottom: 80px; }
  .callbar.is-visible { display: flex; }
}
@media (min-width: 721px) {
  .callbar { display: none !important; }
}

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

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}
