:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #f9fafb;
  --line: #d8dee8;
  --strong-line: #aeb8c7;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --proof: #4f46e5;
  --proof-soft: #eef2ff;
  --danger: #b42318;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
}

.nav {
  min-height: 66px;
}

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

.brand img {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links,
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a,
.footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: 36px;
  max-width: 1180px;
  min-height: 68vh;
  margin: 0 auto;
  padding: 28px 22px 34px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--proof);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.proof-strip span {
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--proof-soft);
  color: var(--proof);
  font-size: 13px;
  font-weight: 820;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--accent);
  color: white;
  font-weight: 820;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--strong-line);
  background: var(--surface-alt);
}

.hero-product {
  position: relative;
  min-height: 450px;
}

.hero-shot {
  display: block;
  width: 86%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.14);
}

.receipt-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 52%);
  border: 1px solid var(--strong-line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.receipt-kicker {
  margin: 0 0 8px;
  color: var(--proof);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.receipt-preview h2 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.18;
}

.receipt-row {
  display: grid;
  gap: 3px;
  margin-top: 9px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.receipt-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.receipt-row strong {
  font-size: 13px;
  line-height: 1.3;
}

.band {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px;
}

.card,
.policy section,
.policy header {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.card h2,
.policy h1,
.policy h2 {
  margin: 0 0 8px;
  letter-spacing: 0;
}

.card p,
.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.55;
}

.policy {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 22px 54px;
}

.policy h1 {
  font-size: 40px;
  line-height: 1.08;
}

code {
  color: var(--proof);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-product {
    min-height: 420px;
  }

  h1 {
    font-size: 42px;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 12px;
  }

  .brand span {
    max-width: none;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-product {
    min-height: auto;
  }

  .hero-shot {
    width: 100%;
  }

  .receipt-preview {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .button {
    width: 100%;
  }
}
