:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --brand: #0f766e;
  --blue: #2359c4;
  --gold: #b7791f;
  --rose: #b42318;
  --soft: #e9f7f4;
  --soft-blue: #eaf1ff;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.08);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1118;
  --panel: #151b24;
  --ink: #f8fafc;
  --muted: #a7b0bd;
  --line: #2b3442;
  --brand: #2dd4bf;
  --blue: #7aa2ff;
  --gold: #f4c76f;
  --rose: #fca5a5;
  --soft: #0f2f2b;
  --soft-blue: #122238;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 32px));
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 8px;
  font: inherit;
  font-weight: 720;
}

.navlinks,
.actions,
.chip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.navlinks a,
.navlinks button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font: inherit;
}

.navlinks a:hover,
.navlinks button:hover {
  border-color: var(--brand);
}

.navlinks a.nav-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 720;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 720;
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}

.navlinks a:focus-visible,
.navlinks button:focus-visible,
.nav-toggle:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.hero {
  padding: 72px 0 42px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  margin: 12px 0 18px;
  max-width: 940px;
}

h2 {
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.08;
  margin: 0 0 14px;
}

h3 {
  font-size: 21px;
  margin: 0 0 10px;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  font-size: 20px;
  max-width: 800px;
}

section {
  padding: 44px 0;
}

.capsule {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.capsule strong {
  color: var(--ink);
}

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

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

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

.card,
.stage,
.flow-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3,
.stage h3,
.flow-box h3 {
  color: var(--ink);
}

.stage {
  position: relative;
}

.stage::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 800;
}

.label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: var(--panel);
}

.plain-list {
  padding-left: 20px;
  margin: 12px 0 0;
}

.plain-list strong {
  color: var(--ink);
}

.compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  margin-top: 18px;
}

.compare-card {
  border: 1px solid color-mix(in srgb, var(--brand) 44%, var(--line));
  border-radius: 8px;
  padding: 22px;
  background: var(--soft);
}

.compare-card.muted {
  border-color: var(--line);
  background: var(--panel);
}

.compare-card h3 {
  color: var(--ink);
}

.revenue-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 18px;
  background: var(--panel);
}

.revenue-map div {
  padding: 16px;
  border-left: 1px solid var(--line);
}

.revenue-map div:first-child {
  border-left: 0;
}

.revenue-map strong,
.revenue-map span {
  display: block;
}

.revenue-map strong {
  color: var(--ink);
  margin-bottom: 5px;
}

.revenue-map span {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.guide-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.guide-steps {
  margin: 0 0 18px;
  padding-left: 22px;
}

.guide-steps li {
  padding-left: 4px;
}

.interface-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.mock-toolbar {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 14px;
}

.mock-field {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.mock-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.mock-field strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.mock-check {
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 750;
}

.mock-check::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border-radius: 3px;
  background: var(--brand);
  vertical-align: -1px;
}

.setup-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.setup-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(210px, 1.2fr) minmax(180px, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

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

.setup-row.header {
  background: var(--soft-blue);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.setup-row > span {
  min-width: 0;
  padding: 13px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
}

.setup-row > span:first-child {
  border-left: 0;
}

.setup-row strong {
  display: block;
  color: var(--ink);
}

.setup-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.small-note {
  margin-bottom: 0;
  font-size: 14px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid color-mix(in srgb, var(--brand) 48%, var(--line));
  border-radius: 8px;
  padding: 24px;
  background: var(--soft);
}

.cta-band h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.cta-band p {
  margin-bottom: 0;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.flow-box {
  box-shadow: none;
}

.flow-box.center {
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
  background: var(--soft);
}

.timeline {
  display: grid;
  gap: 14px;
}

.callout {
  border: 1px solid color-mix(in srgb, var(--gold) 56%, var(--line));
  background: color-mix(in srgb, var(--gold) 12%, var(--panel));
  border-radius: 8px;
  padding: 18px;
}

.danger-note {
  border-left: 5px solid var(--rose);
}

.keywords {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.keywords span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: var(--panel);
  font-size: 13px;
}

footer {
  padding: 36px 0 48px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .grid.two,
  .grid.three,
  .flow,
  .guide-layout,
  .compare-grid,
  .revenue-map {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .setup-row,
  .setup-row.header {
    grid-template-columns: 1fr;
  }

  .setup-row.header {
    display: none;
  }

  .setup-row > span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .setup-row > span:first-child {
    border-top: 0;
  }

  .revenue-map div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .revenue-map div:first-child {
    border-top: 0;
  }

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

  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navlinks {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    align-items: stretch;
    padding-top: 4px;
  }

  .navlinks.is-open {
    display: grid;
  }

  .navlinks a,
  .navlinks button {
    width: 100%;
    text-align: left;
  }
}
