:root {
  --background: #0e1714;
  --surface: #16231f;
  --surface-2: #1d2d27;
  --text: #f5f7f2;
  --muted: #b6c1ba;
  --accent: #9ee35f;
  --accent-dark: #111a16;
  --warning: #f4d06f;
  --border: rgba(255, 255, 255, 0.14);
  --border-dark: rgba(14, 23, 20, 0.2);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible,
summary:focus-visible,
.table-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 82px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 23, 20, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header-inner { min-height: 72px; }

.brand {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-decoration: none;
}

nav,
.footer-inner div { display: flex; flex-wrap: wrap; gap: 22px; }
nav a { color: var(--muted); font-size: 0.82rem; font-weight: 700; text-decoration: none; }

.proposal-notice {
  border-bottom: 1px solid rgba(14, 23, 20, 0.25);
  background: var(--warning);
  color: var(--accent-dark);
}

.proposal-notice-inner { display: flex; align-items: center; gap: 16px; padding-block: 13px; }
.proposal-notice p { margin: 0; font-size: 0.93rem; }

.status-badge {
  display: inline-block;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--accent-dark);
  background: var(--accent);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-badge-dark { background: var(--accent-dark); color: var(--accent); }
.hero { padding-block: clamp(88px, 13vw, 156px); }

.eyebrow,
.section-label,
.offer-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1060px;
  margin: 20px 0 34px;
  font-size: clamp(3.2rem, 8.3vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero h1 span { color: var(--accent); }
.intro { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.button {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 12px 20px;
  font-weight: 780;
  text-decoration: none;
}

.button-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-dark); }
.button:hover { border-color: var(--accent); }
.button-primary:hover { border-color: var(--text); background: var(--text); color: var(--accent-dark); }

.facts { border-block: 1px solid var(--border); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { min-height: 124px; border-right: 1px solid var(--border); padding: 25px; }
.facts-grid div:first-child { border-left: 1px solid var(--border); }
.facts-grid strong,
.facts-grid span { display: block; }
.facts-grid strong { color: var(--accent); font-size: 1.7rem; }
.facts-grid span { margin-top: 4px; color: var(--muted); font-size: 0.85rem; }

.section { padding-block: clamp(72px, 10vw, 112px); }
.section-muted { background: var(--surface); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(48px, 8vw, 104px);
}

h2 {
  max-width: 820px;
  margin: 16px 0 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.body-copy { color: var(--muted); font-size: 1.08rem; }
.body-copy p:first-child { margin-top: 0; }
.body-copy a:not(.button),
.all-data a { color: var(--text); }

.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.model-card { min-height: 235px; border: 1px solid var(--border); padding: 30px; }

.model-window {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.model-card h3,
.offer-grid h3,
.license-grid h3,
.trust-grid h3 { margin: 20px 0 10px; font-size: 1.35rem; line-height: 1.2; }

.model-card p,
.offer-grid p,
.license-grid p,
.trust-grid p { margin: 0; color: var(--muted); }

.value-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; border: 1px solid var(--border); }
.value-line span { padding: 20px; border-right: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
.value-line span:last-child { border-right: 0; }
.value-line b { display: block; color: var(--text); }

.section-heading-row,
.trust-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 7vw, 92px);
}

.section-aside,
.trust-head > p { margin: 0; color: var(--muted); font-size: 1rem; }

.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  padding: 20px 22px;
  text-decoration: none;
}

.download-card:hover { border-color: var(--accent); background: var(--surface-2); }
.download-card strong,
.download-card small { display: block; }
.download-card small { margin-top: 2px; color: var(--muted); }
.download-card > span:last-child { color: var(--accent); font-size: 1.3rem; }
.all-data { margin: 28px 0 0; color: var(--muted); }

.tier-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }

.tier-card {
  display: flex;
  grid-column: span 2;
  min-height: 520px;
  flex-direction: column;
  border: 1px solid var(--border);
  padding: 26px;
}

.tier-card:nth-child(4) { grid-column: 2 / span 2; }

.tier-card-featured {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-dark);
}

