/* WAYYBILL public marketing pages — brand tokens aligned with legal.css */

:root {
  --bg: #f4f8fa;
  --surface: #ffffff;
  --border: #e3eaef;
  --text: #0a0a0a;
  --muted: #4c5a64;
  --faint: #7a8893;
  --accent: #00e5ff;
  --accent-ink: #0e7490;
  --ink: #04060a;
  --on-accent: #04060a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 0% -5%, rgba(0, 229, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 5%, rgba(14, 116, 144, 0.1), transparent 50%),
    linear-gradient(180deg, #eef6f9 0%, var(--bg) 38%, var(--bg) 100%);
  line-height: 1.65;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.site {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 4rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.75rem;
}

.brand {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.92rem;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-ink);
}

.hero {
  padding: 0.25rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.hero-brand {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.45rem, 3.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--text);
  max-width: 28ch;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  color: var(--on-accent);
  filter: brightness(0.97);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--accent-ink);
}

section {
  margin: 0 0 2.35rem;
}

section h2 {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

section p,
section li {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

section ul,
section ol {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
}

section li + li {
  margin-top: 0.4rem;
}

.scenarios {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .scenarios {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scenario {
  padding: 0.15rem 0;
}

.scenario h3 {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.scenario p {
  margin: 0;
  font-size: 0.95rem;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 0.9rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
}

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

.faq details p {
  margin: 0.65rem 0 0;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--faint);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-ink);
}

.footer p {
  margin: 0.3rem 0;
  color: var(--faint);
}
