/* WalktheTalk site styles — light/dark tokens, layout, components. */

/* "Inter Tight" is declared by build.py only when site/static/fonts/ has the file
   (scripts/fetch-fonts.sh); otherwise the system font stack below is used. */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --fg: #0B1D22;
  --fg2: #3C4F55;
  --fg3: #556A70;
  --line: #E3E8E8;
  --line2: #D5DDDE;
  --soft: #F2F6F6;
  --tint: #E5F3F5;
  --accent: #04788D;
  --brand: #0391AB;
  --ink: #0B1D22;
  --btn-bg: #0B1D22;
  --btn-fg: #FFFFFF;
  --warn-bg: #FFF6DE;
  --bad-bg: #FBE7E2;
  --bad-fg: #8A2A14;
  --sun: #FFC94D;
  --sky: #8FD9E6;
  --t-en: #DCEFF2; --t-ja: #F7E3E6; --t-ko: #E6E4F3; --t-fr: #E3ECF8; --t-de: #F4E9D8;
  --t-es: #F8E6D6; --t-it: #E2EFE1; --t-ru: #E4E8F5; --t-yue: #F6E0DA; --t-x: #EEF1F1;
  --shadow: 0 20px 50px rgba(11, 29, 34, 0.18);
  --radius: 24px;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0A1417;
  --surface: #122327;
  --fg: #E8F1F2;
  --fg2: #B3C3C6;
  --fg3: #8EA1A5;
  --line: #1F3237;
  --line2: #2A4047;
  --soft: #0F1F23;
  --tint: #0F2E36;
  --accent: #5CCFE2;
  --ink: #11282E;
  --btn-bg: #E8F1F2;
  --btn-fg: #0B1D22;
  --warn-bg: #2B2513;
  --bad-bg: #3A1D17;
  --bad-fg: #F4A58F;
  --t-en: #133840; --t-ja: #3B2329; --t-ko: #2A2844; --t-fr: #1C2B40; --t-de: #3A2F1E;
  --t-es: #3B2A1C; --t-it: #1D3524; --t-ru: #232A40; --t-yue: #3E2420; --t-x: #1A2A2E;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* Without JS, still follow the system setting. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0A1417; --surface: #122327; --fg: #E8F1F2; --fg2: #B3C3C6; --fg3: #8EA1A5;
    --line: #1F3237; --line2: #2A4047; --soft: #0F1F23; --tint: #0F2E36; --accent: #5CCFE2;
    --ink: #11282E; --btn-bg: #E8F1F2; --btn-fg: #0B1D22; --warn-bg: #2B2513; --bad-bg: #3A1D17; --bad-fg: #F4A58F;
    color-scheme: dark;
  }
}

