/* Intensified Studios — site styles. No external fonts, images or scripts. The only third-party content is a YouTube
   player on product pages, and it loads only after the visitor presses play (poster styles: yt-facade.css). */

/* Palette "P5 Victor final" (2026-09-27): P2 sky + glow, P4 text + buttons.
   Every text/background pair was checked by code against WCAG contrast rules: all pass. */
:root {
  --bg: #0a0e14;           /* deep space */
  --bg-raised: #141b24;    /* panels and cards */
  --line: #6b6b6b;         /* gray trim */
  --text: #c0c0c0;         /* body text (silver) */
  --heading: #ffffff;      /* white, used less than green */
  --muted: #9a9a9a;
  --accent: #4ade80;       /* main green: brand, highlights, links */
  --accent-fill: #15803d;  /* button green (white label = 5.01:1) */
  --on-accent: #ffffff;
  --glow: #8fe3b8;         /* soft glow in the sky */
  --focus: #ffd166;
  --radius: 14px;
  --max: 1080px;
  --edge: clamp(16px, 4vw, 64px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  /* The stars and galaxy live in the .sky layer (see "The sky" below), made from our own images. */
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--focus); color: #000; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header / nav */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
/* Header and footer span the full width on every page (brand far left, links far right). */
.site-header .wrap, .site-footer .wrap { max-width: none; padding-left: var(--edge); padding-right: var(--edge); }
.brand { font-weight: 800; letter-spacing: .02em; text-decoration: none; font-size: 1.05rem; color: var(--heading); }
.brand span { color: var(--accent); }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-block; padding: .4rem .75rem; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--bg-raised); }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }

main { flex: 1; }

/* Hero */
.hero { padding: clamp(3.5rem, 12vw, 8rem) 0 clamp(2.5rem, 8vw, 5rem); }
.eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin: 0 0 .75rem; }
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  font-weight: 800;
  color: var(--heading);
  overflow-wrap: anywhere;
}
h1 .glow { color: var(--accent); }
.lede { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--text); max-width: 42rem; margin: 0 0 2rem; }

