

:root {
  --paper: var(--neutral);
  --paper-sunken: var(--neutral-sunken);
  --paper-card: var(--neutral-card);
  --paper-raised: var(--neutral-raised);
}


.surface        { background: var(--bg);        color: var(--fg); }
.surface-sunken { background: var(--bg-sunken); color: var(--fg); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 20px); }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body); line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: rgba(200, 69, 46, .3); color: var(--fg); }

:focus-visible { outline: 2px solid var(--seal-text); outline-offset: 2px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip:focus {
  left: 12px; top: 12px; padding: 10px 16px; font-size: var(--fs-small); font-weight: 600;
  background: var(--card); color: var(--fg); border: 1px solid var(--fg); border-radius: 10px;
}
main:focus { outline: none; }

.serif { font-family: var(--serif); font-variant-numeric: tabular-nums lining-nums; }
.hz { font-family: var(--serif-hz); }

.wrap    { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.measure { max-width: var(--measure); }

.doc { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

main { counter-reset: row; }

.row {
  display: grid; grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--hair);
  padding: var(--section) 0;
  counter-increment: row;
}
.row--hero { border-top: 0; counter-increment: none; padding-top: clamp(56px, 9vw, 104px); padding-bottom: calc(var(--section) * .7); }
.row--full { grid-template-columns: minmax(0, 1fr); }
.row--tight { padding: calc(var(--section) * .6) 0; }

.rail { display: flex; align-items: baseline; gap: 12px; margin-bottom: clamp(16px, 1.8vw, 26px); }
.rail .n {
  font-family: var(--serif); font-size: 14px;
  font-variant-numeric: tabular-nums lining-nums; color: var(--muted);
}
.rail .n { display: none; }
.rail .n::after {
  content: ''; display: inline-block; width: clamp(18px, 2.4vw, 36px); height: 1px;
  background: var(--hair); vertical-align: middle; margin: 0 0 4px 12px;
}
.rail .l {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-2); line-height: 1.45;
}

.col { min-width: 0; }
.col > * + * { margin-top: clamp(16px, 1.4vw, 24px); }
.col > h2 + p, .col > h2 + .lead { margin-top: clamp(12px, 1.1vw, 18px); }
.col > h2 { max-width: 22ch; }
.col > h2.h2-full { max-width: none; }
.lead, .fine { text-wrap: pretty; }
.col > .lead, .col > .body, .col > p, .col p.body { max-width: var(--measure); }

.col > .bleed { margin-left: 0; }

.col > .kicker { display: none; }

.kicker {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
h1, .h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -.7px; color: var(--fg);
}
h2, .h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -.4px; color: var(--fg);
  text-wrap: balance;
}
h3, .h3 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.2px; color: var(--fg); text-wrap: balance; }
.lead { color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.55; margin-top: 16px; max-width: var(--measure); }
.body { color: var(--fg-2); margin-top: 16px; max-width: var(--measure); }
.body strong, .lead strong { color: var(--fg); font-weight: 600; }
.fine { font-size: var(--fs-fine); color: var(--muted); line-height: 1.55; max-width: var(--measure); }
.fine a, .body a, .lead a { color: var(--seal-text); text-decoration: underline; text-underline-offset: 2px; }
.fine a:hover, .body a:hover, .lead a:hover { text-decoration-thickness: 2px; }
.head { margin-bottom: 32px; }

.row--hero > .col { grid-column: 1 / -1; min-width: 0; }
.row--flight { position: relative; isolation: isolate; }
.row--flight > .col { position: relative; z-index: 1; }
.row--flight { min-height: clamp(460px, 66vh, 820px); display: grid; align-content: center; padding-bottom: clamp(48px, 6vw, 110px); }
.row--hero h1 { max-width: 20ch; letter-spacing: -.03em; line-height: 1.04; }
.row--hero .lead { font-size: clamp(18px, 1.5vw, 24px); max-width: 52ch; margin-top: clamp(18px, 1.8vw, 30px); }
.row--hero .cta-row { margin-top: clamp(26px, 2.6vw, 44px); }

.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.hero-split > figure { margin: 0; }
.hero-split .shot { margin-inline: 0; }
@media (max-width: 940px) {
  .hero-split { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 40px); }
  .hero-split .shot { margin-inline: auto; }
}

.row--display h1 { font-size: var(--fs-display); max-width: 16ch; }

.band { position: relative; }
.band img { width: 100%; display: block; }

.band--photo { height: clamp(280px, 46vw, 620px); overflow: hidden; }
.band--photo img { height: 100%; object-fit: cover; }
.band--short { height: clamp(220px, 30vw, 420px); }

.band--scroll { background: var(--bg-sunken); padding: clamp(24px, 3vw, 56px) 0; }
.band--scroll img { width: 100%; height: auto; object-fit: contain; }

.band-note {
  max-width: var(--maxw); margin: 10px auto 0; padding: 0 var(--pad);
  font-size: var(--fs-fine); color: var(--muted);
}
.band-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.band-note a:hover { color: var(--fg); }

.creditgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.credit { margin: 0; }
.credit img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--bg-sunken); }
.credit figcaption { margin-top: 10px; font-size: var(--fs-fine); color: var(--muted); line-height: 1.5; }
.credit figcaption b { display: block; color: var(--fg); font-weight: 600; }
.credit figcaption span { display: block; }
.credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--fg); }

.figrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(10px, 1vw, 18px); }
.figrow figure { margin: 0; }
.figrow .fr {
  overflow: hidden; border-radius: var(--radius); border: 1px solid var(--hair);
  aspect-ratio: 4 / 5; background: var(--bg-sunken);
}
.figrow .fr img { width: 100%; height: 100%; object-fit: cover; }
.figrow figcaption { margin-top: 10px; font-size: var(--fs-fine); color: var(--muted); }

.door { padding: 0; overflow: hidden; }
.door .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-sunken); }
.door .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.door:hover .thumb img { transform: scale(1.04); }
.door .mark {
  position: absolute; left: clamp(16px, 1.4vw, 22px); bottom: clamp(10px, 1vw, 16px);
  margin: 0; color: #FFFDF8; text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.door:hover .mark { color: #FFFDF8; }
.door .body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 1.8vw, 30px); }
.door .who { margin-top: 0; }


.cur-dot, .cur-ring {
  position: fixed; left: 0; top: 0; z-index: 90;
  pointer-events: none; opacity: 0;
  translate: -50% -50%;
  transition: opacity .25s ease, width .22s ease, height .22s ease,
              border-radius .22s ease, border-color .22s ease;
}
.cur-dot  { width: 5px; height: 5px; border-radius: 50%; background: var(--t2); }
.cur-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--t2);
  border-top-color: transparent; border-right-color: transparent;
  rotate: -45deg;
}
.cur-dot.on, .cur-ring.on { opacity: .85; }
.cur-ring.wide { width: 52px; height: 52px; opacity: .55; }
.cur-ring.grid {
  width: 46px; height: 46px; border-radius: 3px; rotate: 0deg;
  border-color: var(--t2); opacity: .7;
  background:
    linear-gradient(var(--t2), var(--t2)) center / 1px 100% no-repeat,
    linear-gradient(var(--t2), var(--t2)) center / 100% 1px no-repeat;
}

.stage { position: relative; }
.stage-inner {
  position: relative; overflow: hidden;
  min-height: clamp(560px, 88vh, 1000px);
  display: grid; place-items: center;
  padding: var(--section) var(--pad);
}

.hero-glyph {
  position: absolute; left: 50%; top: 46%;
  translate: -50% -50%;
  font-size: clamp(200px, 34vw, 520px); line-height: 1;
  color: var(--fg); opacity: .07;
  pointer-events: none; user-select: none; z-index: 1;
}

.mist {
  position: absolute; inset: -10% -18%; z-index: 3;
  pointer-events: none; user-select: none; opacity: 0;
  -webkit-mask-image: radial-gradient(58% 62% at 50% 50%, #000 30%, transparent 82%);
  mask-image: radial-gradient(58% 62% at 50% 50%, #000 30%, transparent 82%);
}
.mist img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) brightness(1.12); }

.stage-copy { position: relative; z-index: 4; width: 100%; max-width: var(--maxw); }
.stage-copy h1 { font-size: var(--fs-display); max-width: 16ch; letter-spacing: -.03em; line-height: 1.04; }
.stage-copy .lead { font-size: clamp(18px, 1.5vw, 24px); max-width: 52ch; margin-top: clamp(18px, 1.8vw, 30px); }

.count { margin-top: clamp(26px, 3vw, 48px); }
.count-k {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.count-n {
  display: block; font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 30px); color: var(--fg);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em;
}
.count-w {
  display: block; max-width: 48ch; margin-top: 12px;
  font-size: var(--fs-small); line-height: 1.55; color: var(--fg-2);
}

.seam {
  background: var(--bg-sunken);
  border-block: 1px solid var(--hair);
  padding-block: clamp(8px, 1.4vw, 22px);
}
.seam-note {
  margin-top: clamp(18px, 2vw, 28px); padding-top: 18px;
  border-top: 1px solid var(--hair);
  max-width: 62ch; font-size: var(--fs-small); line-height: 1.6; color: var(--muted);
}

.js-shot .stage-inner { min-height: 100svh; }
.js-shot .hero-glyph  { opacity: 0; }
.js-shot .count       { opacity: 0; }
.js-shot .flight span { opacity: 0; }

