/* ==========================================================================
   Polymind Games — site styles
   Near-black neutrals, one orange accent, square corners.
   Edit the tokens in :root to retheme the whole site.
   ========================================================================== */

:root {
  /* Surfaces (darkest to lightest) */
  --ink: #0a0a0b;
  --ink-800: #111114;
  --ink-700: #16161a;
  --ink-600: #1c1c21;
  --line: rgba(237, 237, 232, 0.08);
  --line-strong: rgba(237, 237, 232, 0.18);

  /* Text */
  --bone: #edede8;
  --bone-muted: #a8a8a2;
  --bone-dim: #808078;

  /* Accent (the orange from the logo) */
  --accent: #ff8a1f;
  --accent-hover: #ffa04a;
  --accent-deep: #e2600c;
  --accent-soft: rgba(255, 138, 31, 0.12);
  --accent-glow: rgba(255, 138, 31, 0.16);

  /* Type */
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); } /* keep anchored sections clear of the sticky header */
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Faint film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 128px) 0; }
.section--alt { background: var(--ink-800); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { color: var(--bone-muted); font-size: 1.08rem; }
.lead { color: var(--bone-muted); font-size: clamp(1.05rem, 1.8vw, 1.15rem); }
.muted { color: var(--bone-muted); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--ink); padding: 8px 14px; }

/* Small uppercase monospace label, e.g. "— Unity asset studio" */
.eyebrow, .kicker {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.eyebrow::before, .kicker::before { content: ""; width: 40px; height: 1px; background: var(--accent); opacity: .7; flex: none; }
/* Numbered section label, e.g. "— 02 / Our assets" */
.eyebrow .num { color: var(--bone-dim); }
.eyebrow .slash { color: var(--bone-dim); margin: 0 -4px; }

/* Legacy helpers still used by some pages */
.text-grad, .text-grad-warm { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); }
.brand:hover { color: var(--bone); }
.brand-mark { height: 24px; width: auto; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.03em; line-height: 1; }
.brand-sub { font: 500 10px/1 var(--font-mono); letter-spacing: 0.28em; text-transform: uppercase; color: var(--bone-dim); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font: 400 11px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone-muted);
  padding: 8px 0;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a.nav-cta { color: var(--accent); }
.nav a.nav-cta:hover { color: var(--accent-hover); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong);
  color: var(--bone); width: 42px; height: 42px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 16px 0; font-size: 12px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--bone); border-color: var(--bone); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.btn--ghost { background: rgba(10, 10, 11, 0.5); }
.btn--sm { padding: 11px 18px; font-size: 11px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Text link with an arrow, e.g. "View asset →" */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.link-arrow:hover { color: var(--accent-hover); }
.link-arrow--muted { color: var(--bone-muted); }
.link-arrow--muted:hover { color: var(--bone); }

/* ---------- Badges / tags ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 10px;
  color: var(--bone-muted);
  border: 1px solid var(--line-strong);
  background: rgba(10, 10, 11, 0.6);
}
.badge--warm, .badge--orange, .badge--accent { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.badge--neutral { color: var(--bone-muted); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Placeholder media ---------- */
.ph {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(255, 255, 255, 0.05), transparent 70%),
    repeating-linear-gradient(-45deg, #121214 0 16px, #0f0f11 16px 32px);
  border: 1px dashed #2a2a30;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  font: 400 11px/1.6 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone-dim); text-align: center; padding: 16px;
}
.ph::before {
  content: ""; width: 30px; height: 30px; opacity: .55;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph--video::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.5v7l6-3.5z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.5v7l6-3.5z'/%3E%3C/svg%3E");
}
.ph--square { aspect-ratio: 1; }
.ph--wide { aspect-ratio: 21 / 9; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--line);
}
/* Full-bleed background video (or its placeholder) */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .ph { position: absolute; inset: 0; aspect-ratio: auto; border: 0; align-items: flex-end; padding: 0 8% 0 0; }
.hero-media .ph::before { display: none; }
.hero-media .ph span { position: absolute; right: 8%; top: 44%; border: 1px dashed #2a2a30; padding: 14px 18px; }
/* Darken the left and bottom so the text stays readable over footage */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, .95) 0%, rgba(10, 10, 11, .75) 40%, rgba(10, 10, 11, .15) 78%),
    linear-gradient(0deg, var(--ink) 0%, transparent 32%);
}
.hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 760px; height: 760px; left: -240px; bottom: -340px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
}
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { max-width: 760px; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 580px; margin-bottom: 40px; font-size: clamp(1.05rem, 1.8vw, 1.18rem); }
.hero-meta {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px;
  padding-bottom: 36px;
  font: 400 11px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim);
}
.hero-meta b { color: var(--bone); font-weight: 500; }
.hero-meta .dot { color: var(--accent); }
@media (max-width: 820px) {
  .hero::before { background: linear-gradient(0deg, rgba(10, 10, 11, .97) 38%, rgba(10, 10, 11, .4) 100%); }
  .hero-media .ph span { right: 50%; transform: translateX(50%); top: 12%; white-space: nowrap; }
  .hero-body { align-items: flex-end; padding-top: 140px; padding-bottom: 48px; }
}

/* ---------- Home: statement ---------- */
.statement {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem); line-height: 1.22; letter-spacing: -0.025em;
  color: var(--bone-dim);
  max-width: 1040px; margin: 0 0 64px;
}
.statement b { color: var(--bone); font-weight: 500; }
.statement em { font-style: normal; color: var(--accent); font-weight: 500; }
.media-frame { border: 1px solid var(--line); }
.media-frame .ph { border: 0; }

