/* Pathways website. Colors match the app's IEP report: navy + warm gold. */
:root {
  --bg: #fbfaf7;
  --band: #f3f0e8;
  --surface: #ffffff;
  --text: #1c2230;
  --muted: #555e6e;
  --border: #e2ddd0;
  --navy: #1f3a68;
  --navy-dark: #152a4d;
  --gold: #8a6420;
  --gold-soft: #e9c46a;
  --mark: #fff1c2;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.2; margin: 0 0 0.5em; color: var(--navy-dark); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
mark { background: var(--mark); padding: 0 4px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; scroll-margin-top: 70px; }
.band { background: var(--band); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.draft-banner { background: var(--mark); color: #5a4300; text-align: center; font-size: 0.85rem; font-weight: 600; padding: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 247, 0.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.logo small { font-weight: 500; color: var(--muted); font-size: 0.85rem; letter-spacing: 0; margin-left: 4px; }
.nav { list-style: none; display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn):hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--navy); }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--surface); color: var(--navy-dark); }
.btn-small { padding: 8px 16px; color: #fff !important; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }

/* Text helpers */
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.fine { font-size: 0.9rem; color: var(--muted); }
.note { margin-top: 28px; padding: 16px 20px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }

/* Hero */
.hero { padding-top: 56px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }

/* Screenshots */
.shot { margin: 0; }
.shot img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(21, 42, 77, 0.12); background: #fff; }
.shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.shot-wide { max-width: 760px; margin: 48px auto 0; }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.2em; margin: 0; }
.card li { margin-bottom: 8px; }

/* Day steps */
.day { list-style: none; padding: 0; margin: 32px 0 48px; display: grid; gap: 18px; }
.day li { display: flex; gap: 18px; align-items: flex-start; }
.day h3 { margin-bottom: 4px; }
.day p { margin: 0; color: var(--muted); }
.step { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.split-text { align-items: center; margin-top: 24px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 14px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8rem; display: grid; place-items: center; margin-top: 3px; }

/* Pilot */
.pilot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.pilot dl { margin: 0 0 24px; display: grid; gap: 14px; }
.pilot dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.pilot dt { font-weight: 700; color: var(--navy-dark); }
.pilot dd { margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.photo { aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 2px dashed var(--border); display: grid; place-items: center; text-align: center; color: var(--muted); font-weight: 600; }
.byline { font-weight: 600; color: var(--navy); }

/* Contact */
.contact { text-align: center; }
.contact .section-lead { margin-left: auto; margin-right: auto; }
.contact-box { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 28px; font-size: 1.15rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #e6e9f0; padding: 40px 0; }
.site-footer .fine { color: #b9c1d1; }

/* Phones and tablets */
@media (max-width: 860px) {
  section { padding: 52px 0; }
  .hero-grid, .split, .about { grid-template-columns: 1fr; }
  .cards.three, .cards.two { grid-template-columns: 1fr; }
  .about .photo { width: 200px; margin: 0 auto; }
  .pilot dl div { grid-template-columns: 1fr; gap: 4px; }
  .nav { gap: 14px; }
  .nav li:not(:last-child) { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .logo small { display: none; }
}

/* Interactive goal chart */
.goal-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 40px; }
.goal-chart h3 { margin-bottom: 4px; }
.tag { font: 700 0.7rem Inter, sans-serif; background: #f3e6c8; color: #6b4d14; padding: 2px 8px; border-radius: 6px; vertical-align: middle; }
.gc-svg { width: 100%; height: auto; display: block; margin: 12px 0 8px; overflow: visible; }
.gc-grid { stroke: #e7e3d8; stroke-width: 1; }
.gc-axis { fill: var(--muted); font: 500 13px Inter, sans-serif; }
.gc-target { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 5; }
.gc-target-label { fill: var(--gold); font: 600 13px Inter, sans-serif; }
.gc-line { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.gc-cross { stroke: #b9b3a5; stroke-width: 1; }
.gc-dot { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.gc-ring { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.gc-hit { fill: transparent; cursor: pointer; }
.gc-pt:focus { outline: none; }
.gc-pt:focus-visible .gc-dot, .gc-pt.active .gc-dot { r: 8; }
.gc-pt:focus-visible .gc-hit { stroke: var(--gold); stroke-width: 2; }
.gc-note { min-height: 84px; background: var(--band); border-radius: 10px; padding: 14px 18px; }
.gc-note p { margin: 4px 0 0; color: var(--text); }
.gc-met { display: inline-block; margin-left: 8px; font-size: 0.8rem; font-weight: 600; color: #1d5e2e; background: #e2f2e6; padding: 1px 8px; border-radius: 999px; }
.gc-table { margin: 14px 0 8px; }
.gc-table summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.gc-table table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.92rem; }
.gc-table th, .gc-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
@media (max-width: 600px) { .goal-chart { padding: 16px; } .gc-axis, .gc-target-label { font-size: 22px; } .gc-line { stroke-width: 3.5; } }
