:root {
  --bg: #0d0e10;
  --bg-2: #15171a;
  --line: #262a2f;
  --text: #ecebe6;
  --muted: #9a9c9f;
  --accent: #ff3b1f;
  --accent-ink: #120400;
  --radius: 14px;
  --pad: clamp(16px, 4vw, 48px);
  --font: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Faint layer lines, like the surface of a print */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.018) 5px 6px);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-stretch: 75%; font-weight: 800; line-height: .95; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(38px, 6vw, 72px); }
h3 { font-size: 24px; line-height: 1.05; }
em { font-style: normal; color: var(--accent); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 15px/1 var(--font); text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
  padding: 16px 22px; border-radius: 999px; border: 1px solid var(--accent);
  transition: transform .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: #ff5a40; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--text); }
.btn--sm { padding: 11px 16px; font-size: 13px; }

/* Promo bar */
.promo {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px var(--pad); background: var(--accent); color: var(--accent-ink);
  font-size: 14px; line-height: 1.35; text-decoration: none; text-align: center;
}
.promo:hover b { text-decoration: underline; }
.promo__tag { background: var(--accent-ink); color: var(--accent); padding: 4px 8px; border-radius: 999px; font-size: 10px; flex-shrink: 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad);
  background: rgba(13,14,16,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 900 22px/1 var(--font); font-stretch: 70%; letter-spacing: .02em; text-decoration: none; }
.brand span { color: var(--accent); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 7vw, 96px) var(--pad) clamp(48px, 6vw, 80px);
  max-width: 1440px; margin: 0 auto;
}
.hero h1 { font-size: clamp(54px, 9.5vw, 136px); }
.hero__lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; margin: 28px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 28px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 40px; }
.hero__facts li { display: grid; }
.hero__facts b { font-size: 15px; }
.hero__facts span { color: var(--muted); font-size: 13px; }
.hero__media { margin: 0; position: relative; }
.hero__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 55%, rgba(13,14,16,.85));
}
.hero__media figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 1; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.hero__media figcaption::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker__track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span {
  font: 800 22px/1 var(--font); font-stretch: 70%; text-transform: uppercase; color: var(--muted);
  padding: 18px 28px; display: flex; align-items: center; gap: 56px;
}
.ticker span::after { content: '/'; color: var(--accent); margin-right: -28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) var(--pad); max-width: 1440px; margin: 0 auto; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  padding: 11px 16px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.note { color: var(--muted); font-size: 13px; margin-top: 28px; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: #3a3f45; transform: translateY(-3px); }
.card[hidden] { display: none; }
.card__media { position: relative; display: block; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.card__media img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge, .card__count {
  position: absolute; top: 12px; padding: 6px 10px; border-radius: 999px; font-size: 11px;
}
.card__badge { left: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.card__count { right: 12px; background: rgba(13,14,16,.75); color: var(--text); backdrop-filter: blur(6px); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__fits { color: var(--accent); margin: 0; font-size: 11px; }
.card__desc { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__price { font: 800 26px/1 var(--font); font-stretch: 75%; }

/* Process */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .mono { color: var(--accent); }
.steps h3 { margin: 16px 0 10px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

/* Custom */
.custom__card {
  display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(120% 140% at 100% 100%, rgba(255,59,31,.28), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.custom__card p:not(.tag) { color: var(--muted); max-width: 560px; margin: 20px 0 0; }

/* FormulaBey */
.fb { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.fb__copy p:not(.tag) { color: var(--muted); max-width: 560px; margin: 20px 0 28px; }
.fb__list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.fb__list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.fb__list li::after { content: '●'; color: var(--accent); font-size: 9px; }

.offer {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--accent);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,59,31,.22), transparent 60%), var(--bg-2);
}
.offer h3 { font-size: clamp(28px, 4vw, 44px); }
.offer p:not(.tag) { color: var(--muted); max-width: 560px; margin: 16px 0 0; }
.offer p a { color: var(--text); }
.card__gift {
  color: var(--accent); font-size: 11px; text-decoration: none;
  padding: 8px 10px; border: 1px dashed rgba(255,59,31,.5); border-radius: 8px; align-self: start;
}
.card__gift:hover { background: rgba(255,59,31,.08); }

/* FAQ */
.faq h2 { margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--line); max-width: 900px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 19px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 24px; max-width: 720px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line); padding: 48px var(--pad);
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center;
}
.footer p { color: var(--muted); margin: 0; font-size: 14px; }
.footer nav { display: flex; gap: 24px; font-size: 14px; }
.footer nav a { text-decoration: none; color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer small { grid-column: 1 / -1; color: #63666a; font-size: 12px; }

/* Viewer */
.viewer {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 820px); width: 100%;
  color: var(--text); overflow: visible;
}
.viewer::backdrop { background: rgba(5,6,7,.9); backdrop-filter: blur(4px); }
.viewer img { width: 100%; border-radius: var(--radius); max-height: 80vh; object-fit: contain; background: #000; }
.viewer button {
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 18px;
}
.viewer button:hover { border-color: var(--text); }
.viewer__close { position: absolute; top: -56px; right: 0; }
.viewer__bar { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 14px; }
.viewer__bar[hidden] { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4/3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .fb { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
