@charset "utf-8";
/* ==========================================================================
   Tisoso — design system
   One stylesheet for the whole site. Tokens first, then primitives,
   then components, then utilities. Light + dark, print, reduced motion.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Brand — sampled from the Tisoso logo */
  --brand-red: #DC0000;
  --brand-yellow: #FED82F;

  /* Surfaces */
  --paper: #FBF7F0;
  --paper-2: #F3EBDD;
  --paper-3: #EADFCC;
  --surface: #FFFFFF;
  --surface-2: #FDFAF5;

  /* Ink */
  --ink: #17130F;
  --ink-2: #3A322A;
  --muted: #6A6055;
  --line: rgba(23, 19, 15, .12);
  --line-strong: rgba(23, 19, 15, .22);

  /* Accents */
  --red: #C90A05;
  --red-hover: #A80703;
  --red-quiet: rgba(201, 10, 5, .08);
  --yellow: #FED82F;
  --yellow-deep: #E9B800;

  /* Night section (hero, CTA bands, footer) */
  --night: #14100C;
  --night-2: #241812;
  --night-3: #5A1109;
  --on-night: #FCF8F2;
  --on-night-muted: rgba(252, 248, 242, .72);
  --on-night-line: rgba(252, 248, 242, .16);

  /* Type */
  --font-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-hero: clamp(2.5rem, 1.1rem + 5.1vw, 4.6rem);
  --t-h1: clamp(2.05rem, 1.25rem + 3.1vw, 3.4rem);
  --t-h2: clamp(1.65rem, 1.15rem + 2vw, 2.5rem);
  --t-h3: clamp(1.15rem, 1.03rem + .5vw, 1.4rem);
  --t-lead: clamp(1.03rem, .98rem + .35vw, 1.2rem);
  --t-small: .875rem;

  /* Space + shape */
  --wrap: 1180px;
  --wrap-wide: 1340px;
  --wrap-narrow: 720px;
  --pad: clamp(18px, 4vw, 28px);
  --sec: clamp(56px, 7vw, 104px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(23, 19, 15, .05), 0 4px 14px -8px rgba(23, 19, 15, .18);
  --shadow-md: 0 2px 6px rgba(23, 19, 15, .05), 0 18px 40px -22px rgba(23, 19, 15, .3);
  --shadow-lg: 0 4px 10px rgba(23, 19, 15, .05), 0 36px 70px -34px rgba(23, 19, 15, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131010;
    --paper-2: #1B1715;
    --paper-3: #241E1A;
    --surface: #1C1817;
    --surface-2: #221D1B;
    --ink: #F8F3EC;
    --ink-2: #E0D7CC;
    --muted: #A99E92;
    --line: rgba(248, 243, 236, .13);
    --line-strong: rgba(248, 243, 236, .26);
    --red: #FF6154;
    --red-hover: #FF8074;
    --red-quiet: rgba(255, 97, 84, .12);
    --yellow: #FFDE55;
    --yellow-deep: #FFDE55;
    --night: #0D0A08;
    --night-2: #1D1310;
    --night-3: #4A0E08;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px -8px rgba(0, 0, 0, .6);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 40px -22px rgba(0, 0, 0, .7);
    --shadow-lg: 0 4px 10px rgba(0, 0, 0, .35), 0 36px 70px -34px rgba(0, 0, 0, .8);
  }
}

