:root {
  --bg: #e8eef5;
  --bg-soft: #f4f7fb;
  --ink: #1a3344;
  --ink-soft: #4a6270;
  --accent: #3b82f6;
  --accent-deep: #2563eb;
  --white: #ffffff;
  --line: #d0dbe8;
  --warn-bg: #fff8e8;
  --warn-ink: #6b5200;
  --ok: #0d9488;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(26, 51, 68, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
.container { width: min(1100px, 92%); margin: 0 auto; }

.age-gate, .age-block {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 51, 68, 0.75); backdrop-filter: blur(6px); padding: 1.25rem;
}
.age-gate[hidden], .age-block[hidden] { display: none !important; }
.age-card {
  background: var(--white); border-radius: 20px; padding: 2rem;
  max-width: 440px; width: 100%; text-align: center;
  box-shadow: var(--shadow); animation: rise 0.4s ease both;
}
.age-card h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.75rem; }
.age-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.5rem; }
.age-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(232, 238, 245, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem;
}
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--ink); display: flex; align-items: center; gap: 0.45rem;
  text-decoration: none;
}
.logo-dot {
  width: 12px; height: 12px; border-radius: 4px; background: var(--accent);
  animation: blinkDot 2.8s ease-in-out infinite;
}
.badge-21 {
  font-size: 0.68rem; font-weight: 700; background: var(--ink); color: #fff;
  padding: 0.22rem 0.45rem; border-radius: 6px;
}
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

.warn-bar {
  background: var(--warn-bg); color: var(--warn-ink);
  font-size: 0.8rem; padding: 0.5rem 0; border-bottom: 1px solid #f0e4c0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.35rem; border-radius: 12px; border: none;
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem;
  cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-soft { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: #f3d6d6; color: #8a2f2f; }

.hero-lite {
  padding: 2.75rem 0 1.5rem;
  animation: rise 0.55s ease both;
}
.hero-lite .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.hero-lite h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.15; letter-spacing: -0.03em; max-width: 16ch;
}
.hero-lite p {
  margin-top: 0.9rem; color: var(--ink-soft); max-width: 48ch; font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.35rem; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 3.5rem;
}
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  animation: rise 0.5s ease both;
}
.tile:nth-child(1) { animation-delay: 0.05s; }
.tile:nth-child(2) { animation-delay: 0.1s; }
.tile:nth-child(3) { animation-delay: 0.15s; }
.tile:nth-child(4) { animation-delay: 0.2s; }
.tile:nth-child(5) { animation-delay: 0.25s; }
.tile:nth-child(6) { animation-delay: 0.3s; }
.tile:nth-child(7) { animation-delay: 0.35s; }

.tile h2, .tile h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.tile p { color: var(--ink-soft); font-size: 0.92rem; }

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-12 { grid-column: span 12; }

.modes { display: grid; gap: 0.75rem; }
.mode-row {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.85rem; background: var(--bg-soft); border-radius: 12px;
  border: 1px solid transparent; transition: border-color 0.2s, transform 0.2s;
}
.mode-row:hover { border-color: var(--accent); transform: translateX(4px); }
.mode-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #dbeafe; color: var(--accent-deep);
  display: grid; place-items: center; flex-shrink: 0; font-weight: 800;
  font-family: var(--font-display); font-size: 0.85rem;
}
.mode-row h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.mode-row p { margin: 0; font-size: 0.82rem; }

.score-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.score-card {
  background: var(--bg-soft); border-radius: 14px; padding: 1rem;
  text-align: center;
}
.score-card .val {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  color: var(--accent); line-height: 1;
  animation: countPulse 3s ease-in-out infinite;
}
.score-card .lbl { font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.35rem; }
.score-note {
  margin-top: 0.85rem; font-size: 0.8rem; color: var(--ok); font-weight: 600;
}

.rules li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  padding: 0.45rem 0; font-size: 0.9rem; color: var(--ink);
}
.rules li::before {
  content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0;
}

.faq details {
  border-bottom: 1px solid var(--line); padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 0.95rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.55rem; color: var(--ink-soft); font-size: 0.9rem; }

.cta-tile {
  background: linear-gradient(145deg, #f8fbff 0%, #e8f0fe 100%);
  border-color: #c7d7f5;
}
.cta-tile h2 { font-size: 1.35rem; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid label {
  display: grid; gap: 0.3rem; font-size: 0.8rem; font-weight: 700; color: var(--ink);
}
.form-grid input {
  padding: 0.75rem 0.9rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--font-body); font-size: 0.92rem;
}
.form-grid input:focus { outline: none; border-color: var(--accent); }
.form-hint { font-size: 0.75rem; color: var(--ink-soft); font-weight: 500; }

.page-hero { padding: 2.25rem 0 1.25rem; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}
.page-hero p { color: var(--ink-soft); margin-top: 0.5rem; max-width: 55ch; }
.legal-body, .panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.85rem; margin-bottom: 3rem;
  box-shadow: var(--shadow);
}
.legal-body h2 {
  font-family: var(--font-display); font-size: 1.1rem; margin: 1.4rem 0 0.55rem;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 0.55rem; }
.legal-body ul { padding-left: 1.15rem; list-style: disc; }
.highlight {
  background: var(--bg-soft); border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem; border-radius: 0 12px 12px 0; margin-bottom: 1rem;
  color: var(--ink); font-size: 0.92rem;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 3rem; }
.thanks-box { text-align: center; padding: 4rem 1rem 5rem; animation: rise 0.5s ease both; }
.thanks-box h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.6rem; }
.thanks-mark {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 16px;
  background: #dbeafe; display: grid; place-items: center;
  animation: softBounce 2.2s ease-in-out infinite;
}

.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.8);
  padding: 2.25rem 0 1.25rem; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.75rem; margin-bottom: 1.5rem; }
.site-footer .logo { color: #fff; }
.site-footer p { font-size: 0.82rem; margin-top: 0.6rem; max-width: 38ch; opacity: 0.85; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; color: #93c5fd; margin-bottom: 0.6rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.75); font-size: 0.85rem; padding: 0.2rem 0; text-decoration: none; }
.footer-col a:hover { color: #93c5fd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem; font-size: 0.75rem; opacity: 0.65; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes softBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .span-7, .span-5, .span-4, .span-8, .span-6, .span-12 { grid-column: span 12; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .score-grid { grid-template-columns: 1fr 1fr; }
}
