:root {
  --bg: #eaf0f8;
  --bg-2: #dfe8f5;
  --ink: #12161d;
  --ink-2: #3d4654;
  --ink-3: #758092;
  --paper: rgba(255, 255, 255, 0.66);
  --paper-solid: #f8fafc;
  --glass: rgba(255, 255, 255, 0.48);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --line: rgba(31, 46, 69, 0.11);
  --line-strong: rgba(31, 46, 69, 0.2);
  --hairline: rgba(31, 46, 69, 0.16);
  --accent: #a8421c;
  --accent-deep: #873113;
  --accent-soft: #f5e7df;
  --blue: #5d82b9;
  --blue-soft: #dfe9f7;
  --mint: #649489;
  --mint-soft: #e1efeb;
  --sand: #b28134;
  --sand-soft: #f3ead8;
  --rose: #aa6572;
  --rose-soft: #f2e4e7;
  --violet: #756eaa;
  --violet-soft: #ebe8f6;
  --shadow: 0 24px 70px rgba(44, 63, 91, 0.12);
  --shadow-soft: 0 12px 32px rgba(44, 63, 91, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --pad: clamp(18px, 4vw, 46px);
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Bricolage Grotesque", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

[data-theme="dark"] {
  --bg: #11161f;
  --bg-2: #182030;
  --ink: #f2f5f9;
  --ink-2: #c2cad8;
  --ink-3: #8794a8;
  --paper: rgba(25, 33, 47, 0.72);
  --paper-solid: #1b2433;
  --glass: rgba(24, 32, 47, 0.55);
  --glass-strong: rgba(31, 41, 59, 0.92);
  --line: rgba(221, 231, 246, 0.1);
  --line-strong: rgba(221, 231, 246, 0.18);
  --hairline: rgba(221, 231, 246, 0.16);
  --accent: #dd7042;
  --accent-deep: #ed8d65;
  --accent-soft: rgba(195, 93, 52, 0.2);
  --blue: #82a8df;
  --blue-soft: rgba(84, 126, 183, 0.2);
  --mint: #81b8ab;
  --mint-soft: rgba(87, 138, 125, 0.2);
  --sand: #dfb86c;
  --sand-soft: rgba(176, 132, 55, 0.2);
  --rose: #d38d9b;
  --rose-soft: rgba(159, 83, 99, 0.2);
  --violet: #aaa2dd;
  --violet-soft: rgba(108, 100, 164, 0.2);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.035em; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 10%, rgba(163, 189, 222, 0.36), transparent 35%),
    radial-gradient(circle at 14% 70%, rgba(231, 211, 195, 0.38), transparent 30%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 96%);
}
.bg-wash {
  position: absolute;
  width: 72vw;
  height: 72vw;
  right: -20vw;
  top: -34vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  filter: blur(8px);
}
[data-theme="dark"] .bg-wash { background: rgba(96, 130, 178, 0.08); }
.bg-cursor {
  position: absolute;
  width: 480px;
  height: 480px;
  left: var(--mx, 50%);
  top: var(--my, 20%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 128, 83, 0.13), transparent 66%);
  transition: opacity .3s;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 2000;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: transform .3s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 10px 26px rgba(168, 66, 28, 0.2); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(168, 66, 28, 0.24); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(255,255,255,.5); }
.btn-small { min-height: 38px; padding: 0 17px; font-size: 12.5px; }
[data-theme="dark"] .btn-ghost { background: rgba(255,255,255,.03); }
[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.08); }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px var(--pad);
  transition: padding .3s var(--ease);
}
.nav-inner {
  width: min(var(--max), 100%);
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .25s, border-color .25s, box-shadow .25s, min-height .3s var(--ease);
}
.navbar.scrolled { padding-top: 8px; }
.navbar.scrolled .nav-inner {
  min-height: 52px;
  background: var(--glass-strong);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(36, 52, 77, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; font-weight: 760; letter-spacing: -.03em; white-space: nowrap; }
.brand img { border-radius: 9px; box-shadow: 0 4px 12px rgba(20, 30, 45, .12); }
.brand em { font-style: normal; font-weight: 430; color: var(--ink-2); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; color: var(--ink-2); font-size: 13px; font-weight: 600; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px; background: var(--accent); transition: right .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.version-pill { display: inline-flex; align-items: center; gap: 7px; height: 31px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-family: var(--font-display); font-size: 10.5px; letter-spacing: .02em; }
.version-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(168, 66, 28, .09); }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.24); cursor: pointer; transition: background .2s, transform .2s; }
.icon-btn:hover { background: rgba(255,255,255,.58); transform: rotate(10deg); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.hero { position: relative; padding: 136px 0 74px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); align-items: center; gap: clamp(38px, 6vw, 82px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--ink-3); font-size: 11.5px; letter-spacing: .025em; }
.eyebrow b { color: var(--ink); font-weight: 650; }
.eyebrow-line { width: 32px; height: 1px; background: var(--hairline); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(168, 66, 28, .1); animation: pulse 2.2s infinite; }
.hero-title { margin: 0; font-family: var(--font-display); font-size: clamp(46px, 6vw, 78px); font-weight: 780; line-height: 1.03; letter-spacing: -.065em; }
.title-line { display: block; overflow: hidden; padding-bottom: .08em; }
.title-line > span { display: inline-block; transform: translateY(110%); animation: titleUp .95s var(--ease) forwards; }
.title-line:nth-child(2) > span { animation-delay: .1s; }
.hero-title em { position: relative; display: inline-block; font-style: normal; }
.hero-title em svg { position: absolute; left: -3%; bottom: -.14em; width: 108%; height: .23em; overflow: visible; }
.hero-title em path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; opacity: .78; }
.hero-sub { max-width: 540px; margin-top: 26px; color: var(--ink-2); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.9; opacity: 0; animation: fadeUp .8s var(--ease) .28s forwards; }
.hero-sub b { color: var(--ink); font-weight: 650; }
.hero-cta { display: flex; align-items: center; gap: 10px; margin-top: 28px; opacity: 0; animation: fadeUp .8s var(--ease) .38s forwards; }
.hero-stats { display: flex; align-items: stretch; gap: 0; margin: 44px 0 0; opacity: 0; animation: fadeUp .8s var(--ease) .5s forwards; }
.hero-stats > div { position: relative; min-width: 98px; padding: 0 21px; }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div + div::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 7px; width: 1px; background: var(--hairline); }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-size: 25px; font-weight: 720; letter-spacing: -.045em; line-height: 1.1; }
.hero-stats dd em { margin-left: 2px; color: var(--accent); font-style: normal; font-size: 13px; }
.hero-stats dt { margin-top: 5px; color: var(--ink-3); font-size: 10.5px; font-weight: 550; letter-spacing: .08em; }