.flight {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  pointer-events: none; user-select: none;
  font-size: clamp(26px, 3.4vw, 62px); line-height: 1; color: var(--fg);
  -webkit-mask-image: radial-gradient(38% 50% at 31% 52%, rgba(0,0,0,.06) 0%, rgba(0,0,0,.42) 55%, #000 100%);
  mask-image: radial-gradient(38% 50% at 31% 52%, rgba(0,0,0,.06) 0%, rgba(0,0,0,.42) 55%, #000 100%);
}
.flight span {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translate(calc(var(--dx) * .46), calc(var(--dy) * .46)) scale(1.15);
  opacity: var(--op);
}
.flight span[class^="py"] { opacity: calc(var(--op) + .3); }

@keyframes fly {
  0%   { opacity: 0; transform: translate(-50%, -50%) translate(calc(var(--dx) * .06), calc(var(--dy) * .06)) scale(.12); }
  10%  { opacity: var(--op); }
  78%  { opacity: var(--op); }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(2.9); }
}

@media (max-width: 900px) {
  .flight {
    opacity: .62;
    -webkit-mask-image: radial-gradient(76% 40% at 50% 52%, rgba(0,0,0,.04) 0%, rgba(0,0,0,.34) 58%, #000 100%);
    mask-image: radial-gradient(76% 40% at 50% 52%, rgba(0,0,0,.04) 0%, rgba(0,0,0,.34) 58%, #000 100%);
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .flight span {
      animation: fly linear both;
      animation-timeline: scroll(root block);
      animation-range: var(--r0) var(--r1);
    }
  }
}

.chapter {
  overflow-x: clip; overflow-y: visible;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(24px, 4vw, 76px);
  max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--pad);
}
.chapter:nth-of-type(even) > .chapter-img { order: 2; }
.chapter-img { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-sunken); }
.chapter-img img {
  width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover;
}
.chapter-img .mark {
  position: absolute; left: clamp(18px, 1.6vw, 28px); bottom: clamp(12px, 1.2vw, 20px);
  font-family: var(--serif-hz); font-size: clamp(38px, 4vw, 66px); line-height: 1;
  color: #FFFDF8; text-shadow: 0 2px 18px rgba(0,0,0,.65);
}
.chapter-body { max-width: 46ch; }
.chapter-body .who { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chapter-body h2 { font-size: var(--fs-h1); letter-spacing: -.02em; }
.chapter-body .lead { margin-top: 14px; }
.chapter-body .body { margin-top: 14px; }
.chapter-body .btn { margin-top: clamp(20px, 2vw, 30px); }
@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter:nth-of-type(even) > .chapter-img { order: 0; }
}


@keyframes settle {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}
@keyframes ink {
  from { color: var(--muted); }
  to   { color: var(--fg-2); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .chapter-img img {
      animation: settle .01s linear both;
      animation-timeline: view(block);
      animation-range: entry 0% cover 60%;
    }

    .band--photo img {
      animation: settle .01s linear both;
      animation-timeline: view(block);
      animation-range: entry 0% exit 100%;
    }

    .lead-ink > span {
      animation: ink .01s linear both;
      animation-timeline: scroll(root block);
      animation-range: var(--i0) var(--i1);
    }
  }
}

.screens { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, .9vw, 16px); align-items: start; }
.screens .sc { border-radius: clamp(10px, 1vw, 16px); overflow: hidden; border: 1px solid var(--hair); background: var(--ink); }
.screens .sc img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screens .sc-1 { aspect-ratio: 780 / 1380; margin-top: clamp(18px, 2.4vw, 44px); }
.screens .sc-2 { aspect-ratio: 780 / 1660; box-shadow: 0 6px 12px rgba(26,24,19,.06), 0 30px 60px -34px rgba(26,24,19,.5); z-index: 2; }
.screens .sc-3 { aspect-ratio: 780 / 1320; margin-top: clamp(30px, 4vw, 76px); }
@media (max-width: 560px) {
  .screens { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
  .screens .sc-1, .screens .sc-3 { display: none; }
  .screens .sc-2 { margin-top: 0; }
}

.onescreen { margin: clamp(30px, 4vw, 52px) 0 0; }
.onescreen .sc {
  max-width: 380px; margin-inline: auto;
  aspect-ratio: 780 / 1696;
  border-radius: clamp(14px, 1.4vw, 22px); overflow: hidden;
  border: 1px solid var(--hair); background: var(--ink);
  box-shadow: 0 6px 14px rgba(26,24,19,.07), 0 44px 88px -44px rgba(26,24,19,.55);
}
.onescreen .sc img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.onescreen figcaption { max-width: 56ch; margin: clamp(18px, 2vw, 26px) auto 0; text-align: center; }

.cardwall { display: flex; flex-wrap: wrap; gap: clamp(8px, .9vw, 14px); }
.gcard {
  margin: 0; transform: translateY(var(--lift, 0));
  display: flex; flex-direction: column; gap: 2px;
  min-width: clamp(96px, 8.5vw, 132px); padding: clamp(14px, 1.2vw, 20px);
  background: var(--card); border: 1px solid var(--hair); border-radius: clamp(10px, 1vw, 14px);
  transition: transform .18s ease, border-color .18s ease;
}
.cardwall:hover .gcard { transform: translateY(0); }
.gcard:hover { border-color: var(--fg-2); }
.gcard-h { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; color: var(--fg); }
.gcard-p { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.gcard-m { font-size: var(--fs-fine); color: var(--muted); line-height: 1.35; }
@media (prefers-reduced-motion: reduce) {
  .gcard, .cardwall:hover .gcard { transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: var(--fs-small); font-weight: 600;
  padding: 15px 30px; min-height: 52px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary { background: var(--seal); color: var(--seal-on); }
.btn-primary:hover { background: var(--seal-press); }
.btn-ghost { border-color: var(--hair); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-2); }
.btn-sm { font-size: var(--fs-fine); padding: 9px 17px; min-height: 40px; }

.store {
  display: inline-flex; align-items: center; gap: 12px; border-radius: 14px;
  padding: 13px 22px 13px 18px; min-height: 52px; border: 1px solid var(--hair);
  color: var(--fg);
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.store small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); line-height: 1.2; }
.store b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.2px; line-height: 1.2; }

a.store {
  background: var(--fg); border-color: var(--fg); color: var(--paper);
  box-shadow: var(--shadow);
}
a.store small { color: var(--ink-fg-2); }
a.store:hover {
  background: var(--fg-2); border-color: var(--fg-2); transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(26, 24, 19, .06), 0 16px 34px -22px rgba(26, 24, 19, .42);
}
a.store:active { transform: translateY(0); }

.store.is-soon { opacity: .55; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  a.store:hover { transform: none; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 26px; }

header.bar {
  position: fixed; top: var(--pad); left: var(--pad); right: var(--pad); z-index: 60;
  display: flex; justify-content: center; pointer-events: none;
}
.bar-in {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 3vw, 44px);
  width: 100%; max-width: var(--maxw); min-height: 56px;
  padding: 6px 10px 6px 16px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(26, 24, 19, .04), 0 10px 30px -18px rgba(26, 24, 19, .35);
}
:root { --bar-h: 62px; --bar-gap: 14px; --top: calc(var(--pad) + var(--bar-h) + var(--bar-gap)); }
body { padding-top: var(--top); }

.ph-live {
  position: fixed; right: var(--pad); bottom: var(--pad); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; font-size: 14px; font-weight: 600; color: var(--fg);
  background: var(--card); border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(26, 24, 19, .04), 0 10px 30px -18px rgba(26, 24, 19, .35);
}
.ph-live:hover { border-color: var(--fg); }
.ph-mark {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #DA552F; color: #fff; font-size: 14px; font-weight: 700; line-height: 1;
}
@media (max-width: 719px) and (pointer: coarse) {
  .ph-live {
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    justify-content: center; padding: 7px 14px 7px 7px; font-size: 13px;
  }
}

.consent {
  position: fixed; right: var(--pad); bottom: var(--pad); z-index: 70;
  width: min(340px, calc(100vw - 2 * var(--pad)));
  padding: 18px 18px 16px; background: var(--card); color: var(--fg-2);
  border: 1px solid var(--hair); border-radius: 18px;
  font-size: var(--fs-fine); line-height: 1.5;
  animation: consent-in .32s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent[hidden] { display: none; }
.consent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.consent-mark {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--seal) 12%, transparent); color: var(--seal-text);
}
.consent-mark svg { width: 19px; height: 19px; display: block; }
.consent-title { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--fg); line-height: 1.2; }
.consent p:not(.consent-title) { margin: 0 0 14px; }
.consent a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
.consent a:hover { color: var(--fg); text-decoration-color: currentColor; }
.consent-row { display: flex; gap: 8px; }
.consent-btn { flex: 1 1 0; background: var(--fg); border-color: var(--fg); color: var(--paper); }
.consent-btn:hover { background: var(--fg-2); border-color: var(--fg-2); }
@media (max-width: 719px) {
  .consent {
    left: 0; right: 0; bottom: 0; width: auto;
    border-width: 1px 0 0; border-radius: 18px 18px 0 0;
    padding: 18px var(--pad) calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
.foot-consent {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.foot-consent[hidden] { display: none; }

body:has(.opener)::before {
  content: ''; position: fixed; z-index: 55; inset: 0 0 auto 0; pointer-events: none;
  height: calc(var(--top) + 20px);
  background: linear-gradient(to bottom, #548689 0, #5F9093 58%, rgba(95, 144, 147, 0) 100%);
}
@keyframes brand-edge { from { opacity: 0; } to { opacity: 1; } }
@supports (animation-timeline: scroll()) {
  body:has(.opener)::before {
    opacity: 0; animation: brand-edge linear both;
    animation-timeline: scroll(root block); animation-range: 0 320px;
  }
}
.logo { display: flex; align-items: center; gap: 10px; }
.chop {
  width: 28px; height: 28px; border-radius: 8px; background: var(--seal);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.chop span { font-family: var(--serif-hz); font-size: 11px; line-height: 1.05; color: #F4EEE0; font-weight: 600; text-align: center; }
.brand { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--fg); letter-spacing: .2px; }

nav.links { display: flex; gap: 24px; align-items: center; }
nav.links a { color: var(--fg-2); font-size: 14.5px; font-weight: 500; transition: color .16s ease; }
nav.links a:hover { color: var(--fg); }
nav.links a[aria-current="page"] { color: var(--fg); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.lang { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-fine); padding-right: 10px; }
.lang a { color: var(--muted); padding: 4px 2px; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current] { color: var(--fg); font-weight: 600; }
.lang i { color: var(--hair); font-style: normal; }
.lang a[lang|="zh"], .door-lang a[lang|="zh"] { font-family: var(--serif-hz); font-size: .95em; }

p.fine[data-lang-note] { color: var(--fg); }

.card {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: clamp(20px, 1.8vw, 32px); box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: var(--fs-small); color: var(--fg-2); }

.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(10px, 1vw, 16px); }

.mods {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(22px, 2.4vw, 40px) clamp(20px, 2.4vw, 44px);
  margin-top: clamp(26px, 3vw, 42px);
}
.mods--2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.mod { min-width: 0; padding-top: 16px; border-top: 1px solid var(--hair); }
.mod h3 { font-size: clamp(17px, 1.35vw, 21px); letter-spacing: -.01em; }
.mod .body { margin-top: 8px; font-size: var(--fs-small); line-height: 1.6; }
.door {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.door:hover {
  border-color: var(--fg-2); transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(26, 24, 19, .04), 0 22px 44px -26px rgba(26, 24, 19, .4);
}
.door .mark {
  font-family: var(--serif-hz); font-size: clamp(34px, 3.4vw, 54px); line-height: 1;
}
.door .who { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 30px 0 10px; }
.door h2 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.2px; }
.door p { font-size: var(--fs-small); color: var(--fg-2); margin-top: 10px; max-width: 34ch; }
.door .go { margin-top: auto; }
.door .go {
  align-self: flex-start; margin-top: 26px; padding: 9px 17px;
  border: 1px solid var(--hair); border-radius: 999px; color: var(--fg-2);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.door .go::after { content: ' \2197'; }
.door:hover .go { border-color: var(--seal); background: var(--seal); color: var(--seal-on); }

.steps { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: flex; gap: 16px; counter-increment: step;
  font-size: var(--fs-body); color: var(--fg-2); max-width: var(--measure);
}
.steps li::before {
  content: counter(step); flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-sunken); border: 1px solid var(--hair); color: var(--fg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1;
}
.beats { display: grid; gap: 12px; margin-top: 24px; max-width: var(--measure); }
.beats p { color: var(--fg-2); padding-left: 16px; border-left: 2px solid var(--hair); }
.beats p b { color: var(--fg); font-weight: 600; }

.turn {
  margin-top: clamp(20px, 2.2vw, 30px); max-width: var(--measure);
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 23px); line-height: 1.4; color: var(--fg);
}

figure { margin: 28px 0 0; }
figure img { border: 1px solid var(--hair); border-radius: 12px; margin-inline: auto; }
figcaption { margin-top: 12px; font-size: var(--fs-fine); color: var(--muted); line-height: 1.5; }

.shot {
  position: relative; width: 100%; max-width: clamp(280px, 26vw, 380px); margin: 0 auto;
  aspect-ratio: 780 / 1180; overflow: hidden;
  border: 1px solid var(--hair); border-radius: 12px;
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border: 0; border-radius: 0; }

.ph {
  aspect-ratio: 16 / 9; max-width: min(100%, 900px); background: var(--card);
  border: 1px solid var(--hair); border-radius: 12px;
  display: grid; place-items: center;
}
.ph span { font-size: var(--fs-fine); color: var(--muted); }

.tbl { position: relative; overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
caption { caption-side: top; text-align: left; padding: 15px 18px 4px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
th, td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--hair); }
thead th { color: var(--fg); font-weight: 600; font-size: 13px; background: var(--card); }
tbody td { color: var(--fg-2); }
tbody td:first-child { color: var(--fg); font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }

.sub-h { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--fg); margin: 0 0 18px; letter-spacing: -.2px; }

.cmp table { min-width: 620px; }
.cmp thead th { font-size: 14px; vertical-align: bottom; }
.cmp thead th span { display: block; font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: 3px; text-transform: none; }
.cmp tbody th { color: var(--fg); font-weight: 600; font-size: 13.5px; width: 22%; vertical-align: top; white-space: nowrap; }
.cmp td { vertical-align: top; }
.cmp .cmp-old { color: var(--muted); width: 30%; }
.cmp .cmp-new { color: var(--fg); }
.cmp .cmp-new small { display: block; color: var(--fg-2); font-size: 12.5px; margin-top: 4px; line-height: 1.45; }
.cmp .cmp-new .hz { font-family: var(--serif-hz); color: var(--fg-2); }
.cmp .delta {
  display: inline-block; margin-left: 7px; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  background: var(--seal-soft); color: var(--seal-text);
}
.cmp .delta.new { background: rgba(95, 168, 106, .18); color: #4C8B57; }
@media (max-width: 700px) {
  .cmp table, .cmp thead, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; min-width: 0; }
  .cmp caption { display: block; width: 100%; padding: 15px 16px 10px; }
  .cmp thead { display: none; }
  .cmp tr { padding: 15px 0 17px; border-bottom: 1px solid var(--hair); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { border: 0; padding: 0 16px; }
  .cmp tbody th {
    width: auto; white-space: normal; margin-bottom: 9px;
    font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .cmp .cmp-old, .cmp .cmp-new { width: auto; position: static; padding: 0 16px 0 58px; text-indent: -42px; }
  .cmp .cmp-old { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
  .cmp .cmp-new { margin-top: 8px; color: var(--fg); font-size: 16.5px; font-weight: 600; line-height: 1.35; }
  .cmp .cmp-old::before, .cmp .cmp-new::before {
    content: '2.0'; position: static; display: inline-block; margin-right: 9px;
    padding: 2px 7px; border-radius: 6px; background: var(--bg-sunken);
    font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
    color: var(--muted); text-indent: 0;
  }
  .cmp .cmp-new::before { content: '3.0'; background: var(--seal-soft); color: var(--seal-text); }
  .cmp .cmp-new small { text-indent: 0; font-weight: 400; margin-top: 6px; }
  .cmp .delta { text-indent: 0; }
}

.vs table { min-width: 640px; table-layout: fixed; }
.vs thead th { font-size: 15px; vertical-align: bottom; padding-bottom: 14px; }
.vs thead th span { display: block; }
.vs thead th > span:last-child {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}
.vs .strike { position: relative; display: inline-block; color: var(--muted); font-weight: 600; }
.vs .strike::after {
  content: ''; position: absolute; left: -4%; right: -4%; top: 52%; height: 1.5px;
  background: var(--muted); transform: rotate(-4deg);
}
.vs .vs-logo { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 19px; color: var(--fg); }
.vs .vs-logo .chop { width: 22px; height: 22px; border-radius: 6px; }
.vs .vs-logo .chop span { font-size: 8.5px; }
.vs tbody th { width: 19%; font-size: 13px; color: var(--fg); vertical-align: top; }
.vs td { vertical-align: top; font-size: 13.5px; line-height: 1.5; }
.vs .vs-out { color: var(--muted); }
.vs .vs-us { color: var(--fg); background: var(--seal-soft); }
.vs .vs-us b { color: var(--fg); font-weight: 600; }
.vs thead .vs-us, .vs tbody .vs-us { box-shadow: inset 1px 0 0 rgba(200, 69, 46, .22), inset -1px 0 0 rgba(200, 69, 46, .22); }
@media (max-width: 760px) {
  .vs table, .vs thead, .vs tbody, .vs tr, .vs th, .vs td { display: block; min-width: 0; }
  .vs caption { display: block; width: 100%; padding: 15px 16px 10px; }
  .vs thead { display: none; }
  .vs tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .vs tr:last-child { border-bottom: 0; }
  .vs th, .vs td { border: 0; padding: 0 16px; }
  .vs tbody th { width: auto; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .vs td { position: relative; padding-left: 86px; margin-top: 5px; }
  .vs td::before {
    content: 'Duolingo'; position: absolute; left: 16px; top: 1px; width: 64px;
    font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: line-through;
  }
  .vs td:nth-of-type(2)::before { content: 'Anki'; }
  .vs .vs-us { box-shadow: none; border-radius: 10px; padding-top: 8px; padding-bottom: 8px; margin-top: 8px; }
  .vs .vs-us::before { content: 'Gushi'; color: var(--seal-text); text-decoration: none; top: 9px; }
}

.py1 { color: var(--t1); } .py2 { color: var(--t2); } .py3 { color: var(--t3); }
.py4 { color: var(--t4); } .py5 { color: var(--t5); }

.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.tag.el { background: rgba(95, 168, 106, .16); color: #4C8B57; }
.tag.mid { background: rgba(224, 162, 60, .18); color: #A9761F; }
.tag.adv { background: rgba(91, 139, 201, .18); color: #3F6FA8; }

.fsrs-graph { margin: 26px 0 0; }
.fsrs-graph svg { width: 100%; height: auto; display: block; overflow: visible; }
.fsrs-graph .ax { stroke: var(--hair); stroke-width: 1; }
.fsrs-graph .thresh { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 5; opacity: .65; }
.fsrs-graph .decay { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 5; opacity: .75; }
.fsrs-graph .fsrs { fill: none; stroke: var(--seal); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.fsrs-graph .dots circle { fill: var(--seal); }
.fsrs-graph text { font-family: 'Inter', sans-serif; font-size: 12px; fill: var(--fg-2); }
.fsrs-graph .lab { font-size: 11.5px; font-weight: 600; fill: var(--muted); }
.fsrs-graph .dim { fill: var(--muted); font-size: 11.5px; }
.fsrs-graph .gap text { font-size: 11.5px; font-weight: 600; fill: var(--muted); }
.fsrs-graph .curve-lab { font-size: 12.5px; font-weight: 600; }
.fsrs-graph .curve-lab.on { fill: var(--seal-text); }

.trial {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 26px;
  background: var(--bg-sunken); border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px 22px;
}
.trial .hz { font-size: 26px; color: var(--seal-text); line-height: 1; flex: none; }
.trial b { display: block; color: var(--fg); }
.trial span { display: block; font-size: var(--fs-small); color: var(--fg-2); margin-top: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.best { border-color: var(--seal); }
.plan .flag {
  position: absolute; top: -10px; left: 22px; background: var(--seal); color: var(--seal-on);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.plan .name { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan .price { font-family: var(--serif); font-size: 28px; color: var(--fg); margin-top: 8px; letter-spacing: -.4px; }
.plan .price small { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--muted); font-weight: 400; }
.plan .note { font-size: var(--fs-fine); color: var(--muted); margin-top: 4px; }
.plan ul { margin: 16px 0 0; padding-left: 18px; font-size: var(--fs-small); color: var(--fg-2); }
.plan li { margin-bottom: 6px; }

.faq { display: grid; gap: 10px; margin-top: 26px; }
.qa { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.qa summary {
  list-style: none; cursor: pointer; padding: 17px 50px 17px 20px; position: relative;
  font-size: 16px; font-weight: 600; color: var(--fg); line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa .a { padding: 0 20px 18px; color: var(--fg-2); font-size: var(--fs-small); max-width: 62ch; line-height: 1.6; }

.mascot { display: block; height: auto; }

footer.site { border-top: 1px solid var(--hair); padding: clamp(36px, 4vw, 56px) 0 clamp(24px, 3vw, 36px); margin-top: var(--section); font-size: var(--fs-fine); color: var(--muted); }
footer.site .foot-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px clamp(32px, 6vw, 96px); }
footer.site .foot-brand { flex: none; max-width: 240px; }
footer.site .foot-brand p { margin: 12px 0 0; line-height: 1.5; }
footer.site .foot-cols { flex: 0 1 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px clamp(24px, 3vw, 48px); }
footer.site .foot-cols > div { display: flex; flex-direction: column; gap: 9px; }
footer.site .foot-cols h2 { margin: 0 0 4px; font-family: inherit; font-size: inherit; font-weight: 600; letter-spacing: 0; color: var(--fg); }
footer.site .foot-brand .foot-legal { margin-top: 18px; }
footer.site .foot-cols .foot-consent { text-align: left; padding: 0; font: inherit; background: none; border: 0; cursor: pointer; }
footer.site a, footer.site .foot-consent { color: var(--muted); text-decoration: none; }
footer.site .logo, footer.site .logo .brand { color: var(--fg); }
footer.site a:hover, footer.site .foot-consent:hover { color: var(--fg); }


@media (max-width: 900px) {
  nav.links { gap: 18px; }
  nav.links a { font-size: 14px; }
}

@media (max-width: 720px) {
  .bar-in { flex-wrap: wrap; gap: 0; padding: 0 14px; border-radius: 24px; }
  .logo, .lang { min-height: 50px; display: flex; align-items: center; }
  nav.links {
    order: 3; flex-basis: 100%; min-height: 44px; gap: 0;
    justify-content: space-between; border-top: 1px solid var(--hair);
  }
  nav.links a { font-size: 13.5px; padding: 11px 0; }
  nav.links a[aria-current="page"] { padding-bottom: 9px; }
  :root { --bar-h: 139px; --bar-gap: 24px; }
  body:has(.opener)::before { height: calc(var(--top) + 20px); }

  .wrap, .doc { padding: 0 16px; }
  figure img.shot { max-width: 100%; }
  .trial { flex-direction: column; gap: 10px; }
  .steps li { gap: 12px; }

  footer.site .foot-main { flex-direction: column; }
  footer.site .foot-cols { flex: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  footer.site .foot-cols > div { gap: 0; }
  footer.site .foot-cols a { padding: 10px 0; }

  .lang a { padding: 12px 4px; }
  .btn { width: 100%; }
  .cta-row .btn { width: auto; }
  .bk-buy .btn { width: auto; }
}

@media (max-width: 360px) {
  nav.links a { font-size: 12.5px; }
  .brand { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  header.bar, .cta-row, .toc { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 12pt 0; border: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }

  .row > .col, .row > .rail, .chapter-body, .chapter-img img, .band--photo img,
  .gcard, .lead-ink > span { animation: none !important; opacity: 1 !important; }

  .crumbs, .lvl-nav, .dl-inline, .rail, .wl-sets, .wl-head, .wl-tabs, .wl-bar,
  .wl-status, .lvl-links, .wl-a, .lang, p.fine[data-lang-note], .door-note { display: none; }
  .tbl { border: 0; background: none; overflow: visible; }
  .lvl-list table, table { min-width: 0; font-size: 9pt; }
  thead { display: table-header-group; }
  tr, .lvl-ex { break-inside: avoid; }
  th, td { padding: 4pt 6pt; border-bottom: 1px solid #ddd; }
  .wl-h { font-size: 13pt; }
  .lvl-ex { font-size: 8.5pt; }
  caption { padding: 0 0 6pt; }

  footer.site { display: block; border: 0; padding-top: 8pt; }
  footer.site nav { display: none; }
  footer.site .foot-brand .logo, footer.site .foot-brand p:not(.foot-legal) { display: none; }
  footer.site .foot-legal::after { content: " · gushichinese.com/hsk-3.0/downloads · CC BY-SA 4.0"; }
}





.q { position: absolute; display: block; width: min(27ch, 25vw); animation: door-rise .9s cubic-bezier(.2,.7,.3,1) both; }
.q--learner { right: 59%; top: 64.6%; transform: translateY(-50%); text-align: right; animation-delay: .15s; }
.q--teacher { left: 59%;  top: 64.6%; transform: translateY(-50%); text-align: left;  animation-delay: .3s; }
.q .who { display: block; margin-bottom: 9px; font-size: 11.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.q .ask { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.9vw, 30px); line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; }
.q .go { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--seal-text); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: border-color .25s; }
.q:hover .go, .q:focus-visible .go { border-bottom-color: currentColor; }
.q:focus-visible { outline: 2px solid var(--seal); outline-offset: 14px; border-radius: 4px; }
.q::after { content: ''; position: absolute; top: calc(50% + 2px); border-top: 1px solid var(--hair); width: clamp(28px, 4.4vw, 74px); }
.q--learner::after { right: -14px; transform: translateX(100%); }
.q--teacher::after { left: -14px;  transform: translateX(-100%); }
.q::before { content: ''; position: absolute; top: calc(50% - 1.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--fg); opacity: .5; transition: opacity .25s, transform .25s; }
.q--learner::before { right: calc(-1 * clamp(28px, 4.4vw, 74px) - 18px); }
.q--teacher::before { left:  calc(-1 * clamp(28px, 4.4vw, 74px) - 18px); }
.q--teacher::after  { width: calc(clamp(28px, 4.4vw, 74px) - clamp(8px, 1vw, 18px)); }
.q--teacher::before { left:  calc(-1 * (clamp(28px, 4.4vw, 74px) - clamp(8px, 1vw, 18px)) - 18px); }
.q:hover::before, .q:focus-visible::before { opacity: 1; transform: scale(1.5); }

.door-search {
  position: absolute; z-index: 30; left: 50%; top: 36%; transform: translate(-50%, -50%);
  width: min(640px, 66vw);
  animation: door-rise-c .9s cubic-bezier(.2,.7,.3,1) both; animation-delay: .05s;
}

.bar-search { flex: 1 1 220px; min-width: 170px; max-width: 420px; margin: 0 8px; }
.bar-search .gsearch { height: 42px; padding: 4px 4px 4px 5px; box-shadow: none; background: var(--bg); }
.bar-search .gsearch:hover { box-shadow: none; }
.bar-search .gs-seal { width: 32px; height: 32px; font-size: 17px; border-radius: 9px; }
.bar-search .gsearch input { font-size: 15px; padding: 0 8px; }
.bar-search .gsearch button { width: 34px; padding: 0; justify-content: center; }
.bar-search .gsearch button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bar-search .gsearch button svg { width: 16px; height: 16px; }
.bar-search .gs-pop { left: auto; width: min(460px, 92vw); }
@media print { .bar-search { display: none; } }
@media print { .consent { display: none !important; } }
@media (max-width: 720px) {
  .bar-search { order: 4; flex: 0 0 100%; max-width: none; margin: 2px 0 12px; }
  .bar-search .gs-pop { left: 0; width: auto; }
}

.gsearch {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: 66px; padding: 7px 7px 7px 10px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(26, 24, 19, .05), 0 22px 48px -22px rgba(30, 58, 58, .45);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.gsearch:hover { box-shadow: 0 1px 2px rgba(26, 24, 19, .05), 0 26px 56px -22px rgba(30, 58, 58, .55); }
.gsearch:focus-within {
  border-color: color-mix(in srgb, var(--seal) 55%, var(--hair));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--seal) 13%, transparent), 0 26px 56px -22px rgba(30, 58, 58, .55);
}
.gs-seal {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; background: var(--seal); color: #FFF8EE;
  font-family: 'Noto Serif SC', serif; font-size: 25px; font-weight: 600; line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255, 248, 238, .28);
  transform: rotate(-6deg); transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.gsearch:focus-within .gs-seal { transform: rotate(0deg) scale(1.04); }
.gsearch input {
  flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: transparent;
  font: inherit; font-size: 19px; color: var(--fg); outline: none;
}
.gsearch input::placeholder { color: var(--muted); }
.gsearch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.gsearch button {
  flex: none; height: 100%; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px 0 24px;
  border: 0; border-radius: 999px; background: var(--seal); color: #fff;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s;
}
.gsearch button:hover { background: var(--seal-press); }
.gsearch button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.gsearch button:hover svg { transform: translateX(3px); }
.gsearch.is-busy button svg { opacity: 0; }
.gsearch.is-busy button { position: relative; }
.gsearch.is-busy button::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: gs-spin .7s linear infinite;
}
.bar-search .gsearch.is-busy button::after { right: 50%; margin-right: -9px; }
@media (max-width: 560px) { .gsearch.is-busy button::after { right: 50%; margin-right: -9px; } }
@keyframes gs-spin { to { transform: rotate(360deg); } }

.gs-pop {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 10px);
  padding: 8px; max-height: min(58vh, 520px); overflow: auto; overscroll-behavior: contain; text-align: left;
  background: var(--card); border: 1px solid var(--hair); border-radius: 24px;
  box-shadow: 0 30px 70px -24px rgba(26, 24, 19, .38);
  animation: gs-drop .18s ease-out;
}
.gs-pop[hidden], .gs-pop [hidden] { display: none; }
@keyframes gs-drop { from { opacity: 0; transform: translateY(-6px); } }
.gs-pop ul { list-style: none; margin: 0; padding: 0; }
.gs-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 8px 10px; border-radius: 16px; color: var(--fg); text-decoration: none;
}
.gs-row[aria-selected="true"] { background: var(--seal-soft); }
.gs-tile {
  min-width: 50px; height: 50px; padding: 0 9px; display: flex; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--bg); border: 1px solid var(--hair);
  font-family: 'Noto Serif SC', serif; font-size: 27px; line-height: 1; white-space: nowrap;
  transition: border-color .15s;
}
.gs-tile-wide { font-size: 21px; }
.gs-tile mark { background: none; color: var(--seal-text); }
.gs-row[aria-selected="true"] .gs-tile { border-color: color-mix(in srgb, var(--seal) 45%, var(--hair)); background: var(--card); }
.gs-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gs-top { display: flex; align-items: baseline; gap: 10px; }
.gs-py { font-size: 15px; font-weight: 600; color: var(--fg-2); }
.gs-py.t1 { color: var(--t1); } .gs-py.t2 { color: var(--t2); } .gs-py.t3 { color: var(--t3); }
.gs-py.t4 { color: var(--t4); } .gs-py.t5 { color: var(--t5); }
.gs-kind { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gs-m { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-hsk {
  padding: 3px 9px; border-radius: 99px; background: var(--bg); border: 1px solid var(--hair);
  color: var(--fg-2); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.gs-none { padding: 14px 12px; color: var(--fg-2); }
.gs-all {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--hair);
  color: var(--seal-text); font-size: 14px; font-weight: 600; text-decoration: none;
}
.gs-all:hover span { text-decoration: underline; text-underline-offset: 3px; }
.gs-all kbd {
  font: inherit; font-size: 12px; padding: 1px 7px; border-radius: 6px;
  border: 1px solid var(--hair); color: var(--muted);
}
@media (max-width: 560px) {
  .gsearch { height: 58px; padding: 5px 5px 5px 7px; }
  .gs-seal { width: 40px; height: 40px; font-size: 22px; border-radius: 11px; }
  .gsearch input { font-size: 17px; padding: 0 8px; }
  .gsearch button { width: 48px; padding: 0; justify-content: center; }
  .gsearch button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gs-row { gap: 10px; padding: 7px 6px; }
  .gs-hsk { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gs-seal, .gsearch button svg { transition: none; }
  .gs-pop { animation: none; }
}

.door-hub {
  position: absolute; left: 50%; top: min(80.5%, calc(var(--fp-top) - 32px)); transform: translateX(-50%);
  white-space: nowrap; font-size: 14px; color: var(--seal-text);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  animation: door-rise-c .9s cubic-bezier(.2,.7,.3,1) both; animation-delay: .45s;
}
.door-hub:hover, .door-hub:focus-visible { border-bottom-color: currentColor; }
.door-page .frame {
  --fp-w: clamp(170px, 13vw, 210px);
  --fp-h: calc(11px + var(--fp-w) * 161 / 536);
  --ft: min(calc((var(--h) - var(--fh)) * .32), calc(var(--h) - var(--fh) * .765 - 40px - var(--fp-h)));
  top: var(--ft);
  --fp-top: max(calc(76.5% + 32px), min(86%, calc(var(--h) - var(--ft) - var(--fp-h) - 8px)));
}
@media (min-width: 901px) and (min-aspect-ratio: 19/10) {
  .door-page .frame {
    --fp-w: clamp(140px, 13vw, 210px);
    --fp-h: calc(var(--fp-w) * 161 / 536);
  }
  .door-page .door-partners::before { content: none; }
}
.door-partners {
  position: absolute; left: 50%; top: var(--fp-top); transform: translateX(-50%);
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 16px;
  animation: door-rise-c .9s cubic-bezier(.2,.7,.3,1) both; animation-delay: .6s;
}
.door-partners::before { content: ''; grid-column: 1 / -1; justify-self: center; width: 40px; margin-bottom: 10px; border-top: 1px solid var(--hair); }
.door-partners { mix-blend-mode: multiply; }
.door-partners .fp-logo { width: var(--fp-w); }
@keyframes door-rise-c {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes door-rise { from { opacity: 0; transform: translateY(calc(-50% + 10px)); } to { opacity: 1; transform: translateY(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .q, .door-hub, .door-partners, .door-search { animation: none; }
}

@media (max-width: 900px) {
  .door-page .scene { height: auto; }
  .door-page .frame { position: static; translate: none; width: 100%; height: auto; }
  .door-page .art { width: 100%; height: min(clamp(300px, 54svh, 560px), 64svh); margin: 0 0 -5svh; }

  @media (orientation: landscape) {
    .door-page .art { margin-bottom: 0; }
  }

  .q { position: static; width: auto; text-align: left; transform: none; padding: 0 clamp(18px, 6vw, 32px); }
  .q--learner { margin-top: clamp(18px, 5vw, 34px); }
  .q--teacher { margin-top: clamp(22px, 6vw, 40px); }
  .q::before, .q::after { display: none; }
  .q .ask { font-size: clamp(21px, 5.4vw, 30px); }
  .door-hub { position: static; transform: none; margin-top: clamp(26px, 7vw, 40px); padding: 0 clamp(18px, 6vw, 32px); display: block; white-space: normal; }
  .door-search { position: relative; left: auto; top: auto; transform: none; width: auto; margin: clamp(18px, 5vw, 30px) clamp(18px, 6vw, 32px) 0; }
  .door-hub::before { content: ''; display: block; margin-bottom: clamp(20px, 5vw, 30px); border-top: 1px solid var(--hair); }
  .door-partners { position: static; transform: none; grid-template-columns: minmax(0, 1fr); justify-items: start; row-gap: 10px; margin-top: clamp(26px, 7vw, 40px); padding: 0 clamp(18px, 6vw, 32px) clamp(28px, 7vw, 44px); }
  .door-partners::before { justify-self: stretch; width: auto; margin-bottom: clamp(4px, 2vw, 10px); }
  .door-partners .fp-logo { width: min(220px, 64vw); }
  @keyframes door-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes door-rise-c { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

:root {
  --ic-play: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4zm12.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4zM14 2v2a8 8 0 0 1 0 16v2a10 10 0 0 0 0-20z'/%3E%3C/svg%3E");
}
.crumbs { font-size: var(--fs-fine); color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--fg-2); }

.wl-h { white-space: nowrap; font-family: var(--serif-hz); font-size: 22px; color: var(--fg); }
.wl-p { font-weight: 600; white-space: nowrap; }
.wl-p span + span::before { content: ''; }
.wl-m { color: var(--fg-2); }
.wl-l { white-space: nowrap; }
.wl-a { text-align: right; white-space: nowrap; }
.wl-a .icon {
  border: 1px solid var(--hair); background: transparent; color: var(--fg-2); cursor: pointer;
  width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center;
  justify-content: center; margin-left: 6px; transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.wl-a .icon:hover { color: var(--fg); border-color: var(--fg-2); }
.wl-a .icon.is-playing { color: var(--seal); border-color: var(--seal); }
.wl-a .icon.open svg { transform: rotate(180deg); }
.icon.play::before {
  content: ''; width: 15px; height: 15px; background: currentColor;
  -webkit-mask-image: var(--ic-play); mask-image: var(--ic-play);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.wl-ex td { background: var(--bg); padding-top: 4px; }
.wl-ex .hz { font-family: var(--serif-hz); font-size: 19px; color: var(--fg); margin-right: 12px; }
.wl-ex .ex-py { color: var(--muted); margin-right: 12px; font-size: 14px; }
.wl-ex .ex-en { color: var(--fg-2); font-size: 14px; }

.gr-n { width: 34%; max-width: 320px; font-family: var(--serif-hz); font-size: 19px; color: var(--fg); line-height: 1.35; }
.gr-n .hz { display: block; }
.gr-n .gr-pt { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.gr-c { color: var(--fg-2); white-space: nowrap; }
.gr-cz { display: block; font-family: var(--serif-hz); font-size: 13px; color: var(--muted); margin-top: 2px; }
.gr-en { color: var(--fg-2); min-width: 260px; }

@media (max-width: 640px) {
  .wl-h { font-size: 19px; }
  .wl-p { font-size: 13.5px; }
  .wl-a .icon { width: 30px; height: 30px; margin-left: 2px; }
  .gr-n { width: 44%; max-width: none; font-size: 16px; }
}

.lvl-list table { min-width: 560px; font-size: 15px; }
.lvl-list td { vertical-align: top; }
@media (max-width: 640px) {
  .lvl-list table { min-width: 0; font-size: 14.5px; }
  .lvl-list th, .lvl-list td { padding: 10px 5px; }
}

.lvl-nav { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(20px, 2.4vw, 32px); }
.lvl-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lvl-set-k {
  flex: none; width: 104px; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); line-height: 1.2;
}
@media (max-width: 560px) {
  .lvl-set-k { width: 100%; margin-bottom: -2px; }
}
.lvl-nav a {
  font-size: 14px; font-weight: 600; line-height: 1; color: var(--fg-2);
  padding: 10px 16px; border: 1px solid var(--hair); border-radius: 999px;
  background: var(--card); transition: color .16s ease, border-color .16s ease;
}
.lvl-nav a:hover { color: var(--fg); border-color: var(--fg-2); }
.lvl-nav a.is-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.lvl-ex { display: block; margin-top: 5px; font-size: 13.5px; line-height: 1.5; }
.lvl-ex > span:first-child { font-family: var(--serif-hz); font-size: 15px; color: var(--fg); margin-right: 9px; }
.lvl-ex .ex-py { color: var(--muted); margin-right: 9px; }
.lvl-ex .ex-en { color: var(--fg-2); }

.dl-tbl table { min-width: 620px; }
.dl-tbl thead th:first-child, .dl-tbl tbody th { width: 100%; }
.dl-tbl tbody th { color: var(--fg); font-weight: 600; white-space: nowrap; }
.dl-tbl tbody tr:last-child th { border-bottom: none; }
.dl-tbl tbody th a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
.dl-tbl tbody th a:hover { text-decoration-color: var(--fg-2); }
.dl-tbl .dl-n { text-align: right; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl-tbl td a {
  display: inline-flex; align-items: baseline; gap: 7px; font-weight: 600; color: var(--fg);
  border: 1px solid var(--hair); border-radius: 9px; padding: 6px 11px; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease;
}
.dl-tbl td a:hover { border-color: var(--fg-2); background: var(--bg); }
.dl-s { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.btn .dl-s { color: inherit; opacity: .72; }

.dl-inline, .col > .dl-inline { max-width: none; margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-fine); color: var(--muted); }
.dl-inline a {
  display: inline-flex; align-items: baseline; gap: 6px; font-weight: 600; color: var(--fg);
  border: 1px solid var(--hair); border-radius: 999px; padding: 6px 13px; background: var(--card);
  transition: border-color .15s ease;
}
.dl-inline a:hover { border-color: var(--fg-2); }
.dl-inline a:last-child { border-color: transparent; background: transparent; padding-left: 4px; color: var(--fg-2); }
.dl-inline a:last-child:hover { color: var(--fg); }

.deflist { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 22px 0 18px; font-size: var(--fs-fine); }
.deflist dt { margin: 0; }
.deflist dd { margin: 0; color: var(--fg-2); line-height: 1.5; }
.deflist code, .snip code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.deflist code { color: var(--fg); }
.snip { margin: 12px 0 18px; padding: 14px 16px; overflow-x: auto; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); }
.snip code { color: var(--fg-2); white-space: pre; }
@media (max-width: 640px) {
  .deflist { grid-template-columns: 1fr; gap: 3px 0; }
  .deflist dd { margin-bottom: 13px; }
  .dl-tbl table { min-width: 560px; }
  .dl-tbl th, .dl-tbl td { padding: 10px 8px; }
}

.optin { max-width: var(--measure); margin-top: clamp(20px, 2vw, 28px); }
.optin-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; }
.optin-f { display: grid; gap: 6px; }
.optin-f > span { font-size: var(--fs-fine); font-weight: 600; color: var(--fg-2); }
.optin-f input {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--fg); background: var(--card);
  border: 1px solid var(--hair); border-radius: 12px; padding: 12px 15px;
}
.optin-f input:focus { outline: 2px solid var(--seal); outline-offset: 1px; }

.optin-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.optin-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 18px; font-size: var(--fs-fine); color: var(--fg-2); line-height: 1.5; }
.optin-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--seal); }
.optin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.optin-status { font-size: var(--fs-fine); line-height: 1.5; }
.optin-status.is-ok { color: var(--fg-2); }
.optin-status.is-bad { color: var(--seal-text); }
.optin .fine { margin-top: 16px; }
.optin .fine a { color: var(--seal-text); border-bottom: 1px solid transparent; }
.optin .fine a:hover { border-bottom-color: currentColor; }
@media (max-width: 640px) {
  .optin-fields { grid-template-columns: 1fr; }
}

.optin-bar {
  position: fixed; z-index: 60; right: clamp(12px, 2vw, 26px); bottom: clamp(12px, 2vw, 26px);
  width: min(420px, calc(100vw - 24px)); padding: clamp(18px, 2vw, 24px);
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: 0 18px 44px -18px rgba(21, 20, 15, .34), 0 2px 8px -4px rgba(21, 20, 15, .18);
  transform: translateY(14px); opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}
.optin-bar.is-up { transform: none; opacity: 1; }
.optin-bar .optin { margin-top: 14px; max-width: none; }
.optin-bar .optin-fields { grid-template-columns: 1fr; gap: 10px; }
.optin-bar .optin-consent { margin-top: 14px; }
.optin-bar .optin-actions { margin-top: 14px; }
.optin-bar-t { font-size: 15.5px; line-height: 1.45; color: var(--fg); font-weight: 600; padding-right: 26px; }
.optin-x {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  font: inherit; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted);
  background: transparent; border: 0; border-radius: 8px;
}
.optin-x:hover { color: var(--fg); background: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  .optin-bar { transition: none; transform: none; }
}
@media (max-width: 640px) {
  .optin-bar { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media print { .optin-bar { display: none; } }


.opener { position: relative; isolation: isolate; margin-top: calc(-1 * var(--top)); padding-top: calc(var(--top) + 56px); padding-bottom: clamp(40px, 5vw, 86px); overflow: hidden; }
@media (max-width: 720px) {
}
.opener-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.glyphs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glyphs span { position: absolute; font-family: var(--serif-hz); font-weight: 500; line-height: 1; user-select: none; }
.opener-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .42fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.opener h1 { margin: 0; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.opener h1 .two { display: block; color: var(--seal-text); }
.opener .cta-row { margin-top: clamp(30px, 3.4vw, 52px); }
.dragon { display: block; width: 100%; max-width: 280px; margin-left: auto; height: auto; }

.duel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 90px); align-items: start; }
.brandmark { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 24px); margin: 0 0 24px; }
.brandmark img { width: clamp(72px, 9.5vw, 132px); height: auto; border-radius: clamp(16px, 2.2vw, 30px); }
.brandmark b { font-weight: 700; letter-spacing: -.04em; font-size: clamp(34px, 5vw, 64px); line-height: 1; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-body); line-height: 1.5; }
.plist .m { width: 22px; height: 22px; margin-top: 1px; }
.plist .yes { color: var(--jade); }
.plist .no { color: var(--seal); }
.plist li.is-no { color: var(--fg-2); }
.plist li.is-no b { color: var(--fg); }

.seam-chop { display: grid; place-items: center; gap: clamp(14px, 1.8vw, 22px); padding: 0 0 clamp(34px, 4.4vw, 68px); text-align: center; }
.seam-chop .claim { margin: 0; max-width: 26ch; font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.seam-chop .merge { display: block; width: clamp(76px, 8vw, 108px); height: auto; color: var(--fg-2); }
.seam-chop .chop { width: clamp(88px, 11vw, 136px); height: clamp(88px, 11vw, 136px); border-radius: clamp(18px, 2.2vw, 28px); box-shadow: 0 18px 40px -22px rgba(200, 69, 46, .75); }
.seam-chop .chop span { font-size: clamp(30px, 3.8vw, 48px); }
.seam-chop .name { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -.03em; }

.feat { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 84px); align-items: center; padding: clamp(34px, 5vw, 74px) 0; border-top: 1px solid var(--hair); }
.feat > .feat-media { order: -1; }
.feat:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
.feat:nth-of-type(even) > .feat-media { order: 0; }
.feat-body h3 { margin: 0 0 12px; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.feat-media { display: flex; justify-content: center; margin: 0; }
.feat-media .fsrs-graph { width: 100%; max-width: 560px; margin: 0; }
.capture { display: block; width: 100%; max-width: 296px; border-radius: clamp(14px, 1.4vw, 22px); overflow: hidden; border: 1px solid var(--hair); background: var(--bg-sunken); box-shadow: 0 6px 12px rgba(26,24,19,.06), 0 34px 64px -38px rgba(26,24,19,.55); margin: 0; }
.capture img { display: block; width: 100%; height: auto; }
.feat-media--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.feat-media--two .capture { max-width: none; }

.closer { position: relative; overflow: hidden; margin-top: clamp(20px, 2.6vw, 44px); padding: clamp(56px, 7vw, 104px) 0 clamp(52px, 7vw, 100px); }
.closer-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.closer-in { display: grid; grid-template-columns: minmax(140px, .3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.closer h2 { margin: 0; font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.closer .lead { max-width: 46ch; }

@media (max-width: 860px) {
  .opener-in { grid-template-columns: 1fr; }
  .dragon { max-width: 170px; margin: 22px auto 0; }
  .duel { grid-template-columns: 1fr; gap: 44px; }
  .feat, .feat:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; }
  .feat > .feat-media, .feat:nth-of-type(even) > .feat-media { order: 0; }
  .closer-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .closer-in .cta-row { justify-content: center; }
}

@media (max-width: 640px) {
  .fsrs-graph text { font-size: 19px; }
  .fsrs-graph .lab, .fsrs-graph .dim, .fsrs-graph .gap text { font-size: 18px; }
  .fsrs-graph .curve-lab { font-size: 19px; }
  .fsrs-graph .curve-lab.dim { font-size: 16px; }
}

body.door-page { padding-top: 0; }
.door-mark, .door-lang { position: absolute; z-index: 3; top: clamp(18px, 2.4vw, 34px); }
.door-mark { left: clamp(18px, 3vw, 44px); display: flex; align-items: center; gap: 11px; color: inherit; }
.door-mark .chop { width: 34px; height: 34px; border-radius: 8px; font-size: 12px; }
.door-mark .brand { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.door-lang { right: clamp(18px, 3vw, 44px); display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; line-height: 34px; }
.door-lang a { color: var(--fg); padding: 4px 3px; }
.door-lang a:hover { text-decoration: underline; text-underline-offset: 4px; }
.door-lang a[aria-current] { font-weight: 600; }
.door-lang i { color: rgba(26,24,19,.3); font-style: normal; }

.door-note {
  position: absolute; z-index: 3; right: clamp(18px, 3vw, 44px);
  top: calc(clamp(18px, 2.4vw, 34px) + 38px);
  max-width: min(38ch, calc(100vw - 2 * clamp(18px, 3vw, 44px)));
  margin: 0; text-align: right; text-wrap: pretty;
  font-size: 13.5px; line-height: 1.5; color: var(--fg);
}
.door-note a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.door-note a:hover { text-decoration-thickness: 2px; }
@media (max-width: 640px) {
  .door-note { left: clamp(18px, 6vw, 32px); right: clamp(18px, 6vw, 32px); max-width: none; }
}


.opener--teach { padding-bottom: clamp(200px, 25vw, 380px); }
.row--under { border-top: 0; padding-top: 0; margin-top: calc(-1 * clamp(140px, 17vw, 270px)); }
.opener-in--teach { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(28px, 6vw, 96px); }
.opener--teach h1 { margin: 0; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.opener--teach h1 .two { display: block; color: var(--seal-text); }
.opener--teach .cta-row { margin: 0; }
.opener-glyph {
  position: absolute; z-index: -1; right: 2vw; top: 50%; translate: 0 -46%;
  font-size: clamp(240px, 34vw, 560px); line-height: .8; color: var(--fg);
  opacity: .045; user-select: none; pointer-events: none;
}

.row--plain { grid-template-columns: minmax(0, 1fr); }

.imagine { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: end; max-width: 1040px; margin-inline: auto; }
.imagine-bubbles { display: grid; gap: clamp(12px, 1.6vw, 20px); justify-items: end; margin-bottom: clamp(64px, 10.5vw, 158px); }
.imagine-bubbles .bubble:nth-child(1) { margin-right: clamp(0px, 5.5vw, 78px); }
.imagine-bubbles .bubble:nth-child(2) { margin-right: clamp(0px, 2.6vw, 38px); }
.bubble {
  position: relative; margin: 0; width: fit-content; max-width: 34ch;
  padding: clamp(14px, 1.6vw, 22px) clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--hair); border-radius: clamp(22px, 2.6vw, 36px);
  background: var(--card); box-shadow: var(--shadow);
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(17px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -.015em;
  text-wrap: balance;
}
.bubble:last-child::after,
.bubble:last-child::before {
  content: ''; position: absolute;
  border: 1px solid var(--hair); border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow);
}
.bubble b { font-weight: 600; color: var(--fg); }
.bubble:last-child::after  { right: 20px; bottom: -22px; width: 16px; height: 16px; }
.bubble:last-child::before { right: -8px; bottom: -46px; width: 10px; height: 10px; }
.imagine-bubbles .bubble:nth-child(1) { color: var(--muted); }
.imagine-bubbles .bubble:nth-child(2) { color: var(--fg-2); }
.imagine-teacher { width: clamp(130px, 16vw, 224px); height: auto; display: block; }
.seam-chop--answer { padding-top: clamp(26px, 3.4vw, 52px); }
.seam-chop--answer .chop { width: clamp(72px, 8.5vw, 108px); height: clamp(72px, 8.5vw, 108px); border-radius: clamp(16px, 1.9vw, 24px); box-shadow: 0 16px 36px -20px rgba(200, 69, 46, .7); }
.seam-chop--answer .chop span { font-size: clamp(24px, 2.9vw, 38px); }

.statement { margin: 0; max-width: min(100%, 760px); display: grid; gap: clamp(14px, 1.8vw, 24px); }
.statement blockquote { margin: 0; display: grid; gap: clamp(10px, 1.2vw, 16px); padding-left: clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--seal); }
.statement p { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.3vw, 32px); line-height: 1.26; letter-spacing: -.02em; text-wrap: balance; color: var(--fg-2); }
.statement b { font-weight: 600; color: var(--fg); }
.statement figcaption { padding-left: clamp(18px, 2.4vw, 34px); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.study { display: grid; grid-template-columns: minmax(0, .52fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; margin-top: clamp(22px, 2.6vw, 38px); }
.paper { display: grid; gap: 8px; margin: 0; padding: clamp(16px, 1.8vw, 24px); border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--fg); transition: border-color .16s ease, transform .16s ease; }
.paper:hover { border-color: var(--fg-2); transform: translateY(-1px); }
.paper-kind { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.paper-title { font-family: var(--serif); font-weight: 600; font-size: var(--fs-small); line-height: 1.3; }
.paper-meta { font-size: var(--fs-fine); color: var(--fg-2); }
.paper-go { margin-top: 4px; font-size: var(--fs-fine); font-weight: 600; color: var(--seal-text); }
.study .plist { gap: clamp(20px, 2.4vw, 32px); }
.study .plist li { grid-template-columns: 26px minmax(0, 1fr); gap: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2.1vw, 30px); line-height: 1.22; letter-spacing: -.018em; text-wrap: balance; }
.study .plist .m { width: 26px; height: 26px; margin-top: 4px; }

.benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(22px, 2.6vw, 38px); }
.benefits .plist { gap: clamp(18px, 2.2vw, 28px); }
.benefits .plist li { grid-template-columns: 26px minmax(0, 1fr); gap: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2vw, 28px); line-height: 1.24; letter-spacing: -.018em; text-wrap: balance; color: var(--fg-2); }
.benefits .plist li b { font-weight: 600; color: var(--fg); }
.benefits .plist .m { width: 26px; height: 26px; margin-top: 3px; }
.benefits-shot { margin: 0; display: grid; gap: 10px; }
.shot-label { justify-self: end; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shot-frame { border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 12px rgba(26,24,19,.06), 0 34px 64px -38px rgba(26,24,19,.5); }
.shot-frame img { display: block; width: 100%; height: auto; }

.fp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 40px); }
.fp-logo { display: block; width: min(300px, 80vw); }
.fp-logo img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; mix-blend-mode: multiply; }
.fp-logo--wide { width: min(340px, 84vw); }
.feat-note { margin: 0; max-width: 38ch; font-size: var(--fs-body); line-height: 1.55; color: var(--fg-2); }
.feat--partners .feat-media { mix-blend-mode: multiply; }
.feat--partners .fp-logos { justify-content: center; }
.feat--partners .fp-logo { width: min(360px, 80vw); }
.feat--partners .fp-logo--wide { width: min(400px, 84vw); }
.fp-block { mix-blend-mode: multiply; }
.fp-block > .fp-logos { margin-top: clamp(16px, 2vw, 26px); }
.fp-block .lead b { font-weight: 600; color: var(--fg); }
.fp-row { padding: calc(var(--section) * .6) 0 calc(var(--section) * .3); }
footer.site .foot-partners { display: grid; justify-items: start; gap: 10px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--hair); }
footer.site .foot-partners .fp-logo { width: min(200px, 60vw); }
footer.site .foot-partners .fp-logo--wide { width: min(240px, 66vw); }
.foot-partners .who, .door-partners .who { font-size: 11.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
@media print { footer.site .foot-partners { display: none; } }

.vq-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1160px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px;
}
.vq {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: clamp(20px, 2vw, 28px); border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card);
}
.vq blockquote { margin: 0; font-family: var(--serif); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--fg); }
.vq blockquote p { margin: 0; }
.vq-by { display: flex; align-items: center; gap: 12px; margin: 0; font-size: var(--fs-fine); color: var(--fg-2); }
.vq-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.vq-by b { display: block; color: var(--fg); font-weight: 600; }
.ld-voices .vq { background: var(--bg); }
.vq-page .vq-list { margin: clamp(28px, 3vw, 44px) 0 0; max-width: none; }

.pv-page { max-width: 1040px; margin: 0 auto; padding: 132px 24px 80px; text-align: center; }
.pv-page h1 { margin: 0 0 28px; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(30px, 4vw, 44px); }
.pv-film {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: #000;
  box-shadow: 0 30px 70px -30px rgba(26, 24, 19, .45);
}
.pv-page .cta-row { justify-content: center; margin-top: 32px; }

.closer-in--teach { grid-template-columns: minmax(0, 1fr); justify-items: start; text-align: left; gap: clamp(18px, 2.4vw, 30px); }

@media (max-width: 860px) {
  .opener-in--teach, .imagine, .study, .benefits { grid-template-columns: 1fr; }
  .imagine { justify-items: center; }
  .imagine-bubbles { justify-items: stretch; }
  .bubble { width: auto; max-width: none; }
  .imagine-bubbles .bubble:nth-child(1), .imagine-bubbles .bubble:nth-child(2) { margin-right: 0; }
  .imagine-bubbles { margin-bottom: 0; }
  .bubble:last-child::after, .bubble:last-child::before { display: none; }
  .benefits-shot { order: -1; }
}

html:has(dialog.sc-dlg[open]) { overflow: hidden; }
.sc-dlg {
  width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--card); color: var(--fg);
  box-shadow: 0 24px 60px -24px rgba(26, 24, 19, .45);
  overflow: auto; overscroll-behavior: contain;
}
.sc-dlg::backdrop { background: rgba(21, 20, 15, .48); }
.sc-dlg [hidden] { display: none !important; }
.sc-dlg[open] { animation: sc-pop .22s ease; }
.sc-in { position: relative; padding: clamp(22px, 4vw, 36px); }
.sc-x {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer;
}
.sc-x:hover { background: var(--bg-sunken); color: var(--fg); }
.sc-top { padding-right: 40px; }
.sc-kicker { margin: 0; font-size: var(--fs-fine); font-weight: 600; color: var(--fg-2); }
.sc-bar { height: 4px; margin-top: 12px; border-radius: 99px; background: var(--bg-sunken); overflow: hidden; }
.sc-bar span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--seal); transition: width .3s ease; }
.sc-count { margin: 8px 0 0; font-size: var(--fs-fine); color: var(--muted); }

.sc-form { margin-top: clamp(18px, 2.4vw, 26px); }
.sc-q { margin: 0 0 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; outline: none; }
.sc-step.is-fwd { animation: sc-in-r .26s ease; }
.sc-step.is-back { animation: sc-in-l .26s ease; }
@keyframes sc-in-r { from { opacity: 0; transform: translateX(18px); } }
@keyframes sc-in-l { from { opacity: 0; transform: translateX(-18px); } }
@keyframes sc-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@media (prefers-reduced-motion: reduce) {
  .sc-dlg[open], .sc-step.is-fwd, .sc-step.is-back { animation: none; }
  .sc-bar span { transition: none; }
}

.sc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sc-opt {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--bg);
  color: var(--fg); font-size: var(--fs-small); cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.sc-opt:hover { border-color: var(--fg-2); }
.sc-opt:active { transform: scale(.985); }
.sc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sc-opt:has(input:checked) { border-color: var(--seal); background: var(--seal-soft); }
.sc-opt:has(input:focus-visible) { outline: 2px solid var(--seal-text); outline-offset: 2px; }
.sc-key {
  flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--hair); background: var(--card); color: var(--muted); font-size: 12.5px; font-weight: 600;
}
.sc-opt:has(input:checked) .sc-key { border-color: var(--seal); background: var(--seal); color: #fff; }
.sc-opt--wide { grid-column: 1 / -1; }
.sc-opt--quiet { color: var(--fg-2); }

.sc-fields { display: grid; gap: 14px; }
.optin-f > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.optin-f textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--fg); background: var(--card);
  border: 1px solid var(--hair); border-radius: 12px; padding: 12px 15px;
  resize: vertical; min-height: 110px; line-height: 1.5;
}
.optin-f textarea:focus { outline: 2px solid var(--seal); outline-offset: 1px; }
.sc-step .optin-f input, .sc-step .optin-f textarea { background: var(--bg); }
.sc-note { margin-top: 14px; }

.sc-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(22px, 2.6vw, 30px); }
.sc-nav [data-sc-next] { margin-left: auto; min-width: 140px; justify-content: center; }
.contact-status { margin: 14px 0 0; }

.sc-done { padding: clamp(12px, 3vw, 28px) 0 clamp(4px, 1vw, 10px); text-align: center; outline: none; }
.sc-done .sc-q { margin: 18px 0 8px; }
.sc-done-t { margin: 0 auto; max-width: 34ch; color: var(--fg-2); font-size: var(--fs-body); line-height: 1.5; }
.sc-tick { width: 64px; height: 64px; fill: none; stroke: var(--seal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sc-tick circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: sc-draw .5s ease forwards; }
.sc-tick path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: sc-draw .32s ease .38s forwards; }
@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sc-tick circle, .sc-tick path { animation: none; stroke-dashoffset: 0; } }

@media (max-width: 520px) {
  .sc-opts { grid-template-columns: 1fr; }
}

@media print {
  footer.site { display: none; }
}


body:has(.opener) main > [data-lang-note] {
  position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--top) + 4px);
  padding-top: 0 !important; text-align: center;
}

