:root {
  --bg: #F7F5F1;
  --ink: #14171A;
  --slate: #4B5563;
  --orange: #E85D2C;
  --orange-dark: #C24A21;
  --green: #2E7D5B;
  --red: #B3261E;
  --line: rgba(20,23,26,0.12);
  --card-bg: #FFFFFF;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.mono { font-family: 'JetBrains Mono', monospace; }

a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(247,245,241,0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}
header .wrap { position: relative; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.brand .amp { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a { color: var(--slate); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 20px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { font-size: 50px; max-width: 620px; }
.hero h1 .accent { color: var(--orange); }

.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--slate);
  max-width: 480px;
}

.hero-cta { margin-top: 34px; display: flex; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--slate); }

.did-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 48px -24px rgba(20,23,26,0.18);
}
.did-card .label { font-size: 12.5px; color: var(--slate); margin-bottom: 10px; }
.did-card .number { font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 500; letter-spacing: -0.01em; }
.did-card .status { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--orange); font-weight: 500; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.did-card hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }
.did-card .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--slate); }
.did-card .meta .v { color: var(--ink); font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* ---------- Section shared ---------- */
section { padding: 88px 0; }
section.tight { padding: 72px 0; }
.section-head { max-width: 560px; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 16.5px; }

/* ---------- Problem ---------- */
.problem { background: var(--ink); color: #F7F5F1; }
.problem .section-head p { color: #A8AEB4; }
.problem-list { display: grid; gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.problem-row { background: var(--ink); padding: 26px 28px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.problem-row .who { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--orange); }
.problem-row p { color: #D6D9DC; font-size: 16px; }

/* ---------- Comparison (pain -> fix) ---------- */
.compare-head {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}
.compare-head .col-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
}
.compare-head .col-label.us { color: var(--orange); }
.fix-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fix-row .pain { color: var(--slate); font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }
.fix-row .pain .x { color: var(--red); font-weight: 700; flex-shrink: 0; }
.fix-row .arrow { color: var(--orange); font-size: 18px; text-align: center; }
.fix-row .fix { font-weight: 500; font-size: 15.5px; display: flex; gap: 10px; align-items: flex-start; }
.fix-row .fix .check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ---------- Dial types explainer ---------- */
.dial-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dial-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.dial-card .kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--orange); margin-bottom: 10px; }
.dial-card h3 { font-size: 19px; margin-bottom: 10px; }
.dial-card p { font-size: 14.5px; color: var(--slate); margin-bottom: 14px; }
.dial-card .best-for { font-size: 13px; padding-top: 14px; border-top: 1px solid var(--line); }
.dial-card .best-for .l { color: var(--slate); }
.dial-card .best-for .v { font-weight: 500; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 14px; padding: 32px 26px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--orange); box-shadow: 0 24px 48px -28px rgba(232,93,44,0.35); position: relative; }
.price-card.featured .tag { position: absolute; top: -13px; left: 26px; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 5px; }
.price-card .tier { font-size: 14.5px; font-weight: 600; color: var(--slate); }
.price-card .amount { margin-top: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; }
.price-card .amount .per { font-size: 15px; font-weight: 500; color: var(--slate); }
.price-card .minutes { margin-top: 6px; font-size: 14px; color: var(--slate); }
.price-card ul { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { font-size: 14.5px; display: flex; gap: 9px; align-items: flex-start; }
.price-card li .check { color: var(--green); font-weight: 700; }
.price-card .btn { margin-top: 26px; width: 100%; }
.pricing-foot { margin-top: 22px; font-size: 13.5px; color: var(--slate); text-align: center; }

.pricing-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 36px;
  gap: 24px;
}
.pricing-teaser .from { font-size: 13px; color: var(--slate); }
.pricing-teaser .amount { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; }

/* ---------- Trust ---------- */
.trust { background: #F0EDE6; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item .num { font-family: 'JetBrains Mono', monospace; color: var(--orange); font-size: 13px; margin-bottom: 10px; }
.trust-item h3 { font-size: 17px; margin-bottom: 8px; }
.trust-item p { font-size: 14.5px; color: var(--slate); }

/* ---------- Warning ---------- */
.warning {
  background: #FBEAE8;
  border: 1.5px solid #E3A8A2;
  border-radius: 14px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.warning .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px;
  flex-shrink: 0;
}
.warning h3 { font-size: 18px; color: var(--red); margin-bottom: 10px; }
.warning p { font-size: 15px; color: #6B2620; max-width: 640px; }
.warning p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--ink); color: #fff; border-radius: 18px; padding: 56px 48px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.final-cta h2 { font-size: 28px; max-width: 420px; }
.final-cta p { color: #A8AEB4; margin-top: 10px; font-size: 15px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--slate); }
footer .flinks { display: flex; gap: 24px; }

/* ---------- Page hero (non-home pages) ---------- */
.page-hero { padding: 64px 0 48px; text-align: left; }
.page-hero h1 { font-size: 42px; }
.page-hero p.lead { margin-top: 16px; font-size: 17px; color: var(--slate); max-width: 560px; }

/* ---------- Hero dialer badges (advertise the 3 dialers immediately) ---------- */
.dialer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dialer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  font-size: 13px;
  font-weight: 500;
}
.dialer-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.dialer-badges-caption { margin-top: 10px; font-size: 12.5px; color: var(--slate); }

/* ---------- Legal / long-form prose pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--slate); font-size: 15.5px; margin-bottom: 14px; }
.prose ul, .prose ol { color: var(--slate); font-size: 15.5px; margin: 0 0 14px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: 13px; color: var(--slate); margin-bottom: 36px; }
.legal-callout {
  background: #FBEAE8;
  border: 1.5px solid #E3A8A2;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 20px 0;
}
.legal-callout p { color: #6B2620; margin-bottom: 0; font-size: 14.5px; }
.legal-callout p + p { margin-top: 8px; }

/* ---------- FAQ / step-by-step guide ---------- */
.faq-toc {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 48px;
}
.faq-toc .toc-label { font-size: 12px; font-weight: 600; color: var(--slate); margin-bottom: 10px; }
.faq-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.faq-toc li { font-size: 14.5px; margin-bottom: 8px; }
.faq-toc a { color: var(--ink); }
.faq-toc a:hover { color: var(--orange); }

.faq-section { margin-bottom: 56px; scroll-margin-top: 84px; }
.faq-section h2 { font-size: 24px; margin-bottom: 10px; }
.faq-section > p.intro { color: var(--slate); font-size: 15.5px; margin-bottom: 22px; max-width: 640px; }

.step-list { counter-reset: step; }
.step-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step-item:first-child { border-top: 1px solid var(--line); }
.step-num {
  counter-increment: step;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
}
.step-item .step-title { font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.step-item .step-body { color: var(--slate); font-size: 14.5px; }
.step-item .step-body code {
  font-family: 'JetBrains Mono', monospace;
  background: #EFECE5;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.requirement-box {
  background: #F0EDE6;
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 32px;
}
.requirement-box h3 { font-size: 15.5px; margin-bottom: 12px; }
.requirement-box ul { margin: 0; padding-left: 20px; }
.requirement-box li { font-size: 14.5px; color: var(--slate); margin-bottom: 8px; }
.requirement-box li strong { color: var(--ink); }

.error-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.error-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  padding: 0 0 10px;
  border-bottom: 2px solid var(--ink);
}
.error-table td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}
.error-table td:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--red);
  white-space: normal;
  width: 38%;
}
.error-table td:last-child { color: var(--slate); }

