/* DirectRoute Voice — marketing site */

:root {
  --bg: #0B0F16;
  --surface: #141B26;
  --accent: #2CE6A5;
  --error: #FF5470;
  --text: #F1F5F9;
  --muted: #8A97AB;
  --border: rgba(138, 151, 171, 0.18);
  --radius: 12px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Epilogue", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: 5rem;
}

.section-label {
  display: inline-block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 2rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.wordmark {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark-accent {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Hero */

.hero {
  padding: 5rem 0 4rem;
}

.hero-inner {
  max-width: 40rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 1.25rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #24c98f;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  background: var(--surface);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(44, 230, 165, 0.12);
  color: var(--accent);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Promise */

.promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.promise-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.promise-footer {
  margin-top: 1.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
}

/* Rates table */

.rates-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.rates-table th,
.rates-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.rates-table th {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rates-table tr:last-child td {
  border-bottom: none;
}

.rates-table td:last-child {
  text-align: right;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.rates-caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
}

.faq-list summary {
  padding: 1rem 1.25rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  margin: 0;
}

/* Support */

.support-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.support-block a {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

/* Legal pages */

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.legal-page ul {
  color: var(--muted);
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.emergency-box {
  background: rgba(255, 84, 112, 0.08);
  border: 2px solid var(--error);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.emergency-box h2 {
  color: var(--error);
  margin-top: 0;
}

.emergency-box p {
  color: var(--text);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.75rem 1.25rem;
  }

  .site-header .container {
    position: relative;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