.hero-stage { position: relative; min-height: 530px; perspective: 1400px; }
.stage-orbit { position: absolute; width: 620px; height: 620px; right: -100px; top: 50%; transform: translateY(-50%); border: 1px solid var(--line); border-radius: 50%; opacity: .7; }
.stage-orbit::before, .stage-orbit::after { content: ""; position: absolute; inset: 14%; border: 1px dashed var(--line); border-radius: 50%; }
.stage-orbit::after { inset: 31%; border-style: solid; }
.stage-window { position: relative; z-index: 2; width: 720px; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; background: var(--paper-solid); box-shadow: 0 32px 90px rgba(37, 55, 82, 0.18); transform: rotateY(-5deg) rotateX(2deg); transform-style: preserve-3d; transition: transform .16s ease-out; }
.window-bar { height: 42px; display: grid; grid-template-columns: 100px 1fr 100px; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(241,245,251,.82); color: var(--ink-3); font-size: 10px; }
[data-theme="dark"] .window-bar { background: rgba(22, 30, 43, .9); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d3dbe7; }
.window-dots i:first-child { background: #e99a8c; }
.window-dots i:nth-child(2) { background: #e6c47a; }
.window-dots i:nth-child(3) { background: #92c5a8; }
.window-address { justify-self: center; min-width: 260px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.48); text-align: center; }
[data-theme="dark"] .window-address { background: rgba(255,255,255,.04); }
.window-state { justify-self: end; display: flex; align-items: center; gap: 5px; color: var(--mint); }
.window-state i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.app-ui { display: flex; min-height: 448px; background: #f4f7fb; color: #12161d; }
[data-theme="dark"] .app-ui { background: #141b27; color: #f2f5f9; }
.mock-sidebar { width: 132px; padding: 14px 10px; display: flex; flex-direction: column; background: rgba(255,255,255,.66); border-right: 1px solid rgba(31,46,69,.09); }
[data-theme="dark"] .mock-sidebar { background: rgba(24,32,47,.9); border-color: rgba(255,255,255,.08); }
.mock-brand { display: flex; align-items: center; gap: 7px; padding: 0 6px 14px; font-family: var(--font-display); font-size: 11px; }
.mock-brand img { border-radius: 6px; }
.mock-menu { display: grid; gap: 3px; }
.mock-menu span { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; color: #77818f; font-size: 8.5px; }
.mock-menu span.active { color: #24594f; background: #dcf0ea; font-weight: 650; }
[data-theme="dark"] .mock-menu span.active { color: #9dd7c7; background: rgba(72,133,115,.2); }
.mock-menu svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.mock-user { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 9px 5px 0; border-top: 1px solid rgba(31,46,69,.08); }
.mock-user > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #5d8e82; font-size: 8px; }
.mock-user div { display: grid; }
.mock-user b { font-size: 7.5px; }
.mock-user small { color: #8a94a2; font-size: 6.5px; }
.mock-main { flex: 1; min-width: 0; padding: 14px 16px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.mock-head div { display: grid; }
.mock-head small { color: #8b95a3; font-size: 7px; }
.mock-head b { font-size: 13px; letter-spacing: -.02em; }
.mock-search { width: 150px; padding: 7px 10px; border: 1px solid rgba(31,46,69,.09); border-radius: 999px; color: #9aa3af; background: #fff; font-size: 7px; }
[data-theme="dark"] .mock-search { background: #1e2839; border-color: rgba(255,255,255,.08); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 9px; }
.kpi { position: relative; min-height: 75px; padding: 11px 12px; border: 1px solid rgba(31,46,69,.07); border-radius: 10px; overflow: hidden; background: #fff; }
[data-theme="dark"] .kpi { background: #1c2636; border-color: rgba(255,255,255,.07); }
.kpi::after { content: ""; position: absolute; right: -18px; bottom: -24px; width: 54px; height: 54px; border-radius: 50%; background: currentColor; opacity: .12; }
.kpi small { display: block; color: #748090; font-size: 7px; }
.kpi b { display: block; margin: 3px 0 1px; font-family: var(--font-display); font-size: 18px; letter-spacing: -.04em; }
.kpi i { font-style: normal; font-size: 6.5px; opacity: .7; }
.kpi-blue { color: #4d72a7; }
.kpi-sand { color: #ac7d2f; }
.kpi-mint { color: #4f877b; }
.mock-grid { display: grid; grid-template-columns: 1.4fr .72fr; gap: 8px; margin-bottom: 9px; }
.mock-chart, .mock-ring, .mock-table { border: 1px solid rgba(31,46,69,.07); border-radius: 10px; background: #fff; }
[data-theme="dark"] .mock-chart, [data-theme="dark"] .mock-ring, [data-theme="dark"] .mock-table { background: #1c2636; border-color: rgba(255,255,255,.07); }
.mock-chart { min-height: 112px; padding: 10px 11px; }
.mock-card-head { display: flex; align-items: center; justify-content: space-between; }
.mock-card-head b { font-size: 8px; }
.mock-card-head span { color: #98a1ad; font-size: 6px; }
.fake-bars { height: 75px; display: flex; align-items: flex-end; gap: 5px; padding-top: 12px; }
.fake-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, #6387b9, #9ab5d9); opacity: .78; }
.fake-bars i:nth-child(3n) { background: linear-gradient(to top, #9a7e58, #d1b58e); }
.mock-ring { padding: 10px; }
.ring-visual { width: 58px; height: 58px; margin: 8px auto 3px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#659488 0 82%, #e5eaf1 82% 100%); position: relative; }
.ring-visual::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
[data-theme="dark"] .ring-visual::before { background: #1c2636; }
.ring-visual span { position: relative; z-index: 1; font-size: 6px; }
.ring-legend { display: flex; justify-content: center; align-items: center; gap: 3px; color: #8c96a3; font-size: 5.8px; }
.ring-legend i { width: 5px; height: 5px; margin-left: 4px; border-radius: 50%; background: #659488; }
.ring-legend i:nth-of-type(2) { background: #d9dfe8; }
.mock-table { padding: 9px 10px 7px; }
.table-row { display: grid; grid-template-columns: 1.1fr 1.25fr 1fr .6fr; align-items: center; gap: 7px; min-height: 25px; border-top: 1px solid rgba(31,46,69,.05); color: #586270; font-size: 6.5px; }
[data-theme="dark"] .table-row { border-color: rgba(255,255,255,.05); color: #b7c0cd; }
.table-row span:first-child { display: flex; align-items: center; gap: 5px; color: #202632; }
[data-theme="dark"] .table-row span:first-child { color: #edf2f8; }
.table-head { margin-top: 4px; color: #9ba4af !important; font-size: 5.8px; }
.avatar { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #fff; font-style: normal; font-size: 6px; }
.a1 { background: #719684; } .a2 { background: #708ab4; } .a3 { background: #b28662; } .a4 { background: #9b718c; }
.status { justify-self: start; padding: 2px 5px; border-radius: 999px; color: #3e7f65; background: #e3f2ea; font-size: 5.8px; }
.muted-status { color: #7f8997; background: #eef1f5; }
[data-theme="dark"] .status { background: rgba(78,140,110,.2); color: #98d5b8; }

.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--glass-strong); box-shadow: var(--shadow-soft); backdrop-filter: blur(15px); animation: float 5s ease-in-out infinite; }
.float-card b { display: block; font-size: 9.5px; }
.float-card small { display: block; margin-top: 1px; color: var(--ink-3); font-size: 7px; }
.float-import { left: -30px; top: 82px; animation-delay: -.6s; }
.float-bed { right: -20px; bottom: 64px; animation-delay: -2.1s; }
.float-score { left: -12px; bottom: 10px; animation-delay: -3.1s; }
.float-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; }
.float-icon.success { color: #49836e; background: #e3f2e9; }
.float-icon.blue { color: #587cb0; background: #e4edf9; }
.float-icon svg, .feature-icon svg, .data-card-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-score-num { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--accent); font-family: var(--font-display); font-weight: 700; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--ink-3); font-size: 10px; }
.scroll-cue { display: flex; align-items: center; gap: 9px; letter-spacing: .04em; }
.scroll-cue span { width: 24px; height: 36px; border: 1px solid var(--line-strong); border-radius: 999px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; width: 3px; height: 7px; left: 50%; top: 7px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
.hero-note b { color: var(--ink-2); }

.section { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(280px, 390px); gap: 28px; align-items: end; margin-bottom: 48px; }
.section-tag { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.section-tag i { color: var(--accent); font-family: var(--font-display); font-style: normal; font-weight: 750; }
.section-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.8vw, 60px); font-weight: 760; line-height: 1.09; letter-spacing: -.055em; }
.section-head > p { color: var(--ink-2); font-size: 13px; line-height: 1.85; }
.preview-head { grid-template-columns: 1fr minmax(260px, 350px); align-items: end; }
.preview-head .section-tag { margin-bottom: 18px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { position: relative; min-height: 295px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .35s var(--ease), border-color .25s, background .25s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--glass-strong); }
.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: center; }
.feature-index { display: block; color: var(--ink-3); font-family: var(--font-display); font-size: 9.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.feature-card h3 { margin: 16px 0 10px; font-family: var(--font-display); font-size: 23px; font-weight: 670; line-height: 1.25; letter-spacing: -.035em; }
.feature-card p { color: var(--ink-2); font-size: 12px; line-height: 1.85; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; }
.feature-icon svg { width: 20px; height: 20px; }
.icon-orange { color: var(--accent); background: var(--accent-soft); }
.icon-blue { color: var(--blue); background: var(--blue-soft); }
.icon-sand { color: var(--sand); background: var(--sand-soft); }
.icon-mint { color: var(--mint); background: var(--mint-soft); }
.icon-rose { color: var(--rose); background: var(--rose-soft); }
.icon-violet { color: var(--violet); background: var(--violet-soft); }
.mini-ledger { align-self: stretch; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-solid); box-shadow: var(--shadow-soft); transform: rotate(1deg); }
.mini-ledger-head { display: flex; align-items: center; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 9px; }
.mini-ledger-head img { border-radius: 6px; }
.mini-ledger-head i { margin-left: auto; padding: 2px 6px; border-radius: 999px; color: var(--mint); background: var(--mint-soft); font-size: 6.5px; font-style: normal; }
.mini-profile { display: flex; align-items: center; gap: 10px; padding: 15px 4px; }
.mini-photo { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #729d90, #4d756b); font-size: 13px; }
.mini-profile div { display: grid; }
.mini-profile b { font-size: 11px; }
.mini-profile small { color: var(--ink-3); font-size: 7.5px; }
.mini-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-fields span { padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-3); background: rgba(245,248,252,.55); font-size: 7px; }
[data-theme="dark"] .mini-fields span { background: rgba(255,255,255,.02); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.mini-tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--paper-solid); font-size: 7px; }
.mini-ranking { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-solid); font-size: 7.5px; }
.mini-ranking span { display: flex; align-items: center; gap: 7px; }
.mini-ranking i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-style: normal; font-size: 6px; }
.mini-ranking b { color: var(--blue); }
.mini-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 18px; }
.mini-calendar i { aspect-ratio: 1; border-radius: 3px; background: #e8edf4; }
[data-theme="dark"] .mini-calendar i { background: #263246; }
.mini-calendar .on { background: var(--sand); }
.mini-calendar .warn { background: var(--rose); }
.mini-beds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 18px; }
.mini-beds span { height: 31px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 7px; color: var(--ink-3); font-size: 7px; }
.mini-beds .filled { border-style: solid; border-color: transparent; color: var(--mint); background: var(--mint-soft); }
.mini-aid { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.mini-aid span { flex: 1; min-width: 90px; padding: 8px; border-radius: 8px; color: var(--ink-2); background: var(--paper-solid); font-size: 7px; }
.mini-aid b { float: right; color: var(--rose); font-size: 7px; }
.mini-perms { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 18px; }
.mini-perms span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--violet); background: var(--violet-soft); font-size: 7px; }

.preview { padding-top: 72px; }
.preview-stage { position: relative; padding: 16px; border: 1px solid var(--line); border-radius: 28px; background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.preview-nav { display: flex; align-items: center; gap: 6px; margin-bottom: 13px; }
.preview-tab { height: 34px; padding: 0 15px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--ink-3); font-size: 10.5px; cursor: pointer; transition: .2s; }
.preview-tab:hover { color: var(--ink); background: rgba(255,255,255,.32); }
.preview-tab.active { color: #fff; background: var(--accent); }
.preview-reel { position: relative; min-height: 500px; overflow: hidden; border-radius: 18px; background: #f6f9fc; }
[data-theme="dark"] .preview-reel { background: #111925; }
.screen-slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s; }
.screen-slide.active { opacity: 1; visibility: visible; transform: none; }
.screen-window { width: min(940px, 100%); min-height: 400px; padding: 16px; border: 1px solid rgba(31,46,69,.1); border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgba(40,58,84,.14); color: #151a22; }
[data-theme="dark"] .screen-window { background: #1a2433; color: #edf2f8; border-color: rgba(255,255,255,.08); }
.screen-bar { display: flex; align-items: center; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid rgba(31,46,69,.08); font-size: 8px; }
.screen-bar span { font-size: 12px; font-weight: 700; }
.screen-bar i { margin-left: auto; padding: 5px 10px; border: 1px solid rgba(31,46,69,.08); border-radius: 999px; color: #939ba6; font-style: normal; }
.screen-bar b { padding: 6px 10px; border-radius: 7px; color: #fff; background: #5e8d82; font-size: 7px; }
.screen-toolbar { display: flex; gap: 6px; margin: 13px 0 8px; }
.filter-pill, .filter-ghost { padding: 5px 8px; border: 1px solid rgba(31,46,69,.08); border-radius: 6px; color: #788290; font-size: 6.5px; }
.filter-ghost { color: #a3654c; }
.screen-table { border: 1px solid rgba(31,46,69,.08); border-radius: 9px; overflow: hidden; }
.screen-row { display: grid; grid-template-columns: .9fr 1.05fr 1.2fr .85fr 1.25fr .55fr .8fr; align-items: center; gap: 7px; min-height: 45px; padding: 0 11px; border-top: 1px solid rgba(31,46,69,.055); color: #596270; font-size: 7px; }
[data-theme="dark"] .screen-row { color: #b7c1cf; border-color: rgba(255,255,255,.05); }
.screen-head { min-height: 34px; border-top: none; color: #97a0ac; background: #f7f9fc; font-size: 6.2px; }
[data-theme="dark"] .screen-head { background: #202c3e; color: #8c99ac; }
.name-cell { display: flex; align-items: center; gap: 6px; color: #1d222b; }
[data-theme="dark"] .name-cell { color: #ecf1f7; }
.link-cell { color: #5f819e; }
.grade-screen { min-height: 365px; }
.grade-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 14px 0 12px; }
.grade-summary > div { padding: 12px; border: 1px solid rgba(31,46,69,.07); border-radius: 9px; background: #f8fafc; }
[data-theme="dark"] .grade-summary > div { background: #1f2a3b; border-color: rgba(255,255,255,.06); }
.grade-summary small { display: block; color: #7d8794; font-size: 6px; }
.grade-summary b { display: block; margin: 3px 0; font-size: 17px; }
.grade-summary i { color: #5f8f82; font-size: 6px; font-style: normal; }
.grade-chart { position: relative; height: 225px; padding: 12px 12px 24px; border: 1px solid rgba(31,46,69,.07); border-radius: 9px; }
.grade-chart svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.grade-chart .line { fill: none; stroke: #6d91bf; stroke-width: 3; }
.grade-chart .area { fill: rgba(109,145,191,.13); }
.chart-grid { position: absolute; inset: 12px 12px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid i { display: block; height: 1px; background: rgba(31,46,69,.06); }
.chart-labels { position: absolute; left: 12px; right: 12px; bottom: 8px; display: flex; justify-content: space-between; color: #9aa3ae; font-size: 5.8px; }
.dorm-screen { min-height: 370px; }
.dorm-layout { display: grid; grid-template-columns: 1fr 140px; gap: 12px; margin-top: 14px; }
.dorm-card { padding: 14px; border: 1px solid rgba(31,46,69,.08); border-radius: 10px; }
.dorm-head { display: flex; justify-content: space-between; margin-bottom: 12px; }
.dorm-head b { font-size: 12px; }
.dorm-head span { padding: 3px 8px; border-radius: 999px; color: #5b8a7f; background: #e4f1ed; font-size: 6px; }
.bed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bed { min-height: 76px; padding: 9px; border: 1px dashed rgba(31,46,69,.15); border-radius: 8px; display: flex; flex-direction: column; justify-content: flex-end; }
.bed.occupied { border-style: solid; border-color: transparent; background: #edf5f2; }
[data-theme="dark"] .bed.occupied { background: rgba(79,137,119,.2); }
[data-theme="dark"] .bed { border-color: rgba(255,255,255,.12); }
.bed i { margin-bottom: auto; color: #8d98a5; font-size: 7px; font-style: normal; }
.bed b { font-size: 8px; }
.bed small { color: #8b95a1; font-size: 5.8px; }
.dorm-stats { display: grid; gap: 7px; }
.dorm-stats span { padding: 12px; border: 1px solid rgba(31,46,69,.07); border-radius: 9px; }
.dorm-stats small { display: block; color: #8d96a2; font-size: 6px; }
.dorm-stats b { font-size: 18px; }
.aid-screen { min-height: 360px; }
.aid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 14px 0; }
.aid-cards > div { padding: 13px; border: 1px solid rgba(31,46,69,.07); border-radius: 9px; }
.aid-cards small { display: block; color: #818b97; font-size: 6px; }
.aid-cards b { display: block; margin: 3px 0; font-size: 19px; }
.aid-cards span { color: #97a0aa; font-size: 5.8px; }
.aid-table .screen-row { grid-template-columns: 1fr 1fr 1.1fr 1.3fr 1.1fr .7fr; }
.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 6px 2px; }
.preview-meta > div:first-child { display: flex; align-items: center; gap: 12px; }
.preview-meta > div:first-child > span { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--accent); }
.preview-meta b { display: block; font-size: 12px; }
.preview-meta small { display: block; color: var(--ink-3); font-size: 8.5px; }
.reel-controls { display: flex; align-items: center; gap: 8px; }
.reel-controls > button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.reel-dots { display: flex; align-items: center; gap: 5px; }
.reel-dots button { width: 17px; height: 4px; padding: 0; border: none; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width .3s, background .3s; }
.reel-dots button.active { width: 34px; background: var(--accent); }

.data-section { padding-top: 76px; }
.data-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; }
.data-main { padding: 24px; border-radius: var(--radius); }
.data-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.data-head span { display: block; font-size: 13px; font-weight: 650; }
.data-head small { color: var(--ink-3); font-size: 8px; }
.data-head i { padding: 4px 8px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 7px; font-style: normal; letter-spacing: .1em; }
.data-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 20px 0; }
.data-metrics > div { padding: 0 18px; border-left: 1px solid var(--hairline); }
.data-metrics > div:first-child { padding-left: 0; border-left: none; }
.data-metrics small { display: block; color: var(--ink-3); font-size: 8px; }
.data-metrics b { display: block; margin: 3px 0; font-family: var(--font-display); font-size: 29px; letter-spacing: -.05em; }
.data-metrics span { color: var(--ink-3); font-size: 7px; }
.class-chart-head { display: flex; justify-content: space-between; margin: 8px 0 12px; font-size: 8px; }
.class-chart-head span { color: var(--ink-3); }
.class-chart { min-height: 190px; display: flex; align-items: flex-end; gap: 9px; padding: 10px 4px 0; border-bottom: 1px solid var(--hairline); }
.class-bar { flex: 1; min-width: 34px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 170px; }
.class-bar i { width: 100%; max-width: 42px; height: var(--h); min-height: 6px; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--blue), #9db7d9); transition: height .9s var(--ease); }
.class-bar:nth-child(3n) i { background: linear-gradient(to top, var(--sand), #d4b987); }
.class-bar b { font-family: var(--font-display); font-size: 8px; }
.class-bar span { width: 100%; color: var(--ink-3); font-size: 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-loading { margin: auto; color: var(--ink-3); font-size: 10px; }
.data-side { display: grid; gap: 14px; }
.data-card { min-height: 132px; padding: 20px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; }
.data-card-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: auto; border-radius: 9px; color: var(--mint); background: var(--mint-soft); }
.data-card-icon.sand { color: var(--sand); background: var(--sand-soft); }
.data-card-icon.rose { color: var(--rose); background: var(--rose-soft); }
.data-card small { margin-top: 14px; color: var(--ink-3); font-size: 8px; }
.data-card b { font-family: var(--font-display); font-size: 25px; letter-spacing: -.04em; }
.data-card span { color: var(--ink-3); font-size: 7px; }

.access { padding-top: 82px; }
.access-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 14px; }
.access-card { padding: 30px; border-radius: var(--radius); }
.access-app { display: flex; align-items: center; gap: 14px; }
.access-app img { border-radius: 14px; box-shadow: var(--shadow-soft); }
.access-app div { display: grid; }
.access-app b { font-size: 14px; }
.access-app span { color: var(--ink-3); font-size: 8px; }
.access-app strong { color: var(--ink-2); }
.access-card h3 { margin: 26px 0 10px; font-family: var(--font-display); font-size: 28px; letter-spacing: -.04em; }
.access-card > p { max-width: 560px; color: var(--ink-2); font-size: 12px; line-height: 1.85; }
.access-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.access-note { display: flex; align-items: center; gap: 7px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 8px; }
.access-note svg { width: 15px; height: 15px; fill: none; stroke: var(--mint); stroke-width: 1.8; }
.access-list { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.access-item { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 18px 21px; border-bottom: 1px solid var(--line); transition: background .2s; }
.access-item:hover { background: rgba(255,255,255,.26); }
.access-num { color: var(--accent); font-family: var(--font-display); font-size: 10px; }
.access-item b { display: block; font-size: 11px; }
.access-item small { display: block; color: var(--ink-3); font-size: 7px; }
.access-item i { font-style: normal; color: var(--ink-3); }
.access-item.download-link { background: rgba(255,255,255,.16); }
.access-item.download-link:hover { background: rgba(168,66,28,.08); }
.access-item.download-link .access-num { color: var(--accent); font-size: 9px; }
.lan-box { margin-top: auto; padding: 18px 21px; background: rgba(255,255,255,.2); }
.lan-box small { display: block; color: var(--ink-3); font-size: 7px; }
.lan-box code { display: block; margin: 6px 0 10px; color: var(--ink-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; word-break: break-all; }
.lan-box button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink-2); font-size: 7.5px; cursor: pointer; }
.lan-box button:hover { border-color: var(--accent); color: var(--accent); }

.changelog { padding-top: 74px; }
.changelog-list { display: grid; gap: 10px; }
.release-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), background .25s, border-color .25s; }
.release-card:hover { transform: translateX(4px); background: var(--glass-strong); }
.release-card.latest { border-color: rgba(168,66,28,.28); background: linear-gradient(90deg, rgba(168,66,28,.055), var(--glass) 36%); }
.release-toggle { width: 100%; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 22px; padding: 20px 24px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.release-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.release-meta { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; }
.release-meta b { color: var(--accent); font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; }
.release-meta span { color: var(--ink-3); font-size: 8px; letter-spacing: .06em; }
.release-meta em { align-self: flex-start; margin-top: 5px; padding: 3px 7px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 6.5px; font-style: normal; }
.release-count { justify-self: end; color: var(--ink-3); font-size: 8.5px; }
.release-chevron { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-3); transition: transform .3s var(--ease), background .2s; }
.release-chevron::before { content: "⌄"; font-size: 16px; line-height: 1; transform: translateY(-1px); }
.release-card.expanded .release-chevron { transform: rotate(180deg); background: var(--accent-soft); color: var(--accent); }
.release-changes { display: grid; gap: 7px; padding: 0 24px 23px 196px; }
.release-changes[hidden] { display: none; }
.release-changes p { position: relative; padding-left: 14px; color: var(--ink-2); font-size: 10px; line-height: 1.75; }
.release-changes p::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .65; }
.changelog-loading { padding: 36px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink-3); background: var(--glass); text-align: center; font-size: 10px; }

.closing { padding-top: 20px; padding-bottom: 100px; }
.closing-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding: clamp(30px, 5vw, 58px); border-radius: 30px; }
.closing-card h2 { margin: 20px 0 0; font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.055em; }
.closing-actions { display: flex; gap: 9px; flex-shrink: 0; }
.footer { padding: 0 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 22px; align-items: center; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--ink-3); font-size: 9px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { border-radius: 7px; }
.footer-brand b { color: var(--ink); font-size: 10px; }
.footer-brand span { margin-left: 4px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--ink); }
.footer-meta { display: flex; justify-content: flex-end; gap: 13px; }
.mobile-dock { display: none; }
.credential-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; background: rgba(18, 28, 43, .28); backdrop-filter: blur(10px); }
.credential-modal[hidden] { display: none; }
.credential-dialog { position: relative; width: min(470px, 100%); padding: 32px; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--panel); box-shadow: 0 30px 90px rgba(20, 35, 58, .24); }
.credential-close { position: absolute; right: 15px; top: 13px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 20px; line-height: 1; cursor: pointer; }
.credential-eyebrow { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: 9px; font-weight: 650; }
.credential-dialog h3 { margin: 16px 0 10px; font-family: var(--font-display); font-size: 26px; line-height: 1.22; letter-spacing: -.04em; }
.credential-dialog p { color: var(--ink-2); font-size: 11px; line-height: 1.8; }
.credential-grid { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin: 20px 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.22); }
.credential-grid span { color: var(--ink-3); font-size: 10px; }
.credential-grid code { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; font-weight: 700; }
.credential-dialog small { color: var(--ink-3); font-size: 9px; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 2500; transform: translate(-50%, 20px); padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass-strong); box-shadow: var(--shadow-soft); color: var(--ink); font-size: 11px; opacity: 0; visibility: hidden; transition: .3s var(--ease); backdrop-filter: blur(18px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.feature-card:nth-child(2) { transition-delay: .05s; }
.feature-card:nth-child(3) { transition-delay: .1s; }
.feature-card:nth-child(4) { transition-delay: .05s; }
.feature-card:nth-child(5) { transition-delay: .1s; }
.feature-card:nth-child(6) { transition-delay: .15s; }
.feature-card:nth-child(7) { transition-delay: .2s; }

@keyframes titleUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(168,66,28,.02); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 13px); } 100% { opacity: 0; } }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stage-window { width: 620px; }
  .float-import { left: -8px; }
  .float-bed { right: 0; }
  .section-head { grid-template-columns: 110px 1fr 300px; }
  .section-head h2 { font-size: clamp(34px, 5vw, 52px); }
  .data-grid { grid-template-columns: 1fr 240px; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { padding-top: 118px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-stage { min-height: 520px; margin-top: 12px; }
  .stage-window { width: 100%; transform: none; }
  .float-import { left: -4px; }
  .float-bed { right: -4px; }
  .section-head { grid-template-columns: 1fr; gap: 13px; }
  .section-head > p { max-width: 620px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; }
  .data-grid { grid-template-columns: 1fr; }
  .data-side { grid-template-columns: repeat(3, 1fr); }
  .access-grid { grid-template-columns: 1fr; }
  .closing-card { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { justify-content: flex-start; }
}
@media (max-width: 720px) {
  :root { --pad: 16px; }
  body { font-size: 14px; padding-bottom: 76px; }
  .navbar { padding-top: 8px; }
  .nav-inner { min-height: 52px; padding-left: 9px; }
  .brand { font-size: 14px; }
  .brand em, .version-pill { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 104px; padding-bottom: 50px; }
  .hero-title { font-size: clamp(42px, 13vw, 62px); }
  .hero-sub { font-size: 13px; line-height: 1.85; }
  .hero-cta { align-items: stretch; flex-direction: column; max-width: 260px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 0; margin-top: 34px; }
  .hero-stats > div { padding: 0 18px; }
  .hero-stats > div:nth-child(odd) { padding-left: 0; }
  .hero-stats > div:nth-child(3)::before { display: none; }
  .hero-stats dd { font-size: 22px; }
  .hero-stage { min-height: 380px; margin-top: 10px; overflow: visible; }
  .stage-window { border-radius: 14px; }
  .window-bar { grid-template-columns: 52px 1fr 58px; }
  .window-address { min-width: 0; width: 100%; padding: 4px 8px; font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .window-state { font-size: 7px; }
  .app-ui { min-height: 310px; }
  .mock-sidebar { display: none; }
  .mock-main { padding: 10px; }
  .mock-head b { font-size: 11px; }
  .mock-search { width: 105px; font-size: 6px; }
  .mock-kpis { gap: 5px; }
  .kpi { min-height: 59px; padding: 8px; }
  .kpi b { font-size: 14px; }
  .mock-grid { grid-template-columns: 1.3fr .7fr; }
  .mock-chart { min-height: 87px; }
  .fake-bars { height: 53px; }
  .mock-ring { display: none; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-table .table-row:nth-child(4) { display: none; }
  .float-card { transform: scale(.86); transform-origin: left top; }
  .float-import { top: auto; bottom: 32px; left: -5px; }
  .float-bed { top: 58px; right: -6px; bottom: auto; transform-origin: right top; }
  .float-score { display: none; }
  .hero-foot { align-items: flex-start; flex-direction: column; margin-top: 22px; }
  .scroll-cue { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(34px, 10vw, 46px); }
  .section-tag { font-size: 9px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 21px; }
  .feature-card h3 { font-size: 21px; }
  .mini-ledger { margin-top: 7px; transform: none; }
  .preview { padding-top: 48px; }
  .preview-stage { padding: 10px; border-radius: 20px; }
  .preview-nav { overflow-x: auto; padding-bottom: 2px; }
  .preview-tab { flex: none; padding: 0 12px; }
  .preview-reel { min-height: 410px; }
  .screen-slide { padding: 8px; }
  .screen-window { padding: 10px; min-height: 380px; overflow: hidden; }
  .screen-bar { gap: 6px; }
  .screen-bar span { font-size: 9px; }
  .screen-bar i { display: none; }
  .screen-bar b { margin-left: auto; font-size: 6px; }
  .screen-toolbar .filter-pill:nth-child(2) { display: none; }
  .screen-row { min-width: 690px; }
  .screen-table { overflow-x: auto; }
  .grade-summary { gap: 5px; }
  .grade-summary > div { padding: 8px; }
  .grade-summary b { font-size: 13px; }
  .grade-chart { height: 220px; }
  .dorm-layout { grid-template-columns: 1fr; }
  .dorm-stats { grid-template-columns: repeat(3, 1fr); }
  .bed-grid { grid-template-columns: repeat(2, 1fr); }
  .aid-cards { gap: 5px; }
  .aid-cards > div { padding: 8px; }
  .aid-cards b { font-size: 14px; }
  .aid-table { overflow-x: auto; }
  .aid-table .screen-row { min-width: 620px; }
  .preview-meta { align-items: flex-start; }
  .preview-meta small { display: none; }
  .preview-meta > div:first-child > span { font-size: 24px; }
  .data-main { padding: 18px; }
  .data-metrics { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .data-metrics > div:nth-child(3) { padding-left: 0; border-left: none; }
  .class-chart { gap: 4px; overflow-x: auto; }
  .class-bar { min-width: 38px; }
  .data-side { grid-template-columns: 1fr; }
  .data-card { min-height: 110px; }
  .release-toggle { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 17px 18px; }
  .release-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .release-meta em { margin-top: 0; }
  .release-count { justify-self: start; }
  .release-changes { padding: 0 18px 19px; }
  .access-card { padding: 22px; }
  .access-actions { flex-direction: column; align-items: stretch; }
  .closing { padding-bottom: 64px; }
  .closing-card { padding: 26px; }
  .closing-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .footer { padding-bottom: 20px; }
  .footer-brand { flex-wrap: wrap; }
  .footer-brand span { width: 100%; margin-left: 34px; }
  .footer-links { gap: 20px; }
  .mobile-dock { position: fixed; left: 14px; right: 14px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 1200; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass-strong); box-shadow: 0 14px 38px rgba(25,40,60,.14); backdrop-filter: blur(20px); }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px; border-radius: 10px; color: var(--ink-3); font-size: 8px; }
  .mobile-dock a:hover, .mobile-dock a.active { color: var(--ink); background: rgba(255,255,255,.34); }
  .mobile-dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .credential-dialog { padding: 26px 22px; }
  .credential-dialog h3 { font-size: 22px; }
  .toast { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .title-line > span { transform: none; }
}
