/* The landing page (pages/home.html, 2026-10-05). A hero with the search,
   three long boxes for Gushi's three advantages, and a way in. Only this page
   links this sheet; the picture's own rules stay in scene.css.

   THE RHYTHM: paper, paper, the picture, ink, paper. The story box and the
   hero share the paper so the first thing below the search is the example;
   the picture is the colour; HSK 3.0 is the one dark box, so the facts read
   as facts; the way in closes on the seal. */

.home-page main { padding-bottom: 24px; overflow-x: clip; }
/* Pulled past the top on a phone, the page shows the canvas behind it: ink,
   so the hero has no paper rim above it (owner, 2026-10-06). */
html:has(body.home-page) { background: #16130F; }
/* The language offer (nav.html) sits ON the ink rather than above it, where
   it pushed the hero down and left a strip of paper over the ink. */
.home-page main > [data-lang-note] {
  position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--top) - 4px);
  text-align: center; color: var(--ink-fg-2);
}
.home-page main > [data-lang-note] a { color: var(--ink-seal-text); }
.home-page main { position: relative; }
.ld-cta { width: min(1160px, calc(100% - 2 * var(--pad))); margin-left: auto; margin-right: auto; }
/* THE BOXES RUN EDGE TO EDGE (owner, 2026-10-05: "die Boxen in voller
   Breite, wie typischerweise auf einer Landing Page"). The band is the whole
   width; what is in it keeps to the column, by padding that grows with the
   screen rather than by a wrapper. */
.ld-box { --col: max(var(--pad), calc((100% - 1160px) / 2)); }

/* ── The seal, at three sizes: 故事 is the word for story and the name ──── */
.ld-seal {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--seal); color: #FFF8EE; transform: rotate(-4deg);
  box-shadow: inset 0 0 0 1.5px rgba(255, 248, 238, .3);
}
.ld-seal span { font-family: var(--serif-hz); font-size: 10.5px; font-weight: 600; line-height: 1.02; text-align: center; }
.ld-seal-sm { width: 26px; height: 26px; border-radius: 7px; }
.ld-seal-sm span { font-size: 9px; }
.ld-seal-lg { width: 64px; height: 64px; border-radius: 16px; }
.ld-seal-lg span { font-size: 21px; }

/* ── 1 · INK: the app's own opening, and the search under it ─────────────
   The seal in its inner frame, a hairline, GUSHI in spaced capitals, the
   slogan, the four tone dots: the screen the app opens on. It runs up under
   the floating pill, as the wash pages' openers do (--top in site.css). */
.ld-hero {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-top: calc(-1 * var(--top)); padding: calc(var(--top) + clamp(48px, 9vh, 110px)) var(--pad) clamp(64px, 10vh, 120px);
}
.ld-ink {
  color: var(--ink-fg);
  background:
    radial-gradient(45% 55% at 50% 42%, rgba(200, 69, 46, .16), transparent 70%),
    radial-gradient(40% 50% at 28% 18%, rgba(224, 162, 60, .08), transparent 70%),
    radial-gradient(40% 50% at 80% 90%, rgba(91, 139, 201, .10), transparent 70%),
    #16130F;
}
.ld-mark {
  position: relative; display: grid; place-items: center; width: clamp(96px, 11vw, 128px); aspect-ratio: 1;
  border-radius: 12%; background: var(--seal); color: #FFF4E8;
  box-shadow: 0 30px 70px -30px rgba(200, 69, 46, .7), 0 0 0 1px rgba(255, 255, 255, .04);
}
.ld-mark::before { content: ''; position: absolute; inset: 9%; border: 1.5px solid rgba(255, 244, 232, .55); border-radius: 4px; }
.ld-mark span { font-family: var(--serif-hz); font-weight: 600; font-size: clamp(34px, 3.9vw, 46px); line-height: 1.04; }
.ld-rule { display: block; width: min(220px, 40vw); height: 1px; margin: 30px 0 26px; background: linear-gradient(90deg, transparent, rgba(236, 230, 216, .4), transparent); }
.ld-brand { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: .28em; text-transform: uppercase; padding-left: .28em; }
.ld-slogan {
  margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
  font-family: inherit; font-weight: 500; font-size: clamp(12.5px, 1.1vw, 14.5px); letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-fg-2);
}
.ld-mid { color: var(--ink-muted); }
.ld-dots { display: flex; gap: 12px; margin: 24px 0 0; }
.ld-dots i { width: 7px; height: 7px; border-radius: 50%; opacity: .8; }
.ld-dots .d1 { background: var(--t1); } .ld-dots .d2 { background: var(--t2); } .ld-dots .d3 { background: var(--t3); } .ld-dots .d4 { background: var(--t4); }
.ld-search { width: min(680px, 100%); margin-top: clamp(36px, 6vh, 56px); text-align: left; color: var(--fg); }
.ld-ink .gsearch { border-color: transparent; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.ld-try { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; color: var(--ink-muted); font-size: var(--fs-fine); }
.ld-try a { font-family: var(--serif-hz); font-size: 22px; color: var(--ink-fg); text-decoration: none; border-bottom: 1px solid transparent; }
.ld-try a:hover { color: var(--ink-seal-text); border-bottom-color: currentColor; }
.ld-hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin: 34px 0 0; }
.ld-ink-link { color: var(--ink-fg); font-size: var(--fs-small); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink-hair); }
.ld-ink-link:hover { border-bottom-color: currentColor; }

