@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #f3ece1;
  --surface: #fffaf3;
  --surface-2: #fff;
  --primary: #14202e;
  --secondary: #5c6b7a;
  --accent: #e85d04;
  --border: rgba(20, 32, 46, 0.12);
  --radius: 16px;
  --shadow: 0 16px 40px rgba(20, 32, 46, 0.08);
  --container: 1080px;
  --t: 240ms ease;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", "Space Grotesk", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(700px 320px at 100% -8%, rgba(232, 93, 4, 0.12), transparent 55%),
    radial-gradient(640px 280px at 0% 12%, rgba(20, 32, 46, 0.06), transparent 50%),
    var(--bg);
  color: var(--primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color var(--t), opacity var(--t); }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.wrap { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.25rem; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
}
.brand-mark {
  width: 2.2rem; height: 2.2rem; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff; font-weight: 800; font-size: 0.85rem;
}
.nav-links { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  padding: 0.5rem 0.8rem; border-radius: 999px; color: var(--secondary); font-weight: 500; font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(20, 32, 46, 0.06); }

.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.75rem; }
.pill {
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  border-radius: 999px; padding: 0.45rem 0.85rem; font-size: 0.86rem; color: var(--secondary);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 3rem; padding: 0 1.25rem; border-radius: 999px; border: 0;
  font-weight: 700; cursor: pointer; transition: transform var(--t), background var(--t), opacity var(--t);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .offer-cta:focus-visible, .head-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-grid { display: grid; gap: 0.85rem; }
.form-grid label { font-weight: 600; font-size: 0.92rem; }
.form-grid input, .form-grid textarea {
  width: 100%; margin-top: 0.35rem; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--primary); padding: 0.7rem;
}
.form-grid input { min-height: 2.8rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c44c00; }

.section { padding: 1.5rem 0 3.5rem; }
.section h2 {
  font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.section .lead { color: var(--secondary); margin-bottom: 1.5rem; max-width: 40rem; }

.rank-list { display: grid; gap: 0.85rem; }
.rank-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.15rem; box-shadow: var(--shadow);
  transition: transform var(--t), border-color var(--t);
}
.rank-card:hover { transform: translateY(-2px); border-color: rgba(232, 93, 4, 0.35); }
.rank-num {
  width: 2.5rem; height: 2.5rem; border-radius: 10px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700;
  background: rgba(232, 93, 4, 0.12); color: var(--accent);
}
.rank-body h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.rank-body p { color: var(--secondary); font-size: 0.92rem; }

.note-box {
  margin-top: 2rem; padding: 1.25rem 1.35rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  color: var(--secondary); font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--border); padding: 2rem 0 5rem; color: var(--secondary); font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

