/* Ready On Maps — mobile-first, system fonts only, no third-party requests */
:root {
  --navy: #12263a;
  --navy-2: #1b334d;
  --ink: #1c2430;
  --muted: #4d5968;
  --line: #d9d2c6;
  --paper: #f6f2ea;
  --cream: #fbf8f2;
  --white: #ffffff;
  --gold: #c9892e;
  --gold-dark: #8a5c16;
  --focus: #0b57d0;
  --danger-bg: #f4ead0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 38, 58, 0.06), 0 10px 28px rgba(18, 38, 58, 0.06);
  --max: 68rem;
  --header-h: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); }

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
}

.skip:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.logo img { width: 2rem; height: 2rem; }

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy-2);
  font-weight: 550;
}

.nav a:hover { color: var(--gold-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-2);
  color: var(--white);
}

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

.btn-ghost:hover { background: var(--white); color: var(--navy); }

.btn-pay {
  width: 100%;
  background: #ffc439;
  color: #003087;
  border-color: #f0b323;
  font-weight: 750;
}

.btn-pay:hover { background: #f0b323; color: #003087; }

.btn-small { padding: 0.55rem 0.95rem; font-size: 0.95rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
}

.menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.nav-panel[hidden] { display: none !important; }

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--line);
}

.nav-panel a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 0.55rem 0.2rem;
}

/* Hero */
.hero {
  padding: 2.75rem 0 3.25rem;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.85rem;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.35rem);
  margin: 0 0 1rem;
  max-width: 16ch;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sections */
section { padding: 3.25rem 0; }

.section-alt { background: var(--paper); }

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

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

.section-navy p,
.section-navy li { color: #d5dde6; }

.intro {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.intro p { margin: 0; color: var(--muted); }

/* Problem */
.problem-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.problem-grid .card h3 { font-size: 1.15rem; }

.problem-grid p { margin: 0; color: var(--muted); }

/* Packages */
.packages-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

.package {
  display: flex;
  flex-direction: column;
  position: relative;
}

.package.featured {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
}

.badge {
  position: absolute;
  top: -0.7rem;
  left: 1.1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.price {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.15rem 0 0.15rem;
}

.price span {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.turnaround {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.package ul {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.package li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.35rem;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.not-included {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 46rem; }

details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

details:first-of-type { border-top: 1px solid var(--line); }

summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
}

details[open] summary::after { content: "–"; }

details p {
  margin: 0.65rem 0 0.35rem;
  color: var(--muted);
}

/* Contact + Pay */
.two-col {
  display: grid;
  gap: 1.15rem;
}

.placeholder-note {
  background: var(--danger-bg);
  border: 1px dashed #b8892a;
  color: #5c430d;
  font-size: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  margin: 0 0 1rem;
}

.placeholder {
  display: inline-block;
  background: #fff6d8;
  border: 1px dashed #b8892a;
  color: #5c430d;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
  font-weight: 650;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  text-decoration: none;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li { margin: 0 0 0.55rem; }

.contact-list span.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-options { display: grid; gap: 0.85rem; }

.pay-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: var(--cream);
}

.pay-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }

.pay-item p { margin: 0 0 0.7rem; font-size: 0.92rem; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p { margin: 0 0 0.6rem; max-width: 46rem; }

@media (min-width: 720px) {
  .menu-toggle,
  .nav-panel { display: none !important; }

  .nav { display: flex; }

  .problem-grid { grid-template-columns: repeat(3, 1fr); }

  .packages-grid { grid-template-columns: repeat(3, 1fr); }

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

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

  .two-col { grid-template-columns: 1fr 1.2fr; align-items: start; }

  .hero { padding: 4.25rem 0 4.75rem; }

  section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Mobile nav (details/summary, no JavaScript) */
.mobile-nav {
  position: static;
}

.mobile-nav summary {
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker,
.mobile-nav summary::marker {
  display: none;
  content: "";
}

.mobile-nav summary::after { content: none; }

.mobile-nav .nav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 1rem 1rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header { position: sticky; }

@media (min-width: 720px) {
  .mobile-nav { display: none !important; }
}

/* Contact card sits on a navy band; do not inherit the light-on-dark colours. */
.section-navy .card,
.section-navy .card p,
.section-navy .card li,
.section-navy .card h3 {
  color: var(--ink);
}

.section-navy .card .placeholder-note,
.section-navy .card .placeholder {
  color: #5c430d;
}

.section-navy .card .label {
  color: var(--muted);
}

/* Keep the header Pay button clearly white on navy (including visited/hover). */
.nav a.btn-primary,
.nav a.btn-primary:hover,
.nav a.btn-primary:visited {
  color: #fff;
  min-width: 4.25rem;
  font-weight: 700;
}
