/* ============================================================
   糖心Vlog · TANGXIN VLOG
   Shared stylesheet — minimal / editorial / black-white-gray
   Single accent color, generous whitespace, no redundant decor
   ============================================================ */

:root {
  --paper:        #ffffff;
  --paper-soft:   #f6f6f5;
  --paper-deep:   #eeeeec;
  --ink:          #161616;
  --ink-soft:     #555553;
  --muted:        #8d8d8a;
  --line:         #e8e8e5;
  --line-strong:  #d3d3cf;
  --accent:       #e2563b;
  --accent-dark:  #c4472f;
  --accent-tint:  rgba(226, 86, 59, .08);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  --container: 1240px;
  --gutter: 32px;
  --section-y: 128px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--paper-soft); }
.section--tight { padding-block: 92px; }
.section--border { border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); flex: none; }

.display {
  margin: 26px 0 0;
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  font-weight: 600; line-height: 1.16; letter-spacing: -.035em;
}
.display--sm { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.accent { color: var(--accent); }

.h2 {
  margin: 20px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 600; line-height: 1.28; letter-spacing: -.025em;
}
.h3 { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }

.lead {
  margin: 26px 0 0; max-width: 620px;
  font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.95; color: var(--ink-soft);
}
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.micro { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head .lead { margin-top: 18px; }
.section-head__side { flex: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color .25s, border-color .25s;
}
.text-link::after { content: "→"; font-family: var(--font-mono); transition: transform .25s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  background: transparent; text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--paper-deep); }
.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; flex: none; }
.brand__cn { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.brand__en { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-soft); padding-block: 8px; transition: color .25s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--accent); transition: width .25s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header-cta { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: transparent; border-radius: 2px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform .25s, opacity .25s; }
html.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
html.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
html.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(0,0,0,.05);
  }
  html.nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 84px 112px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.hero .display { font-size: clamp(2.7rem, 5.2vw, 4.9rem); }
