/* Ryse Track — navy #0B1F3A + teal #00B8D9
   Wordmark is text (.wordmark). Swap that element for a logo image later. */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071526;
  --navy-soft: #153056;
  --teal: #00B8D9;
  --teal-dark: #0098B5;
  --teal-soft: #E6F8FB;
  --ink: #0B1F3A;
  --muted: #5B6B7C;
  --line: #D5DEE7;
  --paper: #F3F6F9;
  --white: #ffffff;
  --placeholder-bg: #FFF4CC;
  --placeholder-ink: #7A5200;
  --placeholder-line: #D4A017;
  --danger: #9B2C2C;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --header-h: 76px;
  --max: 1120px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; font-family: var(--font); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--white);
  min-height: var(--header-h);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  color: inherit;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
}
.wordmark-ryse { color: var(--white); }
.wordmark-track { color: var(--teal); }
.powered {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-top: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px 20px;
}
.nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 8px 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  padding: 12px 20px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-primary:hover { background: #19c6e4; color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(0,184,217,0.18), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,184,217,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,217,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 80% 40%, black 10%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; max-width: 800px; }
.hero .wrap.hero-wrap { max-width: var(--max); }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  max-width: 40rem;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.pill {
  border: 1px solid rgba(0,184,217,0.45);
  color: var(--teal);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Sections */
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .muted { color: rgba(255,255,255,0.7); }

/* Cards / grids */
.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-image {
  background: #fff;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  padding: 12px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.part {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.app-label { font-size: 0.92rem; color: var(--muted); margin: 0; }
.card h3 { margin: 0; }
.card .spec-list { margin: 6px 0 10px; padding: 0; list-style: none; font-size: 0.95rem; color: var(--muted); }
.card .spec-list li { padding: 3px 0 3px 1rem; position: relative; }
.card .spec-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0; top: 0.65em;
}
.price-block { margin-top: auto; padding-top: 12px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.price-row .label { color: var(--muted); }
.price {
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.price-placeholder,
.price.is-placeholder {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 700;
  color: var(--placeholder-ink);
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-line);
  padding: 0.05em 0.45em;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.price-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.card .btn { width: 100%; margin-top: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

/* Plans table */
.plan-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.plans {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
table.plans th, table.plans td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.plans th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
table.plans tr:last-child td { border-bottom: 0; }
table.plans tbody tr:hover { background: var(--teal-soft); }
.tag {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Forms */
form.stack { display: grid; gap: 14px; max-width: 640px; }
label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.95rem;
}
.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 640px;
}
.form-success.is-visible { display: block; }
form.is-hidden { display: none; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 40px 0 28px;
  font-size: 0.95rem;
}
.site-footer .wrap { display: grid; gap: 18px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer a { color: var(--teal); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  max-width: 70rem;
}

/* Page title band */
.page-band {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0 36px;
}
.page-band h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 8px; }
.page-band p { color: rgba(255,255,255,0.75); margin: 0; max-width: 40rem; }

.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.source-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 28px;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps, .split, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { display: block; width: 100%; padding: 12px 0; }
  .form-row, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 48px 0; }
  .site-header { position: relative; }
  .site-header .wrap { position: static; }
}


/* Hero lead features and coverage */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 22px;
  max-width: 1120px;
}
.hero-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,184,217,0.28);
  border-radius: 12px;
  padding: 16px 18px 18px;
}
.hero-feature h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.hero-feature p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.hero-coverage {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,21,38,0.45);
  max-width: 720px;
}
.hero-coverage p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}
.hero-coverage .proof {
  margin-top: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .hero-features { grid-template-columns: 1fr; margin-top: 24px; }
}

.order-total {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 640px;
}
.order-total .price-row:last-of-type {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
#cable-field[hidden], .order-total[hidden], #total-cable-row[hidden] { display: none; }

/* contacts, order choices, checkout notices */
.footer-contacts { margin: 12px 0 0; font-size: .95rem; }
.footer-contacts p { margin: 2px 0; }
.footer-contacts a { color: var(--teal); }
.footer-contacts .contact-who { opacity: .75; }
.page-contacts p { margin: 6px 0; }
.page-contacts .contact-who { color: var(--muted); }
.contact-cards h2 { font-family: var(--display); text-transform: uppercase; margin: 0 0 8px; }
fieldset.choice { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; max-width: 640px; background: var(--white); }
fieldset.choice[hidden] { display: none; }
fieldset.choice legend { font-weight: 600; padding: 0 6px; }
.choice-opt { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-weight: 400; }
.choice-opt input { width: auto; }
.choice-price { color: var(--muted); margin-left: 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; max-width: 640px; }
label.check[hidden] { display: none; }
label.check input { width: auto; margin-top: 4px; }
.test-banner { background: #FFF4CC; border: 1px solid #D4A017; color: #7A5200; border-radius: 10px; padding: 10px 14px; max-width: 640px; }
.test-banner[hidden] { display: none; }
