:root {
  --bg: #141110;
  --bg-2: #1c1816;
  --line: #2e2824;
  --text: #f5efe6;
  --muted: #b5aaa0;
  --ember: #f07b2c;
  --ember-deep: #d9481f;
  --gold: #ffb347;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 9; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand img { width: 150px; height: auto; margin-left: -18px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 500; font-size: .98rem; }
.top nav a:hover { color: var(--gold); }

/* sections */
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--head); font-weight: 500; color: var(--ember); font-size: .95rem; margin-bottom: .6em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 4px; height: 1.1em; background: var(--ember); border-radius: 1px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r);
  font: 700 1rem var(--head); text-decoration: none; cursor: pointer; border: 0;
}
.btn-main { background: var(--ember); color: #1a0d05; }
.btn-main:hover { background: var(--gold); color: #1a0d05; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* home */
.hero-home { padding: 72px 0 56px; }
.hero-home h1 { max-width: 14em; }
.product {
  display: grid; gap: 28px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.product .shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.product h2 { margin-bottom: .3em; }
.price { font: 700 1.6rem var(--head); }
.price s { color: var(--muted); font-weight: 500; font-size: 1.1rem; margin-left: 6px; }
.facts { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 6px; }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); }

/* product page */
.hero-pdp { display: grid; gap: 32px; padding: 48px 0 56px; align-items: start; }
.vid { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 9 / 16; max-width: 360px; width: 100%; justify-self: center; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.buy { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 20px; }
.buy .note { margin: 10px 0 0; }
.fx { width: 100%; border-collapse: collapse; }
.fx th, .fx td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fx th { font-family: var(--head); font-weight: 700; white-space: nowrap; }
.fx td { color: var(--muted); }
.fx .tag { display: inline-block; font: 500 .75rem var(--head); color: var(--bg); background: var(--gold); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.steps { padding-left: 1.3em; margin: 0; }
.steps li { margin-bottom: .6em; }
.panel { border-radius: var(--r); border: 1px solid var(--line); }
.two { display: grid; gap: 32px; }
.faq dt { font-family: var(--head); font-weight: 700; margin-top: 1.2em; }
.faq dd { margin: .3em 0 0; color: var(--muted); }

/* checkout modal */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; background: rgba(10, 8, 7, .82); display: grid; place-items: center; padding: 16px; z-index: 20; }
.modal-box { background: #fff; color: #111; border-radius: 14px; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto; position: relative; padding: 44px 8px 8px; }
.modal-x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: transparent; font: 700 1.6rem var(--head); color: #111; cursor: pointer; }

/* legal + text pages */
.prose { max-width: 720px; padding: 48px 0 64px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; margin-top: 24px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-in > div { display: flex; gap: 14px; align-items: flex-start; max-width: 560px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }

@media (min-width: 800px) {
  .product { grid-template-columns: 1.2fr 1fr; padding: 28px; }
  .hero-pdp { grid-template-columns: 1fr 360px; gap: 56px; padding-top: 64px; }
  .vid { grid-row: 1 / span 2; grid-column: 2; }
  .two { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
