:root {
  color-scheme: light dark;
  --bg: #f7faf9;
  --ink: #17242a;
  --muted: #587078;
  --line: #d8e3e1;
  --panel: #ffffff;
  --blue: #2367a7;
  --green: #16836d;
  --slate: #24333a;
  --cta-bg: #24333a;
  --cta-ink: #ffffff;
  --cta-muted: #d9e7e6;
}

* { box-sizing: border-box; }

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.55;
}

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

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.94rem;
}

nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 800; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 66px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px) 42px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.legal-hero h1 {
  max-width: 900px;
}

.lede {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--muted);
}

.hero-image,
.section img {
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(23, 36, 42, 0.16);
  border-radius: 8px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 750;
}

.primary { color: white; background: var(--blue); }
.secondary { color: var(--slate); border: 1px solid var(--line); background: var(--panel); }

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 32px;
}

.grid {
  display: grid;
  gap: 16px;
}

.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.comparison-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.comparison-section > div {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

article,
.price-card,
details {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

article h3 { margin: 0 0 8px; }
article p { margin: 0; color: var(--muted); }

.technical-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.table-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr 1.25fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child { border-top: 0; }

.table-row span {
  padding: 16px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.table-row span:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 800;
}

.table-head {
  background: #eef6f5;
}

.table-head span {
  color: var(--ink);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.reverse { direction: rtl; }
.reverse > * { direction: ltr; }

.steps {
  padding-left: 22px;
  color: var(--muted);
}

.stacked-list {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.stacked-list h3 { margin-top: 0; }
.stacked-list li { margin-bottom: 10px; color: var(--muted); }

.references p {
  max-width: 900px;
  color: var(--muted);
}

.legal-page {
  max-width: 920px;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-page p {
  color: var(--muted);
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reference-links a {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.platform-band { background: #eef6f5; }

.pricing { text-align: center; }
.price-card { max-width: 560px; margin: 0 auto; }
.price { font-size: 2.5rem; font-weight: 850; margin: 0; color: var(--blue); }

.faq {
  display: grid;
  gap: 12px;
}

summary { cursor: pointer; font-weight: 760; }

.cta {
  text-align: center;
  background: var(--cta-bg);
  color: var(--cta-ink);
}

.cta p { color: var(--cta-muted); }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

@media (max-width: 900px) {
  nav { display: none; }
  .hero,
  .comparison-section,
  .overview,
  .split,
  .table-row,
  .three,
  .four {
    grid-template-columns: 1fr;
  }
  .table-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .table-row span:first-child { border-top: 0; }
  .table-head { display: none; }
  .hero { min-height: auto; }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101719;
    --ink: #edf5f3;
    --muted: #a9bebd;
    --line: #304349;
    --panel: #182326;
    --blue: #5aa6e8;
    --green: #58c7ad;
    --slate: #d9e7e6;
    --cta-bg: #1b2a2e;
    --cta-ink: #f7faf9;
    --cta-muted: #c2d4d2;
  }
  .platform-band { background: #122022; }
  .secondary { background: #182326; color: var(--ink); }
  .table-head { background: #122022; }
}