.wl-h a { color: inherit; text-decoration: none; }
.wl-h a:hover { color: var(--seal-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.lvl-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: var(--fs-fine); }
.lvl-more a { color: var(--seal-text); font-weight: 600; text-decoration: none; }
.lvl-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lvl-step { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.lvl-step-a {
  display: grid; gap: 2px; padding: 12px 18px; min-width: 0;
  border: 1px solid var(--hair); border-radius: 14px; background: var(--card);
  color: var(--fg); text-decoration: none; transition: border-color .16s ease;
}
.lvl-step-a:hover { border-color: var(--fg-2); }
.lvl-step-a span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lvl-step-a b { font-weight: 600; }
.lvl-step-next { margin-left: auto; text-align: right; }
.hub-link.hub-link--go { color: var(--seal-text); border-color: color-mix(in srgb, var(--seal) 38%, transparent); }

.st { max-width: 640px; }
.st[hidden] { display: none; }
.st-start[hidden] { display: none; }
.st h2 + .body { margin-bottom: 18px; }
.st-stage:empty { display: none; }
.st-stage { margin-top: 4px; padding: clamp(18px, 2.6vw, 28px); border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); }
.st--test .st-start { margin-top: 22px; }
.st-step { margin: 0 0 8px; font-size: var(--fs-fine); color: var(--muted); }
.st-prompt { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 20px; }
.st-hz { font-family: var(--serif-hz); font-size: clamp(44px, 7vw, 64px); line-height: 1.15; color: var(--fg); }
.st-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.st-opt {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--bg);
  color: var(--fg); font: inherit; font-size: var(--fs-small); text-align: left; cursor: pointer;
}
.st-opt:hover:not(:disabled) { border-color: var(--fg-2); }
.st-opt:disabled { cursor: default; }
.st-opt:focus-visible, .st-dk:focus-visible { outline: 2px solid var(--seal-text); outline-offset: 2px; }
.st-opt.is-right { border-color: var(--jade); background: color-mix(in srgb, var(--jade) 14%, transparent); }
.st-opt.is-wrong { border-color: var(--seal); background: var(--seal-soft); }
.st-dk {
  margin-top: 12px; font: inherit; font-size: var(--fs-fine); color: var(--muted);
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.st-dk:disabled { visibility: hidden; }
.st-fb { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.st-fb[hidden] { display: none; }
.st-verdict { margin: 0 0 6px; font-weight: 600; }
.st-verdict.is-right { color: var(--fg); }
.st-verdict.is-wrong { color: var(--seal-text); }
.st-ans { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 14px; }
.st-ans-h { font-family: var(--serif-hz); font-size: 22px; color: var(--fg); }
.st-ans-p { font-weight: 600; color: var(--fg-2); }
.st-ans-m { color: var(--fg-2); }
.st-play {
  border: 1px solid var(--hair); background: transparent; color: var(--fg-2); cursor: pointer;
  width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
}
.st-play:hover { color: var(--fg); border-color: var(--fg-2); }
.st-score, .st-result { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.2; outline: none; }
.st-missed-k { margin: 0 0 6px; color: var(--muted); font-size: var(--fs-fine); }
.st-missed { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.st-missed li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.st-missed a { text-decoration: none; }
.st-missed a:hover { color: var(--seal-text); }
.st-stage .cta-row { margin-top: 14px; }
@media (max-width: 560px) { .st-opts { grid-template-columns: 1fr; } }
@media print { .st, #selftest, .lvl-step, .lvl-more { display: none !important; } }

.bk-glyph {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--acc, var(--seal)); color: #fff;
  font-family: var(--serif-hz); font-size: 24px; line-height: 1;
}
.bk-glyph--lg { width: clamp(64px, 7vw, 92px); height: clamp(64px, 7vw, 92px); border-radius: clamp(16px, 1.8vw, 22px); font-size: clamp(34px, 3.8vw, 50px); }
.bk-head { display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); }
.row--hero .bk-head h1 { max-width: 24ch; }
.bk-tag { margin-top: 8px; color: var(--muted); font-size: var(--fs-small); font-weight: 500; }

.bk-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: clamp(22px, 2.4vw, 34px) 0 0; }
.bk-facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums lining-nums; }