/* ---------- Home: section head with an action on the right ---------- */
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 56px; }
.split-head .section-head { margin-bottom: 0; }
.split-head .sub { font-family: var(--font-head); font-size: 1.3rem; color: var(--accent); margin: -6px 0 18px; letter-spacing: -0.01em; }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.product, .card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink);
  border: 1px solid var(--line);
  transition: border-color .25s;
}
.product:hover, a.card:hover { border-color: var(--line-strong); }
a.card { color: inherit; }
.product-media, .card .ph { position: relative; border: 0; border-bottom: 1px solid var(--line); }
.product-media .ph { border: 0; }
.product-media video, .product-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product-media .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.product-body, .card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); }
.product-meta .rating { color: var(--bone-muted); letter-spacing: 0.06em; }
.product-meta .rating .star { color: var(--accent); }
.product h3, .card-body h3 { margin: 0; font-size: 1.35rem; }
.product p, .card-body p { color: var(--bone-muted); margin: 0; font-size: 0.97rem; }
.product-foot, .card-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.card-link { font: 500 11px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }

/* Full-width "keep in the loop" strip */
.loop-strip { background: var(--ink-800); border-block: 1px solid var(--line); }
.loop-strip a {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 34px 0;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-muted);
}
.loop-strip a b { color: var(--bone); font-weight: 500; }
.loop-strip a .go { color: var(--accent); }
.loop-strip a:hover .go { color: var(--accent-hover); }

/* ---------- Numbered steps (why Polymind) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px 32px; }
.step .icon {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 26px;
}
.step .icon::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.step .n { display: block; font-family: var(--font-head); font-size: 3rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--bone-dim); margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--bone-muted); margin: 0; font-size: 0.97rem; }
.built-for {
  margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.built-for span { color: var(--bone); font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -0.01em; text-transform: none; font-weight: 500; }

/* Legacy alias */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.pillar p { color: var(--bone-muted); margin: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.review { background: var(--ink); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review .stars { color: var(--accent); letter-spacing: 0.2em; font-size: 0.95rem; }
.review h3 { margin: 0; }
.review p { color: var(--bone-muted); margin: 0; font-size: 0.97rem; }
.review .who { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 12px;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); }
.review .who .avatar { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink-600); color: var(--bone); font-size: 12px; letter-spacing: 0; }
.review--ph { border-style: dashed; border-color: #2a2a30; }
.review--ph p { font: 400 11px/1.7 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }

/* ---------- About / contact ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.about-grid .statement { margin-bottom: 0; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list h4 { font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 12px; }
.contact-list a { font-family: var(--font-head); font-size: 1.2rem; color: var(--bone); letter-spacing: -0.01em; }
.contact-list a:hover { color: var(--accent); }
.contact-list .socials { display: flex; flex-wrap: wrap; gap: 28px; }
.contact-list .socials a { font: 500 11px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-muted); }
.contact-list .socials a:hover { color: var(--accent); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Feature list (asset pages) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.feature { background: var(--ink); border: 1px solid var(--line); padding: 26px; }
.section--alt .feature, .section--alt .product, .section--alt .review { background: var(--ink); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--bone-muted); font-size: 0.95rem; margin: 0; }
.feature .icon {
  width: 38px; height: 38px; margin-bottom: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent);
}
.feature .icon svg { width: 20px; height: 20px; }

/* ---------- Asset page ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; left: -240px; bottom: -380px; width: 760px; height: 760px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%); pointer-events: none;
}
.page-hero .container { position: relative; }
.crumbs { font: 400 11px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 28px; }
.crumbs a { color: var(--bone-muted); }
.crumbs a:hover { color: var(--accent); }
.asset-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; }
.asset-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-top: 20px; }
.asset-hero .lead { max-width: 640px; }
.asset-hero .ph { border-style: solid; border-color: var(--line); }
.buy-box {
  background: var(--ink-800); border: 1px solid var(--line);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.buy-box .btn { width: 100%; }
.buy-box small { color: var(--bone-dim); font: 400 10.5px/1.5 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin-bottom: 8px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--bone-dim); font: 400 10.5px/1.9 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; width: 46%; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.no { color: var(--bone-dim); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
@media (max-width: 900px) {
  .asset-hero { grid-template-columns: 1fr; }
  .buy-box { position: static; }
}

/* ---------- Support ---------- */
.doc-list { display: grid; gap: 14px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--ink); border: 1px solid var(--line); padding: 20px 24px;
}
.doc-item h3 { margin: 0 0 4px; font-size: 1.1rem; }
.doc-item p { margin: 0; color: var(--bone-muted); font-size: 0.93rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--bone-muted); max-width: 760px; padding-bottom: 10px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.contact-card { background: var(--ink); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card p { color: var(--bone-muted); font-size: 0.95rem; }
.contact-card .card-link { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--bone-muted); max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--ink); font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid .brand { margin-bottom: 20px; }
.footer-grid p { color: var(--bone-dim); max-width: 300px; }
.footer-grid h4 { font: 500 10.5px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.2em; color: var(--bone-dim); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--bone-muted); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font: 400 10.5px/1.6 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Scroll reveal (only when JavaScript is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.product h3 a { color: inherit; }
.product h3 a:hover { color: var(--accent); }
.cta-band .eyebrow { justify-content: center; }
.not-found { min-height: calc(100svh - var(--header-h) - 1px); display: flex; align-items: center; }