/* ── 2 · The facts, where a store page puts its stars ───────────────────── */
.ld-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
  padding: 26px max(var(--pad), calc((100% - 1160px) / 2)); background: var(--bg); border-bottom: 1px solid var(--hair);
}
.ld-trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 44px; }
.ld-trust li { display: flex; flex-direction: column; gap: 2px; }
.ld-trust b { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1; }
.ld-trust li span { color: var(--fg-2); font-size: var(--fs-fine); }
.ld-flags { display: inline-flex; gap: 6px; align-items: center; height: 28px; }
.ld-flags svg { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px var(--hair); }
.ld-trust-fp { display: flex; align-items: center; gap: 14px; }
.ld-trust-fp .who { font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ld-trust-fp .fp-logos { gap: 0; }
.ld-trust-fp .fp-logo { width: 150px; }

/* The bar left the nav for the hero (search.js data-gs-slot). */
.gs-in-page .bar-search, .lk-searching .bar-search { display: none; }

/* ── The boxes ──────────────────────────────────────────────────────────── */
.ld-box {
  position: relative; overflow: hidden; background: var(--card);
  border-top: 1px solid var(--hair);
}
.ld-box h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.ld-body { margin: 18px 0 0; max-width: 44ch; color: var(--fg-2); font-size: var(--fs-body); line-height: 1.6; text-wrap: pretty; }
.ld-text { padding: clamp(56px, 8vw, 112px) clamp(24px, 4vw, 64px) clamp(56px, 8vw, 112px) 0; }

/* 1 · STORIES: the words left, the example right. */
.ld-story { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; padding: 0 var(--col); }
.ld-stat { margin: 26px 0 0; color: var(--fg-2); font-size: var(--fs-small); }
.ld-stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; color: var(--fg); margin-bottom: 4px; }
.ld-demo {
  display: block; margin: clamp(40px, 6vw, 88px) 0; padding: 28px 28px 22px; border-radius: 24px;
  background: var(--bg); border: 1px solid var(--hair); color: var(--fg); text-decoration: none;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s;
}
.ld-demo:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(26, 24, 19, .45); }
.ld-demo-top { display: flex; align-items: center; gap: 26px; }
.ld-demo-glyph {
  position: relative; flex: none; width: 150px; height: 150px; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--seal) 30%, var(--hair)); background: var(--card);
}
.ld-demo-glyph::before, .ld-demo-glyph::after { content: ''; position: absolute; pointer-events: none; }
.ld-demo-glyph::before { left: 50%; top: 0; bottom: 0; border-left: 1px dashed color-mix(in srgb, var(--seal) 22%, transparent); }
.ld-demo-glyph::after { top: 50%; left: 0; right: 0; border-top: 1px dashed color-mix(in srgb, var(--seal) 22%, transparent); }
.ld-glyph { position: relative; z-index: 1; width: 128px; height: 128px; }
.ld-glyph path { fill: var(--fg); }
.ld-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.ld-part, .ld-res { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; padding: 10px 12px 8px; border-radius: 14px; background: var(--raised); }
.ld-part .hz, .ld-res .hz { font-family: var(--serif-hz); font-size: 34px; line-height: 1.05; }
.ld-part-l { font-size: 12px; color: var(--fg-2); }
.ld-part + .ld-part::before, .ld-part + .ld-res::before { content: '+'; position: absolute; left: -12px; top: 50%; translate: -50% -50%; color: var(--muted); font-size: 18px; }
.ld-part + .ld-res::before { content: '='; }
.ld-part, .ld-res { position: relative; margin-left: 18px; }
.ld-part:first-child { margin-left: 0; }
.ld-tale { margin: 22px 0 0; }
.ld-tale figcaption { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--seal-text); }
.ld-tale p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.ld-hl { font-weight: 600; border-radius: 4px; padding: 0 3px; }
.ld-go { display: inline-block; margin-top: 18px; color: var(--seal-text); font-size: var(--fs-small); font-weight: 600; }

