/* ============================================================
   Right Over Tech — shared styles
   Colors: indigo #312E81, cream #F4F1FF, gold #FFC857
   Built for older eyes, phones, and a kitchen-table read.

   CONTACT (single place to update when a real number exists)
   ----------------------------------------------------------
   Until a real line is live, every “call” path goes to
   /request.html. We do not publish a 555 placeholder as if
   it were a working number.
   When ready: search this file and all HTML for
   PHONE-PLACEHOLDER, then:
     • set --phone-href on :root
     • put the formatted number in .phone-number
     • change .call-cta href from /request.html to the tel:
   PHONE-PLACEHOLDER: (none yet) — “We’ll call you back.”
   ============================================================ */

:root {
  --navy: #312E81;
  --navy-deep: #1E1B4B;
  --navy-mid: #4338CA;
  --navy-soft: rgba(49, 46, 129, 0.10);
  --navy-line: rgba(49, 46, 129, 0.14);
  --indigo: #4F46E5;
  --section-navy: #3730A3;
  --cream: #F4F1FF;
  --cream-dark: #EAE6FA;
  --cream-darker: #DDD8F4;
  --gold: #FFC857;
  --gold-deep: #E0A83A;
  --gold-hover: #F5B942;
  --gold-soft: #FFE9B0;
  --gold-mist: #FFF4D6;
  --ink: #1E1B4B;
  --paper: #FFFCFF;
  --error: #8B2E1F;
  --focus: #FFC857;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-btn: 999px;
  --radius-lg: 24px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(30, 27, 75, 0.08);
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, 0.08), 0 8px 24px rgba(30, 27, 75, 0.08);
  --shadow-md: 0 1px 2px rgba(30, 27, 75, 0.08), 0 12px 40px rgba(30, 27, 75, 0.10);
  --shadow-lg: 0 1px 2px rgba(30, 27, 75, 0.10), 0 16px 48px rgba(30, 27, 75, 0.12);
  --shadow-lift: 0 4px 8px rgba(30, 27, 75, 0.08), 0 16px 36px rgba(30, 27, 75, 0.12);
  --max: 68rem;
  --measure: 40rem;
  --header-h: 4.5rem;
  --phone-href: /request.html; /* PHONE-PLACEHOLDER */
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Nunito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 110% 70% at 100% -10%, rgba(255, 200, 87, 0.22), transparent 52%),
    radial-gradient(ellipse 70% 45% at -8% 8%, rgba(79, 70, 229, 0.10), transparent 48%),
    var(--cream);
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-btn);
  min-height: 44px;
}