.btn {
  display: inline-block; padding: .75rem 1.3rem; border-radius: 10px; font-weight: 700; text-decoration: none;
  background: var(--accent-fill); color: var(--on-accent); border: 2px solid var(--accent-fill);
}
.btn:hover { background: #166534; border-color: #166534; color: var(--on-accent); }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--muted); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn:focus-visible { border-radius: 10px; }

/* Content */
.section { padding: 2.5rem 0; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin: 0 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.75rem 0 .4rem; }
p { margin: 0 0 1rem; }
.prose { max-width: 46rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose a { overflow-wrap: anywhere; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.card { background: color-mix(in srgb, var(--bg-raised) 92%, transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem .5rem; }
.card h3 { margin-top: 0; }
.card h2 { font-size: 1.15rem; line-height: inherit; margin: 0 0 .4rem; color: var(--accent); }
.card p { color: var(--text); }

.status {
  display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); border: 1px solid var(--line); margin-bottom: 1rem;
}
.note { color: var(--muted); font-size: .95rem; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .95em; background: var(--bg-raised); padding: .1rem .35rem; border-radius: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; color: var(--muted); font-size: .9rem; background: var(--bg); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.5rem; }
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}

/* ---------- Text pages (Support, Privacy): long text sits on a dark, readable panel over the stars ---------- */
.section .wrap.prose {
  width: min(46rem, 100% - 32px);
  background: color-mix(in srgb, var(--bg-raised) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

/* Headline panel (Home and 404) */
.hero-panel {
  background: color-mix(in srgb, var(--bg-raised) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  max-width: 34rem;
}
.hero-panel .lede { margin-bottom: 1.5rem; }
.teaser { color: var(--glow); font-size: 1rem; letter-spacing: .01em; margin: 0 0 1.25rem; }  /* "in development" line */

/* ---------- Home layout: headline panel top-left, three cards bottom-left, the galaxy in the clear ---------- */
.home .wrap { max-width: none; margin: 0; padding-left: var(--edge); padding-right: var(--edge); }
.home main { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 2.5rem 0 2rem; }
.home .hero, .home .section { padding: 0; }
.home .cards { grid-template-columns: repeat(3, minmax(0, 250px)); justify-content: start; gap: .9rem; }
.home .card { padding: 1.1rem 1.1rem .4rem; font-size: .95rem; }
.home .site-footer { margin-top: 0; }
/* Phones/narrow screens: cards stack, and the galaxy sits in the open space under the headline panel
   (visible the moment the page loads; the cards scroll up over it). */
@media (max-width: 860px) {
  .home .cards { grid-template-columns: minmax(0, 1fr); }
  .home main { gap: 44vh; }
  .sky .disk, .sky .galaxy-core { left: 50%; top: 77%; }
  .sky .disk { --size: min(125vw, 720px); }
}

/* ---------- The sky: decorative, behind everything, no scripts ----------
   Stars are our own images (img/). The galaxy (Home only) is "Artist's impression of the Milky Way",
   NASA/JPL-Caltech/ESO/R. Hurt, CC BY 4.0 (eso.org/public/images/eso1339g), color adjusted; credited in the Home footer. */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); pointer-events: none; }
.sky > div { position: absolute; will-change: transform; }

/* Stars: each drift moves exactly one image tile, so the loop is seamless; the big margin hides the edges. */
.stars-far, .glimmer-a, .glimmer-b, .glimmer-c, .stars-bright { inset: -1600px; background-repeat: repeat; }
.stars-far    { background-image: url("img/stars-far.png"); background-size: 1024px; opacity: .9; animation: pan-1024 700s linear infinite; }
/* three sets of stars, each glimmering on its own slow rhythm */
.glimmer-a    { background-image: url("img/stars-glimmer-a.png"); background-size: 1024px; animation: glimmer 4.7s ease-in-out infinite alternate, pan-1024 450s linear infinite; }
.glimmer-b    { background-image: url("img/stars-glimmer-b.png"); background-size: 1024px; background-position: 311px 173px; animation: glimmer 6.3s ease-in-out -2s infinite alternate, pan-1024 450s linear infinite; }
.glimmer-c    { background-image: url("img/stars-glimmer-c.png"); background-size: 1024px; background-position: 587px 421px; animation: glimmer 8.1s ease-in-out -5s infinite alternate, pan-1024 450s linear infinite; }
/* a few bright stars with soft light rays */
.stars-bright { background-image: url("img/stars-bright.png"); background-size: 1536px; animation: glimmer-soft 9s ease-in-out infinite alternate, pan-1536 360s linear infinite; }
@keyframes pan-1024 { to { transform: translate3d(-1024px, -1024px, 0); } }
@keyframes pan-1536 { to { transform: translate3d(-1536px, -1536px, 0); } }
@keyframes glimmer { from { opacity: .15; } to { opacity: 1; } }
@keyframes glimmer-soft { from { opacity: .55; } to { opacity: 1; } }

/* The Milky Way seen from outside: tilted, turning clockwise like the real one seen from "above".
   Every galaxy layer shares size, tilt and spin (class "disk"), so they turn together. */
.disk {
  --size: min(118vmin, 1300px);
  width: var(--size); height: var(--size);
  left: 66%; top: 50%;
  margin-left: calc(var(--size) / -2); margin-top: calc(var(--size) / -2);
  background-position: center; background-size: contain; background-repeat: no-repeat;
  mix-blend-mode: screen;
  transform: perspective(1600px) rotateX(64deg) rotateZ(0deg);
  animation: spin 300s linear infinite;
}
@keyframes spin { to { transform: perspective(1600px) rotateX(64deg) rotateZ(360deg); } }
.galaxy-disk { background-image: url("img/milky-way-eso1339g.jpg"); filter: saturate(1.3) contrast(1.12); }
.galaxy-glow { background-image: url("img/milky-way-eso1339g.jpg"); filter: blur(22px) brightness(1.6) saturate(1.5); opacity: .5; }
.disk-sparkles-a { background-image: url("img/galaxy-sparkles-a.png"); animation: spin 300s linear infinite, glimmer 3.9s ease-in-out infinite alternate; }
.disk-sparkles-b { background-image: url("img/galaxy-sparkles-b.png"); animation: spin 300s linear infinite, glimmer 5.3s ease-in-out -2.5s infinite alternate; }
.galaxy-core {
  width: 34vmin; height: 34vmin;
  left: 66%; top: 50%; margin-left: -17vmin; margin-top: -17vmin;
  background: radial-gradient(closest-side, rgba(255, 238, 205, .6), rgba(255, 222, 170, .18) 50%, transparent 72%);
  transform: scaleY(.6);
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { opacity: .7; transform: scale(.94) scaleY(.6); }
  to   { opacity: 1;  transform: scale(1.06) scaleY(.6); }
}
/* soft brand glow + darker bottom edge */
.tint {
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 35%, color-mix(in srgb, var(--glow) 9%, transparent), transparent 60%),
    linear-gradient(to bottom, transparent 55%, var(--bg) 100%);
}

/* "Pause sky" switch in the footer (accessibility: moving backgrounds must be pausable),
   and devices set to "reduce motion" get a still sky automatically. */
body:has(#sky-pause:checked) .sky > div { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .sky > div { animation: none; } }
.sky-toggle { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.sky-toggle input { accent-color: var(--accent); width: 1rem; height: 1rem; margin: 0; }
.credit { font-size: .8rem; }

/* Store */
/* ---------- Store page (store.html) and product pages (hyper-c.html) ----------
   Same palette, dark panels and rounded corners as the rest of the site. No scripts: the screenshot gallery links
   to full-size images, the FAQ uses <details>, and the trailer's click-to-play poster lives in yt-facade.css. */
.store-main {
  --soon: #f5c451;         /* "coming soon" dot */
  --tile: color-mix(in srgb, var(--bg) 55%, transparent);   /* boxes inside a panel */
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 1rem;
}
.store-main > .wrap { display: grid; gap: 1.25rem; }
.store-main h2 { color: var(--heading); }
.store-main code { background: var(--bg); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); overflow-wrap: anywhere; }
.store-main kbd {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .85em; white-space: nowrap;
  padding: .05rem .4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
  background: var(--bg); color: var(--heading);
}

/* Dark, readable panel over the stars */
.panel {
  background: color-mix(in srgb, var(--bg-raised) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  min-width: 0;
}
.panel > :last-child { margin-bottom: 0; }
.section-intro { color: var(--muted); max-width: 46rem; }
.text-block p, .text-block li { max-width: 46rem; }

/* Small tags ("Unity Editor tool", "Works offline") */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-block; padding: .15rem .65rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; line-height: 1.6; color: var(--text);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
}

/* Store page: heading panel + product cards */
.store-head { max-width: none; }
.store-head .lede { margin-bottom: 0; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.25rem; margin: 0; padding: 0; list-style: none;
}
.product-card { display: flex; min-width: 0; }
/* The whole card is one link */
.product-link {
  display: flex; flex-direction: column; width: 100%;
  color: var(--text); text-decoration: none;
  background: color-mix(in srgb, var(--bg-raised) 94%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.product-link:hover { color: var(--text); border-color: var(--accent); box-shadow: 0 16px 36px -18px color-mix(in srgb, var(--accent) 60%, transparent); }
.product-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); border-color: var(--accent); }
.product-media { display: block; overflow: hidden; background: #000; border-bottom: 1px solid var(--line); }
.product-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.product-body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.product-name { margin: 0; font-size: 1.4rem; line-height: 1.2; color: var(--heading); }
.product-pitch { margin: 0; }
.product-status { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: .9rem; font-weight: 600; color: var(--glow); }
.product-cta { margin: auto 0 0; padding-top: .35rem; font-weight: 700; color: var(--accent); }
.product-link:hover .product-cta, .product-link:focus-visible .product-cta { text-decoration: underline; text-underline-offset: 3px; }
.status-dot {
  flex: none; width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--soon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--soon) 25%, transparent);
}
/* "More on the way" placeholder: plain text, not a link */
.soon-box {
  display: flex; flex-direction: column; justify-content: center; gap: .35rem; width: 100%; min-height: 12rem;
  padding: 1.5rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-raised) 70%, transparent);
}
.soon-box p { margin: 0; }
.soon-box strong { color: var(--text); }