.tier-card-featured .tier-summary,
.tier-card-featured li,
.tier-card-featured .tier-topline { color: #26342d; }
.tier-card-featured li { border-color: rgba(14, 23, 20, 0.18); }
.tier-card-featured .text-link { color: var(--accent-dark); }

.tier-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.tier-card h3 { margin: 28px 0 4px; font-size: 1.7rem; }
.price { margin: 0 0 20px; font-size: 1.3rem; font-weight: 850; }
.price small { font-size: 0.78rem; font-weight: 650; }
.tier-summary { min-height: 82px; margin: 0; color: var(--muted); }
.tier-card ul { margin: 24px 0 30px; padding: 0; list-style: none; }

.tier-card li {
  border-top: 1px solid var(--border);
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tier-card li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.tier-card-featured li::before { color: var(--accent-dark); }
.text-link { margin-top: auto; color: var(--accent); font-weight: 800; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.offer-grid article { border-top: 3px solid var(--accent); background: var(--surface); padding: 26px; }
.offer-grid h3 { margin-top: 12px; }

.table-scroll { margin-top: 48px; overflow-x: auto; border: 1px solid var(--border); }
table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 0.86rem; }
caption { padding: 16px 18px; color: var(--muted); text-align: left; }

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

th:last-child,
td:last-child { border-right: 0; }
thead th { background: var(--surface-2); color: var(--text); }
tbody th { min-width: 140px; color: var(--accent); }
tbody td { color: var(--muted); }
.table-note { margin: 18px 0 0; color: var(--muted); font-size: 0.82rem; }

.license-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 58px;
  background: var(--border);
  border: 1px solid var(--border);
}

.license-grid article { min-height: 270px; background: var(--background); padding: 25px; }
.license-grid span { color: var(--accent); font-size: 0.75rem; font-weight: 800; }
.license-grid h3 { margin-top: 42px; font-size: 1.15rem; }
.license-grid p { font-size: 0.87rem; }

.section-accent { background: var(--accent); color: var(--accent-dark); }
.section-accent .section-label,
.section-accent .trust-head > p,
.section-accent .trust-grid p { color: var(--accent-dark); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}

.trust-grid article { min-height: 190px; background: var(--accent); padding: 26px; }
.trust-grid h3 { margin-top: 0; }

.faq-list { max-width: 900px; margin-top: 48px; border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
summary { cursor: pointer; font-size: 1.12rem; font-weight: 760; }
details p { max-width: 760px; margin: 14px 0 0; color: var(--muted); }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  margin-top: 72px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(28px, 5vw, 54px);
}

.contact-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.contact-panel p:last-child { max-width: 690px; margin-bottom: 0; color: var(--muted); }

footer { padding-block: 36px; }
.footer-inner { color: var(--muted); font-size: 0.88rem; }
.footer-inner p { margin: 0; }

@media (max-width: 980px) {
  .tier-card,
  .tier-card:nth-child(4) { grid-column: span 3; }
  .tier-card:last-child { grid-column: 2 / span 4; }
  .license-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section[id] { scroll-margin-top: 150px; }

  .header-inner,
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .header-inner { padding-block: 16px; }
  nav,
  .footer-inner div { gap: 13px 18px; }
  .proposal-notice-inner { align-items: flex-start; }

  .model-grid,
  .value-line,
  .split,
  .section-heading-row,
  .download-grid,
  .offer-grid,
  .trust-head,
  .contact-panel { grid-template-columns: 1fr; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div,
  .facts-grid div:first-child { border: 0; border-bottom: 1px solid var(--border); }
  .facts-grid div:nth-child(odd) { border-right: 1px solid var(--border); }
  .value-line span { border-right: 0; border-bottom: 1px solid var(--border); }
  .value-line span:last-child { border-bottom: 0; }

  .tier-grid,
  .license-grid,
  .trust-grid { grid-template-columns: 1fr; }

  .tier-card,
  .tier-card:nth-child(4),
  .tier-card:last-child { grid-column: auto; min-height: auto; }
  .tier-summary { min-height: auto; }
  .license-grid article,
  .trust-grid article { min-height: auto; }
  .license-grid h3 { margin-top: 22px; }
  .contact-panel { align-items: start; }
  .contact-panel .button { justify-self: start; }
}

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