/* Shared lightweight Demo landing-page styles. Keep the legacy copy identical. */
:root {
  --color-text: #243348;
  --color-muted: #62728a;
  --color-primary: #4969e9;
  --color-surface: #fff;
  --color-border: #dce4ef;
  font: 14px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: #f7f9fc;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: radial-gradient(ellipse 660px 420px at 50% 24%, #eaf0ff88, transparent), #f7f9fc; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #4969e9; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 12px; padding: 10px 16px; border-radius: 8px; background: #fff; box-shadow: 0 2px 12px #24334833; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.page { --page-gutter: 48px; max-width: 1180px; margin: auto; padding: env(safe-area-inset-top, 0px) max(var(--page-gutter), env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(var(--page-gutter), env(safe-area-inset-left, 0px)); }
.header { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 720; font-size: 21px; letter-spacing: -.7px; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: #4263ee; color: #fff; }
.brand-mark svg { width: 28px; height: 28px; }
.header-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-muted); padding: 8px 12px; border: 1px solid var(--color-border); background: #ffffffb0; border-radius: 24px; white-space: nowrap; }
.header-badge > span, .available i { width: 5px; height: 5px; border-radius: 50%; background: #637ff0; }
.intro { padding: 24px 0 28px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 650; letter-spacing: 2.4px; color: var(--color-muted); }
.eyebrow-line { width: 24px; height: 1px; background: #8c9fcb; }
h1 { font-size: 40px; line-height: 1.4; font-weight: 740; letter-spacing: -1.8px; margin: 12px 0; }
h1 > span { color: #4565e7; white-space: nowrap; }
.intro > p { font-size: 14px; line-height: 1.9; color: var(--color-muted); margin: 0; }
.experiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 0 auto; }
.experience { display: flex; flex-direction: column; min-width: 0; padding: 22px 24px 20px; border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-surface); box-shadow: 0 8px 34px #273a6b04; }
.experience-summary { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; margin-bottom: 18px; }
.experience-copy { min-width: 0; }
.experience-copy h2 { font-size: 20px; margin: 0 0 5px; }
.experience-copy p { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.65; }
.card-heading { display: flex; align-items: center; justify-content: space-between; }
.device-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; }
.device-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pc-icon { color: #657699; background: #eef2f9; }
.mobile-icon { color: #526deb; background: #edf0ff; }
.status { display: flex; align-items: center; gap: 5px; font-size: 11px; border-radius: 20px; padding: 6px 10px; }
.pending { color: #62728a; background: #f0f3f8; }
.available { color: #405bbf; background: #f0f3ff; }
.card-copy { min-width: 0; padding-top: 16px; }
.card-kicker { display: none; }
h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.6px; font-weight: 650; margin: 0 0 8px; }
.card-copy > p { font-size: 13px; line-height: 1.85; color: var(--color-muted); margin: 0; }
.features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.features > span { font-size: 11px; color: var(--color-muted); background: #f5f7fb; padding: 5px 8px; border-radius: 5px; }
.card-bottom { margin-top: auto; padding-top: 18px; }
.entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 12px 16px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 550; line-height: 20px; }
.entry svg { flex-shrink: 0; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.active-entry { background: var(--color-primary); color: #fff; transition: background .2s; }
.active-entry:hover { background: #3656d4; }
.active-entry:hover svg { transform: translateX(3px); }
.disabled-entry { color: #62728a; background: #edf1f7; cursor: not-allowed; }
.card-note { display: block; text-align: center; font-size: 11px; color: var(--color-muted); margin-top: 10px; line-height: 1.6; }
.management-entry { display: flex; align-items: center; gap: 16px; max-width: 920px; margin: 18px auto 0; padding: 20px 24px; border: 1px solid var(--color-border); border-radius: 16px; background: var(--color-surface); }
.management-symbol { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; color: #5979c5; background: #eef3ff; }
.management-symbol svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.6; }
.management-copy { flex: 1; min-width: 0; }
.management-copy h2 { font-size: 19px; margin: 0 0 5px; }
.management-copy p { font-size: 12px; color: var(--color-muted); margin: 0; }
.management-entry .entry { width: 185px; flex-shrink: 0; }
.closing { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 0; color: var(--color-muted); }
.closing svg { flex-shrink: 0; width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.closing p { font-size: 11px; margin: 0; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e8ecf3; padding: 18px 0; font-size: 11px; color: var(--color-muted); }
footer > span:first-child { font-weight: 600; }
@media (max-width: 760px) {
  .page { --page-gutter: 24px; }
  .header { min-height: 68px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .header-badge { font-size: 10px; padding: 7px 9px; }
  .intro { padding: 16px 0 22px; }
  h1 { font-size: 32px; margin: 10px 0; }
  .intro > p { font-size: 13px; }
  .experiences { gap: 16px; }
  .experience { padding: 18px; }
  .card-copy > p { font-size: 12px; }
}
@media (max-width: 580px) {
  .page { --page-gutter: 18px; }
  .header { min-height: 62px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .header-badge { font-size: 10px; padding: 6px 8px; gap: 5px; }
  .intro { padding: 12px 0 20px; }
  .eyebrow, .features, .card-heading, .card-note { display: none; }
  h1 { font-size: clamp(24px, 7.2vw, 32px); line-height: 1.4; letter-spacing: -1px; margin: 4px 0 8px; }
  .intro > p { font-size: 12px; line-height: 1.7; }
  .experiences { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 430px; }
  .mobile-card { order: -1; border-color: #c4d0fa; }
  .experience { padding: 16px; border-radius: 16px; }
  .experience-summary { gap: 10px; margin-bottom: 12px; }
  .experience-copy h2 { font-size: 20px; }
  .experience-copy p { font-size: 12px; }
  .card-copy { padding: 0; }
  h2 { font-size: 21px; margin-bottom: 6px; line-height: 1.3; }
  .card-copy > p { line-height: 1.65; }
  .card-copy > p > br { display: none; }
  .card-bottom { padding-top: 12px; }
  .entry { padding: 12px 14px; }
  .management-entry { flex-wrap: wrap; gap: 10px; max-width: 430px; margin-top: 12px; padding: 16px; }
  .management-entry .entry { width: 100%; margin-top: 2px; }
  .management-symbol { width: 34px; height: 34px; }
  .management-copy h2 { font-size: 20px; }
  .management-copy p { font-size: 12px; }
  .closing { padding: 20px 0; }
}
@media (max-width: 360px) {
  .page { --page-gutter: 14px; }
  .brand { font-size: 16px; gap: 6px; }
  .header-badge { font-size: 9px; padding: 6px; }
}
@media (min-width: 581px) and (max-height: 650px) {
  .header { min-height: 58px; }
  .intro { padding: 6px 0 18px; }
  .eyebrow, .features, .card-heading, .card-note, .closing { display: none; }
  h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
  .intro > p { font-size: 12px; }
  .experience { padding: 16px 18px; }
  .card-copy { padding: 0; }
  h2 { font-size: 21px; }
  .card-copy > p { font-size: 12px; }
  .card-bottom { padding-top: 14px; }
  footer { margin-top: 18px; padding: 14px 0; }
}
.legacy-home .card-note { display: block; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
