/* Tai Chi Gids home v2 (Claude Design canvas "Dok sites", board "Tai Chi Gids · v2").
   Built by scripts/build-home-v2.py. Scoped under .tcg2: the page renders inside
   the Dok layout (Tailwind preflight), and the other languages keep landing.css.
   Atkinson Hyperlegible is made for low vision; self-hosted in /fonts (latin),
   other scripts fall back to the system font. */

/* Atkinson Hyperlegible, Copyright 2020 Braille Institute of America, Inc.
   SIL Open Font License 1.1: https://openfontlicense.org (see /fonts/LICENSE.txt) */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-700.woff2") format("woff2"); }

:root {
  --tcg2-paper: #F4EFE4;   /* rice paper, ground */
  --tcg2-ink: #1F2A27;     /* ink, text */
  --tcg2-jade: #2F6B5A;    /* jade, the one accent */
  --tcg2-jade-2: #3F7D6B;
  --tcg2-morning: #E3ECE6; /* morning, quiet surfaces */
  --tcg2-sand: #E8E1D3;
  --tcg2-muted: #4A5753;
  --tcg2-font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body:has(.tcg2) { background: var(--tcg2-paper); margin: 0; }

.tcg2 { background: var(--tcg2-paper); color: var(--tcg2-ink); font: 19px/1.55 var(--tcg2-font); }
.tcg2 *, .tcg2 *::before, .tcg2 *::after { box-sizing: border-box; }
.tcg2 a { color: var(--tcg2-jade); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.tcg2 a:hover { color: #1F4B3F; }
.tcg2 a:focus-visible, .tcg2 summary:focus-visible { outline: 3px solid var(--tcg2-jade); outline-offset: 3px; }
.tcg2 h1, .tcg2 h2, .tcg2 h3 { margin: 0; font-weight: 700; color: inherit; }
.tcg2 p { margin: 0; }

.tcg2-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.tcg2-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 20px; }
.tcg2-brand { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 22px; font-weight: 700; color: var(--tcg2-ink) !important; text-decoration: none; }
.tcg2-brand img { border-radius: 10px; }
.tcg2 .lang { position: relative; }
.tcg2 .lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: 2px solid var(--tcg2-ink); border-radius: 12px; font-weight: 700; font-size: 18px; }
.tcg2 .lang summary::-webkit-details-marker { display: none; }
.tcg2 .lang summary::after { content: "▾"; font-size: 0.8em; }
.tcg2 .lang details[open] summary { background: var(--tcg2-ink); color: var(--tcg2-paper); }
.tcg2 .lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(10rem, auto));
  gap: 4px; padding: 10px; background: #fff; border: 1px solid var(--tcg2-sand); border-radius: 14px; box-shadow: 0 10px 28px rgba(31, 42, 39, 0.14); }
[dir="rtl"] .tcg2 .lang-menu, .tcg2[dir="rtl"] .lang-menu { right: auto; left: 0; }
.tcg2 .lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--tcg2-ink); text-decoration: none; font-size: 17px; }
.tcg2 .lang-menu a:hover, .tcg2 .lang-menu a[aria-current="page"] { background: var(--tcg2-morning); }

/* Hero */
.tcg2-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; padding-block: 32px 72px; }
.tcg2-hero-text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.tcg2-badge { align-self: flex-start; background: var(--tcg2-jade); color: #fff; font-weight: 700; font-size: 17px; padding: 8px 14px; border-radius: 999px; }
.tcg2 h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.tcg2-lead { font-size: 22px; line-height: 1.5; max-width: 24em; }
.tcg2-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.tcg2-store { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 0 22px; border-radius: 12px; line-height: 1.15;
  background: var(--tcg2-ink); color: var(--tcg2-paper) !important; text-decoration: none; }
.tcg2-store small { font-size: 13px; }
.tcg2-store strong { font-size: 22px; }
.tcg2-store:hover { background: #2C3B37; }
.tcg2-browser { align-self: flex-start; font-size: 18px; }
.tcg2-phone { justify-self: center; width: min(100%, 330px); aspect-ratio: 390 / 844; border: 10px solid var(--tcg2-ink); border-radius: 36px; overflow: hidden; background: var(--tcg2-ink); }
.tcg2-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Programme band */
.tcg2-band { background: var(--tcg2-jade); color: #fff; }
.tcg2-band .tcg2-wrap { padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
.tcg2 h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; text-wrap: balance; }
.tcg2-sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tcg2-session { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--tcg2-jade-2); }
.tcg2-session:first-child { background: var(--tcg2-paper); color: var(--tcg2-ink); }
.tcg2-day { font-size: 22px; font-weight: 700; }
.tcg2-min { font-size: 56px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.tcg2-min small { font-size: 20px; font-weight: 400; }
.tcg2-what { font-size: 17px; line-height: 1.45; }
.tcg2-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.tcg2-split > * { min-width: 0; }
.tcg2-dots { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; max-width: 460px; width: 100%; }
.tcg2-dot { aspect-ratio: 1; border-radius: 50%; border: 3px solid #5E9483; display: grid; place-content: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Photo */
.tcg2-photo { margin: 0 auto; padding-block: 72px 24px; display: flex; flex-direction: column; gap: 10px; }
.tcg2-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 40%; border-radius: 20px; }
.tcg2-photo figcaption { font-size: 15px; color: var(--tcg2-muted); }

/* Compare */
.tcg2-compares { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; padding-block: 48px 72px; }
.tcg2-compare { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: var(--tcg2-sand); font-size: 18px; }
.tcg2-compare--us { background: var(--tcg2-ink); color: var(--tcg2-paper); }
.tcg2-compare-label { font-weight: 700; }
.tcg2-compare-price { font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1; }

/* Reach */
.tcg2-reach { background: var(--tcg2-morning); }
.tcg2-reach .tcg2-wrap { padding-block: 72px; display: flex; flex-direction: column; gap: 32px; }
.tcg2-quote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tcg2-quote blockquote { margin: 0; font-size: 24px; line-height: 1.45; font-weight: 700; }
.tcg2-quote figcaption { font-size: 16px; color: var(--tcg2-muted); }
.tcg2-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.tcg2-langs a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--tcg2-paper); color: var(--tcg2-ink); text-decoration: none; font-size: 17px; white-space: nowrap; }
.tcg2-langs a:hover { background: #fff; }

/* FAQ */
.tcg2-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; padding-block: 72px; }
.tcg2-faq-item { display: flex; flex-direction: column; gap: 8px; }
.tcg2 .tcg2-faq h3 { font-size: 22px; line-height: 1.3; }

/* Footer */
.tcg2-footer { padding-block: 32px 48px; border-top: 1px solid var(--tcg2-sand); display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--tcg2-muted); }
.tcg2-health { padding: 14px 18px; border-left: 4px solid var(--tcg2-jade); background: var(--tcg2-morning); color: var(--tcg2-ink); border-radius: 0 10px 10px 0; }
.tcg2-links { line-height: 2; }
.tcg2-company { font-size: 14px; }

@media (max-width: 640px) {
  .tcg2 { font-size: 18px; }
  .tcg2-hero { gap: 40px; padding-block: 16px 56px; }
  .tcg2-lead { font-size: 20px; }
  .tcg2 .lang-menu { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tcg2 * { transition: none !important; }
}