/* The example lights one part at a time, in the strokes, the names and the
   story together, then the whole and its meaning: the box's whole claim,
   played on a loop of nine seconds. */
.ld-demo .ld-part0, .ld-demo .ld-hl0 { animation: ld-one 9s ease-in-out infinite; }
.ld-demo .ld-part1, .ld-demo .ld-hl1 { animation: ld-two 9s ease-in-out infinite; }
.ld-demo .ld-res, .ld-demo .ld-hl-m { animation: ld-all 9s ease-in-out infinite; }
.ld-demo .ld-glyph .ld-p0 { animation: ld-one-fill 9s ease-in-out infinite; }
.ld-demo .ld-glyph .ld-p1 { animation: ld-two-fill 9s ease-in-out infinite; }
.ld-demo .ld-glyph .ld-p-1 { animation: ld-whole-fill 9s ease-in-out infinite; }
@keyframes ld-one { 0%, 6% { background: var(--raised); } 12%, 32% { background: color-mix(in srgb, var(--violet) 30%, var(--card)); } 38%, 100% { background: var(--raised); } }
@keyframes ld-two { 0%, 38% { background: var(--raised); } 44%, 64% { background: color-mix(in srgb, var(--violet) 30%, var(--card)); } 70%, 100% { background: var(--raised); } }
@keyframes ld-all { 0%, 70% { background: var(--raised); } 76%, 94% { background: color-mix(in srgb, var(--amber) 34%, var(--card)); } 100% { background: var(--raised); } }
@keyframes ld-one-fill { 0%, 6% { fill: var(--fg); } 12%, 32% { fill: #7E5CC0; } 38%, 70% { fill: var(--fg); } 76%, 94% { fill: var(--seal); } 100% { fill: var(--fg); } }
@keyframes ld-whole-fill { 0%, 70% { fill: var(--fg); } 76%, 94% { fill: var(--seal); } 100% { fill: var(--fg); } }
@keyframes ld-two-fill { 0%, 38% { fill: var(--fg); } 44%, 64% { fill: #7E5CC0; } 70% { fill: var(--fg); } 76%, 94% { fill: var(--seal); } 100% { fill: var(--fg); } }
.ld-hl0, .ld-hl1 { background: color-mix(in srgb, var(--violet) 18%, transparent); } .ld-hl-m { background: color-mix(in srgb, var(--amber) 22%, transparent); }
.ld-demo .ld-hl0, .ld-demo .ld-hl1, .ld-demo .ld-hl-m { background: var(--raised); }

/* 2 · IN CLASS AND AT HOME: the door's picture, as a box. The figures stand
   at x ≈ 805 of 1600 and y ≈ 630 to 700 of 1000; at 16:8.5 the picture is
   cut to y 75 to 925, which puts them at about 66% of the box. */
/* At 16:9 the picture is cut to y 50 to 950, which puts the figures at
   about 70% of the band. */
.ld-tandem { aspect-ratio: 16 / 8.2; min-height: 620px; background: #EEF0EA; border-top: 0; }
.ld-scene { position: absolute; inset: 0; }
.ld-scene .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-tandem-text {
  position: absolute; left: 50%; top: 5%; translate: -50% 0; width: min(560px, 80%); text-align: center;
  padding: 22px 28px 24px; border-radius: 24px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  box-shadow: 0 20px 50px -30px rgba(20, 50, 52, .5);
}
.ld-tandem-text .ld-body { margin-left: auto; margin-right: auto; margin-top: 12px; }
.ld-tandem-text h2 { font-size: clamp(28px, 3vw, 44px); }
.ld-role {
  position: absolute; top: 76%; translate: 0 -50%; display: flex; flex-direction: column; gap: 4px;
  width: min(26ch, 30%); padding: 14px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--fg); text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1), background .25s;
}
.ld-role:hover { transform: translateY(-2px); background: var(--card); }
.ld-role--l { right: 55%; text-align: right; }
.ld-role--r { left: 55%; }
.ld-role .who { font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-2); }
.ld-role .go { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--seal-text); }

/* 2 · THE APP: a card that turns over, and a level in the app's colours.
   Grey not yet, blue ready, gold learning, green learned: StageDot in the
   Swift, the same four everywhere the app shows where a learner stands. */
.ld-app { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; padding: 0 var(--col); background: var(--bg); }
.ld-app-art { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: clamp(40px, 6vw, 88px) 0; }
.ld-card { width: 220px; height: 300px; padding: 0; border: 0; background: none; perspective: 1000px; cursor: pointer; font: inherit; color: inherit; }
.ld-card-in { position: relative; display: block; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.3, .7, .2, 1); transform-style: preserve-3d; }
.ld-card.is-flipped .ld-card-in { transform: rotateY(180deg); }
.ld-face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair);
  box-shadow: 0 30px 60px -34px rgba(26, 24, 19, .5); backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center;
}
.ld-front { transform: rotateY(0deg); }
.ld-back { transform: rotateY(180deg); justify-content: flex-start; gap: 6px; }
/* SAFARI DRAWS THE FRONT THROUGH THE BACK: an SVG on a face gets a layer of
   its own and backface-visibility does not reach it (owner's iPhone,
   2026-10-06, 好 printed across the story). So each face is also switched
   off at the halfway point of the turn, when it is edge-on and invisible
   anyway. */
