@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --night: #0b0d26;
  --ink: #f6f2e7;
  --muted: #a9a7c9;
  --soft: #d9d6ec;
  --gold: #f5c453;
  --gold-2: #ffe7a3;
  --gold-deep: #d99a1e;
  --good: #3fd69a;
  --bad: #ff7d6e;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(22, 25, 66, 0.82);
  --line: rgba(255, 255, 255, 0.1);
  --radius: 20px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--night);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(245, 196, 83, 0.16), transparent 60%),
    radial-gradient(1100px 700px at 10% 0%, #222673 0%, transparent 60%),
    linear-gradient(180deg, #0f1235 0%, var(--night) 55%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 32%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 90%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 94%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 36%, #fff 50%, transparent 51%);
  pointer-events: none;
}

a { color: var(--gold); text-underline-offset: 3px; }

a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.brand img { width: 38px; height: 38px; filter: drop-shadow(0 4px 14px rgba(245, 196, 83, 0.35)); }

.brand em { font-style: normal; color: var(--gold); }

nav.links { display: flex; align-items: center; gap: 26px; }

nav.links a { color: var(--soft); text-decoration: none; font-size: 0.95rem; }

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 0.85rem;
  white-space: nowrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 214, 154, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(63, 214, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 214, 154, 0); }
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 104px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1;
  text-wrap: balance;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 22px 0;
}

.hero h1 .swash { position: relative; color: var(--gold); white-space: nowrap; }

.hero h1 .swash svg { position: absolute; left: -2%; bottom: -0.04em; width: 104%; height: 0.22em; }

.lead { font-size: 1.15rem; color: var(--soft); max-width: 33em; margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  color: #1a1400;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 10px 30px -8px rgba(245, 196, 83, 0.55);
}

.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -8px rgba(245, 196, 83, 0.7); }

.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }

.btn.ghost:hover { background: rgba(255, 255, 255, 0.07); }

.showcase { position: relative; }

.history {
  position: relative;
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 22px 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.history .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

.history .title { font-weight: 700; margin-top: 4px; }

.price { text-align: right; font-family: var(--display); }

.price strong { display: block; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }

.price s { color: var(--muted); font-size: 0.95rem; }

.chart { display: block; width: 100%; height: auto; margin: 14px 0 6px; }

.chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s 0.3s ease-out forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }

.chart text { font-family: var(--text); font-size: 10px; fill: var(--muted); }

.chart .label-bad { fill: var(--bad); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }

.fact { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }

.fact b { display: block; font-family: var(--display); font-size: 1.05rem; }

.fact span { font-size: 0.75rem; color: var(--muted); }

.history .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; flex-wrap: wrap; }

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.verdict.good { background: rgba(63, 214, 154, 0.14); color: var(--good); }

.verdict.bad { background: rgba(255, 125, 110, 0.14); color: var(--bad); }

.fresh { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--muted); }

.mini {
  position: relative;
  z-index: 1;
  margin: -10px 0 0 -32px;
  width: 280px;
  background: var(--card-strong);
  border: 1px solid rgba(63, 214, 154, 0.35);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.mini .row { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 8px; }

.mini .row strong { font-family: var(--display); font-size: 1.35rem; }

@keyframes float { 50% { transform: translateY(-6px); } }

section { padding: 88px 0; }

section + section { border-top: 1px solid var(--line); }

section h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 12px 0;
}

.sub { color: var(--soft); margin: 0 0 40px; max-width: 38em; font-size: 1.05rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover { border-color: rgba(245, 196, 83, 0.4); transform: translateY(-2px); }

.num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1a1400;
  font-family: var(--display);
  font-weight: 800;
  box-shadow: 0 6px 18px -6px rgba(245, 196, 83, 0.6);
}

.step h3 { font-family: var(--display); margin: 16px 0 6px; font-size: 1.2rem; letter-spacing: -0.01em; }

.step p { margin: 0; color: var(--muted); }

.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.check svg { flex: none; width: 26px; height: 26px; color: var(--gold); }

.check b { display: block; font-size: 1rem; }

.check span { color: var(--muted); font-size: 0.92rem; }

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(245, 196, 83, 0.1), rgba(245, 196, 83, 0.03));
  border: 1px solid rgba(245, 196, 83, 0.3);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.note svg { width: 44px; height: 44px; color: var(--gold); }

.note p { margin: 0; color: var(--soft); }

.cta {
  text-align: center;
  padding: 72px 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(245, 196, 83, 0.18), transparent 70%),
    var(--card);
}

.cta h2 { margin-top: 0; }

.cta .sub { margin: 0 auto 28px; }

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 10px; }

footer a { color: var(--muted); }

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

.legal { padding: 24px 0 72px; max-width: 760px; }

.legal h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.035em; margin: 12px 0 8px; }

.legal h2 { font-family: var(--display); font-size: 1.25rem; margin-top: 36px; }

.legal p, .legal li { color: var(--soft); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 28px; }
  .grid3, .checks { grid-template-columns: 1fr; }
  nav.links a { display: none; }
  .mini { margin: -10px 0 0 auto; }
  .hero { padding-bottom: 56px; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  header.top .pill { display: none; }
  .fact { padding: 7px 8px; }
  .mini { width: 236px; }
  .price strong { font-size: 1.7rem; }
  .history { padding: 18px 16px 16px; }
  .note { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chart .line { stroke-dashoffset: 0; }
}
