/* roamdriving.com: ROAM's home on the web. Light, clean and readable (Ryan, 2026-10-16): Inter for
   everything, the ROAM logo as the only display type, black buttons, the app's status colors as
   small accents. */

@font-face { font-family: 'Inter'; src: url('/fonts/Inter_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/Inter_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --text: #18181b;
  --text-2: #52525b;
  --text-3: #8a8a93;
  --page: #ffffff;
  --tint: #f6f6f7;
  --border: #e4e4e7;
  --gold: #c6ac62;
  --green: #3dab00;
  --pink: #e83384;
  --blue: #2e6bff;
  --orange: #e85a2a;
  --max: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  background: var(--page);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 17px/1.65 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 0 0 20px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 16px; }
h3 { font-size: 20px; letter-spacing: -0.01em; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }

/* ─── Buttons ─────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 'Inter', sans-serif; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.button.dark { background: var(--ink); color: #fff; }
.button.light { background: #fff; color: var(--ink); border-color: var(--border); }
.button.soon { background: var(--ink); color: #fff; cursor: default; }
.button.soon small { font-weight: 500; opacity: 0.7; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* ─── Header ──────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand img { height: 20px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text-2); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
.nav .button { min-height: 40px; padding: 0 18px; font-size: 14px; color: #fff; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; padding: 8px 0; }
.menu summary::-webkit-details-marker { display: none; }

/* ─── Sections ────────────────────────────────────────── */
section { padding: 96px 0; }
.tinted { background: var(--tint); }
.rule { border-top: 1px solid var(--border); }

.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .lead { max-width: 520px; margin-bottom: 28px; }
.phones { position: relative; height: 620px; }
.phones .phone { position: absolute; width: 250px; }
.phones .phone:first-child { left: 6%; top: 0; z-index: 2; }
.phones .phone:last-child { right: 6%; top: 64px; }

.phone { border-radius: 38px; border: 8px solid #111; background: #111; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18); }
.phone img { width: 100%; }

.page-hero { padding: 80px 0 56px; }
.page-hero .lead { max-width: 640px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.numbers div { padding: 28px 16px; text-align: center; }
.numbers div + div { border-left: 1px solid var(--border); }
.numbers strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.numbers span { color: var(--text-2); font-size: 15px; }

/* Feature rows: screenshot beside text, alternating */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature .phone { width: 270px; justify-self: center; }
.feature.flip .phone { order: 2; }
.feature ul { padding-left: 20px; color: var(--text-2); }
.feature li { margin-bottom: 6px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.five { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-size: 32px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); vertical-align: middle; margin-right: 8px; }
.dot.gold { background: var(--gold); }
.dot.orange { background: var(--orange); }
.dot.green { background: var(--green); }
.dot.pink { background: var(--pink); }
.dot.blue { background: var(--blue); }

.coverage { margin-top: 40px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); padding: 24px; }
.coverage figcaption { color: var(--text-3); font-size: 14px; text-align: center; margin-top: 12px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.plan.pass { background: var(--ink); color: #e4e4e7; border-color: var(--ink); }
.plan.pass h3, .plan.pass .price { color: #fff; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 8px 0 4px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--text-3); }
.plan.pass .price small { color: #a1a1aa; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; }
.plan li { padding: 10px 0 10px 30px; border-top: 1px solid var(--border); position: relative; }
.plan.pass li { border-color: #2a2a2e; }
.plan li::before { content: '✓'; position: absolute; left: 4px; font-weight: 700; color: var(--green); }
.plan li.no::before { content: '–'; color: var(--text-3); }
.fine { font-size: 14px; color: var(--text-3); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: 22px; margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 18px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--text-3); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 20px; color: var(--text-2); }

/* Forms */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 'Inter', sans-serif; color: var(--text);
  padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--text-3); }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.error { color: #d92d20; }
.notify { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.notify input { flex: 1; font: 400 16px/1.4 'Inter', sans-serif; padding: 13px 16px; border: 1px solid var(--border); border-radius: 999px; }

/* Road directory */
.states-index { display: flex; flex-wrap: wrap; gap: 8px; }
.states-index a { text-decoration: none; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; }
.states-index a:hover { border-color: var(--ink); }
.road-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.road-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.road-list .name { font-weight: 600; color: var(--ink); }
.road-list .where { color: var(--text-2); font-size: 15px; }
.road-list .len { color: var(--text-3); font-size: 15px; text-align: right; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-2); }
.tag.top-rated { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tag.rally { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Call to action band */
.cta { background: var(--ink); color: #d4d4d8; border-radius: 28px; padding: 64px 32px; text-align: center; }
.cta h2 { color: #fff; }
.cta .lead { color: #a1a1aa; }
.cta .notify input { border-color: #2a2a2e; background: #161618; color: #fff; }
.cta .button.light { border-color: #fff; }

/* Text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p, .prose li { color: var(--text-2); }
.prose .meta { color: var(--text-3); font-size: 15px; }

/* ─── Footer ──────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 48px; background: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand img { height: 18px; margin-bottom: 14px; }
.site-footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--text-3); font-size: 14px; }

/* ─── Smaller screens ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .phones { height: 520px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phones .phone { width: 230px; }
  .feature { gap: 40px; text-align: center; }
  .feature ul { text-align: left; display: inline-block; }
  .feature.flip .phone { order: 0; }
  .grid.three, .grid.five { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu nav { position: absolute; right: 0; top: 44px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 8px; min-width: 220px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); display: grid; }
  .menu nav a { text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
  .menu nav a:hover { background: var(--tint); }
}

@media (max-width: 620px) {
  section { padding: 72px 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers div:nth-child(3) { border-left: 0; }
  .numbers div:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .grid.two, .grid.three, .grid.five, .plans { grid-template-columns: 1fr; }
  .phones { height: 440px; }
  .phones .phone { width: 190px; border-width: 6px; border-radius: 30px; }
  .phones .phone:first-child { left: 2%; }
  .phones .phone:last-child { right: 2%; top: 44px; }
  .feature .phone { width: 250px; }
  .notify { flex-direction: column; }
  .road-list li { grid-template-columns: 1fr; }
  .road-list .len { text-align: left; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
}

/* Road rows: name and length on the first line, region under it, then the tags. */
.road-list .where { grid-column: 1 / -1; }
.notify { flex-wrap: wrap; }
.notify .form-status { flex-basis: 100%; margin: 4px 0 0; }
.cta .form-status { color: #d4d4d8; }
.cta a { color: #fff; }
