/* ==========================================================================
   场景预约 · 官网样式
   设计基调：米纸底 + 墨黑 + 铜金，衬线标题，克制的动效。
   无外部字体 / 图片依赖：字体走系统字体栈，图形全部 CSS + 内联 SVG。
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #171410;
  --ink-2: #3b342b;
  --muted: #6f675b;
  --muted-2: #8b8275;
  --paper: #faf7f1;
  --paper-2: #f3ede2;
  --card: #fffdf9;
  --line: #e4dbcd;
  --line-soft: rgba(23, 20, 16, .08);
  --gold: #c9a25e;
  --gold-deep: #a2762a;
  --gold-soft: #efe1c4;
  --green: #2f6b53;
  --red: #b4432f;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 88% -8%, rgba(201, 162, 94, .13), transparent 62%),
    radial-gradient(820px 480px at -8% 12%, rgba(47, 107, 83, .06), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 26px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fbf3e3; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 38px; padding: 0 17px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--ink); color: #fbf3e3; box-shadow: 0 10px 24px -14px rgba(23, 20, 16, .7); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-line { border-color: rgba(23, 20, 16, .2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: rgba(23, 20, 16, .03); }
.btn-gold { background: linear-gradient(180deg, #d8b477, #b1832f); color: #1d1508; font-weight: 600; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline-light { border-color: rgba(246, 239, 226, .32); color: #f6efe2; }
.btn-outline-light:hover { background: rgba(246, 239, 226, .08); border-color: rgba(246, 239, 226, .6); }

.text-link { display: inline-block; margin-top: 18px; color: var(--gold-deep); font-size: 14.5px; border-bottom: 1px solid rgba(162, 118, 42, .35); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold-deep); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 241, .82);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(23, 20, 16, .5); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; font-weight: 600; }
.brand-text small { font-size: 9.5px; letter-spacing: .22em; color: var(--muted-2); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: 14.5px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold-deep); transition: right .3s var(--ease);
}
.nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { margin-left: 2px; }

.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 20, 16, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 20, 16, .028) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(760px 520px at 30% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(760px 520px at 30% 30%, #000 20%, transparent 78%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 46px;
  padding: 78px 0 88px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; letter-spacing: .16em; color: var(--gold-deep);
  font-weight: 600;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 94, .16); }
.eyebrow--light { color: var(--gold); }

h1 {
  margin: 22px 0 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.1vw, 64px);
  line-height: 1.14; letter-spacing: .002em; text-wrap: balance;
}
h2 { font-family: var(--serif); font-weight: 500; }
.mark { position: relative; white-space: nowrap; color: var(--ink); }
.mark::after {
  content: ""; position: absolute; left: .02em; right: .02em; bottom: -.06em; height: .085em;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 94, .45));
  border-radius: 999px;
}
.lede { margin-top: 24px; font-size: 16.5px; line-height: 1.9; color: var(--muted); max-width: 35em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero-points li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-2); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px;
  background: var(--gold); transform: rotate(45deg);
}

/* ---------- hero visual / phone ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 6px 0; }
.hero-halo {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 94, .22), rgba(201, 162, 94, .04) 55%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.phone {
  position: relative; z-index: 1; width: 298px; padding: 9px; border-radius: 46px;
  background: linear-gradient(155deg, #33302a, #100e0b 55%);
  box-shadow:
    0 48px 90px -40px rgba(23, 20, 16, .62),
    0 2px 0 rgba(255, 255, 255, .1) inset,
    0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone-screen {
  position: relative; display: flex; flex-direction: column;
  height: 596px; padding: 10px 14px 0; border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #fdfbf7, #f7f2e9);
}

.mp-status { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 6px; font-size: 10px; font-weight: 600; color: var(--ink); }
.mp-status-icons { display: flex; gap: 3px; }
.mp-status-icons i { width: 9px; height: 6px; border-radius: 1.5px; background: rgba(23, 20, 16, .55); }
.mp-status-icons i:nth-child(2) { width: 6px; }
.mp-status-icons i:nth-child(3) { width: 12px; }

.mp-head { display: flex; align-items: center; gap: 8px; padding: 8px 2px 12px; }
.mp-brand { display: flex; align-items: center; gap: 8px; }
.mp-logo {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 15px;
}
.mp-brand b { display: block; font-size: 13px; letter-spacing: .02em; }
.mp-brand small { display: block; font-size: 9.5px; color: var(--muted-2); margin-top: 1px; }
.mp-tag {
  margin-left: auto; font-size: 9.5px; color: var(--green);
  background: rgba(47, 107, 83, .1); padding: 3px 8px; border-radius: 999px;
}

.mp-cover {
  position: relative; height: 132px; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(90px 70px at 74% 26%, rgba(255, 232, 187, .55), rgba(255, 220, 160, .08) 62%, transparent 72%),
    radial-gradient(140px 90px at 18% 88%, rgba(255, 214, 150, .18), transparent 70%),
    linear-gradient(178deg, #6d5d49 0%, #4a3d30 46%, #2b231b 100%);
}
/* 拱窗 */
.mp-cover::before {
  content: ""; position: absolute; left: 55%; top: 13%; width: 32%; height: 60%;
  border-radius: 999px 999px 4px 4px;
  border: 1px solid rgba(255, 236, 200, .34);
  background: linear-gradient(180deg, rgba(255, 236, 200, .26), rgba(255, 236, 200, .05));
  box-shadow: 0 0 26px rgba(255, 225, 170, .22) inset, 0 0 22px rgba(255, 225, 170, .12);
}
/* 桌面与烛光 */
.mp-cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(2px 3px at 24% 62%, #ffe6b0, transparent 72%),
    radial-gradient(2px 3px at 31% 60%, #ffe6b0, transparent 72%),
    radial-gradient(2px 3px at 68% 64%, #ffe6b0, transparent 72%),
    linear-gradient(183deg, transparent 61%, rgba(255, 238, 205, .22) 62%, rgba(28, 22, 16, .55) 74%, rgba(20, 16, 12, .78) 100%);
}
.mp-cover-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  font-size: 10px; color: #fbf3e3; background: rgba(23, 20, 16, .5);
  padding: 4px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mp-cover-line { position: absolute; right: 12px; top: 12px; width: 26px; height: 1px; background: rgba(255, 246, 226, .5); }

.mp-dates { display: flex; gap: 6px; margin-top: 14px; }
.mp-date {
  flex: 1; text-align: center; padding: 7px 0 6px; border-radius: 10px;
  border: 1px solid transparent; background: rgba(23, 20, 16, .04);
}
.mp-date small { display: block; font-size: 8.5px; color: var(--muted-2); }
.mp-date b { display: block; font-family: var(--serif); font-size: 14px; line-height: 1.2; margin-top: 1px; }
.mp-date.is-active { background: var(--ink); border-color: var(--ink); }
.mp-date.is-active small, .mp-date.is-active b { color: #fbf3e3; }
.mp-date.is-off { opacity: .45; }

.mp-periods { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.mp-period {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 11px; background: #fffdf9;
  border: 1px solid var(--line-soft);
}
.mp-period b { font-size: 11.5px; }
.mp-period small { display: block; font-size: 9px; color: var(--muted-2); margin-top: 1px; }
.mp-period.is-full { background: rgba(23, 20, 16, .03); }
.mp-period.is-full b { color: var(--muted-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.mp-pill { font-size: 9px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.mp-pill--ok { color: var(--green); background: rgba(47, 107, 83, .1); }
.mp-pill--full { color: var(--muted-2); background: rgba(23, 20, 16, .06); }

.mp-cta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0 12px;
}
.mp-cta small { display: block; font-size: 8.5px; color: var(--muted-2); }
.mp-cta b { font-family: var(--serif); font-size: 19px; color: var(--gold-deep); }
.mp-btn {
  background: var(--ink); color: #fbf3e3; font-size: 11px; padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 8px 18px -10px rgba(23, 20, 16, .8);
}
.mp-tab {
  display: flex; align-items: center; justify-content: space-around;
  padding: 9px 0 12px; border-top: 1px solid var(--line-soft); margin: 0 -14px;
  font-size: 9px; color: var(--muted-2);
}
.mp-tab span.is-on { color: var(--ink); font-weight: 600; position: relative; }
.mp-tab span.is-on::before {
  content: ""; position: absolute; left: 50%; top: -9px; width: 14px; height: 2px;
  transform: translateX(-50%); background: var(--gold); border-radius: 2px;
}

.float-card {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  padding: 13px 16px; border-radius: 14px; background: rgba(255, 253, 249, .96);
  border: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(23, 20, 16, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: floaty 7s ease-in-out infinite;
}
.float-card--a { top: 7%; left: -4%; }
.float-card--b { bottom: 9%; right: -6%; animation-delay: -3.5s; }
.fc-label { font-size: 10px; color: var(--muted-2); letter-spacing: .04em; }
.float-card strong { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.float-card strong em { font-style: normal; font-family: var(--sans); font-size: 11px; color: var(--muted-2); margin-left: 3px; }
.fc-delta { font-size: 10px; color: var(--green); }
.fc-spark { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: 4px; }
.fc-spark i { width: 4px; height: var(--h); background: rgba(201, 162, 94, .55); border-radius: 2px; }
.fc-spark i:last-child { background: var(--gold-deep); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(23, 20, 16, .09); background-clip: content-box; }
.stat { background: var(--card); padding: 42px 30px 38px; transition: background .3s; }
.stat:hover { background: #fff; }
.stat-kicker {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .18em; color: var(--gold-deep);
}
.stat-kicker::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .65; }
.stat-num {
  display: flex; align-items: baseline; gap: 8px; margin-top: 14px;
  font-family: var(--serif); font-weight: 500; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.stat-num strong { font-size: 52px; font-weight: 500; }
.stat-num small { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); }
.stat-note { margin-top: 12px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* ---------- section ---------- */
.section { padding: 92px 0; }
.section--alt { background: linear-gradient(180deg, rgba(243, 237, 226, .55), rgba(243, 237, 226, .72)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--tight { padding: 56px 0 96px; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.h2 {
  margin-top: 16px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.3vw, 40px); line-height: 1.34; letter-spacing: .004em;
  text-wrap: balance;
}
.section-head .lede { margin-top: 18px; }

/* ---------- roles ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card {
  position: relative; padding: 30px 26px 28px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.role-card:hover { transform: translateY(-4px); border-color: rgba(201, 162, 94, .4); box-shadow: 0 26px 54px -32px rgba(23, 20, 16, .45); }
.role-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201, 162, 94, .13); color: var(--gold-deep); margin-bottom: 18px;
}
.role-icon svg { width: 22px; height: 22px; }
.role-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.role-card > p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.role-card ul { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.role-card li { position: relative; padding-left: 15px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.role-card li + li { margin-top: 7px; }
.role-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.feature { background: var(--card); padding: 26px 22px 28px; transition: background .3s; }
.feature:hover { background: #fff; }
.feature-no { font-family: var(--serif); font-size: 12px; color: var(--gold-deep); letter-spacing: .1em; }
.feature h3 { margin-top: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.feature p { margin-top: 9px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- flow ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 8px; }
.flow::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 94, 0), rgba(201, 162, 94, .55) 12%, rgba(201, 162, 94, .55) 88%, rgba(201, 162, 94, 0));
}
.flow li { position: relative; }
.step-no {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 41px; height: 41px; border-radius: 50%; background: var(--paper);
  border: 1px solid var(--line); font-family: var(--serif); font-size: 13px; color: var(--gold-deep);
}
.flow h3 { margin-top: 16px; font-size: 16px; font-weight: 600; }
.flow p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; align-items: center; }
.showcase-copy .h2 { font-size: clamp(26px, 2.9vw, 36px); }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 11px; }
.check-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .34em; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(47, 107, 83, .1);
}
.check-list li::after {
  content: ""; position: absolute; left: 4.5px; top: .58em; width: 6px; height: 3px;
  border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg);
}
.fineprint { margin-top: 22px; font-size: 12px; color: var(--muted-2); }

.browser { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 44px 80px -46px rgba(23, 20, 16, .5); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f1eadd; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(23, 20, 16, .16); }
.browser-dots i:nth-child(1) { background: #d9a194; }
.browser-dots i:nth-child(2) { background: #dfc08a; }
.browser-dots i:nth-child(3) { background: #a9c3a4; }
.browser-url { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted-2); background: rgba(255, 253, 249, .8); border-radius: 999px; padding: 4px 12px; }
.browser-badge { font-size: 9.5px; color: var(--gold-deep); border: 1px solid rgba(201, 162, 94, .45); padding: 2px 8px; border-radius: 999px; }

.admin { display: grid; grid-template-columns: 126px 1fr; background: #fbf9f5; }
.admin-side { background: #1b1813; color: rgba(246, 239, 226, .62); padding: 14px 12px; font-size: 9.5px; }
.admin-brand { display: flex; align-items: center; gap: 6px; color: #f6efe2; font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.admin-brand span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--gold); color: #1b1813; font-family: var(--serif); font-size: 10px; }
.admin-store { margin: 12px 0 14px; padding: 6px 8px; border-radius: 6px; background: rgba(246, 239, 226, .06); color: rgba(246, 239, 226, .8); font-size: 9px; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav span { padding: 5.5px 8px; border-radius: 5px; }
.admin-side nav span.is-on { background: rgba(201, 162, 94, .16); color: var(--gold); }

.admin-main { padding: 14px 16px 18px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-top b { display: block; font-size: 13px; }
.admin-top small { display: block; font-size: 9px; color: var(--muted-2); margin-top: 1px; }
.admin-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: 9px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.admin-stats div { background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 9px; }
.admin-stats span { display: block; font-size: 8.5px; color: var(--muted-2); }
.admin-stats b { display: block; font-family: var(--serif); font-size: 16px; line-height: 1.3; margin-top: 2px; }
.admin-stats em { font-style: normal; font-size: 8px; color: var(--muted-2); }
.admin-stats em.up { color: var(--green); }
.admin-stats em.warn { color: var(--red); }

.admin-panels { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8px; margin-top: 10px; }
.admin-chart, .admin-list { background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 11px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-head b { font-size: 10px; }
.panel-head span { font-size: 8px; color: var(--muted-2); }

.bars { display: flex; align-items: flex-end; gap: 5px; height: 82px; margin-top: 12px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, rgba(201, 162, 94, .75), rgba(201, 162, 94, .35)); border-radius: 3px 3px 0 0; position: relative; }
.bars i u { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: 7px; color: var(--muted-2); text-decoration: none; }
.bars i.is-today { background: linear-gradient(180deg, var(--ink), #423a2f); }
.bars i.is-today u { color: var(--ink); font-weight: 600; }

.admin-list ul { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.admin-list li { display: flex; align-items: center; gap: 7px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-soft); }
.admin-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-list b { display: block; font-size: 9px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-list small { display: block; font-size: 8px; color: var(--muted-2); }
.admin-list em { margin-left: auto; font-style: normal; font-size: 7.5px; padding: 2px 6px; border-radius: 999px; background: rgba(23, 20, 16, .05); color: var(--muted); white-space: nowrap; }
.admin-list li:first-child em { background: rgba(201, 162, 94, .16); color: var(--gold-deep); }
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-warn { background: var(--gold); }
.dot-ok { background: var(--green); }
.dot-mute { background: var(--muted-2); }

/* ---------- app screenshots（小程序端，深色展区） ---------- */
.app-section {
  background:
    radial-gradient(820px 460px at 16% -6%, rgba(201, 162, 94, .16), transparent 62%),
    #131009;
}

/* 每套模板一组：左边标题、右边一行三屏，全部平铺，不做切换 */
.app-set { display: flex; align-items: flex-start; gap: 34px; }
.app-set + .app-set { margin-top: 44px; padding-top: 40px; border-top: 1px solid rgba(246, 239, 226, .07); }
.app-set-head { flex: 0 0 208px; padding-top: 10px; }
.app-set-name {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 16px; letter-spacing: .04em; color: #f4ecdd;
}
.app-set-name::before { content: ""; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }
.app-set-tone { margin-top: 10px; padding-left: 32px; font-size: 12px; line-height: 1.8; letter-spacing: .02em; color: rgba(246, 239, 226, .38); }
/* 用 flex 而不是 grid：老内核浏览器（IE/兼容模式）也能保持一行 */
.app-shots { display: flex; flex: 1; justify-content: flex-start; min-width: 0; }
.app-shot { flex: 0 1 252px; min-width: 0; margin: 0 14px 20px; }
.app-phone {
  position: relative; max-width: 300px; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  border: 7px solid #0b0906; background: #0b0906;
  box-shadow:
    0 40px 70px -40px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(246, 239, 226, .08),
    0 0 54px -20px rgba(201, 162, 94, .22);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.app-shot:hover .app-phone {
  transform: translateY(-6px);
  box-shadow:
    0 50px 86px -40px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(201, 162, 94, .3),
    0 0 64px -18px rgba(201, 162, 94, .32);
}
.app-phone img { display: block; width: 100%; height: auto; }
.app-shot figcaption { margin-top: 16px; padding: 0 4px; text-align: center; }
.app-step { font-family: var(--serif); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.app-shot figcaption b { display: block; margin-top: 5px; font-size: 14.5px; font-weight: 500; color: #f8f1e4; }
.app-shot figcaption small { display: block; margin: 6px auto 0; max-width: 100%; font-size: 12px; line-height: 1.7; color: rgba(246, 239, 226, .45); }
.app-hint { display: none; }
.app-note { margin-top: 34px; text-align: center; font-size: 11.5px; color: rgba(246, 239, 226, .32); }

/* ---------- scenes ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene {
  padding: 26px 24px; border-radius: 16px; background: rgba(255, 253, 249, .7);
  border: 1px solid var(--line-soft); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.scene:hover { background: var(--card); border-color: rgba(201, 162, 94, .38); transform: translateY(-3px); }
.scene h3 { font-family: var(--serif); font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.scene h3::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.scene p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- tech (dark) ---------- */
.section--dark {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 460px at 82% 0%, rgba(201, 162, 94, .15), transparent 62%), #14110d;
  color: #f6efe2; border: 0;
}
.section--dark .h2 { color: #fffaf0; }
.section--dark .lede { color: rgba(246, 239, 226, .62); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(246, 239, 226, .1); border: 1px solid rgba(246, 239, 226, .1); border-radius: var(--r); overflow: hidden; }
.tech { background: #14110d; padding: 26px 24px; }
.tech h3 { font-family: var(--serif); font-size: 17px; font-weight: 500; color: #f8f1e4; }
.tech p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: rgba(246, 239, 226, .55); }

.arch { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: center; margin-top: 34px; padding: 26px 28px; border: 1px solid rgba(246, 239, 226, .12); border-radius: 14px; background: rgba(246, 239, 226, .03); }
.arch-diagram { display: flex; flex-direction: column; align-items: center; }
.arch-tier { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.arch-tier > span {
  border: 1px solid rgba(246, 239, 226, .16); background: rgba(246, 239, 226, .04);
  border-radius: 8px; padding: 7px 13px; font-size: 11.5px; color: rgba(246, 239, 226, .78);
}
.arch-tier > .arch-hub {
  border-color: rgba(201, 162, 94, .5); background: rgba(201, 162, 94, .12);
  color: #f3e3c2; letter-spacing: .06em; padding: 7px 20px;
}
.arch-tier--db > span { display: flex; flex-direction: column; gap: 1px; padding: 8px 15px; text-align: left; }
.arch-tier--db b { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 500; color: #f0dfbe; }
.arch-tier--db small { font-size: 10px; color: rgba(246, 239, 226, .45); }
.arch-arrow { color: rgba(201, 162, 94, .7); font-size: 12px; line-height: 1.5; margin: 1px 0; }
.arch-note { font-size: 12.5px; line-height: 1.8; color: rgba(246, 239, 226, .48); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -32px rgba(23, 20, 16, .4); }
.plan--featured { background: linear-gradient(180deg, #fffdf9, #fbf5e8); border-color: rgba(201, 162, 94, .55); }
.plan-badge {
  position: absolute; top: -11px; right: 22px; font-size: 10.5px; letter-spacing: .06em;
  background: var(--ink); color: var(--gold); padding: 4px 11px; border-radius: 999px;
}
.plan-tag { font-size: 11px; letter-spacing: .14em; color: var(--gold-deep); text-transform: uppercase; }
.plan h3 { margin-top: 8px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.plan-for { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.plan ul { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.plan li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.plans-note { margin-top: 22px; font-size: 12px; color: var(--muted-2); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.faq-head { position: sticky; top: 104px; }
.faq-head .h2 { font-size: clamp(24px, 2.5vw, 31px); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 2px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--serif); font-size: 20px; line-height: 1; color: var(--gold-deep); transition: transform .25s; }
.qa[open] summary::after { content: "−"; }
.qa p { padding: 0 40px 20px 2px; font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- cta ---------- */
.cta-section { padding: 86px 0; }
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; align-items: center;
  padding: clamp(32px, 5vw, 58px); border-radius: 26px;
  background: linear-gradient(120deg, #1c1812, #14110d 60%);
  color: #f6efe2;
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 94, .28), transparent 65%); pointer-events: none;
}
.cta h2 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; color: #fffaf0; text-wrap: balance; }
.cta-copy p { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: rgba(246, 239, 226, .62); max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative; }
.cta-actions .btn { width: 100%; }
.cta-meta { margin-top: 4px; font-size: 12.5px; line-height: 1.7; color: rgba(246, 239, 226, .48); }

/* ---------- footer ---------- */
.site-footer { background: #100e0a; color: rgba(246, 239, 226, .66); padding: 68px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .75fr .75fr 1.15fr; gap: 38px; }
.brand-light .brand-text strong { color: #f6efe2; }
.brand-light .brand-text small { color: rgba(246, 239, 226, .4); }
.footer-slogan { margin-top: 16px; font-family: var(--serif); font-size: 15px; color: rgba(246, 239, 226, .8); }
.footer-note { margin-top: 12px; font-size: 12px; line-height: 1.8; color: rgba(246, 239, 226, .38); max-width: 22em; }
.footer-col h3 { font-size: 11px; letter-spacing: .16em; color: rgba(246, 239, 226, .42); margin-bottom: 14px; text-transform: uppercase; }
.footer-col a { display: block; padding: 5px 0; font-size: 13px; color: rgba(246, 239, 226, .68); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact p { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.75; padding: 3px 0; }
.footer-contact p span { flex: 0 0 2.6em; color: rgba(246, 239, 226, .35); }
.footer-contact p a { padding: 0; color: rgba(246, 239, 226, .68); word-break: break-all; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(246, 239, 226, .1);
  font-size: 12.5px; color: rgba(246, 239, 226, .5);
}
.footer-record { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-record a { color: rgba(246, 239, 226, .62); }
.footer-record a:hover { color: var(--gold); }
.sep { opacity: .4; }

/* ---------- inner pages ---------- */
.page-head { padding: 66px 0 42px; border-bottom: 1px solid var(--line); background: radial-gradient(760px 300px at 12% 0%, rgba(201, 162, 94, .1), transparent 70%); }
.page-head h1 { margin-top: 16px; font-size: clamp(32px, 4vw, 46px); }
.page-head .lede { max-width: 46em; }
.page-meta { margin-top: 20px; font-size: 12.5px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 6px 22px; }

.doc-layout { display: grid; grid-template-columns: 210px 1fr; gap: 64px; align-items: start; }
.doc-toc { position: sticky; top: 100px; font-size: 13px; }
.doc-toc b { display: block; font-size: 10.5px; letter-spacing: .16em; color: var(--muted-2); margin-bottom: 12px; text-transform: uppercase; }
.doc-toc a { display: block; padding: 5px 0; color: var(--muted); border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; }
.doc-toc a:hover { color: var(--ink); border-left-color: var(--gold); }
.doc { max-width: 780px; }
.doc h2 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin: 38px 0 12px; scroll-margin-top: 100px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 15.5px; font-weight: 600; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.doc p { margin-bottom: 12px; }
.doc ul { margin: 0 0 14px; padding-left: 4px; }
.doc ul li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.doc .note { background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0; }
.doc .note p { margin: 0; font-size: 13.5px; }
.doc strong { color: var(--ink); font-weight: 600; }

.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: start; }
.about-story p { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin-bottom: 16px; }
.about-facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: sticky; top: 100px; }
.about-facts h2 { font-family: var(--serif); font-size: 18px; margin-bottom: 18px; }
.about-facts dl { display: grid; grid-template-columns: 4.6em 1fr; gap: 12px 14px; margin: 0; }
.about-facts dt { font-size: 12.5px; color: var(--muted-2); }
.about-facts dd { margin: 0; font-size: 13.5px; color: var(--ink-2); word-break: break-word; }

.contact-block { margin-top: 56px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.contact-card { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-soft); }
.contact-card span { display: block; font-size: 11px; letter-spacing: .1em; color: var(--muted-2); }
.contact-card b { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 500; word-break: break-all; }.contact-card a:hover { color: var(--gold-deep); }

.record-block { margin-top: 44px; padding: 22px 24px; border-radius: 14px; background: rgba(243, 237, 226, .7); border: 1px solid var(--line); }
.record-block h2 { font-family: var(--serif); font-size: 16px; margin-bottom: 10px; }
.record-block p { font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.record-block a { color: var(--muted); border-bottom: 1px solid rgba(111, 103, 91, .35); }
.record-block a:hover { color: var(--gold-deep); }

.center { text-align: center; }
.page-head.center { padding-bottom: 96px; }
.page-head.center .lede { margin-left: auto; margin-right: auto; }
.center-actions { justify-content: center; }
.about-story .h2 { font-size: 20px; margin-top: 34px; margin-bottom: 10px; }
.about-story .h2:first-child { margin-top: 0; }
.about-facts a { color: var(--ink-2); }
.about-facts a:hover { color: var(--gold-deep); }
.contact-block .h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 12px; }
.contact-block .lede { margin-top: 12px; margin-bottom: 6px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.roles .reveal:nth-child(2), .features .reveal:nth-child(2), .scenes .reveal:nth-child(2), .tech .reveal:nth-child(2), .plans .reveal:nth-child(2) { transition-delay: .06s; }
.roles .reveal:nth-child(3), .features .reveal:nth-child(3), .scenes .reveal:nth-child(3), .tech .reveal:nth-child(3), .plans .reveal:nth-child(3) { transition-delay: .12s; }
.features .reveal:nth-child(4), .scenes .reveal:nth-child(4), .tech .reveal:nth-child(4) { transition-delay: .18s; }
.features .reveal:nth-child(5), .scenes .reveal:nth-child(5), .tech .reveal:nth-child(5) { transition-delay: .24s; }
.features .reveal:nth-child(6), .scenes .reveal:nth-child(6), .tech .reveal:nth-child(6) { transition-delay: .3s; }
.features .reveal:nth-child(7) { transition-delay: .36s; }
.features .reveal:nth-child(8) { transition-delay: .42s; }
.flow .reveal:nth-child(2) { transition-delay: .08s; }
.flow .reveal:nth-child(3) { transition-delay: .16s; }
.flow .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 120;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #f6efe2; font-size: 13.5px;
  padding: 11px 20px; border-radius: 999px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
  transition: opacity .28s, transform .28s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 30px; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -2%; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 74px;
    background: rgba(250, 247, 241, .98); border-bottom: 1px solid var(--line);
    padding: 8px 26px 18px; box-shadow: 0 24px 40px -30px rgba(23, 20, 16, .5);
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px dashed var(--line-soft); }
  .nav.is-open a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; padding: 54px 0 70px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { margin-top: 26px; }
  .float-card { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; }
  .app-set { display: block; }
  .app-set-head { flex: none; padding-top: 0; margin-bottom: 20px; }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .cta { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions { align-items: stretch; max-width: 360px; }
  .doc-layout { grid-template-columns: 1fr; gap: 26px; }
  .doc-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .doc-toc b { flex-basis: 100%; margin: 0 0 2px; }
  .doc-toc a { border: 0; padding: 2px 0; margin: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .arch { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .stat { padding: 26px 20px 24px; }
  .stat-num strong { font-size: 38px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 22px 20px; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow::before { left: 20px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(201, 162, 94, 0), rgba(201, 162, 94, .5), rgba(201, 162, 94, 0)); }
  .flow li { padding-left: 62px; }
  .flow li .step-no { position: absolute; left: 0; top: 0; }
  .flow h3 { margin-top: 0; }
  .tech-grid { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-panels { grid-template-columns: 1fr; }
  .bars { height: 66px; }
  .app-set + .app-set { margin-top: 36px; padding-top: 30px; }
  .app-set-head { margin-bottom: 16px; gap: 4px 10px; }
  .app-set-name { font-size: 15px; }
  .app-shots {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    max-width: none; margin: 0 -20px; padding: 4px 20px 10px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .app-shots::-webkit-scrollbar { display: none; }
  .app-shot { flex: 0 0 100%; scroll-snap-align: center; }
  .app-phone { max-width: 296px; }
  .app-shot figcaption { text-align: center; }
  .app-hint { display: block; margin-top: 10px; text-align: center; font-size: 12px; color: rgba(246, 239, 226, .4); }
  .cta-section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact-cards { grid-template-columns: 1fr; }
  .page-head { padding: 44px 0 32px; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 18px; }
  .phone { width: 272px; }
  .phone-screen { height: 552px; }
  .stat { padding: 22px 16px 20px; }
  .stat-num strong { font-size: 32px; }
  .stat-note { font-size: 12px; max-width: none; }
  .browser-badge { display: none; }
  .plan { padding: 26px 22px; }
  .qa summary { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
  .btn:hover, .role-card:hover, .scene:hover, .plan:hover { transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