.age-gate, .cookie-banner, .modal {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center;
  background: rgba(5, 10, 18, 0.82); padding: 1rem;
}
.age-gate.show, .cookie-banner.show, .modal.show { display: grid; }
.panel {
  width: min(100%, 460px); background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow);
}
.panel h2, .panel h3 { font-family: var(--display); margin-bottom: 0.65rem; }
.panel p { color: var(--secondary); font-size: 0.95rem; margin-bottom: 1.15rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body.landing {
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(720px 340px at 0% 0%, rgba(232, 93, 4, 0.14), transparent 58%),
    radial-gradient(560px 280px at 100% 8%, rgba(20, 32, 46, 0.07), transparent 55%),
    #f3ece1;
  color: #14202e;
}
body.landing.no-scroll { overflow: hidden; }
.landing-shell { position: relative; z-index: 2; }
.landing-header {
  position: sticky; top: 0; z-index: 30;
  width: 100%; max-width: none; margin: 0;
  background: #14202e;
  box-shadow: 0 8px 24px rgba(20, 32, 46, 0.18);
}
.head-inner {
  max-width: 1180px; width: calc(100% - 40px); margin: 0 auto;
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.head-nav { display: flex; align-items: center; gap: 6px; }
.head-nav a {
  color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 999px;
}
.head-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; color: #fff;
  font-weight: 700; letter-spacing: -0.02em; font-size: 18px; line-height: 1;
}
.wordmark-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex: 0 0 auto;
  background: #e85d04; color: #fff; font-size: 13px; font-weight: 800;
}
.wordmark-name { white-space: nowrap; }
.hero-block {
  max-width: 1180px; width: calc(100% - 40px); margin: 0 auto; padding: 56px 0 8px;
  display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 40px; align-items: end;
}
.kicker {
  color: #e85d04; font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero-block h1 {
  font-family: Fraunces, Georgia, serif;
  text-align: left; font-size: clamp(40px, 4.6vw, 64px); font-weight: 560;
  line-height: 1.02; letter-spacing: -0.03em; color: #14202e;
  text-transform: none; background: none; -webkit-text-fill-color: currentColor;
}
.hero-lead {
  margin-top: 16px; max-width: 38rem; color: #5c6b7a; font-size: 18px; line-height: 1.55;
}
.landing .pills {
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch;
  justify-content: flex-end; gap: 10px; width: 100%; overflow: visible; margin: 0;
}
.landing .pill {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 14px; color: #14202e; font-size: 15px; font-weight: 600;
  border: 1px solid rgba(20, 32, 46, 0.08);
  background: #fffaf3;
  box-shadow: 0 8px 20px rgba(20, 32, 46, 0.04);
}
.landing .pill img { width: 20px; height: 20px; }
.landing .pill img[src*="shield"] { filter: brightness(0); opacity: 0.72; }
.offers {
  max-width: 1180px; width: calc(100% - 40px); margin: 36px auto 0;
  display: flex; flex-direction: column; gap: 14px;
}
.offer {
  display: grid; grid-template-columns: 190px minmax(0, 1fr) 92px 168px;
  align-items: center; gap: 22px;
  width: 100%; padding: 16px 18px; border-radius: 20px;
  border: 1px solid rgba(20, 32, 46, 0.08);
  background: #fffaf3;
  box-shadow: 0 14px 34px rgba(20, 32, 46, 0.06);
}
.logo-box {
  width: 190px; height: 104px; border-radius: 14px; padding: 8px 16px;
  display: flex; align-items: center; justify-content: center;
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.offer p {
  max-width: none; width: auto; color: #243044;
  font-size: 17px; font-weight: 500; line-height: 1.45;
}
.score {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  background: #14202e; color: #fff;
}
.score span {
  color: #fff; font-family: Fraunces, Georgia, serif;
  font-size: 26px; font-weight: 680; letter-spacing: -0.04em; line-height: 1;
}
.score img { width: 16px; height: 16px; margin-top: 2px; }
.offer-cta {
  min-width: 0; width: 100%; border-radius: 12px; text-decoration: none;
  background: #e85d04; color: #fff;
  font-size: 16px; font-weight: 700; line-height: 1.2;
  padding: 14px 16px; display: flex; justify-content: center; align-items: center;
  box-shadow: none;
}
.offer-cta:hover { background: #c44c00; }
.landing-footer {
  border-top: 0;
  background: #14202e;
  color: #fff;
  margin-top: 72px; padding: 48px 0 32px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.landing-footer .landing-logo, .partner-note, .footer-links, .copy {
  max-width: 1240px; width: calc(100% - 32px);
}
.partner-note { display: flex; flex-direction: column; gap: 16px; }
.partner-note h2 { font-size: 20px; font-weight: 600; }
.partner-note p, .partner-note a { color: rgb(255 255 255 / .7); font-size: 16px; }
.partner-note a { text-decoration: underline; }
.badge-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  max-width: 1180px; width: calc(100% - 40px); margin: 0 auto; padding: 18px 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.badge-row img { height: 40px; width: auto; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.footer-links a { color: #fff; font-size: 16px; text-decoration: underline; }
.copy { color: #a9a9a9; text-align: center; font-size: 14px; }
body.landing .age-gate {
  background: rgba(20, 32, 46, 0.72); backdrop-filter: blur(10px);
}
body.landing .age-card {
  width: min(100% - 32px, 440px); display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 28px 24px 20px; border-radius: 20px;
  background: #fffaf3; color: #14202e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
body.landing .age-card h2 {
  font-family: Fraunces, Georgia, serif;
  color: #14202e; text-align: center; font-size: 28px; font-weight: 560; line-height: 1.2;
}
body.landing .age-card p, body.landing .age-card a { color: #5c6b7a; text-align: center; font-size: 15px; line-height: 1.5; }
body.landing .age-card a { color: #e85d04; }
body.landing .age-actions { display: flex; flex-direction: column; width: 100%; gap: 10px; }
body.landing .age-exit, body.landing .age-ok {
  width: 100%; height: 48px; cursor: pointer; border-radius: 12px; font-size: 16px; font-weight: 700;
}
body.landing .age-exit { border: 1px solid rgba(20, 32, 46, 0.16); background: transparent; color: #14202e; }
body.landing .age-ok { border: 0; color: #fff; background: #e85d04; }
body.landing .age-ok:hover { background: #c44c00; }
.age-blocked {
  display: none; position: fixed; inset: 0; z-index: 120; background: #14202e; color: #fff;
  flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px;
}
.age-blocked.show { display: flex; }
.age-blocked h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
body.landing .cookie-banner {
  inset: auto 0 0 0; display: none; place-items: stretch; background: transparent; padding: 0;
}
body.landing .cookie-banner.show {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #14202e; color: #fff; box-shadow: 0 -16px 40px rgba(20, 32, 46, 0.28);
  padding: 16px 24px;
}
body.landing .cookie-banner p { color: #fff; margin: 0; font-size: 15px; }
body.landing .cookie-banner a { color: #ffd7c2; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie-no, .cookie-yes {
  height: 44px; min-width: 150px; border-radius: 10px; cursor: pointer; font-weight: 700;
}
.cookie-no { background: transparent; border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.cookie-yes { background: #e85d04; border: 0; color: #fff; }

@media (max-width: 980px) {
  .hero-block { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; }
  .offer {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo score" "copy copy" "cta cta";
    gap: 14px;
  }
  .logo-box { grid-area: logo; width: 100%; height: 96px; }
  .offer p { grid-area: copy; }
  .score { grid-area: score; align-self: center; }
  .offer-cta { grid-area: cta; }
  .badge-row { padding: 18px; justify-content: center; gap: 22px; }
}
@media (max-width: 700px) {
  .head-inner { flex-direction: column; justify-content: center; padding: 12px 0; min-height: 0; gap: 4px; }
  .wordmark { font-size: 15px; }
  .wordmark-mark { width: 32px; height: 32px; }
  .hero-block h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .landing-footer { margin-top: 40px; padding: 28px 0 20px; }
  .footer-links { gap: 16px; }
  body.landing .cookie-banner.show { flex-direction: column; align-items: stretch; padding: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-no, .cookie-yes { flex: 1; min-width: 0; }
  .nav { flex-wrap: wrap; align-items: flex-start; min-height: 0; padding: 0.75rem 0; }
  .nav-links { width: 100%; }
}