.bk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bk-card {
  display: flex; align-items: center; gap: 16px; height: 100%;
  border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card);
  padding: 16px 18px; text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.bk-card:hover, .bk-card:focus-visible { border-color: var(--acc, var(--fg-2)); transform: translateY(-1px); }
.bk-card-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bk-card-t b { font-weight: 600; color: var(--fg); line-height: 1.3; }
.bk-card-t span { font-size: var(--fs-fine); color: var(--muted); }
.bk-card-t .bk-card-n { color: var(--fg-2); }
@media (prefers-reduced-motion: reduce) { .bk-card { transition: none; } }

.bk-cover {
  display: block; flex: none; width: 120px; height: auto; border-radius: 4px;
  border: 1px solid var(--hair); background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 22px -10px rgba(0,0,0,.28);
}
.bk-cover--lg { width: clamp(170px, 20vw, 250px); }
.bk-cover--sm { width: 62px; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 10px -6px rgba(0,0,0,.3); }
.bk-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(24px, 4vw, 64px); }
.bk-hero-main { min-width: 0; flex: 1; }
.bk-pub { margin-top: 10px; color: var(--muted); font-size: var(--fs-small); }
.bk-pub b { color: var(--fg); font-weight: 600; }
.bk-about { max-width: 62ch; }
.bk-meta.bk-meta--row { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 22px; }
.bk-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.bk-buy-k { flex: 0 0 100%; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.bk-shop {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--hair); background: var(--card); color: var(--fg);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.bk-shop span { color: var(--muted); font-weight: 500; }
.bk-shop:hover { border-color: var(--fg-2); }
.bk-shop--sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.bk-start { margin-top: 22px; }
.bk-pick { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
.bk-pick select {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--fg);
  height: 42px; padding: 0 38px 0 14px; border-radius: 10px; border: 1px solid var(--fg-2);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; cursor: pointer; max-width: 100%;
}
.bk-side { flex: none; display: grid; gap: 14px; width: clamp(190px, 20vw, 260px); }
.bk-side .bk-cover--lg { width: 100%; }
.bk-schools {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 18px; text-decoration: none; color: var(--seal-text);
  background: linear-gradient(135deg, var(--card), color-mix(in srgb, var(--seal) 14%, var(--card)));
  border: 1px solid color-mix(in srgb, var(--seal) 45%, var(--hair));
  transition: transform .2s ease, box-shadow .2s ease;
}
.bk-schools:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -14px color-mix(in srgb, var(--seal) 70%, transparent); }
.bk-globe { flex: none; width: 84px; height: 84px; }
.bk-schools-t { display: grid; gap: 2px; min-width: 0; }
.bk-schools-t b { font-family: var(--serif); font-size: clamp(46px, 4.4vw, 62px); font-weight: 500; line-height: .95; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.bk-schools-t span { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--fg); }
.bk-schools-t em { font-style: normal; font-size: 12.5px; font-weight: 600; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .bk-schools { transition: none; } .bk-schools:hover { transform: none; } }
.bk-covers { flex: none; }
.bk-vols { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.bk-vols li { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.bk-vol { display: flex; align-items: baseline; gap: 14px; }
.bk-vol b { font-weight: 600; color: var(--fg); }
.bk-vol span { color: var(--muted); font-size: var(--fs-fine); }
.bk-vol-buy { display: flex; gap: 6px; }
.tb-steps { list-style: none; margin: clamp(26px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1080px; }
.tb-steps li {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 18px 20px 20px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--hair);
  animation: tb-in .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--n, 0) * .14s);
}
.tb-steps li:nth-child(2) { --n: 1; }
.tb-steps li:nth-child(3) { --n: 2; }
.tb-steps li + li::before {
  content: ""; position: absolute; left: -12px; top: 62px; width: 12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--seal) 0 3px, transparent 3px 6px);
}
@keyframes tb-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tb-art { position: relative; display: flex; align-items: center; justify-content: center; height: 96px; margin: 0 0 10px; border-radius: 12px; background: var(--bg); overflow: hidden; }
.tb-steps li:last-child .tb-art { background: color-mix(in srgb, var(--bg) 9%, var(--fg)); }
.tb-art--find img { position: absolute; top: 14px; left: calc(50% - 24px); width: 48px; height: auto; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); transform-origin: 50% 120%; animation: tb-fan 5s ease-in-out infinite; }
.tb-art--find img:nth-of-type(1) { --r: -14deg; --x: -36px; }
.tb-art--find img:nth-of-type(2) { --r: 0deg; --x: 0px; z-index: 1; }
.tb-art--find img:nth-of-type(3) { --r: 14deg; --x: 36px; }
@keyframes tb-fan { 0%, 100% { transform: translateX(calc(var(--x) * .55)) rotate(calc(var(--r) * .5)); } 45%, 60% { transform: translateX(var(--x)) rotate(var(--r)); } }
.tb-lens { position: absolute; z-index: 2; color: var(--seal); top: 44px; left: 50%; animation: tb-lens 5s ease-in-out infinite; }
@keyframes tb-lens { 0%, 100% { transform: translate(-60px, 0); } 50% { transform: translate(18px, -6px); } }
.tb-art--get svg { overflow: visible; }
.tb-book { animation: tb-drop 3.6s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes tb-drop { 0%, 15% { transform: translateY(-4px); } 50%, 70% { transform: translateY(22px); } 100% { transform: translateY(-4px); } }
.tb-art--learn { gap: 14px; }
.tb-art--learn .chop { width: 44px; height: 44px; border-radius: 11px; }
.tb-art--learn .chop span { font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  .tb-steps li, .tb-art--find img, .tb-lens, .tb-book { animation: none; }
  .tb-art--find img { transform: translateX(var(--x)) rotate(var(--r)); }
}

.flip { position: relative; flex: none; width: 150px; height: 120px; perspective: 700px; }
.flip-card { position: absolute; inset: 0; opacity: 0; animation: flip-show 9s infinite; animation-delay: calc(var(--i) * 3s); }
.flip-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: flip-turn 9s infinite; animation-delay: calc(var(--i) * 3s); }
.flip-f, .flip-b {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 14px; background: var(--paper); color: #15140F;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.55); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip-f { flex-direction: row; gap: 0; font-size: 48px; line-height: 1; }
.flip-f i { font-style: normal; }
.flip-f .t1 { color: var(--t1); } .flip-f .t2 { color: #B57A14; } .flip-f .t3 { color: var(--t3); } .flip-f .t4 { color: var(--t4); }
.flip-b { transform: rotateY(180deg); }
.flip-b b { font-size: 22px; font-weight: 600; }
.flip-b span { font-size: 14px; color: #5D574B; }
@keyframes flip-show { 0% { opacity: 0; transform: translateY(10px); } 4%, 30% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes flip-turn { 0%, 13% { transform: rotateY(0); } 18%, 100% { transform: rotateY(180deg); } }
.flip--sm { width: 92px; height: 72px; }
.flip--sm .flip-f { font-size: 30px; border-radius: 10px; }
.flip--sm .flip-b b { font-size: 15px; }
.flip--sm .flip-b span { font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) {
  .flip-card, .flip-in { animation: none; }
  .flip-card:first-child { opacity: 1; }
}
.tb-steps b { font-weight: 600; color: var(--fg); }
.tb-steps span { color: var(--fg-2); font-size: var(--fs-fine); line-height: 1.5; }
.tb-steps li:last-child { background: var(--fg); border-color: var(--fg); }
.tb-steps li:last-child b { color: var(--bg); }
.tb-steps li:last-child span { color: color-mix(in srgb, var(--bg) 78%, transparent); }
#books { scroll-margin-top: calc(var(--bar-h, 90px) + 20px); }
@media (max-width: 720px) { .tb-steps { grid-template-columns: 1fr; } .tb-steps li + li::before { display: none; } }

.tb-doc .tb-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "crumbs steps" "h1 steps" "lead steps" "cta steps";
  grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(40px, 7vw, 128px); align-items: start;
}
.tb-doc .tb-hero > * { margin-top: 0; }
.tb-doc .tb-hero > .crumbs { grid-area: crumbs; }
.tb-doc .tb-hero > h1 {
  grid-area: h1; margin-top: clamp(14px, 1.4vw, 22px);
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600;
  font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -.045em; max-width: 12ch;
}
html[lang|="zh"] .tb-doc .tb-hero > h1 { font-family: 'Inter', var(--serif-hz), sans-serif; letter-spacing: -.01em; }
.tb-doc .tb-hero > .lead { grid-area: lead; margin-top: clamp(16px, 1.6vw, 24px); max-width: 40ch; }
.tb-doc .tb-hero > .cta-row { grid-area: cta; margin-top: clamp(22px, 2.2vw, 32px); }
.tb-doc .tb-steps {
  grid-area: steps; align-self: end; display: block; max-width: none; margin: 0;
  border-top: 1px solid var(--fg);
}
.tb-doc .tb-steps li,
.tb-doc .tb-steps li:last-child {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto 1fr;
  column-gap: clamp(16px, 1.6vw, 24px); row-gap: 4px; align-items: start;
  padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0;
}
.tb-doc .tb-steps li::before { display: none; }
.tb-doc .tb-art,
.tb-doc .tb-steps li:last-child .tb-art { grid-row: 1 / span 2; height: 88px; margin: 0; border-radius: 6px; background: var(--bg-sunken); }
.tb-doc .tb-steps li > b,
.tb-doc .tb-steps li:last-child > b { align-self: end; padding-top: 10px; color: var(--fg); font-size: var(--fs-body); letter-spacing: -.01em; }
.tb-doc .tb-steps li > span:not(.tb-art),
.tb-doc .tb-steps li:last-child > span:not(.tb-art) { color: var(--fg-2); font-size: var(--fs-fine); }
.tb-doc .tb-art--find img { width: 40px; top: 16px; left: calc(50% - 20px); }
.tb-doc .tb-art--find img:nth-of-type(1) { --x: -30px; }
.tb-doc .tb-art--find img:nth-of-type(3) { --x: 30px; }
.tb-doc .tb-art--get svg { width: 104px; height: 73px; }
.tb-doc .tb-art--learn { gap: 10px; }
.tb-doc .tb-art--learn .chop { width: 34px; height: 34px; border-radius: 8px; }
.tb-doc .tb-art--learn .chop span { font-size: 12.5px; }
.tb-doc .tb-art--learn .flip--sm { width: 70px; height: 56px; }
.tb-doc .tb-art--learn .flip--sm .flip-f { font-size: 24px; }
.tb-doc .tb-art--learn .flip--sm .flip-b b { font-size: 13px; }
.tb-doc .tb-art--learn .flip--sm .flip-b span { font-size: 10px; }
@media (max-width: 900px) {
  .tb-doc .tb-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "h1" "lead" "cta" "steps"; grid-template-rows: none; }
  .tb-doc .tb-steps { margin-top: clamp(32px, 6vw, 48px); }
}
@media (max-width: 480px) {
  .tb-doc .tb-steps li, .tb-doc .tb-steps li:last-child { grid-template-columns: 104px minmax(0, 1fr); }
  .tb-doc .tb-art, .tb-doc .tb-steps li:last-child .tb-art { height: 76px; }
  .tb-doc .tb-art--learn .chop { display: none; }
}

.tb-doc .rail { margin-bottom: clamp(20px, 2.4vw, 36px); }
.tb-doc .rail .l { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; text-transform: none; color: var(--fg); line-height: 1.1; }

.tb-doc .bk-grid {
  grid-template-columns: repeat(auto-fill, minmax(clamp(132px, 13vw, 184px), 1fr));
  gap: clamp(32px, 3.4vw, 52px) clamp(18px, 2vw, 32px);
}
.tb-doc .bk-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  padding: 0; border: 0; border-radius: 0; background: none;
}
.tb-doc .bk-card:hover, .tb-doc .bk-card:focus-visible { transform: none; }
.tb-doc .bk-cover--sm {
  width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: contain; object-position: 0 100%;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(26, 24, 19, .16)) drop-shadow(0 10px 14px rgba(26, 24, 19, .16));
  transition: transform .2s cubic-bezier(.2, .7, .2, 1);
}
.tb-doc .bk-glyph {
  width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 4px 8px 8px 4px;
  font-size: clamp(48px, 5vw, 72px);
  box-shadow: inset 6px 0 0 rgba(0, 0, 0, .14), 0 1px 1px rgba(26, 24, 19, .16), 0 10px 18px -6px rgba(26, 24, 19, .3);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1);
}
.tb-doc .bk-card:hover .bk-cover--sm, .tb-doc .bk-card:focus-visible .bk-cover--sm,
.tb-doc .bk-card:hover .bk-glyph, .tb-doc .bk-card:focus-visible .bk-glyph { transform: translateY(-6px); }
.tb-doc .bk-card-t { gap: 2px; }
.tb-doc .bk-card-t b { font-size: var(--fs-small); letter-spacing: -.01em; }
.tb-doc .bk-card:hover .bk-card-t b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tb-doc .bk-card-t span { font-size: 13px; line-height: 1.4; }
@media (max-width: 480px) { .tb-doc .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; } }
@media (prefers-reduced-motion: reduce) {
  .tb-doc .bk-cover--sm, .tb-doc .bk-glyph { transition: none; }
  .tb-doc .bk-card:hover .bk-cover--sm, .tb-doc .bk-card:hover .bk-glyph { transform: none; }
}
.bk-indie { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.bk-gushi-row { border-top: 0; padding-top: 0; }
.bk-gushi {
  display: flex; gap: clamp(24px, 4vw, 64px); align-items: center; justify-content: space-between;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); border-radius: 20px;
  background: var(--fg); color: var(--bg);
}
.bk-gushi h2 { color: var(--bg); margin: 16px 0 0; max-width: 24ch; }
.bk-gushi-mark { width: 44px; height: 44px; border-radius: 11px; }
.bk-gushi-mark span { font-size: 15px; }
.bk-gushi-main { min-width: 0; }
.bk-for { margin: 12px 0 0; font-size: var(--fs-lead); line-height: 1.45; color: color-mix(in srgb, var(--bg) 80%, transparent); max-width: 52ch; }
.bk-gushi .cta-row { margin-top: 22px; }
.bk-go { font-size: 16px; }
.bk-gushi .flip { width: 170px; height: 140px; margin-right: clamp(0px, 3vw, 40px); }
.bk-gushi .store:not(.is-soon) { background: var(--bg); color: var(--fg); }
.bk-gushi .store.is-soon { border-color: color-mix(in srgb, var(--bg) 35%, transparent); color: var(--bg); }
@media (max-width: 720px) { .bk-gushi { flex-direction: column; align-items: flex-start; } .bk-gushi .flip { display: none; } }
.bk-doc [hidden] { display: none !important; }
.bk-doc .rail { display: none; }
.bk-meta { display: grid; gap: 10px; margin: 0; }
.bk-meta dt { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-meta dd { margin: 2px 0 0; color: var(--fg); font-weight: 500; }
.bk-doc .row { border-top: 0; padding: clamp(28px, 3.4vw, 52px) 0; }
.bk-doc .row--hero { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(20px, 2.4vw, 36px); }
.tb-doc .row--hero { padding-top: clamp(36px, 5vw, 72px); }
.tb-doc .row { padding: clamp(32px, 4vw, 64px) 0; }
.bk-doc .row:last-child { padding-bottom: 0; }
.bk-doc .col > h2 { max-width: none; font-size: clamp(24px, 2.2vw, 32px); }
.bk-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.bk-more--one { grid-template-columns: minmax(0, 1fr); }
.bk-more--one .bk-faq { max-width: 860px; }
@media (max-width: 900px) { .bk-more { grid-template-columns: minmax(0, 1fr); } }
body:has(.bk-doc) footer.site, body:has(.tb-steps) footer.site { margin-top: clamp(40px, 5vw, 80px); }
.row--hero .bk-about { max-width: 46ch; }
.bk-about strong, .bk-about-more strong { color: var(--fg); font-weight: 650; }
.bk-about-more { margin-top: 10px; max-width: 64ch; }
.bk-faq { border-top: 1px solid var(--hair); }
.bk-faq details { border-bottom: 1px solid var(--hair); padding: 14px 0; }
.bk-faq summary { cursor: pointer; font-weight: 600; color: var(--fg); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.bk-faq details[open] summary::after { content: "\2212"; }
.bk-faq p { margin: 10px 0 0; color: var(--fg-2); max-width: 68ch; }
@media (max-width: 720px) {
  .bk-hero { flex-direction: column-reverse; }
  .bk-side { width: 100%; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
  .bk-side .bk-cover--lg { width: 120px; }
}

.fb-open {
  position: fixed; left: var(--pad); bottom: var(--pad); z-index: 69;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--fg); color: var(--bg); font: 600 13.5px/1 inherit; font-family: inherit;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.45);
}
.fb-open:hover { background: #000; }
.fb-open[hidden] { display: none; }
.fb-dialog {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--hair);
  border-radius: 16px; background: var(--card); color: var(--fg);
}
.fb-dialog.wide { width: min(980px, calc(100vw - 32px)); }
.fb-dialog::backdrop { background: rgba(20, 18, 14, .45); }
#feedback-body { display: grid; gap: 12px; padding: 22px; }
#feedback-body h2 { font-size: 22px; }
#feedback-body .fine { margin: 0; }
.fb-label { font-size: var(--fs-fine); font-weight: 600; }
#fb-msg {
  width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 15px;
  border: 1px solid var(--hair); border-radius: 10px; background: var(--bg); color: var(--fg); resize: vertical;
}
#fb-msg:focus { outline: 2px solid var(--fg-2); outline-offset: 1px; }
.fb-shot { display: flex; gap: 10px; align-items: center; }
.fb-thumb { padding: 0; border: 1px solid var(--hair); border-radius: 8px; background: none; cursor: pointer; flex: none; }
.fb-thumb img { display: block; width: 96px; height: auto; border-radius: 7px; }
.fb-row { display: flex; gap: 8px; justify-content: flex-end; }
.fb-paper { max-height: 70vh; overflow: auto; border: 1px solid var(--hair); border-radius: 10px; }
.fb-paper canvas { display: block; width: 100%; cursor: crosshair; touch-action: none; }
@media print { .fb-open, .fb-dialog { display: none !important; } }