/* Product page: breadcrumb */
.breadcrumb { justify-self: start; padding: .3rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* Product page: hero (title + pitch) beside the buy box */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .product-hero { grid-template-columns: minmax(0, 1fr) 20rem; } }
.product-title { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-bottom: 1.1rem; }
.product-icon { flex: none; width: 80px; height: 80px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 26px -12px #000; }
.product-title .eyebrow { margin-bottom: .3rem; }
.product-title h1 { margin: 0; font-size: clamp(1.9rem, 6vw, 3.2rem); }
.product-tagline { margin: 0 0 .8rem; font-size: clamp(1.2rem, 3vw, 1.55rem); font-weight: 700; line-height: 1.3; color: var(--accent); }
.product-intro .lede { margin-bottom: 1.25rem; }
@media (max-width: 480px) { .product-icon { width: 64px; height: 64px; border-radius: 15px; } }

/* Buy box: price, a status line (not a button), key facts, contact link */
.buy-box { display: flex; flex-direction: column; gap: .95rem; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.buy-title { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.buy-price { margin: 0; font-size: 1.4rem; font-weight: 800; line-height: 1.25; color: var(--heading); }
.buy-status {
  display: flex; align-items: center; gap: .65rem; margin: 0; padding: .75rem .9rem;
  font-weight: 700; line-height: 1.35; color: var(--text); cursor: default;
  border: 1px dashed color-mix(in srgb, var(--soon) 55%, var(--line)); border-radius: 10px;
  background: color-mix(in srgb, var(--soon) 7%, transparent);
}
.buy-facts { display: grid; gap: .45rem; margin: 0; padding: .95rem 0 0; list-style: none; font-size: .95rem; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.buy-facts li { position: relative; padding-left: 1.55rem; line-height: 1.45; }
.buy-facts li::before {   /* small green check mark */
  content: ""; position: absolute; left: .15rem; top: .3em; width: .75rem; height: .4rem;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.buy-contact { font-weight: 700; }

/* Trailer (a click-to-play poster inside an iframe; see yt-facade.css) */
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 200px; border: 0; border-radius: 12px; background: #000; }
.video-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.25rem; margin: .8rem 0 0; font-size: .9rem; color: var(--muted); }
.video-links a { font-weight: 600; }

/* Screenshot gallery: first shot full width, the rest in a grid; each links to the full-size image */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.gallery > li { min-width: 0; }
.gallery > li:first-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; } }
.shot { margin: 0; }
.shot a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #000; }
.shot a:hover { border-color: var(--accent); }
.shot a:focus-visible { border-radius: 10px; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: .5rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.shot figcaption strong { color: var(--text); font-weight: 600; }

/* How it works: three numbered steps */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem;
  margin: 0; padding: 0; list-style: none; counter-reset: step;
}
.steps > li { counter-increment: step; padding: 1.1rem 1.15rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); }
.steps > li::before {
  content: counter(step); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-bottom: .7rem;
  border-radius: 50%; font-weight: 800; color: var(--on-accent); background: var(--accent-fill);
}
.steps h3 { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--heading); }
.steps p { margin: 0; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1rem; }
.feature { padding: 1.05rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); }
.feature h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--accent); }
.feature p { margin: 0; font-size: .96rem; }