:lang(ja) { --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif; }
:lang(ko) { --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding-top: 160px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.2; font-weight: 900; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; color: var(--fg2); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { opacity: .9; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; font-weight: 700; }
.btn-dark { background: var(--btn-bg); color: var(--btn-fg); }
.btn-white { background: #FFFFFF; color: #0B1D22; }
.btn-line { border: 1px solid var(--line2); color: var(--fg); background: transparent; }
.link-under { color: inherit; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.icon { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: relative; z-index: 20; }
.site-header--overlay { position: absolute; top: 20px; left: 0; right: 0; padding: 0 24px; }
.site-header--solid { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.site-header--solid .nav { padding: 18px 32px; }
.site-header--overlay .nav {
  padding: 8px 10px 8px 22px;
  color: #FFFFFF;
  background: rgba(8, 20, 24, .45);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.site-header--overlay .brand img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.brand sup { font-size: 10px; font-weight: 600; margin-left: 2px; opacity: .75; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; flex: 1; }
.nav-links a { color: var(--fg2); }
.nav-links a[aria-current="page"] { color: var(--fg); font-weight: 700; }
.site-header--overlay .nav-links a { color: rgba(255, 255, 255, .82); }
.nav-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tool { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--fg2); background: transparent; border: 0; cursor: pointer; }
.tool:hover { background: var(--soft); opacity: 1; }
.site-header--overlay .tool { color: rgba(255, 255, 255, .88); }
.site-header--overlay .tool:hover { background: rgba(255, 255, 255, .12); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-cta { margin-left: 6px; }
.menu-btn { display: none; }

/* Language menu */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 8px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); z-index: 30; }
.lang-list a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 12px; color: var(--fg); font-size: 15px; font-weight: 600; }
.lang-list a:hover { background: var(--soft); opacity: 1; }
.lang-list a[aria-current="true"] { background: var(--tint); }
.lang-list a[aria-current="true"]::after { content: "✓"; color: var(--accent); font-weight: 700; }

/* Mobile menu panel */
.mobile-panel { display: none; }

/* Hero (home) */
.hero { position: relative; min-height: 780px; display: flex; flex-direction: column; overflow: hidden; background: #0B1D22; color: #FFFFFF; }
.hero > picture { position: absolute; inset: 0; display: block; }
.hero > picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 20, 24, .88) 0%, rgba(8, 20, 24, .55) 45%, rgba(8, 20, 24, .05) 80%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: 1; background: linear-gradient(180deg, rgba(8, 20, 24, .55), rgba(8, 20, 24, 0)); }
.hero-inner { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 150px; padding-bottom: 96px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--sky); font-size: 14px; font-weight: 600; letter-spacing: .08em; margin-bottom: 24px; }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hero h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1.08; font-weight: 900; letter-spacing: -0.02em; max-width: 860px; }
.hero h1 span { display: block; }
/* Latin/Cyrillic headlines are longer: smaller size, wider measure. */
html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .hero h1 { font-size: clamp(36px, 4.6vw, 68px); max-width: 1100px; }
html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .about-hero h1 { font-size: clamp(36px, 5vw, 72px); }
html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .host-hero h1 { font-size: clamp(30px, 3.4vw, 50px); }
html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .host-hero h1 .nw { white-space: normal; }
.hero-sub { margin-top: 28px; color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; max-width: 560px; }
.hero-ctas { margin-top: 40px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero-ctas .link-under { color: #FFFFFF; font-size: 17px; }
.hero-qr { position: absolute; z-index: 2; right: max(32px, calc((100% - 1240px) / 2 + 32px)); bottom: 96px; background: var(--surface); color: var(--fg); border-radius: 20px; padding: 18px; display: flex; gap: 16px; box-shadow: var(--shadow); }
.hero-qr figure { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.hero-qr img { width: 96px; height: 96px; border-radius: 8px; background: #FFFFFF; }
.hero-caption { position: absolute; z-index: 2; right: max(32px, calc((100% - 1240px) / 2 + 32px)); bottom: 36px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.hero-open { display: none; }

/* Stats */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.stat span { font-size: 15px; color: var(--fg3); }

/* Marquee */
.marquee { overflow: hidden; padding: 40px 0; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; width: max-content; font-size: clamp(40px, 4.4vw, 64px); font-weight: 800; letter-spacing: -0.02em; animation: wt-slide 40s linear infinite; }
.marquee-track span:nth-child(even) { color: var(--brand); }
@keyframes wt-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Events */
.events-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.event-card { display: flex; flex-direction: column; color: var(--fg); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; transition: transform .2s ease; }
.event-card:hover { transform: translateY(-4px); opacity: 1; }
.event-cover { position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--t-x); }
.event-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.event-cover.has-img > img { opacity: 1; }
.event-cover.has-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(8, 20, 24, 0), rgba(8, 20, 24, .6)); }
.event-cover .chip, .event-cover .today, .event-cover .native { z-index: 1; }
.event-cover .chip { position: absolute; top: 12px; left: 12px; font-size: 12px; padding: 5px 10px; }
.event-cover .today { position: absolute; top: 12px; right: 12px; background: var(--ink); color: var(--sun); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.event-cover .native { position: absolute; left: 14px; bottom: 10px; right: 12px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-cover.has-img .native { font-size: 15px; font-weight: 700; color: #FFFFFF; opacity: 1; letter-spacing: 0; }
.chip { background: var(--surface); color: var(--fg); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.event-when { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); }
.event-title { margin-top: 8px; font-size: 18px; line-height: 1.45; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 52px; }
.event-meta { margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg3); }
.event-meta b { color: var(--fg); }
.skeleton .event-cover { animation: wt-pulse 1.4s ease-in-out infinite; }
.skeleton .event-when, .skeleton .event-title { background: var(--soft); color: transparent; border-radius: 8px; }
@keyframes wt-pulse { 50% { opacity: .55; } }

/* First time */
.first { display: flex; gap: 72px; flex-wrap: wrap; align-items: center; }
.first-photos { flex: 1 1 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px 220px; gap: 16px; }
.first-photos picture:first-child { grid-column: 1 / 3; }
.first-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.first-photos picture { min-height: 0; }
.first-body { flex: 1 1 440px; }
.first-body h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.25; font-weight: 900; letter-spacing: -0.02em; }
.first-list { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.first-list > li { display: flex; gap: 24px; }
.first-list > li:not(.is-key):not(:last-child) { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.first-list > li.is-key { padding: 28px; background: var(--tint); border-radius: 20px; }
.num { font-size: 15px; font-weight: 700; color: var(--accent); min-width: 28px; }
.first-list h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.first-list .is-key h3 { margin-top: 12px; font-size: 22px; font-weight: 800; }
.first-list p { margin-top: 8px; font-size: 16px; line-height: 1.7; color: var(--fg2); }
.badge { display: inline-block; background: var(--ink); color: var(--sun); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.tags li { background: var(--surface); border-radius: 999px; padding: 6px 12px; }
.first-list .btn { margin-top: 16px; }

/* Languages */
.langs { margin-top: 160px; background: var(--ink); color: #FFFFFF; }
.langs .wrap { padding-top: 120px; padding-bottom: 120px; }
.langs .eyebrow { color: var(--sky); }
.langs-sub { font-size: 16px; color: rgba(255, 255, 255, .72); max-width: 380px; line-height: 1.7; }
.lang-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); border-left: 1px solid rgba(255, 255, 255, .14); }
.lang-grid li { padding: 28px 24px; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 10px; }
.lang-grid b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.lang-grid span { font-size: 14px; color: rgba(255, 255, 255, .66); }
.lang-grid .dialect span { color: var(--sun); }

/* Voices */
.voices { margin-top: 56px; display: flex; gap: 24px; flex-wrap: wrap; }
.voice-main { flex: 2 1 560px; display: flex; gap: 40px; background: var(--soft); border-radius: var(--radius); padding: 40px; flex-wrap: wrap; align-items: center; }
.voice-main img { width: 220px; height: 260px; object-fit: cover; border-radius: 16px; }
.voice-main > div { flex: 1 1 260px; }
.voice-main blockquote { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; font-weight: 700; }
.voice-main figcaption, .voice figcaption { margin-top: 28px; font-size: 15px; color: var(--fg2); }
.voice-main figcaption b, .voice figcaption b { color: var(--fg); }
.voice-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.voice { flex: 1; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.voice blockquote { font-size: 18px; line-height: 1.6; font-weight: 500; }
.voice figcaption { margin-top: 0; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.voice figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* Dual CTA */
.duo { display: flex; gap: 24px; flex-wrap: wrap; }
.duo > * { flex: 1 1 480px; border-radius: 28px; padding: 48px; min-height: 380px; display: flex; flex-direction: column; gap: 20px; }
.duo h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.3; font-weight: 900; letter-spacing: -0.02em; }
.duo-ai { background: var(--tint); }
.duo-ai p { font-size: 17px; line-height: 1.7; color: var(--fg2); }
.duo-ai .ask { background: var(--surface); color: var(--fg); border-radius: 14px; padding: 16px 20px; font-weight: 600; }
.duo-ai .actions { margin-top: auto; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--fg2); }
.duo-host { position: relative; overflow: hidden; background: #0B1D22; color: #FFFFFF; }
.duo-host > * { position: relative; }
.duo-host > picture { position: absolute; inset: 0; display: block; }
.duo-host > picture img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.duo-host .eyebrow { color: var(--sky); }
.duo-host ul { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 480px; }
.duo-host li::before { content: "· "; }
.duo-host .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq { display: flex; gap: 72px; flex-wrap: wrap; padding-bottom: 160px; }
.faq-side { flex: 1 1 300px; }
.faq-side p { margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--fg2); }
.faq-side .btn { margin-top: 12px; }
.faq-list { flex: 2 1 560px; border-top: 1px solid var(--line2); }
.faq-list details { border-bottom: 1px solid var(--line2); padding: 26px 0; }
.faq-list summary { font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--fg2); max-width: 720px; }

/* Footer */
.site-footer { background: #0B1D22; color: #FFFFFF; }
:root[data-theme="dark"] .site-footer { background: var(--ink); }
.site-footer a { color: #FFFFFF; }
.site-footer .wrap { padding-top: 100px; padding-bottom: 36px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-slogan { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.foot-slogan span { color: #3FC1D6; }
.foot-cn { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, .72); }
.foot-ai { flex: 0 1 380px; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.foot-ai-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #3FC1D6; color: #0B1D22; }
.foot-ai-icon .icon { width: 22px; height: 22px; }
.foot-ai-title { font-size: 17px; font-weight: 700; }
.foot-ai-sub { font-size: 14px; color: rgba(255, 255, 255, .72); }
.foot-ai .btn { grid-column: 1 / -1; width: 100%; }
.site-footer .foot-ai .btn { color: #0B1D22; }
.foot-ai-hint { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, .6); text-align: center; }
.foot-grid { display: grid; grid-template-columns: minmax(140px, 0.7fr) minmax(300px, 1.3fr) auto; gap: 48px; padding: 48px 0; }
.foot-label { display: block; margin-bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.foot-links { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.foot-links .foot-label { margin-bottom: 4px; }
.foot-contact-row { display: flex; gap: 20px; align-items: flex-start; }
.foot-contact-row > div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.foot-contact-row b { font-weight: 600; }
.foot-contact-row span { font-size: 13px; color: rgba(255, 255, 255, .6); line-height: 1.5; margin-bottom: 12px; }
.foot-contact-row img, .foot-qrs img { width: 104px; height: 104px; border-radius: 12px; background: #FFFFFF; padding: 6px; object-fit: contain; flex: none; }
.foot-qrs { display: grid; grid-template-columns: repeat(4, 104px); gap: 16px; }
.foot-qrs figure, .foot-qr-bd { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .72); text-align: center; line-height: 1.4; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .6); }
.foot-legal a { color: rgba(255, 255, 255, .6); display: inline-flex; align-items: center; gap: 6px; }
.foot-legal .beian { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal img { width: 16px; height: 18px; }
@media (max-width: 1180px) {
  .foot-grid { grid-template-columns: minmax(140px, 0.6fr) minmax(300px, 1.4fr); }
  .foot-follow { grid-column: 1 / -1; }
}

/* Dialog */
.qr-dialog { border: 0; border-radius: 24px; padding: 32px; width: min(520px, calc(100% - 32px)); background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }
.qr-dialog::backdrop { background: rgba(5, 12, 14, .6); }
.qr-dialog h2 { font-size: 22px; font-weight: 800; padding-right: 40px; }
.qr-dialog p { margin-top: 8px; font-size: 15px; color: var(--fg2); line-height: 1.6; }
.qr-dialog .qrs { margin-top: 24px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.qr-dialog figure { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
/* Mini program codes are not always square (event codes are 800×920): keep their proportions. */
.qr-dialog figure img { width: 180px; height: auto; max-width: 100%; background: #FFFFFF; border-radius: 12px; padding: 8px; }
.qr-dialog #event-dialog-h { padding-right: 40px; }
#event-dialog figure img { width: 220px; }
.qr-dialog .close { position: absolute; top: 18px; right: 18px; }

/* ---------- Host page ---------- */
.host-hero { display: flex; gap: 64px; flex-wrap: wrap; align-items: stretch; padding-top: 88px; }
.host-hero-text { flex: 1.25 1 560px; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.host-hero h1 { font-size: clamp(32px, 3.9vw, 58px); line-height: 1.18; font-weight: 900; letter-spacing: -0.02em; }
.host-hero h1 .nw { white-space: nowrap; }
.host-hero h1 .ac { display: block; color: var(--accent); }
.host-hero .lead { margin-top: 32px; max-width: 560px; }
.host-hero .ctas { margin-top: 44px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--fg3); }
.host-hero-photo { flex: 1 1 400px; position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; }
.host-hero-photo picture { position: absolute; inset: 0; display: block; }
.host-hero-photo picture img { width: 100%; height: 100%; object-fit: cover; }
.host-hero-photo .stat-card { position: absolute; left: 24px; right: 24px; bottom: 24px; background: var(--surface); border-radius: 18px; padding: 20px 24px; display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 24px; }
.stat-card b { display: block; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.stat-card span { font-size: 13px; color: var(--fg3); }
.adv-tag { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--accent); margin-bottom: 16px; }
.adv-tag .badge { letter-spacing: 0; }
.adv-head { display: flex; gap: 64px; flex-wrap: wrap; align-items: flex-end; }
.adv-head > div { flex: 1 1 520px; }
.adv-head > p { flex: 1 1 420px; font-size: 17px; line-height: 1.8; color: var(--fg2); }
.compare { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.compare > div { border-radius: var(--radius); padding: 40px; }
.compare .before { border: 1px solid var(--line2); }
.compare .after { background: var(--ink); color: #FFFFFF; }
.compare h3 { font-size: 15px; font-weight: 700; color: var(--fg3); }
.compare .after h3 { color: var(--sky); }
.compare ol { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.compare li { border-radius: 14px; padding: 16px 20px; font-size: 16px; font-weight: 600; background: var(--soft); position: relative; }
.compare .after li { background: rgba(255, 255, 255, .08); }
.compare li:not(:last-child) { margin-bottom: 18px; }
.compare li:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: 14px; color: var(--fg3); }
.compare .after li:not(:last-child)::after { color: var(--sky); }
.compare .before li:last-child { background: var(--bad-bg); color: var(--bad-fg); font-weight: 700; }
.compare .after li:last-child { background: #3FC1D6; color: #0B1D22; font-weight: 700; }
.note { margin-top: 24px; font-size: 15px; color: var(--fg3); }
.band { margin-top: 160px; background: var(--soft); }
.band > .wrap { padding-top: 120px; padding-bottom: 120px; }
.venue { display: flex; gap: 64px; flex-wrap: wrap; align-items: center; }
.venue > div { flex: 1 1 520px; }
.venue .lead { margin-top: 24px; max-width: 540px; }
.venue picture { flex: 1 1 440px; min-width: 0; }
.venue picture img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.mini-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-stats b { display: block; font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1.2; }
.mini-stats span { font-size: 14px; color: var(--fg2); }
.flow-h { margin-top: 96px; font-size: 24px; font-weight: 800; }
.flow-h span { color: var(--accent); }
.flow { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.flow li { background: var(--surface); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.flow li b { font-size: 14px; font-weight: 700; color: var(--accent); }
.flow li p { font-size: 16px; line-height: 1.6; color: var(--fg2); }
.flow li p strong { color: var(--fg); }
.flow li .icon { width: 28px; height: 28px; color: var(--accent); }
.flow li.is-key { background: #0B1D22; color: #FFFFFF; }
:root[data-theme="dark"] .flow li.is-key { background: #071012; }
.flow li.is-key b, .flow li.is-key .icon { color: var(--sky); }
.flow li.is-key p { color: rgba(255, 255, 255, .86); }
.flow li.is-key p strong { color: #FFFFFF; }
.flow li .excl { position: absolute; top: 24px; right: 24px; background: var(--sun); color: #0B1D22; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.more { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line2); }
.more div { padding: 28px 28px 0 0; }
.more h3 { font-size: 19px; font-weight: 700; }
.more p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--fg2); }
.quote { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.quote img { width: 280px; height: 330px; object-fit: cover; border-radius: var(--radius); }
.quote > div { flex: 1 1 420px; }
.quote blockquote { font-size: clamp(24px, 3vw, 40px); line-height: 1.35; font-weight: 800; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 28px; font-size: 17px; color: var(--fg2); }
.quote figcaption b { color: var(--fg); }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 2px solid var(--fg); }
.steps li { padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.steps b { font-size: 48px; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { font-size: 15px; line-height: 1.7; color: var(--fg2); }
.notice { margin-top: 48px; padding: 20px 24px; background: var(--warn-bg); border-radius: 14px; font-size: 15px; line-height: 1.7; color: var(--fg2); }
.notice strong { color: var(--fg); }
.start { margin: 140px 0; background: #0B1D22; color: #FFFFFF; border-radius: 32px; padding: clamp(32px, 5vw, 72px); display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
:root[data-theme="dark"] .start { background: var(--ink); }
.start > div { flex: 1 1 400px; }
.start p { margin-top: 24px; font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, .78); max-width: 480px; }
.start .help { margin-top: 40px; font-size: 15px; color: rgba(255, 255, 255, .66); }
.start .help a { color: var(--sky); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.start figure { background: #FFFFFF; color: #0B1D22; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; }
.start figure img { width: 200px; height: 200px; }

/* ---------- About page ---------- */
.about-hero { padding-top: 120px; }
.about-hero h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 1.1; font-weight: 900; letter-spacing: -0.03em; }
.about-hero h1 span { display: block; }
.photo-strip { padding-top: 80px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 280px 280px; gap: 16px; }
.photo-strip picture:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.photo-strip picture:nth-child(2), .photo-strip picture:nth-child(3) { grid-column: 8 / 13; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mission { display: flex; gap: 72px; flex-wrap: wrap; padding-top: 140px; }
.mission > div:first-child { flex: 1 1 340px; }
.mission h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; font-weight: 900; letter-spacing: -0.02em; }
.mission h2 span { display: block; }
.mission-text { flex: 2 1 560px; display: flex; flex-direction: column; gap: 24px; font-size: 19px; line-height: 1.85; color: var(--fg2); }
.big-stats { margin-top: 100px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--fg); }
.big-stats div { padding: 32px 32px 0 0; }
.big-stats b { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.03em; }
.big-stats span { font-size: 15px; color: var(--fg3); }
.values { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.values b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1.15; }
.values h3 { margin-top: 16px; font-size: 22px; font-weight: 700; }
.values p { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--fg2); }
.contacts { padding: 140px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.contacts a { border: 1px solid var(--line2); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 12px; color: var(--fg); }
.contacts span { font-size: 14px; color: var(--fg3); }
.contacts b { font-size: 22px; font-weight: 700; word-break: break-word; }
.contacts a.dark { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.contacts a.dark span { color: inherit; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-links, .nav-tools .tool-text, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header--overlay { top: 12px; padding: 0 12px; }
  .site-header--overlay .nav { padding: 6px 6px 6px 16px; gap: 12px; }
  .site-header--solid .nav { padding: 12px 16px 12px 20px; gap: 12px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand img { width: 34px; height: 34px; border-radius: 10px; }
  .mobile-panel { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: var(--surface); color: var(--fg); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
  .site-header.is-open .mobile-panel { display: block; }
  .mobile-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--fg); font-size: 17px; font-weight: 600; }
  .mobile-panel a:hover { background: var(--soft); }
  .mobile-panel .btn { margin-top: 8px; width: 100%; color: var(--btn-fg); }
  .hero-qr, .hero-caption { display: none; }
  .hero-open { display: inline-flex; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 96px; }
  .hero { min-height: 640px; }
  .hero-inner { padding-top: 110px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 20, 24, .3) 0%, rgba(8, 20, 24, .2) 35%, rgba(8, 20, 24, .92) 75%); }
  .hero > picture img { object-position: 30% center; }
  .hero-inner { padding-bottom: 32px; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero-sub { margin-top: 16px; font-size: 15px; }
  .hero-ctas { margin-top: 24px; flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .hero-ctas .link-under { border: 0; font-size: 15px; }
  .stats .wrap { gap: 12px; padding-top: 32px; padding-bottom: 32px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 12px; }
  .marquee { padding: 24px 0; }
  .events-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 14px; margin: 24px -16px 0; padding: 0 16px 8px; scrollbar-width: none; }
  .events-grid::-webkit-scrollbar { display: none; }
  .event-card { flex: 0 0 260px; scroll-snap-align: start; }
  .first { gap: 28px; }
  .first-photos { flex-basis: 100%; grid-template-rows: 240px; }
  .first-photos picture:not(:first-child) { display: none; }
  .first-body { flex-basis: 100%; }
  .first-list { margin-top: 24px; gap: 0; }
  .first-list > li { gap: 16px; padding: 20px 0; }
  .first-list > li:not(.is-key):not(:last-child) { padding-bottom: 20px; }
  .first-list > li.is-key { padding: 20px; margin-bottom: 8px; }
  .first-list h3 { font-size: 17px; }
  .first-list .is-key h3 { font-size: 17px; }
  .first-list p { font-size: 14px; }
  .langs { margin-top: 72px; }
  .langs .wrap { padding-top: 56px; padding-bottom: 56px; }
  .lang-grid { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-top: 28px; }
  .lang-grid li { border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 9px 14px; flex-direction: row; gap: 0; }
  .lang-grid b { font-size: 15px; font-weight: 600; }
  .lang-grid span { display: none; }
  .voice-main { padding: 24px; gap: 24px; }
  .voice-main img { width: 100%; height: 260px; }
  .voice { padding: 24px; }
  .duo > * { padding: 28px; min-height: 0; }
  .faq { gap: 32px; padding-bottom: 96px; }
  .faq-list summary { font-size: 17px; }
  .faq-list details p { font-size: 15px; }
  .site-footer .wrap { padding-top: 56px; }
  .foot-top { padding-bottom: 40px; gap: 32px; }
  .foot-ai { flex-basis: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; padding: 36px 0; }
  .foot-qrs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .foot-qrs img { width: 100%; height: auto; aspect-ratio: 1; padding: 4px; }
  .foot-contact-row img { width: 96px; height: 96px; }
  .foot-legal { flex-direction: column; }
  .host-hero { padding-top: 40px; gap: 32px; }
  .host-hero-text { padding: 0; }
  .host-hero h1 .nw { white-space: normal; }
  .host-hero-photo { min-height: 420px; flex-basis: 100%; }
  .host-hero-photo .stat-card { left: 12px; right: 12px; bottom: 12px; gap: 16px; padding: 16px; }
  .stat-card b { font-size: 18px; }
  .compare > div { padding: 24px; }
  .band { margin-top: 96px; }
  .band > .wrap { padding-top: 72px; padding-bottom: 72px; }
  .venue picture img { height: 260px; }
  .mini-stats { gap: 10px; }
  .mini-stats span { font-size: 12px; }
  .flow-h { margin-top: 56px; font-size: 20px; }
  .quote { gap: 28px; }
  .quote img { width: 100%; height: 300px; }
  .start { margin: 96px 0; border-radius: 24px; }
  .start figure img { width: 160px; height: 160px; }
  .about-hero { padding-top: 64px; }
  .photo-strip { padding-top: 40px; grid-template-rows: 180px 180px; gap: 10px; }
  .mission { padding-top: 80px; gap: 28px; }
  .mission-text { font-size: 16px; }
  .big-stats { margin-top: 56px; }
  .contacts { padding: 80px 0; }
}