.hero .btn-row { margin-top: 42px; }
.hero-visual { position: relative; }
.hero-visual__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.hero-visual__cap {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.hero-visual__cap span { font-size: 13px; color: var(--ink-soft); }
.hero-visual__num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

/* sub-page hero */
.page-hero { padding-block: 92px 88px; border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.page-hero__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.page-hero .btn-row { margin-top: 36px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 38px 24px 38px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 32px; }
.stat__num { font-family: var(--font-mono); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); font-size: .55em; margin-left: 3px; }
.stat__label { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 36px 22px 8px 0; }
.pillar__no { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.pillar__title { margin-top: 22px; font-size: 17px; font-weight: 600; }
.pillar__desc { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- Cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card { display: block; transition: transform .3s, box-shadow .3s; }
.js .card.reveal.in:hover { transform: translateY(-5px); }
.card__media { position: relative; overflow: hidden; background: var(--paper-deep); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.045); }
.card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(16,16,16,.10); opacity: 0; transition: opacity .3s;
}
.card:hover .card__play, .card:focus-visible .card__play { opacity: 1; }
.card__play i {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: #fff; font-style: normal; font-size: 18px; padding-left: 3px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.card__duration { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; background: rgba(12,12,12,.82); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; }
.card__body { padding-top: 18px; }
.card__title { font-size: 16px; font-weight: 600; line-height: 1.55; margin: 0; }
.card:hover .card__title { color: var(--accent); }
.video-card { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
html.js .video-card.extra { display: none; }
.no-result { display: none; padding: 70px 20px; text-align: center; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-soft); }

.svc { border-top: 1px solid var(--line); padding-top: 30px; display: block; transition: color .25s; }
.svc__no { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.svc__title { margin-top: 26px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.svc__desc { margin-top: 12px; color: var(--ink-soft); font-size: 15px; min-height: 84px; }
.svc__link { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.svc__link::after { content: "↗"; font-family: var(--font-mono); }
.svc:hover .svc__title { color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 4px 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 36px; }
.step__no { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 600; letter-spacing: -.05em; color: var(--line-strong); line-height: 1; }
.step__title { margin-top: 22px; font-size: 17px; font-weight: 600; }
.step__desc { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

.step-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step-list__row { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step-list__no { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.step-list__title { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.step-list__desc { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.chip {
  padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; font-size: 14px; color: var(--ink-soft);
  transition: all .25s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Search ---------- */
.search { display: flex; align-items: center; gap: 12px; max-width: 560px; margin-top: 34px; border-bottom: 1px solid var(--line-strong); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 2px; outline: none; font-size: 15px; }
.search input::placeholder { color: var(--muted); }
.search button { border: 0; background: transparent; padding: 8px; font-family: var(--font-mono); font-size: 18px; color: var(--ink); }
.search button:hover { color: var(--accent); }

/* ---------- Live ---------- */
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; }
.live-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.live-card .card__meta .viewers { font-family: var(--font-mono); color: var(--accent); }

.schedule { border-top: 1px solid var(--line); }
.schedule__row { display: grid; grid-template-columns: 110px 160px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.schedule__time { font-family: var(--font-mono); font-size: 14px; letter-spacing: .02em; }
.schedule__host { font-size: 15px; font-weight: 600; }
.schedule__title { color: var(--ink-soft); font-size: 15px; }
.schedule__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 24px; font-family: var(--font-mono); font-size: 20px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq details p { margin: 0; padding: 0 60px 28px 0; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }

/* ---------- Forms / demo ---------- */
.field { display: block; margin-bottom: 22px; }
.field__label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.field input[type="text"], .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 2px; outline: none;
  transition: border-color .25s; font-size: 15px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field-note { margin-top: 8px; font-size: 12px; color: var(--muted); }

.demo-panel { border: 1px solid var(--line); background: var(--paper); padding: 40px; }
.demo-output { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); display: none; }
.demo-output.is-on { display: block; }
.demo-output__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.demo-output__title { margin-top: 12px; font-size: 19px; font-weight: 600; }
.demo-output__text { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }

.upload-zone { border: 1px dashed var(--line-strong); background: var(--paper); padding: 48px 28px; text-align: center; }
.upload-zone__icon { width: 46px; height: 46px; margin: 0 auto 18px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 20px; color: var(--accent); }
.upload-zone__title { font-size: 16px; font-weight: 600; }
.upload-zone__desc { margin-top: 8px; font-size: 13px; color: var(--muted); }
.upload-zone input[type="file"] { margin-top: 18px; font-size: 13px; max-width: 100%; }

/* platform cards */
.platform { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.platform__name { font-size: 18px; font-weight: 600; }
.platform__desc { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.platform__hint { max-height: 0; overflow: hidden; transition: max-height .35s, margin-top .35s; }
.platform.is-open .platform__hint { max-height: 160px; margin-top: 18px; }
.platform__hint ol { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }

.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.entry { padding: 34px 28px 8px 0; border-right: 1px solid var(--line); }
.entry:last-child { border-right: 0; }
.entry + .entry { padding-left: 32px; }
.entry__kw { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--accent); }
.entry__title { margin-top: 18px; font-size: 18px; font-weight: 600; }
.entry__desc { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding-block: 108px; text-align: center; }
.cta-band .eyebrow { color: rgba(255,255,255,.6); }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band h2 { margin: 24px auto 0; max-width: 820px; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.cta-band p { margin: 20px auto 0; max-width: 560px; color: rgba(255,255,255,.65); font-size: 15px; }
.cta-band .btn-row { justify-content: center; margin-top: 38px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-brand__cn { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.footer-brand__en { margin-top: 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.footer-brand p { margin: 20px 0 0; max-width: 300px; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.footer-col h4 { margin: 4px 0 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer-col a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-soft); transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom small { font-size: 12px; color: var(--muted); }
.footer-kw { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-kw a { font-size: 12px; color: var(--muted); }
.footer-kw a:hover { color: var(--accent); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.78); }
.modal__box { position: relative; width: 100%; max-width: 780px; background: var(--paper); padding: 28px; max-height: 90vh; overflow: auto; }
.modal__close { position: absolute; top: 14px; right: 16px; z-index: 2; border: 0; background: rgba(255,255,255,.92); width: 36px; height: 36px; font-family: var(--font-mono); font-size: 18px; }
.modal__player { width: 100%; aspect-ratio: 16 / 9; background: #111; display: grid; place-items: center; color: #fff; }
.modal__player span { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; font-size: 20px; padding-left: 4px; }
.modal__info { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-top: 22px; }
.modal__info h3 { font-size: 20px; font-weight: 600; margin: 0; }
.modal__info p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }
.modal__note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.modal__note span { font-size: 13px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 2px;
  font-size: 14px; max-width: calc(100vw - 40px); text-align: center;
  transition: opacity .3s, transform .3s; box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal (default visible; only hidden when JS active) ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-delay="3"] { transition-delay: .24s; }
html.js .card.reveal.in:hover { transform: translateY(-5px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --section-y: 104px; }
  .pillars { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; --section-y: 88px; }
  .hero { padding-block: 60px 84px; }
  .hero-grid, .page-hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 560px; }
  .hero-visual__img { aspect-ratio: 16 / 11; }
  .page-hero__img { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .section-head { display: block; margin-bottom: 40px; }
  .section-head__side { margin-top: 22px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .entry + .entry { padding-left: 0; }
  .schedule__row { grid-template-columns: 90px 1fr; gap: 8px 18px; }
  .schedule__title { grid-column: 2; }
  .schedule__tag { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; --section-y: 72px; }
  body { font-size: 15px; }
  .header-inner { height: 66px; }
  .nav { top: 66px; }
  .brand__cn { font-size: 18px; }
  .brand__en { display: none; }
  .display { font-size: 2.45rem !important; letter-spacing: -.03em; }
  .h2 { font-size: 1.85rem; }
  .lead { font-size: 15px; }
  .hero { padding-block: 48px 70px; }
  .hero .btn-row, .cta-band .btn-row { display: flex; flex-direction: column; align-items: center; }
  .hero .btn, .cta-band .btn { width: 100%; max-width: 360px; }
  .page-hero { padding-block: 56px 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 12px 26px 0; }
  .stat + .stat { padding-left: 14px; }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .pillar { padding-top: 26px; }
  .card__media img { aspect-ratio: 16 / 10; }
  .step-list__row { grid-template-columns: 1fr; gap: 10px; }
  .demo-panel { padding: 24px 20px; }
  .platform { flex-direction: column; align-items: flex-start; gap: 16px; }
  .platform .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band { padding-block: 78px; }
  .schedule__row { grid-template-columns: 1fr; }
  .schedule__time { color: var(--accent); }
  .schedule__title, .schedule__tag { grid-column: 1; }
  .modal__box { padding: 18px; }
}

@media (max-width: 380px) {
  .filters { justify-content: flex-start; flex-wrap: wrap; }
  .chip { padding: 8px 14px; font-size: 13px; }
}

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