.ld-front, .ld-back { transition: opacity 0s linear .4s; }
.ld-back { opacity: 0; }
.ld-card.is-flipped .ld-back { opacity: 1; }
.ld-card.is-flipped .ld-front { opacity: 0; }
.ld-card-glyph .ld-glyph { width: 150px; height: 150px; }
.ld-hint { position: absolute; bottom: 16px; color: var(--muted); font-size: 12px; }
.ld-back-py { margin-top: 6px; font-size: 26px; font-weight: 600; }
.ld-back-py.t1 { color: var(--t1); } .ld-back-py.t2 { color: var(--t2); } .ld-back-py.t3 { color: var(--t3); } .ld-back-py.t4 { color: var(--t4); }
.ld-back-m { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.ld-back-eq { display: flex; gap: 6px; margin: 6px 0 4px; }
.ld-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border-radius: 99px; background: color-mix(in srgb, var(--violet) 18%, var(--raised)); font-size: 12px; color: var(--fg-2); }
.ld-chip .hz { font-family: var(--serif-hz); font-size: 16px; color: var(--fg); }
.ld-back-story { font-family: var(--serif); font-size: 13.5px; line-height: 1.45; color: var(--fg); }
.ld-back-story .ld-hl { padding: 0 2px; }

.ld-level { padding: 22px 22px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair); box-shadow: 0 30px 60px -40px rgba(26, 24, 19, .45); }
.ld-level-k { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ld-level-h { margin: 0 0 14px; display: flex; align-items: baseline; justify-content: space-between; }
.ld-level-h b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.ld-level-h span { color: var(--fg-2); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.ld-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ld-tiles li {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; border: 1.5px solid transparent;
  font-family: var(--serif-hz); font-size: 19px; line-height: 1;
}
.ld-tiles .st-learned { background: color-mix(in srgb, var(--jade) 16%, var(--card)); border-color: color-mix(in srgb, var(--jade) 55%, transparent); }
.ld-tiles .st-learning { background: color-mix(in srgb, var(--t2) 16%, var(--card)); border-color: color-mix(in srgb, var(--t2) 60%, transparent); }
.ld-tiles .st-ready { background: color-mix(in srgb, var(--t4) 14%, var(--card)); border-color: color-mix(in srgb, var(--t4) 55%, transparent); }
.ld-tiles .st-none { background: var(--raised); color: var(--muted); }
.ld-bar { display: flex; height: 10px; margin: 16px 0 12px; border-radius: 99px; overflow: hidden; background: var(--raised); }
.ld-bar i { display: block; height: 100%; }
.ld-bar .st-learned { background: var(--jade); } .ld-bar .st-learning { background: var(--t2); } .ld-bar .st-ready { background: var(--t4); } .ld-bar .st-none { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.ld-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 12.5px; color: var(--fg-2); }
.ld-legend li { display: flex; align-items: center; gap: 7px; }
.ld-legend li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ld-legend b { margin-left: auto; color: var(--fg); font-variant-numeric: tabular-nums; }
.ld-legend .st-learned::before { background: var(--jade); } .ld-legend .st-learning::before { background: var(--t2); }
.ld-legend .st-ready::before { background: var(--t4); } .ld-legend .st-none::before { background: color-mix(in srgb, var(--fg) 18%, transparent); }

/* The loop inside the tandem card. */
.ld-loop { margin: 18px auto 0; max-width: 360px; }
.ld-loop figcaption { margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--fg-2); }
.ld-loop svg { display: block; width: 100%; height: auto; color: var(--fg-2); }
.ld-loop .nd rect { fill: var(--seal-soft); }
.ld-loop .nd-us rect { fill: color-mix(in srgb, var(--seal) 22%, var(--card)); }
.ld-loop .nhz { font-family: var(--serif-hz); font-size: 36px; font-weight: 600; fill: var(--seal-text); }
.ld-loop .nlb { font-family: inherit; font-size: 24px; font-weight: 600; fill: var(--fg); }
.ld-loop .arr { fill: none; stroke: var(--fg-2); stroke-width: 6; color: var(--fg-2); }
.ld-loop .back { fill: none; stroke: var(--seal-text); stroke-width: 5; color: var(--seal-text); }
.ld-loop .blb { font-family: inherit; font-size: 24px; font-weight: 500; fill: var(--seal-text); }

/* The film under the three ways in. */
.ld-video { width: min(960px, 100%); margin: clamp(56px, 7vw, 88px) auto 0; }
.ld-video video { 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); }
.ld-video figcaption { margin-top: 14px; color: var(--fg-2); font-size: var(--fs-fine); }

