:root {
  --bg: #f7f8f2;
  --ink: #11130f;
  --muted: #596052;
  --line: #d7ddcf;
  --green: #b8ff3d;
  --green-deep: #286f37;
  --red: #e74335;
  --red-dark: #8d241d;
  --yellow: #ffe66d;
  --panel: #ffffff;
  --shadow: 0 26px 80px rgba(17, 19, 15, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(17, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 15, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 84% 12%, rgba(231, 67, 53, 0.12), transparent 30%),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  width: min(var(--max), calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: flex-start;
  background: rgba(247, 248, 242, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--green);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero {
  display: grid;
  width: min(var(--max), calc(100% - 48px));
  min-height: 730px;
  margin: 0 auto;
  padding: 34px 0 36px;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: 48px;
}

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

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(46px, 5.7vw, 82px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--green);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-button:hover {
  background: #c9ff68;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.primary-button:active {
  transform: translate(4px, 4px);
  box-shadow: 1px 1px 0 var(--ink);
}

.button-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-panel {
  position: relative;
  display: grid;
  padding: 14px;
  gap: 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(184, 255, 61, 0.16), transparent 48%),
    var(--panel);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
}

.photo-frame {
  position: relative;
  overflow: hidden;
  height: 318px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #dfe7d2;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.debt-stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 15px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 18px;
  font-weight: 950;
  transform: rotate(-2deg);
}

.bet-slip {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(17, 19, 15, 0.04),
      rgba(17, 19, 15, 0.04) 1px,
      transparent 1px,
      transparent 11px
    ),
    #fffdf4;
  box-shadow: 5px 5px 0 var(--ink);
}

.slip-title,
.slip-row {
  display: flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px dashed rgba(17, 19, 15, 0.28);
}

.slip-title {
  background: var(--ink);
  color: #fff;
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid var(--ink);
}

.slip-title span,
.slip-row span {
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.slip-title strong {
  color: var(--green);
  font-size: 14px;
  text-transform: uppercase;
}

.slip-row span {
  color: var(--muted);
}

.slip-row strong {
  max-width: 60%;
  text-align: right;
  font-size: 16px;
  line-height: 1.15;
}

.slip-row.loss {
  border-bottom: 0;
  background: rgba(231, 67, 53, 0.1);
}

.slip-row.loss strong {
  color: var(--red-dark);
  font-size: 22px;
}

.counter-card {
  padding: 18px 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--green);
  box-shadow: 5px 5px 0 var(--ink);
}

.counter-number {
  min-height: 60px;
  font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 950;
  line-height: 0.95;
}

.counter-label {
  margin-top: 4px;
  color: #243019;
  font-size: 15px;
  font-weight: 850;
}

.facts {
  display: grid;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 54px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.facts article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.facts span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.facts h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
}

.facts p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 42px;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-footer a {
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .debt-stamp {
    animation: stampPulse 3.6s ease-in-out infinite;
  }
}

@keyframes stampPulse {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(-2deg) scale(1.035);
  }
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .facts,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 34px 0 34px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 68px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-panel {
    padding: 12px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .photo-frame,
  .photo-frame img {
    height: 300px;
  }

  .debt-stamp {
    right: 12px;
    bottom: 12px;
    font-size: 15px;
  }

  .slip-title,
  .slip-row {
    min-height: 58px;
    padding: 0 14px;
  }

  .slip-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .slip-row strong {
    max-width: 100%;
    text-align: left;
  }

  .counter-card {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
