/* Huzai — HZ Maison + Glass: black & white, iOS-style frosted glass on the menu bar, panels and buttons; no colour accent; red/green only on numbers.
   Tokens mirror the "Huzai" design system. One column, left aligned; black bands for hero & record, white for reading. */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --surface: #F5F5F6;
  --surface-dark: #0E0E0F;
  --muted: #55595F;
  --muted-dark: #A1A6AC;
  --line: #E4E5E7;
  --line-dark: #2B2B2B;
  --bar-quiet: #C9CBCE;
  --bar-quiet-dark: #3A3A3A;
  --loss: #D92D20;
  --win: #12855A;
  --loss-dark: #FF5A4F;
  --win-dark: #3DD68C;
  --accent: #55595F;      /* labels/rules on white: graphite */
  --accent-dark: #A1A6AC; /* on black */
  --glass: rgba(255,255,255,.07);
  --glass-line: rgba(255,255,255,.16);
  --glass-hi: inset 0 1px 0 rgba(255,255,255,.22);
  --blur: blur(20px) saturate(160%);
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #D4D8DC 40%, #737880 58%, #E6E9EC 78%, #A3A8AE 100%);
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
  --wide: 68rem;
  --gutter-l: max(clamp(16px, 4.5vw, 48px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4.5vw, 48px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--font); font-size: 1.1875rem; line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

/* bands */
.band { padding-block: 5.5rem; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band > .in { max-width: var(--wide); margin: 0 auto; }
.dark { background: var(--black); color: var(--white); color-scheme: dark; --accent: var(--accent-dark); --muted: var(--muted-dark); --line: var(--line-dark); --bar-quiet: var(--bar-quiet-dark); --loss: var(--loss-dark); --win: var(--win-dark); --surface: var(--surface-dark); }
.soft { background: var(--surface); }
.read { max-width: var(--measure); display: flex; flex-direction: column; gap: 1.25rem; }
.band > .in.read > * { max-width: var(--measure); }
.band > .in.read { max-width: var(--wide); }
.band > .in.narrow > * { max-width: 48rem; }

/* type */
.label { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { font-size: clamp(2.125rem, 5.2vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: 1.25rem; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loss { color: var(--loss); } .win { color: var(--win); }
strong { font-weight: 700; }

/* header: sticky frosted-glass bar */
.glassbar { position: fixed; top: 0; left: 0; right: 0; z-index: 10; padding: .75rem var(--gutter-r) .75rem var(--gutter-l); background: rgba(12,12,14,.74); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid rgba(255,255,255,.10); color: var(--white); }
.glassbar > .top { max-width: var(--wide); margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand .hz { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
.brand .hz img { width: 26px; height: auto; }
.brand span { font-weight: 700; letter-spacing: .16em; font-size: .8125rem; text-transform: uppercase; }
.top .buy-sm { font-size: .9375rem; font-weight: 700; text-decoration: none; border-radius: 999px; padding: .55rem 1.1rem; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
.mast { padding-top: calc(5.5rem + 68px); background: radial-gradient(680px 460px at 88% 6%, rgba(120,126,134,.42), transparent 70%), radial-gradient(560px 380px at 4% 96%, rgba(154,160,166,.20), transparent 70%), var(--black); }
.glass { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), 0 20px 50px rgba(0,0,0,.35); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-radius: 22px; }

/* hero */
.hero { display: flex; flex-direction: column; gap: 1.75rem; padding-top: 3.5rem; }
.hero .display { max-width: 18ch; }
.hero .lead { max-width: 36rem; color: #D4D8DC; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.9rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; background: var(--black); color: var(--white); }
.dark .btn { background: rgba(255,255,255,.94); color: var(--black); box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 24px rgba(0,0,0,.35); }
.cta-row { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.cta-row .note { font-size: .9375rem; color: var(--muted); }

/* trade strip */
.strip { display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 10px); max-width: 44rem; margin-top: .5rem; }
.strip.glass { padding: clamp(16px, 3vw, 28px); }
.strip .t { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 0; }
.strip .bar { width: 100%; height: 34px; background: var(--bar-quiet); transform-origin: bottom; }
.strip .w .bar { height: 72px; background: currentColor; }
.strip .n { font-size: clamp(.8rem, 2.4vw, 1.0625rem); font-weight: 700; color: var(--loss); }
.strip .w .n { color: var(--win); }
.strip .net { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; padding-left: clamp(6px, 2vw, 18px); }
.strip .net b { font-size: clamp(1.375rem, 4vw, 2rem); font-weight: 800; color: var(--win); line-height: 1; }
.strip .net small { font-size: .8125rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .strip .bar { animation: grow .5s cubic-bezier(.2,.7,.2,1) both; }
  .strip .t:nth-child(1) .bar{animation-delay:.05s}.strip .t:nth-child(2) .bar{animation-delay:.12s}.strip .t:nth-child(3) .bar{animation-delay:.19s}.strip .t:nth-child(4) .bar{animation-delay:.26s}.strip .t:nth-child(5) .bar{animation-delay:.33s}.strip .t:nth-child(6) .bar{animation-delay:.4s}.strip .t:nth-child(7) .bar{animation-delay:.47s}.strip .t:nth-child(8) .bar{animation-delay:.54s}.strip .t:nth-child(9) .bar{animation-delay:.61s}.strip .t:nth-child(10) .bar{animation-delay:.68s}
}
@keyframes grow { from { transform: scaleY(.15); } to { transform: scaleY(1); } }

/* lists */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.ticks li { padding-left: 1.75rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .875rem; height: 2px; background: var(--accent); }
.callout { border-top: 2px solid var(--accent); padding-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

/* record */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--accent); padding-top: 1.5rem; }
.stat .v { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat .k { font-size: .9375rem; line-height: 1.5; color: var(--muted); margin-top: .6rem; }
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
figure { margin: 0; display: flex; flex-direction: column; gap: .75rem; }
figure img { border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
figcaption { font-size: .9375rem; line-height: 1.55; color: var(--muted); }

/* author */
.author { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.photo { width: 200px; aspect-ratio: 4/5; max-width: 100%; border-radius: 18px; background: var(--black); object-fit: cover; }
.photo svg { width: 96px; height: auto; }

/* parts */
.parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.parts li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.parts li:last-child { border-bottom: 1px solid var(--line); }
.parts .no { font-weight: 800; font-size: 1.25rem; color: var(--accent); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }

/* offer */
.offer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: center; }
.cover { width: 220px; aspect-ratio: 210/297; max-width: 100%; background: radial-gradient(70% 45% at 92% 10%, rgba(118,52,104,.55), transparent 70%), radial-gradient(60% 35% at 70% 60%, rgba(104,46,94,.4), transparent 72%), radial-gradient(80% 45% at 0% 100%, rgba(96,42,88,.4), transparent 70%), #000; border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), 0 24px 60px rgba(0,0,0,.5); border-radius: 6px; padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; color: var(--white); }
.cover .ct { font-size: 1.5rem; font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.cover .cs { font-size: .8125rem; color: var(--muted-dark); }
.cover .ca { margin-top: auto; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.price { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }

/* faq */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.25rem 1.1rem 0; font-weight: 700; font-size: 1.0625rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.25rem; font-size: 1.0625rem; color: #24272B; max-width: var(--measure); }
.faq h3 { margin: 2.5rem 0 .75rem; }

footer { font-size: .875rem; line-height: 1.6; }
footer .in { display: flex; flex-direction: column; gap: 1rem; }

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .band { padding-block: 3.75rem; }
  .hero { padding-top: 2.5rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof, .two, .author, .offer { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .photo { width: 160px; }
}

#buy { background: radial-gradient(520px 380px at 12% 30%, rgba(120,126,134,.35), transparent 70%), var(--black); }
footer .brand .hz { width: 40px; height: 40px; }

/* At a glance (SEO/GEO fact block) + full contents */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 2.5rem; margin: 1.5rem 0 0; }
.glance div { border-top: 1px solid var(--line); padding: .9rem 0; }
.glance dt { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.glance dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.glance cite { font-style: normal; font-weight: 700; }
details.toc { margin-top: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.toc summary { cursor: pointer; padding: 1rem 0; font-weight: 700; min-height: 44px; }
details.toc h4 { margin: 1.25rem 0 .5rem; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
details.toc ol { margin: 0 0 1rem; padding-left: 1.75rem; display: flex; flex-direction: column; gap: .35rem; }

.faq > .muted { margin: .5rem 0 0; }