/* Honest limits, requirements, package contents */
.plain-list { margin: 0; padding-left: 1.2rem; }
.plain-list li { margin: .45rem 0; }
.plain-list li::marker { color: var(--muted); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; }

/* FAQ: native <details>, no script */
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--tile); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: .85rem 3rem .85rem 1.1rem; border-radius: 12px; font-weight: 700; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.35rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.faq details > p { margin: 0 1.1rem 1rem; max-width: 46rem; }

/* Support call-out at the bottom of a product page */
.product-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.product-help h2 { margin: 0 0 .3rem; }
.product-help p { margin: 0; max-width: 40rem; }

/* Motion: only for people who haven't asked their device to reduce it */
@media (prefers-reduced-motion: no-preference) {
  .product-link { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .product-link:hover, .product-link:focus-visible { transform: translateY(-4px); }
  .product-thumb, .shot img { transition: transform .45s ease; }
  .product-link:hover .product-thumb, .product-link:focus-visible .product-thumb { transform: scale(1.04); }
  .shot a:hover img, .shot a:focus-visible img { transform: scale(1.02); }
  .shot a, .faq summary { transition: border-color .15s ease, color .15s ease; }
}

/* ---------- Review fixes (2026-09-30) ---------- */
/* Keep the product name in one piece ("Hyper-C 5.0" never breaks at its hyphen or before "5.0") */
.nowrap { white-space: nowrap; }

/* Tidier line breaks where the browser supports it (others ignore these) */
.store-main p, .store-head .lede { text-wrap: pretty; }
.store-main h1, .store-main h2, .buy-price { text-wrap: balance; }

/* Store page: the one product is a featured card across the full width; "More on the way" is a slim strip */
.product-card.is-featured, .product-card.is-soon { grid-column: 1 / -1; }
.is-soon .soon-box { min-height: 0; padding: 1rem; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; }
@media (min-width: 760px) {
  .is-featured .product-link { flex-direction: row; }
  .is-featured .product-media { flex: 0 0 55%; display: flex; align-items: center; border-bottom: 0; border-right: 1px solid var(--line); }
  .is-featured .product-body { justify-content: center; padding: 1.5rem 1.75rem; }
  .is-featured .product-name { font-size: 1.75rem; }
  .is-featured .product-cta { margin-top: .25rem; }
}

/* Product page hero: the intro panel is a column, so its chips sit on the same line as the bottom of the buy box */
.product-intro { display: flex; flex-direction: column; }
.product-intro .chips { margin-top: auto; }

/* Buy box: next steps (plain links) */
.buy-links { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin: 0; font-weight: 700; }

/* "What it does": text beside two proof figures */
.what-grid { display: grid; gap: 1.25rem; }
.what-text p { max-width: 46rem; }
.what-text > :last-child { margin-bottom: 0; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.proof li { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); }
.proof strong { display: block; font-size: 1.55rem; line-height: 1.15; font-weight: 800; color: var(--accent); }
.proof li > span { display: block; margin-top: .35rem; font-size: .92rem; line-height: 1.45; color: var(--text); }
@media (min-width: 900px) {
  .what-grid { grid-template-columns: minmax(0, 1fr) 16rem; gap: 2rem; align-items: start; }
  .proof { grid-template-columns: minmax(0, 1fr); }
}

/* "Honest limits": two columns of points on wide screens, so the panel isn't empty on the right */
@media (min-width: 900px) {
  .limits-list { columns: 2; column-gap: 2.75rem; }
  .limits-list li { break-inside: avoid; }
  .limits-list li:first-child { margin-top: 0; }
}

/* Screenshot gallery: one column on narrow phones */
@media (max-width: 560px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Phones: less stacked padding, and each How-it-works number sits beside its title */
@media (max-width: 480px) {
  .panel { padding: 1rem; }
  .feature, .steps > li { padding: .9rem; }
  .steps > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; }
  .steps > li::before { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .steps > li > h3 { grid-column: 2; grid-row: 1; align-self: center; }
  .steps > li > p { grid-column: 1 / -1; margin-top: .55rem; }
}

/* Home: one small link to the Store in the headline panel */
.home-store { margin: 0 0 1.25rem; }
.home-store a {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; padding: .45rem .9rem;
  border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.4;
}
.home-store a:hover { color: #fff; border-color: var(--accent); }
.home-store-tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .home-store a { transition: border-color .15s ease, color .15s ease; } }

/* Product hero: a small worked example (the same search as screenshot 1) */
.hero-demo { margin: 0 0 1.25rem; padding: .75rem .9rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--tile); }
.hero-demo figcaption { margin: 0 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-demo p { margin: 0; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92rem; line-height: 1.5; }
.hero-demo-q { padding: .35rem .65rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 8px; background: var(--bg); color: var(--heading); }
.hero-demo-q span { margin-right: .3rem; color: var(--accent); font-weight: 700; }
.hero-demo p.hero-demo-a { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .7rem; margin-top: .55rem; color: var(--text); }
.hero-demo-sure { padding: .05rem .55rem; border-radius: 999px; font: 800 .75rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .06em; color: #04130a; background: var(--accent); }
.proof li > span { text-wrap: pretty; }

/* Social links in the footer */
.site-footer .social { align-items: center; gap: .9rem; }
.social-label { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
