:root {
  color-scheme: light;
  --forest: #7a4d20;
  --forest-deep: #553313;
  --forest-soft: #f3dfc1;
  --gold: #8a5a12;
  --gold-soft: #f7e5bd;
  --ink: #2f2118;
  --muted: #695c50;
  --line: #e4d5c2;
  --paper: #faf4ea;
  --surface: #fffdf9;
  --surface-soft: #f7ecdc;
  --shadow: 0 22px 60px rgba(85, 51, 19, 0.13);
  --shadow-soft: 0 10px 30px rgba(85, 51, 19, 0.08);
  --radius-lg: 30px;
  --radius-md: 20px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% -10%, rgba(249, 235, 213, 0.98), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(242, 194, 103, 0.22), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
summary:focus-visible {
  border-radius: 6px;
  outline: 4px solid rgba(208, 145, 52, 0.38);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--forest-deep);
  color: #fff;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(85, 51, 19, 0.12);
  background: rgba(250, 244, 234, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.page-shell,
.hero,
.trust-strip {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--forest-soft);
  color: var(--forest-deep);
}

.hero {
  padding-block: clamp(72px, 10vw, 132px) 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 6.3vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.27rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-highlights li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--forest);
  box-shadow: 0 12px 24px rgba(85, 51, 19, 0.2);
  color: #fff;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--forest-deep);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(145, 98, 45, 0.24);
  border-radius: 38px;
  background:
    radial-gradient(circle at 52% 12%, rgba(255, 247, 204, 0.92), transparent 34%),
    linear-gradient(145deg, #fffaf1 8%, #f0d4a4 100%);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(145, 98, 45, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(208, 145, 52, 0.1), 0 0 0 84px rgba(208, 145, 52, 0.05);
  content: "";
}

.hero-card img {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  object-fit: contain;
}

.hero-card blockquote {
  position: relative;
  z-index: 1;
  margin: 48px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.35;
}

.hero-card cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--gold);
  font-family: ui-sans-serif, sans-serif;
  font-size: 0.83rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.features,
.download {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.features {
  padding-block: 20px 100px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 15px;
  background: var(--forest-soft);
  color: var(--forest-deep);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.download {
  padding-bottom: 100px;
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 42px);
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 0%, rgba(208, 145, 52, 0.22), transparent 24rem),
    var(--forest-deep);
  box-shadow: var(--shadow);
  color: #fff;
}

.download-panel img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.download-kicker {
  margin: 0 0 7px;
  color: #f2c267;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.download-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.download-copy > p:last-child {
  max-width: 570px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.6;
}

.button-download {
  border-color: #f2c267;
  background: #f2c267;
  color: var(--forest-deep);
  cursor: default;
  white-space: nowrap;
}

.button-download:hover {
  transform: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.trust-item {
  padding: 30px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 14px;
  background: var(--forest-soft);
  color: var(--forest-deep);
  font-size: 1.2rem;
  font-weight: 800;
}

.trust-item h2 {
  margin: 0 0 7px;
  font-size: 1.18rem;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-hero {
  padding-block: 64px 50px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .page-shell {
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 22px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.91rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 760px);
  justify-content: center;
  gap: clamp(44px, 8vw, 92px);
  padding-block: 62px 110px;
}

.table-of-contents {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.table-of-contents strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.83rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.table-of-contents ol {
  margin: 0;
  padding-left: 22px;
}

.table-of-contents li {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.table-of-contents a {
  color: inherit;
  text-decoration: none;
}

.table-of-contents a:hover {
  color: var(--forest-deep);
  text-decoration: underline;
}

.legal-copy {
  min-width: 0;
}

.summary-card {
  margin-bottom: 52px;
  padding: 28px 30px;
  border: 1px solid rgba(122, 77, 32, 0.22);
  border-radius: var(--radius-md);
  background: var(--forest-soft);
}

.summary-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.summary-card ul {
  margin-bottom: 0;
}

.legal-copy section {
  padding-block: 10px 38px;
  border-bottom: 1px solid var(--line);
}

.legal-copy section + section {
  padding-top: 42px;
}

.legal-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(1.62rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal-copy h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
}

.legal-copy p,
.legal-copy li {
  color: #584a3e;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 1.35em;
}

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

.data-table {
  width: 100%;
  margin: 25px 0;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-size: 0.9rem;
}

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

.data-table th {
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.callout {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: var(--gold-soft);
}

.callout p {
  margin: 0;
  color: #553313;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--forest-deep);
  color: #fff;
}

.contact-card h2,
.contact-card p,
.contact-card a {
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.footer-inner {
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.88rem;
}

.not-found {
  min-height: calc(100vh - 221px);
  display: grid;
  place-items: center;
  padding: 70px 20px;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(4.5rem, 14vw, 9rem);
  color: var(--forest);
}

.not-found h2 {
  margin: 12px 0 6px;
  font-size: 1.8rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-panel {
    grid-template-columns: auto 1fr;
  }

  .button-download {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hero-card {
    min-height: 350px;
  }

  .table-of-contents {
    position: static;
  }

  .table-of-contents ol {
    columns: 2;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .header-inner,
  .footer-inner,
  .page-shell,
  .hero,
  .trust-strip,
  .features,
  .download {
    width: min(calc(100% - 28px), var(--content));
  }

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

  .feature-card {
    padding: 25px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel img {
    width: 84px;
    height: 84px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .main-nav a {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-card {
    border-radius: 28px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .legal-hero {
    padding-block: 42px 38px;
  }

  .legal-layout {
    padding-block: 38px 76px;
  }

  .table-of-contents ol {
    columns: 1;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tr + tr {
    border-top: 1px solid var(--line);
  }

  .data-table td {
    padding: 15px 17px;
    border: 0;
  }

  .data-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--forest);
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .table-of-contents,
  .back-link,
  .skip-link {
    display: none;
  }

  .legal-hero {
    padding-top: 0;
  }

  .legal-layout {
    display: block;
    padding: 24px 0;
  }

  .page-shell {
    width: 100%;
  }

  .legal-copy section {
    break-inside: avoid;
  }
}
