/* Northline Access — ADA Care Plan landing page */

:root {
  --bg: #f7f1e8;
  --bg-elev: #fffbf6;
  --bg-alt: #efe7da;
  --ink: #1c1915;
  --muted: #3f3a33;
  --line: #c9bfae;
  --navy: #1b3a4b;
  --navy-hover: #102833;
  --forest: #1c4a32;
  --forest-hover: #143526;
  --rust: #8c3b12;
  --rust-hover: #6e2d0c;
  --error: #7a1f1f;
  --focus: #0b4f8a;
  --max: 68rem;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0.75rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--navy);
  color: #fff;
  text-decoration: underline;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow { width: min(100% - 2rem, 40rem); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.logo a {
  color: var(--navy);
  text-decoration: none;
}

.logo a:hover,
.logo a:focus-visible { text-decoration: underline; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

h2 { font-size: 1.85rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }

.lead, .section-lede {
  margin: 0 0 1.25rem;
  color: var(--ink);
  max-width: 46rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.1rem;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
}

.button-primary {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible { background: var(--forest-hover); border-color: var(--forest-hover); }

.button-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible { background: #e4edf1; }

.button-accent {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}

.button-accent:hover,
.button-accent:focus-visible { background: var(--rust-hover); border-color: var(--rust-hover); }

.hero-points {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.hero-points li { margin: 0.25rem 0; }

.hero-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
}

.card-title { font-size: 1.25rem; }

.hero-card p { margin: 0 0 0.85rem; }
.hero-card p:last-child { margin-bottom: 0; }

.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }

.table-scroll { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elev);
  font-size: 1.05rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 0.85rem 0.95rem;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 650;
}

.compare-table tbody th {
  background: var(--bg);
  color: var(--navy);
  font-weight: 650;
  width: 18%;
}

.include-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.include-grid li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem;
}

.include-grid p { margin: 0; }

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.plan {
  background: var(--bg-elev);
  border: 2px solid var(--line);
  padding: 1.4rem 1.4rem 1.2rem;
}

.plan-priority { border-color: var(--rust); }

.plan-kicker {
  margin: 0 0 0.35rem;
  color: var(--rust);
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-price { margin: 0 0 1rem; }
.amount {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 700;
}
.period { color: var(--muted); }

.plan ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.plan li { margin: 0.3rem 0; }
.plan .button { width: 100%; }

.field { margin-bottom: 1.15rem; }

label,
legend {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

fieldset {
  border: 0;
  margin: 0 0 1.15rem;
  padding: 0;
}

input[type="url"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.5rem 0.7rem;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input::placeholder { color: #5c564c; opacity: 1; }

.choices {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.4rem;
  font-weight: 500;
  cursor: pointer;
}

.choice input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--forest);
  flex-shrink: 0;
}

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

.error {
  margin: 0.35rem 0 0;
  color: var(--error);
  font-weight: 650;
}

.form-status {
  min-height: 1.5em;
  margin: 0.75rem 0 0;
  color: var(--forest);
  font-weight: 650;
}

.form-status.is-error { color: var(--error); }

.disclaimer-section {
  background: #ebe3d6;
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
}

.disclaimer-section p { margin: 0 0 0.85rem; }
.disclaimer-section p:last-child { margin-bottom: 0; }

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 0;
}

.footer-inner p { margin: 0 0 0.4rem; }
.footer-inner p:last-child { margin-bottom: 0; }

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 800px) {
  .hero-grid,
  .include-grid,
  .plan-grid { grid-template-columns: 1fr; }
  body { font-size: 1.0625rem; }
}