/* 3 · HSK 3.0: the one dark box. */
.ld-hsk {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 var(--col);
  background: var(--ink); color: var(--ink-fg); border-top: 0;
}
.ld-hsk h2 { color: var(--ink-fg); }
.ld-hsk .ld-body { color: var(--ink-fg-2); }
.ld-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 0; }
.ld-quiet { color: var(--ink-fg); font-size: var(--fs-small); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink-hair); }
.ld-quiet:hover { border-bottom-color: currentColor; }
.ld-hsk-art { padding: clamp(56px, 8vw, 112px) 0; }
.ld-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin: 0; }
.ld-stats div { display: flex; flex-direction: column-reverse; gap: 4px; padding-top: 14px; border-top: 1px solid var(--ink-hair); }
.ld-stats dd { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 54px); line-height: 1; letter-spacing: -.02em; }
.ld-stats dt { color: var(--ink-fg-2); font-size: var(--fs-small); }
.ld-ladder { list-style: none; margin: 34px 0 0; padding: 0; height: 120px; display: flex; align-items: flex-end; gap: 8px; }
.ld-ladder li {
  flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; min-height: 30px; border-radius: 8px 8px 3px 3px; line-height: 1;
  font-family: var(--serif); font-size: 14px; color: rgba(255, 248, 238, .85);
  background: linear-gradient(to top, color-mix(in srgb, var(--seal) 80%, var(--ink)), var(--seal));
}
.ld-ladder li:nth-child(1) { height: 22%; } .ld-ladder li:nth-child(2) { height: 30%; } .ld-ladder li:nth-child(3) { height: 38%; }
.ld-ladder li:nth-child(4) { height: 48%; } .ld-ladder li:nth-child(5) { height: 57%; } .ld-ladder li:nth-child(6) { height: 66%; }
.ld-ladder li:nth-child(7), .ld-ladder li:nth-child(8), .ld-ladder li:nth-child(9) { height: 100%; opacity: .92; }
.ld-ladder li:nth-child(n+7) { background: linear-gradient(to top, color-mix(in srgb, var(--amber) 70%, var(--ink)), var(--amber)); color: var(--ink); }

