:root {
  color-scheme: light;
  --blue: #1565c0;
  --red: #e53935;
  --ink: #17212b;
  --muted: #5a6978;
  --paper: #f6f9fd;
  --line: #dbe4ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--blue);
  font-weight: 700;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 70px);
  padding: clamp(44px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 22%, rgba(229, 57, 53, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 11vw, 128px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  text-decoration: none;
}

.price {
  color: var(--muted);
  font-weight: 800;
}

.dice-art {
  position: relative;
  min-height: 420px;
}

.die {
  position: absolute;
  width: min(43vw, 250px);
  aspect-ratio: 1;
  border-radius: 22%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(145deg, #ffffff, #dfe7ef);
  box-shadow: 0 24px 42px rgba(28, 44, 58, 0.24);
}

.die.one {
  left: 5%;
  top: 14%;
  transform: rotate(-9deg);
}

.die.two {
  right: 7%;
  bottom: 10%;
  transform: rotate(11deg);
}

.pip {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #52677a, #07131e 68%);
}

.p1 { left: 17%; top: 17%; }
.p2 { right: 17%; top: 17%; }
.p3 { left: 17%; top: 41%; }
.p4 { right: 17%; top: 41%; }
.p5 { left: 17%; bottom: 17%; }
.p6 { right: 17%; bottom: 17%; }
.center { left: 41.5%; top: 41.5%; }

.section {
  padding: clamp(42px, 7vw, 80px) clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.section.alt {
  background: var(--paper);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
}

.copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.page {
  max-width: 820px;
  padding: clamp(34px, 7vw, 72px) 20px;
  margin: 0 auto;
}

.page h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.95;
}

.page h2 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.page p,
.page li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dice-art {
    min-height: 320px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
