:root {
  color-scheme: light;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-muted: #F5F3EF;
  --ink: #1A1D23;
  --muted: #6B7280;
  --soft: #9CA3AF;
  --primary: #8B9D83;
  --primary-dark: #6B7D63;
  --accent: #D4756C;
  --accent-light: #F5E6E4;
  --gold: #D4AF37;
  --gold-light: #FDF6E3;
  --info: #2196F3;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(250, 250, 248, 0.94);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 128px);
  padding: 10vh 5vw 8vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 29, 35, 0.76), rgba(107, 125, 99, 0.46) 50%, rgba(139, 157, 131, 0.18)),
    linear-gradient(0deg, rgba(26, 29, 35, 0.52), rgba(26, 29, 35, 0.04) 48%);
}

.hero-content {
  max-width: 780px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #FDF6E3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.download-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

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

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.section,
.feature-grid,
.split-section,
.plans-section,
.download-section {
  padding: 88px 5vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  align-items: start;
  background: var(--surface);
}

.intro p:last-child,
.split-section p,
.download-section p {
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.plan-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card p,
.plan-card p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: rgba(139, 157, 131, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.feature-card:nth-child(2) .icon {
  color: #8B6B16;
  background: var(--gold-light);
}

.feature-card:nth-child(3) .icon {
  color: #A75048;
  background: var(--accent-light);
}

.feature-card:nth-child(4) .icon {
  color: #1B76C7;
  background: rgba(33, 150, 243, 0.12);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 52px;
  align-items: center;
  background: var(--surface-muted);
}

.stat-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-panel div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
}

.stat-panel strong {
  color: var(--primary);
  font-size: 46px;
  line-height: 1;
}

.stat-panel span {
  color: var(--muted);
  font-weight: 750;
}

.plans-section {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

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

.plan-card.featured {
  border-color: rgba(139, 157, 131, 0.48);
  box-shadow: var(--shadow);
}

.price {
  color: var(--primary-dark) !important;
  font-size: 20px;
  font-weight: 850;
}

.download-section {
  justify-content: space-between;
  background: var(--primary-dark);
  color: #fff;
}

.download-section div {
  max-width: 760px;
}

.download-section p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 28px;
  padding: 44px 5vw;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 750;
}

.site-footer a {
  text-decoration: none;
}

.footer-brand {
  margin-bottom: 12px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}

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

.document-main {
  padding: 56px 5vw 88px;
}

.legal-document {
  max-width: 1060px;
  margin: 0 auto;
}

.document-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.document-header h1 {
  color: var(--ink);
  font-size: clamp(44px, 7vw, 84px);
}

.document-header p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.meta-list div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.meta-list dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.legal-document section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.legal-document h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 36px);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document ul {
  padding-left: 22px;
}

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

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--ink);
  background: var(--surface-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .intro,
  .split-section,
  .plans,
  .site-footer,
  .meta-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: calc(100svh - 128px);
    padding-top: 14vh;
    padding-bottom: 7vh;
  }

  .hero-actions,
  .download-section {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .feature-grid,
  .split-section,
  .plans-section,
  .download-section {
    padding: 58px 5vw;
  }

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

  .stat-panel div {
    grid-template-columns: 64px 1fr;
    padding: 20px;
  }

  .stat-panel strong {
    font-size: 38px;
  }

  .document-main {
    padding-top: 34px;
  }

  table {
    min-width: 680px;
  }
}
