/* hh.gaowan.cc — 自动续火花工具官网。浅色 / 深色两套主题，颜色全部来自下面的变量。 */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --alt: #F6F7F9;
  --card: #FFFFFF;
  --frame: #EDEFF3;
  --soft: #F1F2F5;
  --text: #1C1B1F;
  --muted: #4A4D5A;
  --faint: #5B5F6B;
  --line: #E3E5EA;
  --btn: #C9401B;
  --btn-text: #FFFFFF;
  --accent: #B83A14;
  --chip-bg: #FFF1EA;
  --chip-text: #A8380F;
  --icon: #3F4250;
  --header-bg: rgba(255, 255, 255, 0.84);
  --ok-bg: #DCF2E3;
  --ok-text: #1B6B37;
  --wait-bg: #FFF1C7;
  --wait-text: #7A5600;
  --fail-line: #D33A2C;
  --fail-text: #B0281C;
  --none-bg: #ECEDF1;
  --none-text: #5B5F6B;
  --warn-bg: #FFF8E6;
  --warn-text: #5C4300;
  --notice-bg: #FFF4EE;
  --notice-line: #FFD9C7;
  --footer: #1C1B1F;
  --ember: 232, 100, 40;
  --hero-shadow: 0 30px 60px -30px rgba(60, 40, 30, 0.4);
  --lift-shadow: 0 20px 40px -22px rgba(200, 70, 20, 0.45);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15110F;
  --alt: #1D1714;
  --card: #261E19;
  --frame: #211A16;
  --soft: #2E241E;
  --text: #F4EEEA;
  --muted: #CFC5BE;
  --faint: #A99D95;
  --line: #3A2C24;
  --btn: #FF8A3D;
  --btn-text: #1A0E08;
  --accent: #FFA45C;
  --chip-bg: #3A2419;
  --chip-text: #FFB38A;
  --icon: #FFC53D;
  --header-bg: rgba(21, 17, 15, 0.84);
  --ok-bg: #24543A;
  --ok-text: #CDEFD9;
  --wait-bg: #4A3A12;
  --wait-text: #F6D88A;
  --fail-line: #FF6B4A;
  --fail-text: #FFB3A3;
  --none-bg: #3A322D;
  --none-text: #BFB3AB;
  --warn-bg: #2B2313;
  --warn-text: #F2D58A;
  --notice-bg: #241914;
  --notice-line: #5A3A28;
  --footer: #0E0B0A;
  --ember: 255, 150, 70;
  --hero-shadow: 0 0 120px -30px rgba(255, 120, 50, 0.5);
  --lift-shadow: 0 20px 44px -22px rgba(255, 120, 50, 0.45);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { filter: brightness(0.9); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h2 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 900; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
code { font-family: Consolas, "Cascadia Mono", "SFMono-Regular", monospace; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--btn); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-tight { display: flex; flex-direction: column; gap: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent-text { color: var(--accent); }
.section { padding: 88px 0; }
.section.alt { background: var(--alt); }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; }
.section-lead { font-size: 17px; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: start; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-text); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--btn); transform-origin: 0 50%; transform: scaleX(0); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 700; white-space: nowrap; }
.brand-icon { width: 38px; height: 38px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 6px 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--btn); transform: scaleX(0); transition: transform 0.2s ease; }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
  width: 44px; height: 44px; border: none; border-radius: 12px;
  background: var(--soft); color: var(--icon);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.icon-button:hover { transform: translateY(-2px); }
