:root {
  color-scheme: light;
  --bg: #edf5f4;
  --panel: #ffffff;
  --soft: #dfeceb;
  --ink: #0b1f2a;
  --muted: #526873;
  --line: #b9cece;
  --blue: #2357d9;
  --orange: #ef6a3b;
  --code: #102a3b;
  --mint: #79e3c8;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(rgba(35, 87, 217, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 87, 217, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.header-link,
footer a { text-decoration: none; }

.brand { font-weight: 800; letter-spacing: -0.03em; }
.header-link { color: var(--muted); }
.header-link:hover, footer a:hover { color: var(--blue); }

.hero {
  padding: clamp(72px, 12vw, 150px) 0 100px;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: clamp(38px, 7vw, 90px); align-items: center; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-stretch: condensed;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 760px;
  margin-bottom: 36px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  letter-spacing: -0.04em;
}

h3 { margin-bottom: 10px; font-size: 1.25rem; }

.hero-copy {
  max-width: 720px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.offer-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 8px 8px 0 rgba(35, 87, 217, 0.12);
}

.offer-card div { padding: 20px 22px; }
.offer-card div + div { border-left: 1px solid var(--line); }
.offer-card span { display: block; color: var(--muted); font-size: 0.8rem; }
.offer-card strong { font-size: 1.18rem; }

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--blue);
  border-radius: 2px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary { background: var(--blue); color: #fff; }
.button.secondary { color: var(--blue); background: transparent; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.microcopy, .disclosure { margin-top: 16px; color: var(--muted); font-size: 0.85rem; }

.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

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

article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

article p, .proof > p, .cta > p { color: var(--muted); }
.number { display: block; margin-bottom: 58px; color: var(--orange); font-family: "Cascadia Mono", Consolas, monospace; font-weight: 800; }

.diff-preview {
  border: 1px solid #25485c;
  background: var(--code);
  color: #e9f4f5;
  box-shadow: 18px 18px 0 var(--orange);
  transform: rotate(1.5deg);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.86rem;
}

.diff-header, .diff-footer { display: flex; justify-content: space-between; padding: 14px 16px; color: #a9c4cf; background: #0b202e; }
.diff-header span:last-child { color: var(--mint); }
.diff-line { display: grid; grid-template-columns: 28px 1fr; padding: 9px 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.diff-line code { font: inherit; white-space: normal; }
.diff-line.removed { background: rgba(239, 106, 59, 0.12); color: #ffc1aa; }
.diff-line.added { background: rgba(121, 227, 200, 0.12); color: #c8fff1; }
.diff-line.note { margin-top: 12px; color: var(--mint); }
.diff-footer { margin-top: 10px; display: block; color: #a9c4cf; }

.proof-links { display: grid; gap: 10px; margin-top: 34px; }
.proof-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
}
.proof {
  margin-inline: -32px;
  padding-inline: 32px;
  background: var(--code);
  color: #f2fbfb;
  border-top: 0;
  box-shadow: 12px 12px 0 var(--mint);
}
.proof .eyebrow { color: var(--mint); }
.proof > p, .proof .disclosure { color: #a9c4cf; }
.proof-links a { background: #17384c; border-color: #31556a; }
.proof-links a:hover { border-color: var(--mint); }
.proof-links span { color: var(--mint); }

.fit { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fit li::before { content: "✓"; margin-right: 12px; color: var(--blue); font-weight: 800; }

.cta {
  margin: 80px 0;
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  background: #ffe7dd;
  border-color: #e7a58b;
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .hero-grid, .offer-card, .grid.three, .fit { grid-template-columns: 1fr; }
  .offer-card div + div { border-left: 0; border-top: 1px solid var(--line); }
  .fit { gap: 20px; }
  .section { padding: 72px 0; }
  article { min-height: auto; }
  .number { margin-bottom: 36px; }
  .diff-preview { max-width: calc(100% - 16px); margin-top: 20px; box-shadow: 10px 10px 0 var(--orange); }
  .proof { margin-inline: 0; padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
