:root {
  --paper: #f6f1ea;
  --paper-deep: #ece4d8;
  --ink: #1c1917;
  --navy: #1b2a4a;
  --rust: #9a4a2c;
  --rust-deep: #7d3b23;
  --sage: #5c6b5a;
  --line: #d4c8b8;
  --card: #fffaf4;
  --focus: #1b2a4a;
  --text-max: 45rem;
  --section-max: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

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

a:hover {
  color: var(--rust);
}

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

h1,
h2,
h3,
.wordmark {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  margin: 0.35rem 0 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.15rem);
  margin: 0 0 0.85rem;
}

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

p,
ul {
  margin: 0 0 1rem;
}

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

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

.section-lead {
  max-width: var(--text-max);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  min-height: 44px;
}

.brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.wordmark {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 550;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
}

.btn-primary {
  background: var(--rust);
  color: #fffaf4;
}

.btn-primary:hover {
  background: var(--rust-deep);
  color: #fffaf4;
}

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

.btn-secondary:hover {
  background: var(--navy);
  color: var(--paper);
}

.hero,
.section {
  padding: 3.4rem 0;
}

.hero {
  padding-top: 3.8rem;
}

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

.lead {
  font-size: 1.22rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1rem;
}

.fine-print {
  color: var(--sage);
  font-size: 1rem;
  max-width: 36rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-inner {
    gap: 1rem 1.5rem;
  }
}

.card,
.step,
.faq details,
.panel,
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
}

.card p:last-child,
.step p:last-child {
  margin-bottom: 0;
}

.card-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--rust);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.note {
  background: var(--paper-deep);
  margin-top: 0.25rem;
}

.limits {
  background: var(--navy);
  color: #f6f1ea;
}

.limits h2,
.limits .wrap-text {
  color: #f6f1ea;
}

.limits h2 {
  color: #f6f1ea;
}

.limits ul {
  margin: 1.1rem 0 0;
  padding-left: 1.15rem;
}

.limits li {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.who-area {
  color: var(--sage);
  font-weight: 600;
}

.tablist {
  display: none;
  gap: 0.5rem;
  margin: 1.1rem 0 1rem;
}

.js .tablist {
  display: flex;
  flex-wrap: wrap;
}

.tab {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--navy);
  color: var(--paper);
}

.js .panel[hidden] {
  display: none;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

label,
.consent {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

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

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 500;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-success {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--paper-deep);
  border-left: 4px solid var(--sage);
  border-radius: 8px;
}

.faq details {
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq details p {
  margin: 0.6rem 0 0;
}

.site-footer {
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
  color: var(--sage);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

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

.legal-name:empty {
  display: none;
}

.page-main {
  padding: 3rem 0 4rem;
}

.page-main ul {
  padding-left: 1.15rem;
}

.page-main li {
  margin-bottom: 0.55rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