.icon-button.on-dark { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon { display: none; }
.icon-sun, .icon-moon { animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.2) both; }
.menu-button { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 20px; border-radius: 12px; border: none;
  font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { cursor: progress; transform: none; filter: saturate(0.7); }
.btn-primary { background-color: var(--btn); color: var(--btn-text); }
.btn-soft { background: var(--soft); color: var(--text); font-weight: 600; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-large { padding: 14px 28px; font-size: 18px; }
.btn-block { width: 100%; padding: 16px; font-size: 18px; border-radius: 14px; }
.play-dot { width: 26px; height: 26px; border-radius: 999px; background-color: var(--btn); color: var(--btn-text); display: inline-flex; align-items: center; justify-content: center; }
.text-link { font-weight: 700; text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.embers { position: absolute; inset: 0; pointer-events: none; }
.ember { position: absolute; bottom: -20px; border-radius: 50%; background: rgba(var(--ember), 0.6); animation: ember linear infinite; }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.pill-badge { align-self: flex-start; background: var(--chip-bg); color: var(--chip-text); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.12; font-weight: 900; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { font-size: 14px; color: var(--faint); }
.hero-visual { position: relative; }
.hero-shot { margin: 0; background: var(--frame); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--hero-shadow); }
.hero-shot img { width: 100%; height: auto; border-radius: 10px; }
.float-chip { position: absolute; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4); white-space: nowrap; }
.chip-ok { top: -14px; left: 12px; background: var(--ok-bg); color: var(--ok-text); }
.chip-plain { bottom: -16px; right: 18px; background: var(--card); color: var(--text); border: 1px solid var(--line); }

/* Video */
.video-card { position: relative; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #000; cursor: pointer; display: block; }
.video-card img { width: 100%; height: auto; opacity: 0.92; transition: transform 0.6s ease, opacity 0.3s ease; }
.video-card:hover img { transform: scale(1.03); opacity: 1; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-ring { width: 92px; height: 92px; border-radius: 999px; background: #FF8A3D; color: #1A0E08; display: flex; align-items: center; justify-content: center; }
.video-badge { position: absolute; left: 16px; bottom: 14px; background: rgba(0, 0, 0, 0.62); color: #FFFFFF; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.video-dialog { width: min(1100px, calc(100% - 32px)); max-width: none; padding: 0; border: none; background: transparent; overflow: visible; }
.video-dialog::backdrop { background: rgba(10, 6, 4, 0.82); animation: fadein 0.25s ease both; }
.video-dialog[open] .video-dialog-inner { animation: pop 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.1) both; }
.video-dialog-inner { display: flex; flex-direction: column; gap: 12px; }
.video-dialog-head { display: flex; justify-content: space-between; align-items: center; color: #FFFFFF; font-weight: 700; }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; }
.video-note { color: #CFC5BE; font-size: 13px; text-align: center; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--lift-shadow); }

/* Demo */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; align-items: start; }
.demo-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week { font-size: 13px; color: var(--faint); text-align: center; }
.day {
  aspect-ratio: 1; min-width: 0; padding: 5px 7px; border-radius: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 12px; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.3s ease;
}
.day:hover { transform: scale(1.07); }
.day .d-label { align-self: flex-start; }
.day .d-count { align-self: flex-end; font-weight: 800; }
.day-ok { background: var(--ok-bg); color: var(--ok-text); }
.day-fail { background: var(--card); color: var(--fail-text); border-color: var(--fail-line); }
.day-none { background: var(--none-bg); color: var(--none-text); }
.day-wait { background: var(--wait-bg); color: var(--wait-text); }
.day-today { background: var(--wait-bg); color: var(--wait-text); border-color: var(--btn); }
.day-future { background: transparent; color: var(--faint); border: 1px solid var(--line); cursor: default; }
.day-future:hover { transform: none; }
.day[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--btn); }
.day.flash { animation: pop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) both; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; }
.swatch-ok { background: var(--ok-bg); }
.swatch-wait { background: var(--wait-bg); }
.swatch-fail { border: 2px solid var(--fail-line); }
.swatch-none { background: var(--none-bg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--alt); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.stat span { font-size: 12px; color: var(--faint); }
.stat strong { font-size: 22px; font-weight: 900; }
.stat strong span { font-size: inherit; color: inherit; }
.friends { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.friend { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--alt); }
.friend-dot { flex: none; width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.friend-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.friend-name { font-weight: 700; font-size: 15px; }
.friend-streak { font-size: 13px; color: var(--faint); }
.chip { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tone-ok { background: var(--ok-bg); color: var(--ok-text); }
.tone-wait { background: var(--wait-bg); color: var(--wait-text); }
.tone-idle { background: var(--none-bg); color: var(--none-text); }
.tone-fail { background: transparent; color: var(--fail-text); border: 1.5px solid var(--fail-line); }
.friend-dot.tone-fail { background: var(--none-bg); border: none; }
.chip.tone-ok { animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.2) both; }
.empty { padding: 28px 16px; border-radius: 14px; background: var(--alt); color: var(--muted); text-align: center; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.spinner { display: none; width: 14px; height: 14px; border-radius: 999px; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
[data-simulate].running .spinner { display: inline-block; }
.time-row { margin-top: 24px; background: var(--alt); border-radius: 22px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 16px; }
.time-row label { font-weight: 700; }
.time-row input { font: inherit; font-size: 20px; font-weight: 800; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); min-height: 44px; }
.time-row strong { color: var(--text); }
.time-row .accent-text { color: var(--accent); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 10px; border: none; }
.feature p { font-size: 15px; color: var(--muted); }
.feature-no { width: 44px; height: 44px; border-radius: 12px; background: var(--chip-bg); color: var(--chip-text); display: flex; align-items: center; justify-content: center; font-weight: 900; }

/* Download */
.warn { background: var(--warn-bg); color: var(--warn-text); border-radius: 14px; padding: 18px 20px; font-size: 15px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.steps li { display: flex; gap: 14px; align-items: center; }
.steps li span { flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-text); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.download-card { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.download-card h3 { font-size: 22px; font-weight: 900; }
.specs { margin: 0; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.specs dt { color: var(--faint); }
.specs dd { margin: 0; word-break: break-all; }
.sha { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sha code { font-size: 13px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.faq details { padding: 18px 22px; border: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; min-height: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.faq details[open] p { animation: fadein 0.3s ease both; }
.chev { flex: none; transition: transform 0.2s ease; }
.faq details[open] .chev { transform: rotate(180deg); }

/* Changelog + notices */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 34px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; width: 14px; height: 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); }
.timeline li:first-child::before { background: var(--btn); border-color: var(--btn); }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline button { border: none; background: transparent; color: var(--text); padding: 0; text-align: left; cursor: pointer; display: flex; flex-direction: column; min-height: 44px; }
.tl-version { font-size: 13px; color: var(--faint); }
.tl-title { font-size: 17px; font-weight: 800; }
.timeline p { margin-top: 6px; font-size: 15px; color: var(--muted); animation: fadein 0.3s ease both; }
.notices { display: flex; flex-direction: column; gap: 14px; }
.notice { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.notice.important { background: var(--notice-bg); border-color: var(--notice-line); }
.notice-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-important { background-color: var(--btn); color: var(--btn-text); font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.tag-normal { background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.notice-toggle { align-self: flex-start; border: none; background: none; padding: 0; color: var(--accent); font-weight: 700; font-size: 15px; cursor: pointer; min-height: 32px; }
.notice-body { font-size: 15px; color: var(--muted); white-space: pre-line; animation: fadein 0.3s ease both; }
.notice.highlight { animation: glow 2s ease 2; }

/* Footer */
.site-footer { background: var(--footer); color: #C9C2BD; padding: 40px 0; font-size: 14px; }
.site-footer strong { color: #FFFFFF; }
.site-footer a { color: #FFB38A; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.filing { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.filing a { color: #C9C2BD; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 25; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5); animation: pop 0.35s ease both; }
.to-top[hidden] { display: none; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ember { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 0.85; } 100% { transform: translateY(-560px) scale(0.35); opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.6); } 100% { box-shadow: 0 0 0 30px rgba(255, 138, 61, 0); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes shine { 0% { background-position: -180% 0; } 60%, 100% { background-position: 180% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.05, 0.96) rotate(-2deg); } 50% { transform: scale(0.97, 1.04) rotate(2deg); } 75% { transform: scale(1.03, 0.98) rotate(-1deg); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 0 4px var(--btn); } }

.in { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; } .d3 { animation-delay: 0.3s; } .d4 { animation-delay: 0.45s; } .d5 { animation-delay: 0.6s; }
.float { animation: float 6s ease-in-out infinite; }
.pulse { animation: pulse 1.8s ease-out infinite; }
.pop { animation: pop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) both; }
.flicker { transform-origin: 50% 85%; animation: flicker 2.6s ease-in-out infinite; }
.shine { background-image: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%); background-size: 220% 100%; background-repeat: no-repeat; animation: shine 3.4s ease-in-out infinite; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* Phones */
@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; display: none;
  }
  .site-nav.open { display: flex; animation: fadein 0.2s ease both; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .brand span { font-size: 16px; }
  [data-header-download] { display: none; }
  .hero-grid { padding-top: 40px; padding-bottom: 72px; gap: 40px; }
  .stats { grid-template-columns: 1fr; }
  .day { padding: 3px 4px; font-size: 11px; border-radius: 8px; }
  .float-chip { font-size: 12px; }
  .chip-plain { right: 8px; }
}

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