/* ---------- 2. Reset + base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.lang-zh {
  --font-display: 'Baloo 2', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
  line-height: 1.78;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-yellow); color: #17130F; }

/* ---------- 3. Layout primitives ---------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--wide { max-width: var(--wrap-wide); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--paper2 { background: var(--paper-2); }
.section--surface { background: var(--surface); }

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 999;
  background: var(--brand-yellow); color: #17130F;
  padding: 12px 18px; border-radius: 10px; font-weight: 700;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.on-night .eyebrow { color: var(--brand-yellow); }

.lead { font-size: var(--t-lead); color: var(--muted); text-wrap: pretty; }
.head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }
.head--center { margin-inline: auto; text-align: center; }
.head > * + * { margin-top: 14px; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
.prose h3 { margin-top: 1.7em; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--red-hover); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul li { list-style: none; position: relative; padding-left: 1.1em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.prose ol { list-style: decimal; }
.prose ol li { padding-left: .3em; }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose li + li { margin-top: .5em; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose figure { margin-block: 2em; }
.prose figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--muted); }
.prose img { border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.prose blockquote {
  margin-block: 1.8em; padding: 20px 24px;
  border-left: 4px solid var(--brand-yellow);
  background: var(--paper-2); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.06rem; color: var(--ink);
}

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  line-height: 1.2; white-space: nowrap; text-align: center; max-width: 100%;
  vertical-align: middle;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(220, 0, 0, .8); }
.btn--primary:hover { background: #B80000; box-shadow: 0 16px 30px -12px rgba(220, 0, 0, .85); }

.btn--yellow { background: var(--brand-yellow); color: #17130F; box-shadow: 0 10px 22px -10px rgba(254, 216, 47, .9); }
.btn--yellow:hover { background: #FFE05C; }

.btn--ghost {
  border: 2px solid var(--line-strong); color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--red-quiet); }

.btn--ghost-night { border: 2px solid var(--on-night-line); color: var(--on-night); }
.btn--ghost-night:hover { border-color: var(--on-night); background: rgba(255, 255, 255, .08); }

.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

@media (max-width: 560px) {
  /* Long CTA labels must wrap rather than push the page sideways. */
  .btn { white-space: normal; padding-inline: 22px; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--red);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header / nav ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--on-night-line);
}
@supports not (backdrop-filter: blur(2px)) { .site-header { background: var(--night); } }

.nav {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--wrap-wide); margin-inline: auto;
  padding: 11px var(--pad);
}
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__brand img { width: 118px; height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin-inline: auto; }
.nav__links a {
  color: var(--on-night-muted); font-weight: 550; font-size: .95rem;
  padding: 8px 2px; position: relative; transition: color .15s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--brand-yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--on-night); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__burger { display: none; color: var(--on-night); padding: 8px; border-radius: 10px; }
.nav__burger svg { width: 24px; height: 24px; }

.lang {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255, 255, 255, .09); border-radius: 999px; padding: 3px;
}
.lang a {
  padding: 6px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  color: rgba(255, 255, 255, .68); transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { background: var(--brand-yellow); color: #17130F; }

@media (max-width: 430px) {
  .nav { gap: 10px; padding-inline: 16px; }
  .nav__brand img { width: 96px; }
  .nav__right { gap: 8px; }
  .lang { padding: 2px; }
  .lang a { padding: 6px 9px; font-size: .72rem; }
  .nav__burger { padding: 6px; }
}

@media (max-width: 940px) {
  .nav__links {
    position: absolute; inset: 100% 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); padding: 6px var(--pad) 18px;
    border-bottom: 1px solid var(--on-night-line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; font-size: 1.02rem; border-bottom: 1px solid var(--on-night-line); }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- 6. Hero ------------------------------------------------------ */
.on-night { color: var(--on-night); }
.hero {
  position: relative; overflow: hidden; color: var(--on-night);
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(255, 120, 40, .30), transparent 58%),
    radial-gradient(90% 80% at 92% 82%, rgba(220, 0, 0, .55), transparent 62%),
    linear-gradient(125deg, #0F0B08 0%, #23110B 34%, #5E120B 68%, #96170D 100%);
  padding-block: clamp(52px, 7vw, 92px) clamp(56px, 7vw, 96px);
}
.hero__doodle { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(255, 150, 110, .22);
}
.hero__glow--1 { width: 900px; height: 900px; right: -300px; top: -320px; }
.hero__glow--2 { width: 620px; height: 620px; right: -170px; top: -30px; border-color: rgba(255, 200, 120, .18); }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; gap: clamp(34px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; text-align: center; } }

.hero__logo { width: min(390px, 78vw); height: auto; margin-bottom: 20px; }
@media (max-width: 900px) { .hero__logo { margin-inline: auto; } }
.hero h1 {
  font-size: var(--t-hero); letter-spacing: -.015em;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--brand-yellow); }
.hero__sub { font-size: var(--t-lead); color: var(--on-night-muted); max-width: 54ch; margin-bottom: 30px; }
@media (max-width: 900px) { .hero__sub { margin-inline: auto; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
@media (max-width: 900px) { .hero__ctas { justify-content: center; } }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; }
@media (max-width: 900px) { .hero__trust { justify-content: center; } }
.hero__trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: .9rem; color: var(--on-night-muted); font-weight: 500;
}
.hero__trust svg { width: 17px; height: 17px; flex: none; color: var(--brand-yellow); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07);
}
.hero__badge {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--brand-yellow); color: #17130F;
  border-radius: 18px; padding: 12px 18px;
  font-family: var(--font-display); font-weight: 700; line-height: 1.15;
  box-shadow: var(--shadow-lg);
}
.hero__badge span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
@media (max-width: 900px) { .hero__badge { left: 10px; } }