/* ---------- About / Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.contact-card .label { font-size: 12.5px; color: var(--slate); margin-bottom: 8px; }
.contact-card .value { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 500; }
.contact-card a.value { color: var(--orange); }

.company-box {
  background: #F0EDE6;
  border-radius: 12px;
  padding: 24px 26px;
  margin-top: 40px;
}
.company-box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.company-box .row:last-child { border-bottom: none; }
.company-box .row .l { color: var(--slate); }
.company-box .row .v { font-weight: 500; text-align: right; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-of-type { border-bottom: none; }
  .nav-links .btn { margin-top: 12px; width: 100%; }
  .hero { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .hero h1 { font-size: 36px; }
  .problem-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-head { grid-template-columns: 1fr; gap: 4px; }
  .compare-head .col-label.arrow-spacer { display: none; }
  .fix-row { grid-template-columns: 1fr; text-align: left; }
  .fix-row .arrow { display: none; }
  .dial-types { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-teaser { flex-direction: column; align-items: flex-start; }
  .trust-grid { grid-template-columns: 1fr; }
  .warning { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; text-align: center; padding: 40px 28px; }
  section { padding: 56px 0; }
  .faq-toc ol { columns: 1; }
  .step-item { grid-template-columns: 28px 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .company-box .row { flex-direction: column; gap: 2px; }
  .company-box .row .v { text-align: left; }
  .request-form { grid-template-columns: 1fr; }

  /* Error table -> stacked cards, more reliable than a scrolling table */
  .error-table thead { display: none; }
  .error-table, .error-table tbody, .error-table tr, .error-table td { display: block; width: 100%; }
  .error-table { overflow: visible; }
  .error-table tr { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
  .error-table tr:last-child { border-bottom: none; margin-bottom: 0; }
  .error-table td { padding: 3px 0; border-bottom: none; width: 100% !important; }
  .error-table td:first-child { font-weight: 600; margin-bottom: 4px; }
}

/* Extra-small phones */
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .page-hero h1 { font-size: 30px; }
  .did-card { padding: 20px; }
  .did-card .number { font-size: 22px; }
  .section-head h2 { font-size: 26px; }
  .final-cta h2 { font-size: 22px; }
}

/* ---------- Request-access form ---------- */
.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 500; }
.form-field .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--slate); margin-top: -6px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { font-size: 13.5px; }
.form-status.err { color: var(--red); }