.skip:focus {
  top: 0.75rem;
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid var(--navy-line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  min-height: 48px;
}

.wordmark:hover {
  color: var(--navy);
}

.mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wordmark-name {
  font-family: Fredoka, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.wordmark-place {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:not(.btn) {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  padding: 0.5rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:not(.btn):hover {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: transparent;
  box-shadow: var(--shadow-xs);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: transparent;
  box-shadow: var(--shadow-xs);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy-line);
}

.btn-ghost:hover {
  background: var(--cream-dark);
  color: var(--navy);
  border-color: rgba(49, 46, 129, 0.28);
}

.btn-lg {
  min-height: 64px;
  padding: 1rem 1.85rem;
  font-size: 1.35rem;
}

.btn-block {
  width: 100%;
}

/* ----- Layout ----- */

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

main {
  display: block;
  flex: 1;
}

.section {
  padding: 4rem 0;
}

.section-navy {
  background: var(--section-navy);
  color: var(--cream);
}

.section-navy a {
  color: var(--gold-soft);
}

.section-navy a:hover {
  color: var(--gold);
}

.section-cream-dark {
  background: var(--cream-dark);
}

.kicker {
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.kicker::before {
  content: "";
  width: 1.35rem;
  height: 3px;
  background: var(--gold);
  border: 0;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.section-navy .kicker {
  color: var(--gold);
}

.section-navy .kicker::before {
  background: var(--gold);
}

h1, h2, h3 {
  font-family: Fredoka, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.section-navy h2,
.section-navy h3 {
  color: var(--cream);
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
}

h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.3rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.muted-note {
  font-size: 1.05rem;
  color: var(--navy-mid);
}

/* never tiny gray — navy-mid is still 4.5:1-ish on cream */

hr.rule {
  border: 0;
  height: 3px;
  width: 3.25rem;
  background: var(--gold);
  margin: 0 0 1.5rem;
  border-radius: var(--radius-pill);
}

/* ----- Hero ----- */

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

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.85rem;
}

.hero h1 .line {
  display: block;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.95rem;
  margin: 0 0 1rem;
  background: var(--gold-mist);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 200, 87, 0.55);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
  margin: 1.75rem 0 1rem;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.callback-line {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.35rem 0 0;
}

.callback-line span {
  display: inline;
  border-bottom: 3px solid var(--gold);
}

.hero-art {
  justify-self: center;
  width: min(100%, 380px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 0;
  background: var(--cream-dark);
  box-shadow: var(--shadow-lg);
}

.hero-art svg {
  width: 100%;
  height: auto;
}

/* ----- How it works ----- */

.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: stretch;
}

.step {
  background: var(--paper);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.45rem 1.6rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--navy-deep);
  font-family: Fredoka, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  margin: 0;
}

/* ----- Price ----- */

.price-card {
  background: var(--paper);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 2.1rem;
  max-width: 32rem;
  box-shadow: var(--shadow-md);
}

.price-card .amount {
  font-family: Fredoka, "Segoe UI", sans-serif;
  font-size: clamp(3.4rem, 10vw, 4.6rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.5rem;
}

.price-card .amount small {
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0;
  display: block;
  margin-top: 0.35rem;
  color: var(--navy-mid);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.checks li {
  position: relative;
  padding-left: 1.7rem;
  margin: 0 0 0.65rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--gold);
  border: 0;
  border-radius: var(--radius-pill);
}

/* ----- Help list ----- */

.help-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.help-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-xs);
}

.icon-blob {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
}

.help-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.help-item p {
  margin: 0;
  font-size: 1.05rem;
}

/* ----- Area ----- */

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

.towns li {
  background: var(--cream);
  color: var(--navy);
  border: 1px solid rgba(49, 46, 129, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.towns li.home {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.section-navy .towns li {
  background: rgba(244, 241, 255, 0.10);
  color: var(--cream);
  border-color: rgba(244, 241, 255, 0.28);
}

.section-navy .towns li.home {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.zip-note {
  margin-top: 1.35rem;
  font-size: 1.125rem;
  max-width: 36rem;
}

/* ----- Trust ----- */

.trust-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.trust-card {
  background: var(--paper);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.4rem 1.55rem;
  box-shadow: var(--shadow-xs);
}

.trust-card::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.3rem;
}

/* ----- Footer ----- */

.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3rem 0 2.25rem;
  margin-top: auto;
}

.site-footer a {
  color: var(--cream);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand {
  font-family: Fredoka, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--cream);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--navy-mid);
  font-size: 1rem;
  color: var(--gold-soft);
}

.legal p {
  margin: 0 0 0.4rem;
}

/* ----- Inner pages ----- */

.page-hero {
  padding: 2.75rem 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.35rem 1.85rem;
  margin: 1.5rem 0 3.5rem;
  box-shadow: var(--shadow-md);
  max-width: 38rem;
}

.form-note {
  background: var(--cream-dark);
  border: 1px solid var(--navy-line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.form-note p {
  margin: 0;
}

label {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}

.hint {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  color: var(--navy-mid);
}

.field {
  margin-bottom: 1.25rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(49, 46, 129, 0.28);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.38);
  outline: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks-panel {
  max-width: 36rem;
  margin: 1.5rem 0 4rem;
  background: var(--paper);
  border: 1px solid var(--navy-line);
  padding: 2.1rem 1.7rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.thanks-panel p:last-child {
  margin-bottom: 0;
}

/* ----- Desktop ----- */

@media (min-width: 720px) {
  body { font-size: 1.1875rem; }

  .header-inner,
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section { padding: 5rem 0; }

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

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .form-card {
    padding: 2.15rem 2.15rem 2.25rem;
  }

  .page-hero {
    padding-top: 3.5rem;
  }

  .nav .nav-hide-sm { display: inline-flex; }
}

@media (max-width: 719px) {
  .nav .nav-hide-sm { display: none; }

  .wordmark-name { font-size: 1.05rem; }

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

@media print {
  .site-header, .hero-art, .btn, .step, .price-card, .form-card, .thanks-panel, .help-item, .trust-card {
    box-shadow: none;
  }
  body { background: #fff; color: #000; }
}