/* ---------- 7. Marquee --------------------------------------------------- */
.marquee { background: var(--night); padding: 18px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 12px; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__dot {
  width: 30px; height: 30px; border-radius: 10px; flex: none;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .2), inset 0 3px 5px rgba(255, 255, 255, .28);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 8. Cards + grids -------------------------------------------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media { position: relative; background: var(--paper-2); aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 a { transition: color .15s var(--ease); }
.card__body h3 a:hover { color: var(--red); }
.card__body p { color: var(--muted); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: 14px; }

.card--flat { background: var(--surface); }
.card--flat:hover { transform: none; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: var(--red-quiet); color: var(--red);
}
.badge--yellow { background: rgba(254, 216, 47, .28); color: #7A5B00; }
@media (prefers-color-scheme: dark) { .badge--yellow { color: var(--brand-yellow); } }
.badge--float { position: absolute; top: 14px; left: 14px; background: var(--brand-red); color: #fff; }

/* Feature row */
.feature { display: flex; gap: 15px; }
.feature__dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--brand-red);
  margin-top: 9px; flex: none;
}
.feature h3 { margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* Stat */
.stat { text-align: center; padding: 22px 12px; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); line-height: 1; color: var(--red);
}
.stat span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* Split media block */
.split {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 760px) { .split--reverse > :first-child { order: 0; } }
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* Surface chips */
.surfaces { display: flex; flex-wrap: wrap; gap: 14px; }
.surface-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 20px 16px; width: 146px;
  display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.surface-card svg { width: 40px; height: 40px; color: var(--red); }
.surface-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 17px;
  background: var(--red-quiet); color: var(--red);
  margin-bottom: 6px; line-height: 0;
}
.surface-card span { font-weight: 600; font-size: .93rem; }
.surface-card:nth-child(odd) { transform: rotate(-1.6deg); }
.surface-card:nth-child(even) { transform: rotate(1.4deg); }
.surface-card:hover { transform: translateY(-5px) rotate(0deg); box-shadow: var(--shadow-md); }

/* ---------- 9. Swatches -------------------------------------------------- */
.swatch-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 16px 13px;
}
.swatch {
  aspect-ratio: 1 / 1.34;
  border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%;
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, .18), inset 0 4px 7px rgba(255, 255, 255, .34);
  border: 1px solid rgba(23, 19, 15, .07);
}

