:root {
  --pine: #103d31;
  --pine-dark: #092c24;
  --ivory: #fff8e7;
  --paper: #fffdf9;
  --coral: #f26a4f;
  --coral-dark: #c94430;
  --blue: #2f55d4;
  --ink: #171717;
  --muted: #68645f;
  --line: #ded9ce;
  --white: #ffffff;
  --danger: #a7322a;
  --content: 1180px;
  --reading: 760px;
  --shadow: 0 16px 45px rgba(16, 61, 49, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.legal-page .site-header,
.support-page .site-header {
  position: fixed;
  background: rgba(255, 253, 249, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--content));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  text-decoration: none;
}

.brand:hover {
  color: var(--pine);
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  display: flex;
  overflow: hidden;
  align-items: flex-start;
  background-color: var(--ivory);
  background-image: url("assets/crossroads-path.jpg");
  background-position: center 72%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding-top: clamp(132px, 18vh, 180px);
}

.hero-copy {
  max-width: 630px;
  margin-left: clamp(110px, 15vw, 220px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--pine);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(50px, 7vw, 94px);
  line-height: 0.98;
}

.hero-lead {
  max-width: 590px;
  margin: 0 0 32px;
  color: #393733;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--pine);
  border-radius: 4px;
  background: var(--pine);
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--coral-dark);
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.button.secondary {
  background: rgba(255, 253, 249, 0.84);
  color: var(--pine);
}

.button.secondary:hover {
  background: var(--white);
  color: var(--coral-dark);
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.section {
  padding: 104px 0;
}

.section-ivory {
  background: var(--ivory);
}

.section-pine {
  background: var(--pine);
  color: var(--ivory);
}

.section-pine h2,
.section-pine h3,
.section-pine .eyebrow {
  color: var(--ivory);
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.section h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-pine .section-intro {
  color: #d7e0d9;
}

.feature-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.feature-line {
  min-height: 240px;
  padding: 32px 34px 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-line + .feature-line {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 42px;
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.feature-line h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
}

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

.decision-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.decision-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--pine-dark);
  box-shadow: var(--shadow);
}

.decision-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 400ms ease;
}

.decision-card:hover img {
  transform: scale(1.025);
}

.decision-card figcaption {
  min-height: 100px;
  padding: 20px 22px;
  color: var(--ivory);
}

.decision-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 600;
}

.decision-card span {
  color: #cedbd4;
  font-size: 14px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: start;
}

.trust-list {
  border-top: 1px solid rgba(255, 248, 231, 0.28);
}

.trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 248, 231, 0.28);
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--coral);
}

.trust-item h3 {
  margin-bottom: 5px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 750;
}

.trust-item p {
  margin: 0;
  color: #cdd8d2;
  font-size: 15px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  max-width: 710px;
  margin: 0;
}

.page-hero {
  padding: 154px 0 74px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.page-hero .container,
.legal-layout,
.support-layout {
  max-width: 1040px;
}

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
}

.page-hero p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: var(--pine);
  font-size: 14px;
  font-weight: 700;
}

.support-main,
.legal-main {
  padding: 72px 0 104px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 70px;
}

.support-section + .support-section {
  margin-top: 64px;
}

.support-section h2,
.legal-article h2 {
  margin-bottom: 20px;
  font-size: 31px;
  line-height: 1.2;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-link {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.quick-link:hover {
  border-color: var(--coral);
  background: var(--ivory);
  color: var(--ink);
}

.quick-link svg {
  width: 24px;
  height: 24px;
  color: var(--coral-dark);
}

.quick-link strong {
  font-size: 15px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 46px 22px 0;
  cursor: pointer;
  font-weight: 730;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 4px;
  color: var(--coral-dark);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 650px;
  padding: 0 36px 22px 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0 0 12px;
}

.support-aside {
  position: sticky;
  top: 106px;
  align-self: start;
  padding: 26px;
  border-top: 4px solid var(--coral);
  background: var(--pine);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.support-aside h2 {
  color: var(--ivory);
  font-size: 28px;
}

.support-aside p {
  color: #d6e0da;
}

.support-aside .button {
  width: 100%;
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--pine);
}

.support-aside .button:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, var(--reading));
  gap: 70px;
  align-items: start;
}

.contents {
  position: sticky;
  top: 106px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}

.contents strong {
  display: block;
  margin-bottom: 12px;
  color: var(--pine);
  font-size: 13px;
  text-transform: uppercase;
}

.contents a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.contents a:hover {
  color: var(--coral-dark);
}

.legal-article section {
  scroll-margin-top: 110px;
}

.legal-article section + section {
  margin-top: 58px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.legal-article h3 {
  margin: 28px 0 10px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 760;
}

.legal-article p,
.legal-article li {
  color: #3f3c38;
}

.legal-article ul,
.legal-article ol {
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 10px;
}

.legal-note {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--coral);
  background: var(--ivory);
}

.legal-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pine);
}

.data-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
}

.data-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  background: var(--ivory);
  color: var(--pine);
  font-size: 13px;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.steps {
  margin: 28px 0 42px;
  counter-reset: deletion-step;
}

.step {
  position: relative;
  padding: 0 0 34px 68px;
  counter-increment: deletion-step;
}

.step::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pine);
  border-radius: 50%;
  color: var(--pine);
  content: counter(deletion-step);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 44px;
  bottom: 2px;
  left: 21px;
  width: 1px;
  background: var(--line);
  content: "";
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
}

.site-footer {
  padding: 54px 0 28px;
  background: #0b2e25;
  color: #d8e1dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(2, minmax(150px, 0.7fr));
  gap: 52px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 410px;
}

.footer-brand .brand {
  margin-bottom: 14px;
  color: var(--ivory);
}

.footer-brand p {
  margin: 0;
  color: #b9cac1;
}

.footer-group strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ivory);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-group a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #d8e1dc;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--coral);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #9fb3a9;
  font-size: 13px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    height: calc(100vh - 76px);
    padding: 34px 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .nav-links a::after {
    display: none;
  }

  .feature-lines,
  .decision-gallery {
    grid-template-columns: 1fr;
  }

  .feature-line,
  .feature-line + .feature-line {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
  }

  .feature-number {
    margin-bottom: 20px;
  }

  .decision-gallery {
    max-width: 540px;
    margin: 0 auto;
  }

  .trust-layout,
  .support-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .support-aside,
  .contents {
    position: static;
  }

  .contents {
    display: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .nav-shell,
  .container,
  .hero-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .nav-shell {
    height: 68px;
  }

  .nav-links {
    top: 68px;
    height: calc(100vh - 68px);
  }

  .hero {
    min-height: 780px;
    background-position: 51% bottom;
    background-size: auto 100%;
  }

  .hero-inner {
    padding-top: 118px;
  }

  .hero-copy {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .hero-lead {
    max-width: 330px;
    font-size: 17px;
  }

  .button-row .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section h2 {
    font-size: 36px;
  }

  .trust-layout {
    gap: 34px;
  }

  .cta-band,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 126px 0 58px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .support-main,
  .legal-main {
    padding: 54px 0 76px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .quick-link {
    min-height: 104px;
  }

  .legal-article section + section {
    margin-top: 44px;
    padding-top: 40px;
  }

  .step {
    padding-left: 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