/* ── The way in ─────────────────────────────────────────────────────────── */
.ld-cta { border-top: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.ld-cta h2 { margin: 26px 0 0; max-width: 18ch; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.ld-cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; }
.ld-partners { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--hair); width: min(420px, 100%); }
.ld-partners .who { font-size: 11.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ld-partners .fp-logo { width: min(200px, 60vw); }

/* One account, three ways in: the phone at the left, the web app in the
   middle, the platform at the right, a seal-coloured line through them. */
.ld-eco { width: 100%; margin-top: clamp(64px, 9vw, 110px); }
.ld-eco-h { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); }
.ld-eco-b { margin: 10px auto 0; max-width: 52ch; color: var(--fg-2); font-size: var(--fs-body); line-height: 1.55; }
.ld-eco-art { display: grid; grid-template-columns: 1.55fr auto 1fr; align-items: center; gap: clamp(12px, 2vw, 26px); margin-top: 44px; text-align: center; }
.ld-eco-g { padding: 18px 18px 20px; border-radius: 24px; border: 1px solid var(--hair); background: var(--card); }
.ld-eco-learn { background: color-mix(in srgb, var(--jade) 6%, var(--card)); border-color: color-mix(in srgb, var(--jade) 25%, var(--hair)); }
.ld-eco-teach { background: color-mix(in srgb, var(--t4) 6%, var(--card)); border-color: color-mix(in srgb, var(--t4) 25%, var(--hair)); }
.ld-eco-gl { margin: 0 0 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-2); }
.ld-eco-devs { display: grid; grid-template-columns: .42fr auto 1fr; align-items: center; gap: 10px; }
.ld-eco-or { font-family: var(--serif); font-size: 26px; color: var(--muted); }
.ld-eco-link { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--seal-text); font-size: 12.5px; font-weight: 600; }
.ld-eco-link::before {
  content: ''; width: clamp(40px, 5vw, 70px); height: 2px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--seal) 60%, transparent) 0 8px, transparent 8px 14px);
}
.ld-eco-link::after { content: '→'; font-size: 20px; line-height: 1; }
.ld-dev { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ld-dev figcaption { padding: 5px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--hair); font-size: var(--fs-fine); font-weight: 600; }
.ld-phone {
  width: 100%; max-width: 170px; padding: 7px; border-radius: 30px; background: #111;
  box-shadow: 0 30px 60px -30px rgba(26, 24, 19, .55);
}
.ld-phone img { display: block; width: 100%; height: auto; border-radius: 24px; }
.ld-browser {
  width: 100%; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--hair);
  box-shadow: 0 30px 60px -32px rgba(26, 24, 19, .5);
}
.ld-browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--raised); border-bottom: 1px solid var(--hair); }
.ld-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 18%, transparent); }
.ld-browser img { display: block; width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .ld-card-in { transition: none; }
  .ld-part0, .ld-part1, .ld-hl0, .ld-hl1, .ld-res, .ld-hl-m, .ld-glyph path { animation: none; }
  .ld-demo, .ld-role { transition: none; }
}

@media (max-width: 900px) {
  .ld-story, .ld-hsk, .ld-app { grid-template-columns: 1fr; }
  .ld-app-art { padding-top: 8px; }
  .ld-trust { justify-content: center; text-align: center; }
  .ld-trust ul { justify-content: center; }
  .ld-text { padding: 56px 0 8px; }
  .ld-hsk-art { padding: 24px 0 56px; }
  .ld-demo { margin: 24px 0 56px; }
  /* The picture keeps its middle, the text and the two ways in leave it. */
  .ld-tandem { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; }
  .ld-scene { position: relative; order: 2; height: 300px; }
  .ld-tandem-text { position: static; translate: none; width: auto; order: 1; border-radius: 0; box-shadow: none; background: var(--card); padding: 32px 24px 20px; }
  .ld-role { position: static; translate: none; order: 3; width: auto; text-align: left; border-radius: 0; border-top: 1px solid var(--hair); background: var(--card); }
  .ld-role--l { text-align: left; }
}
@media (max-width: 560px) {
  .ld-eco-art { grid-template-columns: 1fr; }
  .ld-eco-link::after { content: '↓'; }
  .ld-app-art { grid-template-columns: 1fr; justify-items: center; }
  .ld-level { width: 100%; }
  .ld-demo { padding: 20px 18px 18px; }
  .ld-demo-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ld-tale p { font-size: 18px; }
}