.swatch-grid--labelled { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 18px 12px; }
.swatch-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.swatch-item .swatch { width: 100%; }
.swatch-code {
  font-size: .68rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.tabs {
  display: inline-flex; padding: 5px; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.tabs button {
  padding: 10px 20px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem; color: var(--muted);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--brand-red); color: #fff; }
.tabs-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 28px;
}
.tabs-bar__count { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* ---------- 10. Spec table ---------------------------------------------- */
.spec {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.spec table { font-size: .96rem; }
.spec th, .spec td { padding: 15px 20px; text-align: left; vertical-align: top; }
.spec th { width: 40%; font-weight: 600; color: var(--muted); background: var(--surface-2); }
.spec tr + tr th, .spec tr + tr td { border-top: 1px solid var(--line); }
.spec td { color: var(--ink); }

.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.compare table { min-width: 620px; font-size: .95rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--paper-2); font-family: var(--font-display); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--red); font-weight: 700; }

/* ---------- 11. Accordion / FAQ ------------------------------------------ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .18s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper-2);
  background-image: linear-gradient(var(--red), var(--red)), linear-gradient(var(--red), var(--red));
  background-size: 11px 2px, 2px 11px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { background-size: 11px 2px, 0 0; transform: rotate(180deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); max-width: 68ch; }
.faq__a > * + * { margin-top: .9em; }

/* ---------- 12. CTA band + footer ---------------------------------------- */
.cta-band {
  color: var(--on-night); text-align: center;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(255, 130, 50, .28), transparent 60%),
    linear-gradient(120deg, #120E0A 0%, #45120A 52%, #93170D 100%);
  padding-block: clamp(52px, 7vw, 92px);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--on-night-muted); max-width: 56ch; margin: 0 auto 30px; font-size: var(--t-lead); }
.cta-band .btn { margin: 6px; }

.site-footer {
  background: var(--night); color: var(--on-night-muted);
  padding-block: clamp(46px, 6vw, 72px) 26px;
}
.site-footer a { transition: color .15s var(--ease); }
.site-footer a:hover { color: var(--brand-yellow); }
.footer__top {
  display: grid; gap: clamp(26px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 34px; border-bottom: 1px solid var(--on-night-line);
}
@media (min-width: 560px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}
.footer__brand img { width: 132px; margin-bottom: 14px; }
.footer__brand p { max-width: 38ch; font-size: .93rem; line-height: 1.65; }
.footer__col h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night); margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer__col li + li { margin-top: 9px; }
.footer__col a { font-size: .93rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 22px; font-size: .85rem;
}
.footer__bottom .lang { background: rgba(255, 255, 255, .07); }

/* ---------- 13. Breadcrumb / meta ---------------------------------------- */
.crumbs { padding-top: 22px; font-size: .85rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a:hover { color: var(--red); }

.page-head { padding-block: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 38px); }
.page-head h1 { margin-bottom: 14px; }
.page-head .lead { max-width: 62ch; }

.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); }
.meta time { font-variant-numeric: tabular-nums; }

.toc {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 24px; margin-block: 28px;
}
.toc h2 { font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px !important; font-family: var(--font-body); font-weight: 700; }
.toc li + li { margin-top: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.toc a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--brand-yellow);
  background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px; margin-block: 1.8em;
}
.callout strong { display: block; margin-bottom: 5px; font-family: var(--font-display); }
.callout p { color: var(--muted); font-size: .96rem; }

/* ---------- 14. Gallery + video ------------------------------------------ */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.gallery button {
  display: block; padding: 0; border-radius: var(--r-md); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line); cursor: zoom-in;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gallery button:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(10, 8, 6, .92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto; border-radius: var(--r-md); }
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  display: grid; place-items: center;
}
.lightbox__close svg { width: 22px; height: 22px; }

.reels { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.reel {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--night); box-shadow: var(--shadow-md);
}
.reel button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.reel img { width: 100%; aspect-ratio: 9/16; object-fit: cover; transition: transform .35s var(--ease); }
.reel:hover img { transform: scale(1.03); }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px;
  color: #fff; font-size: .9rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .74));
}

/* ---------- 15. Misc ----------------------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 550; color: var(--ink-2);
}
.pill svg { width: 15px; height: 15px; color: var(--red); }

.cert {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.cert__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.cert__item svg { width: 26px; height: 26px; flex: none; color: var(--red); }
.cert__item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.cert__item p { font-size: .9rem; color: var(--muted); }

.note { font-size: .87rem; color: var(--muted); }
.center { text-align: center; }
.mt-l { margin-top: clamp(28px, 4vw, 44px); }
.mt-m { margin-top: 22px; }
.stack > * + * { margin-top: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 16. Motion + print ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .marquee, .hero__doodle, .lightbox, .nav__burger { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; color: #000; padding-block: 0 24px; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
  .card, .spec, .faq details { break-inside: avoid; border-color: #ccc; }
}