.bk-wish { width: 100%; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.bk-wish-slot {
  display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 4;
  border: 1.5px dashed color-mix(in srgb, var(--fg) 28%, transparent); border-radius: 4px;
  font-size: clamp(36px, 3.4vw, 48px); font-weight: 300; line-height: 1; color: var(--muted);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.bk-wish:hover .bk-wish-slot, .bk-wish:focus-visible .bk-wish-slot { border-color: var(--seal); color: var(--seal); background: var(--seal-soft); }
.bk-wish:focus-visible { outline: none; }
.bk-wish[hidden] { display: none; }
.bk-wish-link {
  display: inline-block; margin: 10px 0 0 14px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--seal-text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.bk-wish-link:hover { text-decoration-thickness: 2px; }
.bk-wish-link[hidden] { display: none; }
.bk-tag + .bk-wish-link { margin-left: 0; }
.bw-dlg .sc-q { margin-bottom: 8px; }
.bw-lead { margin: 0 0 20px; color: var(--fg-2); font-size: var(--fs-small); line-height: 1.5; max-width: 44ch; }
.bw-consent { margin: -4px 0 0; color: var(--muted); }
.bw-consent a { color: var(--seal-text); }
.bw-nav { justify-content: flex-end; }
.bw-nav .btn { min-width: 160px; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .bk-wish-slot { transition: none; } }
