/* Liberty Deed. Colors from logo A: navy #0B2545, red #C8102E, white. */
:root {
  --navy: #0B2545;
  --red: #C8102E;
  --white: #FFFFFF;
  --ink: #0B2545;
  --muted: #29405C;
  --line: #C2C8D0;
  --wash: #F2F5F8;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 42rem;
  --wrap: 68rem;
  --radius: 2px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip:focus {
  top: 0.75rem;
}

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--navy);
  box-shadow: 0 3px 0 var(--red);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  display: block;
  height: 4.25rem;
  width: auto;
}

.nav-wrap {
  margin-left: auto;
}

.nav-wrap summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--navy);
  background: var(--white);
  min-height: 2.75rem;
}

.nav-wrap summary::-webkit-details-marker {
  display: none;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  padding: 0.5rem 0.4rem;
  color: var(--navy);
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--red);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  min-height: 2.75rem;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  color: var(--white);
  background: #A00D25;
  border-color: #A00D25;
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.header-cta {
  display: none;
}

@media (min-width: 48rem) {
  .logo-link img {
    height: 5.25rem;
  }

  .nav-wrap summary {
    display: none;
  }

  .nav-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem 1rem;
  }

  .site-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    gap: 0.15rem 0.2rem;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 0.5rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
  }
}

/* Hero and page titles */
.hero,
.page-hero {
  padding: 2rem 0 1.75rem;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lede,
.hero-sub {
  margin: 0 0 0.85rem;
  font-size: 1.125rem;
  max-width: var(--measure);
}

.hero-support {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: var(--measure);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
}

.text-link {
  font-weight: 700;
}

.disclaimer {
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: var(--wash);
  border-left: 4px solid var(--red);
  font-weight: 700;
  max-width: var(--measure);
}

/* Sections */
.section {
  padding: 2rem 0;
}

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

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.section h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.intro {
  margin: 0 0 1.25rem;
  max-width: var(--measure);
}

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

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1rem 1.15rem;
  border-top: 4px solid var(--navy);
}

.steps li h3 {
  counter-increment: step;
}

.steps li h3::before {
  content: counter(step) ". ";
  color: var(--red);
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.plain-list {
  margin: 0;
  padding-left: 1.25rem;
  max-width: var(--measure);
}

.plain-list li {
  margin: 0.35rem 0;
}

.reasons {
  display: grid;
  gap: 1rem;
  margin: 0;
}

@media (min-width: 40rem) {
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reasons article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
}

.reasons p {
  margin: 0;
}

/* Notice / Form B */
.notice {
  max-width: 48rem;
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border: 2px solid var(--navy);
  background: var(--white);
}

.notice p {
  margin: 0 0 0.75rem;
}

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

/* Forms */
.form-card {
  max-width: 38rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem 1.15rem 1.35rem;
}

.form-card h2 {
  margin-top: 0;
}

.field {
  margin: 0 0 1rem;
}

.field label,
.field .label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.hint {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
  min-height: 2.75rem;
}

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

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.35rem 0 0;
}

.choice-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  min-height: 2.5rem;
}

fieldset {
  border: 2px solid var(--navy);
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem 0.85rem;
  min-inline-size: 0;
}

legend {
  font-weight: 700;
  padding: 0 0.35rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.consent input {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.fine-print {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-privacy {
  margin: 0.65rem 0 0;
  font-weight: 700;
}

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

.error {
  color: var(--red);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.error[hidden] {
  display: none;
}

/* FAQ */
.faq {
  max-width: var(--measure);
}

.faq h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.35rem;
}

.faq h2:first-of-type {
  margin-top: 0.5rem;
}

.faq p {
  margin: 0 0 0.25rem;
}

/* Footer */
.buyer-footer-notice {
  background: var(--wash);
  padding: 1.25rem 0;
  border-top: 2px solid var(--navy);
}

.buyer-footer-notice .notice {
  margin: 0;
}

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

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

.site-footer a:hover {
  color: var(--white);
  text-decoration-thickness: 2px;
}

.footer-logo img {
  display: block;
  height: 5.5rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  font-weight: 700;
  text-decoration: none;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  text-decoration: underline;
}

.footer-legal p {
  margin: 0 0 0.75rem;
  max-width: 50rem;
  font-size: 0.98rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.entity-line,
.contact-line {
  font-weight: 700;
}

.contact-line {
  margin-top: 1rem !important;
}

/* Thank you */
.thanks {
  padding: 2.5rem 0 3rem;
  max-width: var(--measure);
}

.thanks h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
}
