:root {
  --night: #111d43;
  --night-2: #1e3268;
  --paper: #f4f6fc;
  --surface: #ffffff;
  --ink: #162b4d;
  --muted: #73819a;
  --muted-2: #98a4b8;
  --line: #e2e7f2;
  --blue: #5b6df5;
  --blue-pale: #eef1ff;
  --cyan: #35ced1;
  --yellow: #ffd24d;
  --yellow-deep: #f4b72e;
  --coral: #ff7b5c;
  --green: #44cba0;
  --red: #e94d62;
  --shadow: 0 20px 60px rgba(24, 43, 83, .09);
  --shadow-soft: 0 10px 34px rgba(24, 43, 83, .07);
  --radius: 24px;
  --header-height: 78px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--night); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 5vw, 74px); font-weight: 750; }
h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 730; }
h3 { font-size: 22px; font-weight: 700; }
p { color: var(--muted); }
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--night);
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
  font-weight: 850;
  text-transform: uppercase;
}
.eyebrow-light { color: #b9c6ff; }
.eyebrow-line { width: 28px; height: 2px; background: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(226, 231, 242, .82);
  backdrop-filter: blur(20px);
}
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(24, 43, 83, .07); }
.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--yellow), #ff9569);
  box-shadow: 0 8px 20px rgba(249, 168, 59, .28);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 1px;
  background: rgba(17, 29, 67, .34);
}
.brand-mark::before { transform: rotate(55deg); }
.brand-mark::after { transform: rotate(-55deg); }
.brand-bolt {
  width: 11px;
  height: 22px;
  background: var(--night);
  clip-path: polygon(58% 0, 100% 0, 68% 42%, 100% 42%, 30% 100%, 46% 57%, 18% 57%);
  z-index: 1;
}
.brand-copy strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand-copy small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .19em;
}
.brand-light { color: white; }
.brand-light .brand-copy small { color: rgba(255, 255, 255, .48); }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a {
  color: #49607f;
  font-size: 13px;
  font-weight: 650;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 13px; }
.edition-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #66748d;
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 750;
}
.edition-pill i, .live-badge i, .system-health i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(68, 203, 160, .12);
}
.install-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #d9e0ee;
  border-radius: 10px;
  background: white;
  color: #52637d;
  font-size: 10px;
  font-weight: 800;
  transition: .2s ease;
}
.install-button:hover { border-color: #acb9f3; color: var(--blue); }
.install-button[hidden] { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(91, 109, 245, .3);
  outline-offset: 3px;
}
.button-primary {
  color: var(--night);
  background: var(--yellow);
  box-shadow: 0 9px 22px rgba(166, 121, 15, .17);
}
.button-primary:hover { background: #ffda6b; box-shadow: 0 13px 28px rgba(166, 121, 15, .23); }
.button-secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.button-secondary:hover { border-color: #c5cde2; }
.button-large { min-height: 54px; padding: 0 28px; border-radius: 15px; font-size: 15px; }
.button-small { min-height: 38px; padding: 0 16px; border-radius: 11px; font-size: 12px; }
.button-full { width: 100%; }
.button-disabled { color: #8d98aa; background: #e8ebf2; cursor: not-allowed; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 50px;
  width: 220px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mobile-menu nav a { display: block; padding: 11px 12px; border-radius: 10px; font-size: 13px; }
.mobile-menu nav a:hover { background: var(--paper); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 54px 28px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 28%, rgba(53, 206, 209, .18), transparent 27%),
    radial-gradient(circle at 74% 8%, rgba(91, 109, 245, .16), transparent 34%),
    linear-gradient(145deg, #f8faff 0%, #eef2fc 54%, #e8eefb 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(81, 102, 158, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 102, 158, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  min-height: 592px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 46px;
}
.hero-copy { padding: 52px 0 76px; }
.hero-copy h1 { margin: 21px 0 24px; color: var(--ink); font-size: clamp(49px, 5.2vw, 78px); letter-spacing: -.06em; }
.hero-copy h1 em { color: var(--blue); font-style: normal; position: relative; }
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  height: 9px;
  left: 3px;
  right: -4px;
  bottom: -3px;
  background: var(--yellow);
  z-index: -1;
  transform: rotate(-1.4deg);
  border-radius: 8px;
}
.hero-lead { max-width: 560px; margin-bottom: 30px; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.audience-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  color: var(--ink);
}
.audience-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: white;
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}
.audience-line strong { display: block; font-size: 13px; }
.audience-line small { color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; height: 590px; display: grid; place-items: center; }
.product-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  transition: transform .4s ease;
}
.product-stage > img { filter: drop-shadow(0 38px 38px rgba(26, 44, 90, .2)); }
.hero-visual:hover .product-stage { transform: translateY(-5px); }
.technical-orbit {
  position: absolute;
  border: 1px solid rgba(91, 109, 245, .17);
  border-radius: 50%;
}
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 420px; height: 420px; border-style: dashed; transform: rotate(18deg); }
.technical-orbit::before, .technical-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(53, 206, 209, .13);
}
.technical-orbit::before { top: 12%; left: 17%; }
.technical-orbit::after { bottom: 12%; right: 12%; background: var(--yellow); box-shadow: 0 0 0 8px rgba(255, 210, 77, .18); }
.signal-card, .measure-card {
  position: absolute;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 50px rgba(25, 43, 85, .14);
  backdrop-filter: blur(16px);
}
.signal-card {
  right: 0;
  top: 25%;
  gap: 12px;
  min-width: 214px;
  padding: 14px;
  border-radius: 17px;
  animation: floatCard 4.6s ease-in-out infinite;
}
.signal-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff7d9;
}
.signal-icon i { width: 15px; height: 15px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 18px var(--yellow); }
.signal-card small, .measure-card small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.signal-card strong { display: block; margin-top: 2px; font-size: 12px; }
.signal-card b { margin-left: auto; padding: 5px 7px; border-radius: 7px; color: #277a63; background: #e7faf3; font-size: 9px; }
.measure-card {
  left: 0;
  bottom: 17%;
  width: 150px;
  padding: 15px;
  border-radius: 16px;
  display: block;
  animation: floatCard 5.4s ease-in-out infinite reverse;
}
.measure-card strong { display: block; margin: 4px 0 8px; font-size: 24px; letter-spacing: -.04em; }
.measure-card strong span { color: var(--muted); font-size: 10px; }
.mini-wave { height: 18px; background: repeating-linear-gradient(90deg, var(--cyan) 0 2px, transparent 2px 5px); clip-path: polygon(0 50%, 8% 50%, 12% 15%, 17% 85%, 22% 35%, 27% 64%, 35% 48%, 45% 50%, 50% 4%, 55% 96%, 60% 43%, 70% 50%, 100% 50%, 100% 60%, 70% 60%, 60% 53%, 55% 100%, 50% 14%, 45% 60%, 0 60%); opacity: .66; }
.concept-label { position: absolute; right: 10px; bottom: 3px; color: #8c98ac; font-size: 9px; letter-spacing: .04em; }
.fact-strip {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: -12px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid rgba(226, 231, 242, .8);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.fact-strip > div { position: relative; padding: 21px 28px; display: flex; align-items: baseline; gap: 10px; }
.fact-strip > div + div::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.fact-strip b { color: var(--ink); font-size: 24px; letter-spacing: -.04em; }
.fact-strip span { color: var(--muted); font-size: 11px; }

.section { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; padding: 128px 0; }
.section-heading { max-width: 730px; margin-bottom: 54px; }
.section-heading h2 { margin: 18px 0 17px; }
.section-heading p { max-width: 590px; font-size: 16px; line-height: 1.85; }
.section-heading-split { max-width: none; display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 70px; }
.section-heading-split p { margin-bottom: 3px; }
.transformation { padding-top: 150px; }
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.outcome-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform .25s ease, box-shadow .25s ease;
}
.outcome-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.outcome-number { position: absolute; right: 20px; top: 17px; color: #c6cede; font-size: 11px; font-weight: 900; }
.outcome-icon {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 17px 0 31px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--blue-pale);
}
.outcome-icon i { display: block; position: absolute; }
.icon-bulb i { width: 27px; height: 32px; border: 3px solid var(--blue); border-radius: 50% 50% 42% 42%; box-shadow: 0 0 20px rgba(91, 109, 245, .17); }
.icon-bulb i::after { content: ""; position: absolute; left: 7px; bottom: -9px; width: 13px; height: 8px; border-radius: 2px 2px 5px 5px; background: var(--blue); }
.icon-circuit { background: #e9faf8; }
.icon-circuit i { width: 8px; height: 8px; border-radius: 50%; background: #2eaea2; }
.icon-circuit i:nth-child(1) { left: 16px; top: 19px; }
.icon-circuit i:nth-child(2) { right: 16px; top: 34px; }
.icon-circuit i:nth-child(3) { left: 22px; bottom: 13px; }
.icon-circuit::before, .icon-circuit::after { content: ""; position: absolute; width: 28px; height: 2px; background: #2eaea2; }
.icon-circuit::before { transform: rotate(28deg); left: 22px; top: 34px; }
.icon-circuit::after { transform: rotate(-33deg); left: 24px; top: 39px; }
.icon-wave { background: #fff7df; }
.icon-wave i { width: 42px; height: 18px; background: repeating-linear-gradient(90deg, var(--yellow-deep) 0 3px, transparent 3px 7px); clip-path: polygon(0 45%, 15% 45%, 20% 0, 28% 100%, 36% 22%, 44% 70%, 55% 45%, 100% 45%, 100% 58%, 0 58%); }
.icon-spark { background: #fff0ee; }
.icon-spark i { width: 38px; height: 38px; background: var(--coral); clip-path: polygon(50% 0, 61% 36%, 100% 50%, 62% 61%, 50% 100%, 39% 62%, 0 50%, 38% 39%); }
.outcome-card h3 { margin-bottom: 12px; }
.outcome-card p { min-height: 70px; margin-bottom: 20px; font-size: 13px; line-height: 1.7; }
.outcome-card small { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; }

.loop-section { width: 100%; max-width: none; padding: 0; background: var(--night); }
.loop-shell {
  width: min(calc(100% - 56px), var(--max));
  min-height: 580px;
  margin: 0 auto;
  padding: 105px 0;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  align-items: center;
  background:
    radial-gradient(circle at 77% 45%, rgba(53, 206, 209, .13), transparent 30%),
    radial-gradient(circle at 18% 30%, rgba(91, 109, 245, .18), transparent 28%);
}
.loop-copy h2 { color: white; margin: 18px 0 20px; }
.loop-copy p { color: #aebbd8; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; color: var(--blue); font-size: 13px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: var(--yellow); }
.loop-path { position: relative; display: grid; gap: 10px; }
.loop-path::before { content: ""; position: absolute; left: 40px; top: 42px; bottom: 42px; width: 1px; border-left: 1px dashed rgba(255, 255, 255, .22); }
.loop-node {
  position: relative;
  min-height: 76px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 28px 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 15px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 17px;
  background: rgba(255, 255, 255, .045);
}
.loop-node > span { color: #7889b0; font-size: 9px; font-weight: 800; }
.loop-node > i { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .08); color: var(--yellow); font-style: normal; z-index: 1; }
.loop-node > b { color: white; font-size: 13px; }
.loop-node > small { color: #8f9fbd; font-size: 10px; }

.path-section { padding-bottom: 140px; }
.mission-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mission-card {
  position: relative;
  min-height: 218px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mission-card:hover { transform: translateY(-5px); border-color: #cdd5e8; box-shadow: var(--shadow-soft); }
.mission-card > span { position: absolute; right: 14px; top: 13px; color: #c3ccdd; font-size: 10px; font-weight: 900; }
.mission-symbol { width: 48px; height: 48px; margin: 7px 0 28px; display: grid; place-items: center; border-radius: 15px; background: var(--paper); color: var(--blue); font-size: 22px; }
.mission-card small { color: #99a6bb; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.mission-card h3 { margin: 7px 0 8px; font-size: 16px; }
.mission-card p { margin: 0; font-size: 11px; }
.mission-start { border-color: #ffe18a; background: #fffdf4; }
.mission-start .mission-symbol { background: var(--yellow); }
.mission-finish { color: white; background: linear-gradient(145deg, var(--night-2), #354ca5); border-color: transparent; }
.mission-finish .mission-symbol { color: var(--night); background: var(--yellow); }
.mission-finish small { color: #aebce5; }
.mission-finish p { color: #b5c1e4; }

.anatomy-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; background: white; }
.anatomy-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background:
    linear-gradient(rgba(74, 97, 154, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 97, 154, .04) 1px, transparent 1px),
    linear-gradient(145deg, #eef2fa, #f9fbff);
  background-size: 28px 28px, 28px 28px, auto;
}
.anatomy-visual img { width: 89%; filter: drop-shadow(0 28px 30px rgba(23, 38, 78, .16)); }
.anatomy-label {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  color: #5f6e87;
  font-size: 9px;
  font-weight: 750;
}
.anatomy-label::after { content: ""; position: absolute; height: 1px; background: #bfc8d9; transform-origin: left; }
.label-a { left: 6%; top: 18%; }
.label-a::after { width: 70px; left: 100%; top: 50%; transform: rotate(18deg); }
.label-b { right: 3%; top: 38%; }
.label-b::after { width: 72px; right: 100%; top: 50%; transform: rotate(28deg); }
.label-c { left: 8%; bottom: 18%; }
.label-c::after { width: 105px; left: 100%; top: 50%; transform: rotate(-14deg); }
.anatomy-copy h2 { margin: 18px 0 22px; }
.anatomy-copy > p { line-height: 1.9; }
.check-list { display: grid; gap: 16px; margin: 29px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; font-size: 13px; color: #586982; }
.check-list i { flex: none; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; background: #e8faf3; color: #24926e; font-style: normal; font-weight: 900; }
.check-list b { color: var(--ink); }

.lab-cta-section { width: 100%; max-width: none; padding: 0; background: linear-gradient(135deg, #162b64, #445dcc 60%, #327fa2); }
.lab-cta {
  width: min(calc(100% - 56px), var(--max));
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 80px;
  color: white;
}
.lab-cta-copy h2 { margin: 18px 0 20px; color: white; }
.lab-cta-copy p { max-width: 470px; margin-bottom: 29px; color: #cbd5f5; line-height: 1.9; }
.lab-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 25px;
  background: rgba(9, 20, 54, .48);
  box-shadow: 0 34px 80px rgba(7, 15, 43, .28);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.lab-preview-top { height: 48px; padding: 0 17px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.lab-preview-top span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.lab-preview-top span:first-child { background: #ff7e69; }
.lab-preview-top span:nth-child(2) { background: var(--yellow); }
.lab-preview-top span:nth-child(3) { background: var(--green); }
.lab-preview-top b { margin-left: 10px; color: #96a8ce; font-size: 8px; letter-spacing: .14em; }
.lab-preview-canvas {
  position: relative;
  height: 350px;
  background-image: radial-gradient(rgba(147, 170, 222, .22) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.preview-battery {
  position: absolute;
  left: 12%;
  top: 31%;
  width: 80px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, .78);
  border-radius: 13px;
  background: #1d2b4e;
  color: white;
  font-size: 26px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .23);
}
.preview-battery small { position: absolute; bottom: 9px; color: #8fa2c9; font-size: 8px; }
.preview-wire { position: absolute; height: 5px; border-radius: 5px; transform-origin: left; }
.wire-a { left: 25%; top: 34%; width: 56%; background: #f06c5f; }
.wire-b { left: 25%; top: 62%; width: 55%; background: #586ff0; transform: rotate(-9deg); }
.preview-bulb {
  position: absolute;
  right: 13%;
  top: 22%;
  width: 78px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(circle, #fffbd9, var(--yellow));
  box-shadow: 0 0 60px 18px rgba(255, 210, 77, .32);
}
.preview-bulb i { width: 35px; height: 38px; border: 3px solid #8e752b; border-radius: 50%; }
.preview-switch {
  position: absolute;
  left: 48%;
  bottom: 20%;
  width: 92px;
  height: 42px;
  padding: 6px;
  border-radius: 30px;
  background: var(--green);
}
.preview-switch i { display: block; margin-left: 46px; width: 29px; height: 29px; border-radius: 50%; background: white; }
.lab-preview-status { padding: 16px 19px; color: #b8c6e5; font-size: 10px; }
.lab-preview-status i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); }

.parent-section { padding-bottom: 145px; }
.parent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.parent-card { padding: 25px; border-top: 2px solid var(--line); }
.parent-card > span { color: var(--blue); font-size: 10px; font-weight: 900; }
.parent-card h3 { margin: 25px 0 12px; }
.parent-card p { margin: 0; font-size: 13px; line-height: 1.8; }
.final-cta-section { padding-bottom: 105px; }
.final-cta-inner {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 70px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 75% 10%, rgba(53, 206, 209, .19), transparent 30%),
    linear-gradient(135deg, var(--night), #283d86);
  color: white;
}
.final-cta-inner::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -150px;
  bottom: -260px;
  border: 70px solid rgba(255, 255, 255, .03);
  border-radius: 50%;
}
.spark-mark { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: rgba(255, 255, 255, .08); color: var(--yellow); font-size: 34px; }
.final-cta-inner h2 { margin: 13px 0 0; font-size: clamp(32px, 4vw, 50px); color: white; }
.final-cta-action { position: relative; z-index: 1; display: grid; justify-items: end; gap: 11px; }
.final-cta-action small { color: #9fafd1; font-size: 10px; }

.site-footer { padding: 80px 28px 28px; background: #0b1636; color: white; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.2fr; gap: 72px; }
.footer-brand p { max-width: 380px; margin: 25px 0 16px; color: #9fadc9; font-size: 13px; line-height: 1.8; }
.footer-note { color: #6f7e9e; font-size: 10px; }
.footer-grid h2 { margin: 4px 0 20px; color: #71809f; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) span { display: block; margin: 11px 0; color: #b8c3d8; font-size: 12px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { max-width: var(--max); margin: 64px auto 0; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); color: #6d7c9a; font-size: 10px; }
.footer-bottom div { display: flex; gap: 22px; }

/* Product */
.product-page { background: #f7f9fd; }
.product-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 65px 0 105px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: start;
}
.product-gallery { position: sticky; top: 110px; }
.gallery-main {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 52% 45%, rgba(53, 206, 209, .12), transparent 30%),
    linear-gradient(145deg, #eef2fb, #fbfcff);
  border: 1px solid var(--line);
}
.gallery-main img { width: 83%; filter: drop-shadow(0 30px 35px rgba(20, 37, 78, .17)); }
.gallery-badge { position: absolute; left: 20px; bottom: 20px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .88); color: var(--muted); font-size: 9px; font-weight: 700; }
.gallery-notes { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-notes > div { padding: 14px; display: grid; grid-template-columns: 12px 1fr; gap: 3px 8px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.note-dot { grid-row: 1 / 3; margin-top: 4px; width: 7px; height: 7px; border-radius: 50%; }
.dot-yellow { background: var(--yellow); }.dot-cyan { background: var(--cyan); }.dot-green { background: var(--green); }
.gallery-notes b { font-size: 10px; }.gallery-notes small { color: var(--muted); font-size: 8px; }
.purchase-panel { padding-top: 15px; }
.purchase-panel h1 { margin: 15px 0 13px; font-size: clamp(40px, 4vw, 58px); }
.product-subtitle { font-size: 16px; line-height: 1.8; }
.rating-note { margin: 24px 0; padding: 13px 15px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.rating-note span { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.rating-note p { margin: 0; color: #56677f; font-size: 11px; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 25px; }
.price small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; }
.price strong { font-size: 38px; letter-spacing: -.05em; }
.price-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; color: #36715f; background: #eaf9f3; font-size: 10px; font-weight: 800; }
.price-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.package-summary { margin: 24px 0 16px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.package-summary span { color: var(--blue); font-size: 10px; font-weight: 850; }
.package-summary p { margin: 6px 0 0; font-size: 13px; }
.purchase-points { margin: 18px 0 23px; padding: 0; list-style: none; display: grid; gap: 10px; }
.purchase-points li { color: #52627a; font-size: 12px; }
.purchase-points i { color: #24936d; font-style: normal; font-weight: 900; }
.purchase-points b { color: var(--ink); }
.purchase-caption { margin: 12px 0 0; text-align: center; font-size: 9px; line-height: 1.6; }
.service-points { margin-top: 18px; padding-top: 17px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.service-points i { color: var(--blue); font-style: normal; margin-right: 5px; }
.product-intro { padding-top: 95px; }
.statement-block { max-width: 780px; }
.statement-block h2 { margin-top: 18px; }
.learning-outcomes { margin-top: 55px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.learning-outcomes article { padding: 30px 24px 0 0; }
.learning-outcomes article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.learning-outcomes span { color: var(--blue); font-size: 9px; font-weight: 900; }
.learning-outcomes h3 { margin: 26px 0 12px; font-size: 18px; }
.learning-outcomes p { font-size: 12px; line-height: 1.8; }
.included-section { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; padding-top: 115px; padding-bottom: 115px; background: white; }
.included-copy h2 { margin: 18px 0; }
.included-copy > p { line-height: 1.85; }
.included-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.included-grid div { padding: 16px 9px 16px 0; border-bottom: 1px solid var(--line); }
.included-grid b { display: block; font-size: 12px; }
.included-grid span { color: var(--muted); font-size: 9px; }
.small-note { margin-top: 19px; color: #9ba5b6; font-size: 9px !important; }
.included-visual { border-radius: 28px; background: linear-gradient(145deg, #f1f4fb, #f9fbff); border: 1px solid var(--line); padding: 20px; }
.included-visual img { width: 100%; filter: drop-shadow(0 28px 30px rgba(24, 43, 83, .14)); }
.safety-section { padding-top: 125px; padding-bottom: 125px; }
.safety-heading { display: flex; align-items: flex-start; gap: 25px; margin-bottom: 50px; }
.safety-shield { flex: none; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; border: 1px solid #bfeadd; background: #e9faf4; color: #23906c; font-size: 25px; font-weight: 900; }
.safety-heading h2 { margin: 16px 0 0; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.safety-grid div { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.safety-grid span { color: var(--blue); font-size: 9px; font-weight: 900; }
.safety-grid b { display: block; margin: 28px 0 12px; font-size: 14px; }
.safety-grid p { margin: 0; font-size: 11px; line-height: 1.75; }
.specs-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding-top: 105px; padding-bottom: 105px; border-top: 1px solid var(--line); }
.specs-title h2 { margin-top: 17px; }
.specs-table { border-top: 1px solid var(--line); }
.specs-table div { min-height: 64px; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.specs-table span { color: var(--muted); font-size: 11px; }
.specs-table b { font-size: 12px; font-weight: 650; }
.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; padding-top: 100px; padding-bottom: 135px; }
.faq-list details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; font-size: 14px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 20px; line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: 14px 0 0; max-width: 680px; font-size: 12px; line-height: 1.85; }
.final-product-cta { padding-top: 0; padding-bottom: 110px; }
.final-product-inner { padding: 55px 65px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border-radius: 27px; background: linear-gradient(135deg, var(--night), #30468f); color: white; }
.final-product-inner h2 { margin: 12px 0 4px; color: white; font-size: 38px; }
.final-product-inner p { margin: 0; color: #aab7d6; font-size: 12px; }

/* Lab */
.lab-page { background: #f4f6fb; }
.lab-header { max-width: var(--max); margin: 0 auto; padding: 50px 0 37px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: 11px; font-weight: 700; }
.lab-header h1 { margin: 13px 0 10px; font-size: clamp(38px, 4vw, 55px); }
.lab-header p { margin: 0; font-size: 13px; }
.lab-progress { min-width: 310px; padding: 16px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.lab-progress > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: var(--yellow); font-size: 15px; font-weight: 900; }
.lab-progress b, .lab-progress small { display: block; }
.lab-progress b { font-size: 11px; }.lab-progress small { color: var(--muted); font-size: 9px; }
.lab-progress > i { margin-left: auto; width: 48px; height: 5px; border-radius: 10px; background: linear-gradient(90deg, var(--blue) 30%, #e8ecf5 30%); }
.lab-shell { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 215px minmax(560px, 1fr) 295px; gap: 15px; align-items: start; }
.lab-shell > * { min-width: 0; }
.lab-steps, .lab-observation, .lab-workbench { border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: var(--shadow-soft); }
.panel-kicker { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.lab-steps { padding: 20px; }
.lab-steps ol { display: grid; gap: 5px; margin: 19px 0 25px; padding: 0; list-style: none; }
.lab-steps li { position: relative; padding: 12px 8px 12px 43px; border-radius: 12px; color: var(--muted); }
.lab-steps li i { position: absolute; left: 8px; top: 12px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: #f3f5fa; font-size: 9px; font-style: normal; }
.lab-steps li b, .lab-steps li small { display: block; }
.lab-steps li b { color: #52627b; font-size: 11px; }.lab-steps li small { font-size: 8px; }
.lab-steps li.is-active { background: var(--blue-pale); }
.lab-steps li.is-active i { background: var(--blue); color: white; }
.lab-steps li.is-active b { color: #4052bd; }
.lab-tip { padding: 14px; border-radius: 13px; background: #fff9e8; border: 1px solid #ffebae; }
.lab-tip span { color: #a67a0e; font-size: 9px; font-weight: 850; }
.lab-tip p { margin: 7px 0 0; color: #7d672f; font-size: 10px; line-height: 1.7; }
.lab-workbench { overflow: hidden; }
.control-row > * { min-width: 0; }
.workbench-header { height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.workbench-header > div { display: flex; align-items: center; gap: 8px; }
.workbench-header b { font-size: 11px; }.workbench-header small { color: var(--muted); font-size: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.icon-button { border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.circuit-canvas {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background-color: #f8faff;
  background-image: radial-gradient(#cad4e6 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  transition: background-color .25s ease;
}
.canvas-grid { display: none; }
.circuit-path { position: absolute; height: 5px; border-radius: 5px; background: #d6ddea; transition: background .2s ease; }
.path-top { left: 22%; right: 18%; top: 21%; }
.path-bottom { left: 22%; right: 18%; top: 76%; }
.path-right { width: 5px !important; height: 55%; left: 82%; top: 21%; }
.circuit-label { position: absolute; left: 7%; top: 11%; color: #7e8ba0; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.circuit-label b { color: var(--ink); }
.circuit-battery {
  position: absolute;
  left: 9%;
  top: 31%;
  width: 67px;
  height: 137px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 11px 0;
  border-radius: 11px;
  background: #1c2d4d;
  border: 5px solid #eef1f7;
  box-shadow: 0 13px 25px rgba(29, 45, 79, .22);
  color: white;
  text-align: center;
  font-size: 18px;
}
.circuit-switch, .circuit-resistor, .circuit-led { position: absolute; text-align: center; }
.circuit-switch { left: 32%; top: 66%; cursor: pointer; }
.switch-track { display: block; width: 80px; height: 35px; padding: 5px; border-radius: 30px; background: #c8d0dc; transition: .25s ease; }
.switch-track i { display: block; width: 25px; height: 25px; border-radius: 50%; background: white; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); transition: .25s ease; }
.circuit-switch small, .circuit-resistor small, .circuit-led small { display: block; margin-top: 9px; color: var(--muted); font-size: 8px; }
.circuit-switch small b, .circuit-resistor small b, .circuit-led small b { color: var(--ink); }
.circuit-switch[aria-checked="true"] .switch-track { background: var(--green); }
.circuit-switch[aria-checked="true"] .switch-track i { margin-left: 45px; }
.circuit-resistor { left: 49%; top: 15%; }
.circuit-resistor > span { display: inline-block; width: 15px; height: 39px; margin: 0 -1px; border: 3px solid #d7dce6; background: #f6e5c6; }
.circuit-resistor > span:nth-child(2) { background: repeating-linear-gradient(90deg, #f6e5c6 0 4px, #d47d44 4px 7px, #f6e5c6 7px 11px); }
.circuit-led { right: 9%; top: 31%; }
.led-body { position: relative; width: 55px; height: 60px; margin: auto; border-radius: 50% 50% 40% 40%; background: #b4bdcb; border: 5px solid #e2e7ee; transition: .25s ease; }
.led-body i { position: absolute; left: 17px; top: 10px; width: 11px; height: 18px; border: 2px solid #7e8897; border-radius: 4px; }
.led-ray { position: absolute; width: 18px; height: 3px; border-radius: 3px; background: var(--yellow); opacity: 0; }
.ray-one { left: -15px; top: 18px; transform: rotate(20deg); }.ray-two { right: -15px; top: 18px; transform: rotate(-20deg); }
.electron { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); border: 3px solid white; opacity: 0; box-shadow: 0 0 12px var(--yellow); }
.electron-a { left: 30%; top: calc(21% - 3px); }.electron-b { right: 18%; top: 40%; }.electron-c { left: 47%; bottom: calc(24% - 3px); }
.circuit-result { position: absolute; left: 17px; bottom: 14px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--muted); font-size: 9px; font-weight: 750; }
.circuit-canvas.is-running.is-bright .path-top, .circuit-canvas.is-running.is-bright .path-bottom,
.circuit-canvas.is-running.is-bright .path-right, .circuit-canvas.is-running.is-dim .path-top,
.circuit-canvas.is-running.is-dim .path-bottom, .circuit-canvas.is-running.is-dim .path-right { background: var(--yellow); }
.circuit-canvas.is-bright .led-body { background: #ffe15e; border-color: #fff2a6; box-shadow: 0 0 48px 16px rgba(255, 210, 77, .5); }
.circuit-canvas.is-dim .led-body { background: #fff0a3; border-color: #fff7ce; box-shadow: 0 0 22px 7px rgba(255, 210, 77, .25); }
.circuit-canvas.is-bright .led-ray, .circuit-canvas.is-dim .led-ray { opacity: 1; }
.circuit-canvas.is-running.is-bright .electron, .circuit-canvas.is-running.is-dim .electron { opacity: 1; animation: electronMove 2.6s linear infinite; }
.circuit-canvas.is-danger { background-color: #fff6f6; background-image: radial-gradient(#f0c4c8 1.2px, transparent 1.2px); }
.circuit-canvas.is-danger .led-body { background: #ef776d; border-color: #ffb0a4; box-shadow: 0 0 35px rgba(239, 91, 91, .28); }
.circuit-canvas.is-danger .path-top, .circuit-canvas.is-danger .path-bottom, .circuit-canvas.is-danger .path-right { background: #ef776d; }
.circuit-canvas.is-danger .circuit-result { color: #a83f44; background: #fff0f0; border-color: #f5c4c7; }
.control-row { padding: 15px; display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 12px; align-items: end; border-top: 1px solid var(--line); }
.control-group > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 8px; font-weight: 750; }
.segmented { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #f6f8fb; }
.segmented button { flex: 1; min-height: 31px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 9px; font-weight: 750; }
.segmented button.is-selected { color: #4051b6; background: white; box-shadow: 0 3px 10px rgba(25, 44, 82, .08); }
.run-button { min-height: 43px; white-space: nowrap; }
.lab-observation { padding: 20px; }
.lab-observation h2 { margin: 11px 0 16px; font-size: 18px; }
.prediction-list { display: grid; gap: 7px; }
.prediction-list button { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; color: #617089; font-size: 10px; text-align: left; }
.prediction-list button i { width: 13px; height: 13px; border: 1px solid #c8d0de; border-radius: 50%; }
.prediction-list button.is-selected { border-color: #aeb9ff; color: #4051b6; background: var(--blue-pale); }
.prediction-list button.is-selected i { border: 4px solid var(--blue); }
.observation-metrics { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.observation-metrics > div { display: flex; justify-content: space-between; gap: 10px; }
.observation-metrics span { color: var(--muted); font-size: 9px; }
.observation-metrics b { font-size: 10px; }
.observation-metrics .metric-bar { display: block; height: 6px; border-radius: 5px; background: #edf0f6; overflow: hidden; }
.metric-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .3s ease; }
.metric-bar i.is-low { width: 26%; }.metric-bar i.is-medium { width: 60%; }.metric-bar i.is-high { width: 88%; }.metric-bar i.is-danger { width: 100%; background: var(--red); }
.lab-conclusion { margin-top: 18px; padding: 13px; border-radius: 12px; background: #13264f; color: white; }
.lab-conclusion span { color: var(--yellow); font-size: 8px; font-weight: 850; }
.lab-conclusion p { margin: 6px 0 0; color: #bdc9e4; font-size: 9px; line-height: 1.65; }
.lab-buy-link { display: flex; justify-content: space-between; margin-top: 18px; color: var(--blue); font-size: 10px; font-weight: 800; }
.lab-explain { max-width: var(--max); margin: 0 auto; padding: 95px 0 110px; }
.lab-explain > div:first-child { max-width: 600px; }
.lab-explain h2 { margin: 16px 0 40px; }
.explain-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.explain-grid article { padding: 28px 24px 0 0; }
.explain-grid article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.explain-grid span { color: var(--blue); font-size: 9px; font-weight: 900; }
.explain-grid h3 { margin: 24px 0 12px; font-size: 17px; }
.explain-grid p { font-size: 11px; line-height: 1.75; }
.simulation-disclaimer { margin-top: 45px; padding-top: 18px; border-top: 1px solid var(--line); color: #939fb1; font-size: 9px; }

/* Checkout and forms */
.checkout-page, .lookup-page { max-width: 1160px; margin: 0 auto; padding: 58px 0 105px; }
.checkout-heading { margin-bottom: 31px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.checkout-heading h1, .lookup-intro h1 { margin: 13px 0 10px; font-size: 42px; }
.checkout-heading p, .lookup-intro p { margin: 0; font-size: 12px; }
.checkout-heading > a { color: var(--muted); font-size: 11px; font-weight: 700; }
.checkout-progress { margin-bottom: 30px; padding: 17px 20px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: white; }
.checkout-progress div { display: flex; align-items: center; gap: 8px; color: #98a3b7; font-size: 9px; font-weight: 750; }
.checkout-progress div i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #eef1f6; font-size: 9px; font-style: normal; }
.checkout-progress div.is-active { color: var(--ink); }
.checkout-progress div.is-active i { color: white; background: var(--blue); }
.checkout-progress > b { flex: 1; height: 1px; margin: 0 13px; background: var(--line); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) 370px; gap: 22px; align-items: start; }
.checkout-form-card, .order-summary, .lookup-form, .lookup-help, .lookup-result { padding: 29px; border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: var(--shadow-soft); }
.form-section-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.form-section-title > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-pale); color: var(--blue); font-size: 9px; font-weight: 900; }
.form-section-title h2 { margin: 0 0 4px; font-size: 18px; }
.form-section-title p { margin: 0; font-size: 10px; }
.form-section-spaced { margin-top: 30px; padding-top: 27px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid label, .form-full, .lookup-form label, .admin-auth-form label, .admin-product-form label { display: grid; gap: 7px; }
.form-grid label > span, .form-full > span, .lookup-form label > span { color: #57677e; font-size: 10px; font-weight: 750; }
.form-grid label > span b { color: var(--coral); }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dbe1ed;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { min-height: 90px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a4adbc; }
input:focus, select:focus, textarea:focus { border-color: #99a7f8; box-shadow: 0 0 0 4px rgba(91, 109, 245, .09); }
.form-span-2 { grid-column: 1 / -1; }
.form-full { margin-top: 18px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent-line { margin-top: 22px; display: flex; align-items: flex-start; gap: 10px; }
.consent-line input { flex: none; width: 17px; min-height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.consent-line span { color: #748198; font-size: 9px; line-height: 1.7; }
.consent-line a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-error { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 9px; color: #a43b48; background: #fff0f2; border: 1px solid #f4cad0; font-size: 10px; }
.form-error.is-visible { display: block; }
.order-summary { position: sticky; top: 100px; }
.order-summary-product { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.order-summary-product img { width: 88px; height: 76px; object-fit: contain; border-radius: 11px; background: var(--paper); }
.order-summary-product span { color: var(--blue); font-size: 8px; font-weight: 850; }
.order-summary-product h2 { margin: 4px 0 4px; font-size: 14px; }
.order-summary-product p { margin: 0; font-size: 8px; }
.quantity-row { margin-top: 22px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quantity-row > span { color: var(--muted); font-size: 10px; }
.quantity-control { display: flex; align-items: center; }
.quantity-control button, .quantity-control input { width: 32px; min-height: 31px; padding: 0; border-radius: 0; text-align: center; }
.quantity-control button { border: 1px solid var(--line); background: white; }
.quantity-control button:first-child { border-radius: 8px 0 0 8px; }.quantity-control button:last-child { border-radius: 0 8px 8px 0; }
.quantity-control input { border-left: 0; border-right: 0; font-size: 11px; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { display: none; }
.summary-lines { padding: 17px 0; display: grid; gap: 12px; }
.summary-lines div, .summary-total { display: flex; justify-content: space-between; gap: 15px; }
.summary-lines span { color: var(--muted); font-size: 10px; }.summary-lines b { font-size: 10px; }
.summary-total { padding-top: 15px; border-top: 1px solid var(--line); align-items: baseline; }
.summary-total span { font-size: 11px; font-weight: 750; }.summary-total strong { font-size: 25px; letter-spacing: -.04em; }
.order-summary > .button { margin-top: 21px; }
.summary-note { margin: 10px 0 16px; font-size: 8px; line-height: 1.6; text-align: center; }
.secure-note { padding: 11px; display: flex; gap: 9px; border-radius: 10px; background: #effaf6; }
.secure-note i { flex: none; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 6px; color: white; background: var(--green); font-size: 9px; font-style: normal; }
.secure-note b, .secure-note span { display: block; }.secure-note b { font-size: 9px; }.secure-note span { color: #5d887a; font-size: 8px; }
.unavailable-card { padding: 70px; border: 1px solid var(--line); border-radius: 23px; background: white; text-align: center; }
.unavailable-card > span { width: 52px; height: 52px; margin: auto; display: grid; place-items: center; border-radius: 16px; background: #fff5d9; color: #a57913; font-size: 22px; font-weight: 900; }
.unavailable-card h2 { margin: 20px 0 9px; font-size: 26px; }

/* Success, lookup and policy */
.success-page { min-height: 75vh; padding: 65px 20px 105px; }
.success-shell { max-width: 720px; margin: 0 auto; padding: 55px; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: var(--shadow); text-align: center; }
.success-mark { position: relative; width: 78px; height: 78px; margin: 0 auto 20px; display: grid; place-items: center; }
.success-mark span { position: absolute; inset: 0; border-radius: 50%; background: #e8faf3; box-shadow: 0 0 0 12px #f4fcf9; }
.success-mark i { position: relative; z-index: 1; color: #22916e; font-style: normal; font-size: 28px; }
.success-shell h1 { margin: 13px 0 12px; font-size: 43px; }
.success-shell > p { font-size: 12px; }
.success-order-card { margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-align: left; background: #fbfcff; }
.success-order-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.success-order-head span { display: block; color: var(--muted); font-size: 8px; }.success-order-head strong { font-size: 14px; letter-spacing: .04em; }
.success-order-head button { border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--blue); font-size: 9px; padding: 6px 9px; }
.success-status { margin: 18px 0; padding: 13px; display: flex; gap: 10px; border-radius: 11px; background: #eef1ff; }
.success-status > i { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--blue); }
.success-status b, .success-status span { display: block; }.success-status b { font-size: 10px; }.success-status span { color: #65749a; font-size: 9px; }
.success-lines { display: grid; gap: 9px; }
.success-lines div { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; }
.success-lines span { color: var(--muted); }.success-lines b { text-align: right; }
.activation-box { margin-top: 17px; padding: 14px; border: 1px dashed #aab6f8; border-radius: 11px; background: var(--blue-pale); text-align: center; }
.activation-box span { display: block; color: var(--blue); font-size: 8px; font-weight: 850; }.activation-box strong { display: block; margin: 6px 0; font-size: 18px; letter-spacing: .07em; }.activation-box small { color: #69789a; font-size: 8px; }
.success-steps { margin: 30px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.success-steps div { padding: 14px 8px; border-radius: 12px; background: #f6f8fb; color: var(--muted); }
.success-steps i { width: 25px; height: 25px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: white; font-size: 9px; font-style: normal; }
.success-steps b, .success-steps span { display: block; }.success-steps b { color: #5b6b84; font-size: 9px; }.success-steps span { font-size: 8px; }
.success-steps .is-done { color: #27765e; background: #edfaf6; }.success-steps .is-done i { color: white; background: var(--green); }.success-steps .is-done b { color: #24755c; }
.success-actions { display: flex; gap: 10px; justify-content: center; }
.success-error { margin: 25px 0; padding: 20px; border-radius: 14px; background: #fff5f5; }
.success-error h2 { font-size: 20px; }.success-error p { font-size: 10px; }
.success-privacy { display: block; margin-top: 21px; color: #909bad; font-size: 8px; }
.lookup-intro { max-width: 620px; margin-bottom: 40px; }
.lookup-grid { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; }
.lookup-form { display: grid; gap: 18px; }
.lookup-help h2 { font-size: 18px; }
.lookup-help > a, .lookup-help > div { padding: 13px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.lookup-help span { color: var(--muted); font-size: 10px; }.lookup-help b { font-size: 10px; text-align: right; }
.lookup-help p { margin: 18px 0 0; font-size: 9px; line-height: 1.7; }
.lookup-result { margin-top: 25px; }
.result-header { display: flex; justify-content: space-between; }
.result-header span { color: var(--muted); font-size: 9px; }.result-header h2 { margin: 6px 0 0; font-size: 24px; }
.result-header button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.lookup-result > p { font-size: 11px; }
.result-order-no { margin: 20px 0; padding: 13px; display: flex; justify-content: space-between; border-radius: 10px; background: var(--paper); font-size: 11px; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.result-grid div { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.result-grid span, .result-grid b { display: block; }.result-grid span { color: var(--muted); font-size: 8px; }.result-grid b { margin-top: 4px; font-size: 10px; }
.policy-page { max-width: 960px; margin: 0 auto; padding: 75px 0 120px; }
.policy-header { max-width: 700px; margin-bottom: 50px; }
.policy-header h1 { margin: 16px 0 13px; font-size: 46px; }
.policy-header p { font-size: 15px; }.policy-header small { color: #9aa5b5; font-size: 9px; }
.policy-content { padding: 45px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.policy-content h2 { margin: 37px 0 12px; font-size: 20px; }.policy-content h2:first-child { margin-top: 0; }
.policy-content p { font-size: 13px; line-height: 1.9; }.policy-content a { color: var(--blue); text-decoration: underline; }
.policy-note { margin-top: 40px; padding: 17px; border-radius: 12px; background: #fff8e7; color: #7b6836; font-size: 10px; }

/* Error */
.error-page { min-height: 70vh; padding: 90px 20px; display: grid; place-items: center; align-content: center; text-align: center; }
.error-page h1 { margin: 22px 0 12px; font-size: 46px; }.error-page p { font-size: 12px; }
.error-page > div:last-child { display: flex; gap: 10px; justify-content: center; }
.error-orbit { display: flex; align-items: center; gap: 15px; color: var(--night); font-size: 65px; font-weight: 800; }
.error-orbit i { width: 55px; height: 55px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 15px rgba(255, 210, 77, .2), 0 15px 30px rgba(255, 210, 77, .3); }

.install-dialog {
  width: min(430px, calc(100vw - 28px));
  padding: 30px;
  border: 0;
  border-radius: 23px;
  background: white;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(8, 20, 50, .32);
  text-align: center;
}
.install-dialog::backdrop { background: rgba(8, 19, 47, .55); backdrop-filter: blur(5px); }
.install-dialog-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(120, 85, 17, .2);
}
.install-dialog-icon img { width: 100%; height: 100%; }
.install-dialog h2 { margin: 13px 0 10px; font-size: 27px; }
.install-dialog p { margin: 0 auto 23px; max-width: 340px; font-size: 12px; line-height: 1.75; }
.install-dialog-actions { display: flex; gap: 9px; justify-content: center; }
.install-dialog small { display: block; margin-top: 18px; color: #98a3b4; font-size: 8px; line-height: 1.6; }
.offline-page { min-height: 76vh; padding: 80px 20px 100px; display: grid; place-items: center; }
.offline-card { max-width: 660px; padding: 55px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); text-align: center; }
.offline-signal { position: relative; width: 100px; height: 100px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 31px; background: var(--blue-pale); overflow: hidden; }
.offline-signal span { position: relative; z-index: 1; color: var(--blue); font-size: 35px; font-weight: 850; }
.offline-signal i { position: absolute; width: 54px; height: 54px; border: 2px solid rgba(91, 109, 245, .2); border-radius: 50%; }
.offline-signal i:nth-child(2) { width: 88px; height: 88px; }
.offline-signal i:nth-child(3) { width: 130px; height: 130px; }
.offline-card h1 { margin: 15px 0 13px; font-size: 42px; }
.offline-card > p { max-width: 490px; margin: 0 auto 27px; font-size: 13px; line-height: 1.85; }
.offline-actions { display: flex; gap: 10px; justify-content: center; }
.offline-note { margin-top: 30px; padding: 15px; border-radius: 12px; background: #f4f7fb; text-align: left; }
.offline-note b, .offline-note span { display: block; }.offline-note b { font-size: 9px; }.offline-note span { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.6; }

@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes electronMove { from { transform: translateX(0); } to { transform: translateX(82px); } }

@media (max-width: 1120px) {
  .desktop-nav { gap: 17px; }
  .desktop-nav a:nth-child(2) { display: none; }
  .hero-grid { gap: 15px; }
  .hero-visual { transform: scale(.93); }
  .mission-grid { grid-template-columns: repeat(4, 1fr); }
  .lab-shell { grid-template-columns: 190px minmax(490px, 1fr); }
  .lab-observation { grid-column: 1 / -1; display: grid; grid-template-columns: .6fr 1.4fr; gap: 15px 25px; }
  .lab-observation > h2, .lab-observation > .panel-kicker { grid-column: 1; }
  .prediction-list { grid-column: 2; grid-row: 1 / 4; }
  .observation-metrics, .lab-conclusion, .lab-buy-link { grid-column: 1; }
  .anatomy-section, .included-section { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; }
  .header-inner { padding: 0 19px; }
  .desktop-nav, .edition-pill, .header-actions > .button { display: none; }
  .mobile-menu { display: block; }
  .hero { padding: 30px 20px 0; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 35px 0 10px; }
  .hero-visual { height: 480px; transform: none; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .fact-strip > div:nth-child(3)::before { display: none; }
  .section { width: min(calc(100% - 40px), var(--max)); padding: 90px 0; }
  .outcome-grid, .parent-grid, .learning-outcomes, .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .learning-outcomes article:nth-child(3), .safety-grid div:nth-child(3) { border-left: 0; }
  .learning-outcomes article:nth-child(n+3) { padding-top: 28px; border-top: 1px solid var(--line); }
  .loop-shell { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 45px; padding: 85px 0; }
  .section-heading-split { grid-template-columns: 1fr; gap: 20px; }
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
  .anatomy-section, .included-section { grid-template-columns: 1fr; }
  .anatomy-visual { min-height: 480px; }
  .lab-cta { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 45px; padding: 90px 0; }
  .lab-preview { transform: none; }
  .final-cta-inner { padding: 50px; grid-template-columns: 60px 1fr; }
  .spark-mark { width: 58px; height: 58px; border-radius: 17px; }
  .final-cta-action { grid-column: 1 / -1; justify-items: start; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
  .product-hero { padding: 40px 0 80px; grid-template-columns: 1fr; gap: 45px; }
  .product-gallery { position: static; }
  .gallery-main { min-height: 500px; }
  .specs-section, .faq-section { grid-template-columns: 1fr; gap: 35px; }
  .lab-header { padding: 35px 20px 30px; }
  .lab-progress { display: none; }
  .lab-shell { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .lab-steps { display: none; }
  .lab-observation { grid-column: auto; }
  .lab-explain { width: calc(100% - 40px); }
  .checkout-page, .lookup-page { width: calc(100% - 40px); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .lookup-grid { grid-template-columns: 1fr; }
  .policy-page { width: calc(100% - 40px); }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 43px; }
  h2 { font-size: 34px; }
  .header-inner { padding: 0 15px; }
  .install-button { padding: 0 10px; font-size: 9px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-copy strong { font-size: 14px; }
  .hero { padding: 18px 16px 0; }
  .hero-copy h1 { font-size: 48px; line-height: 1.08; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { height: 330px; margin-top: 10px; }
  .orbit-one { width: 300px; height: 300px; }.orbit-two { width: 250px; height: 250px; }
  .signal-card { right: -12px; top: 15%; transform: scale(.8); transform-origin: right; animation: none; }
  .measure-card { left: -5px; bottom: 5%; transform: scale(.8); transform-origin: left; animation: none; }
  .concept-label { right: 0; bottom: -6px; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > div { padding: 16px; }
  .fact-strip > div:nth-child(odd)::before { display: none; }
  .fact-strip b { font-size: 19px; }.fact-strip span { font-size: 9px; }
  .section { width: calc(100% - 32px); padding: 75px 0; }
  .section-heading { margin-bottom: 35px; }
  .transformation { padding-top: 85px; }
  .outcome-grid, .mission-grid, .parent-grid, .safety-grid, .explain-grid { grid-template-columns: 1fr 1fr; }
  .outcome-card { min-height: 260px; padding: 19px; }
  .outcome-icon { width: 58px; height: 58px; margin: 13px 0 20px; }
  .outcome-card h3 { font-size: 18px; }.outcome-card p { font-size: 11px; min-height: 60px; }
  .loop-shell { width: calc(100% - 32px); padding: 70px 0; }
  .mission-card { min-height: 195px; padding: 15px; }.mission-symbol { margin-bottom: 20px; }
  .mission-card h3 { font-size: 14px; }.mission-card p { font-size: 9px; }
  .anatomy-visual { min-height: 360px; }.anatomy-label { display: none; }
  .lab-cta { width: calc(100% - 32px); padding: 70px 0; }
  .lab-preview-canvas { height: 250px; }.preview-battery { transform: scale(.8); left: 7%; }.preview-bulb { transform: scale(.8); right: 7%; }.preview-switch { transform: scale(.8); left: 42%; }
  .learning-outcomes { grid-template-columns: 1fr 1fr; }
  .learning-outcomes article { padding: 22px 15px 0 0; }.learning-outcomes article + article { padding-left: 15px; }
  .included-grid { grid-template-columns: 1fr; }
  .safety-heading { gap: 14px; }.safety-shield { width: 48px; height: 48px; border-radius: 14px; }
  .specs-table div { grid-template-columns: 105px 1fr; }
  .final-product-inner { padding: 35px 25px; flex-direction: column; align-items: flex-start; }
  .final-cta-inner { padding: 38px 25px; grid-template-columns: 1fr; }
  .spark-mark { display: none; }.final-cta-action { grid-column: auto; justify-items: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }.footer-brand { grid-column: 1 / -1; }.footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 12px; }.footer-bottom div { flex-wrap: wrap; gap: 12px; }
  .product-hero { width: calc(100% - 32px); padding-top: 25px; }
  .gallery-main { min-height: 350px; }.gallery-notes { grid-template-columns: 1fr; }.purchase-panel h1 { font-size: 39px; }
  .lab-header { width: calc(100% - 32px); padding: 27px 0; }.lab-header h1 { font-size: 39px; }
  .lab-shell { width: calc(100% - 20px); }
  .circuit-canvas { min-height: 350px; transform: scale(.92); transform-origin: center; margin: -14px; }
  .circuit-canvas { width: 100%; max-width: 100%; overflow: hidden; }
  .control-row { grid-template-columns: minmax(0, 1fr); }.run-button { width: 100%; }
  .segmented { width: 100%; max-width: 100%; overflow-x: auto; }
  .segmented button { min-width: 0; white-space: nowrap; }
  .lab-observation { display: block; }.prediction-list { margin-top: 12px; }
  .lab-explain { width: calc(100% - 32px); padding: 70px 0; }
  .explain-grid h3 { font-size: 15px; }
  .checkout-page, .lookup-page { width: calc(100% - 28px); padding: 36px 0 75px; }
  .checkout-heading { align-items: flex-start; flex-direction: column; }
  .checkout-heading h1, .lookup-intro h1 { font-size: 36px; }
  .checkout-progress { padding: 13px 10px; }.checkout-progress div span { display: none; }.checkout-progress > b { margin: 0 5px; }
  .checkout-form-card, .order-summary, .lookup-form, .lookup-help, .lookup-result { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }.form-span-2 { grid-column: auto; }
  .success-shell { padding: 35px 20px; }.success-shell h1 { font-size: 34px; }.success-steps { gap: 4px; }.success-actions { flex-direction: column; }
  .policy-page { width: calc(100% - 32px); padding: 50px 0 80px; }.policy-header h1 { font-size: 36px; }.policy-content { padding: 24px 19px; }
  .error-page h1 { font-size: 34px; }
  .install-dialog { padding: 25px 20px; }
  .offline-page { padding: 45px 15px 75px; }.offline-card { padding: 38px 20px; }.offline-card h1 { font-size: 34px; }.offline-actions { flex-direction: column; }
}

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

/* Admin authentication */
.admin-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: #f6f8fc;
}
.admin-auth-art {
  position: relative;
  min-height: 100vh;
  padding: 52px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 80%, rgba(53, 206, 209, .2), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(91, 109, 245, .24), transparent 32%),
    linear-gradient(145deg, #0e193b, #1c3068 60%, #20567b);
  color: white;
}
.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom right, black, transparent 82%);
}
.auth-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}
.auth-orbit.orbit-a { width: 650px; height: 650px; right: -260px; top: -200px; }
.auth-orbit.orbit-b { width: 430px; height: 430px; left: 10%; bottom: -260px; border-style: dashed; }
.auth-circuit { position: absolute; right: 9%; top: 31%; width: 420px; height: 300px; opacity: .7; }
.auth-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .76);
  background: var(--cyan);
  box-shadow: 0 0 0 10px rgba(53, 206, 209, .07);
}
.node-a { left: 4%; top: 28%; }.node-b { right: 8%; top: 52%; background: var(--yellow); }.node-c { left: 48%; bottom: 4%; background: var(--coral); }
.auth-line { position: absolute; height: 1px; background: rgba(255, 255, 255, .22); transform-origin: left; }
.line-a { left: 8%; top: 31%; width: 54%; transform: rotate(17deg); }
.line-b { left: 52%; top: 63%; width: 41%; transform: rotate(-7deg); }
.line-c { left: 49%; top: 36%; width: 29%; transform: rotate(60deg); }
.setup-symbol {
  position: absolute;
  right: 17%;
  top: 33%;
  color: var(--yellow);
  font-size: 140px;
  text-shadow: 0 0 80px rgba(255, 210, 77, .3);
}
.auth-copy { position: relative; z-index: 1; max-width: 620px; margin-top: auto; padding-bottom: 50px; }
.auth-copy h1 { margin: 54px 0 22px; color: white; font-size: clamp(52px, 5.3vw, 78px); }
.auth-copy p { max-width: 480px; color: #acbbd9; font-size: 15px; line-height: 1.8; }
.admin-auth-panel {
  min-height: 100vh;
  padding: 50px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 21px;
}
.admin-auth-form { width: min(100%, 430px); }
.admin-auth-form h2 { margin: 16px 0 10px; font-size: 34px; }
.admin-auth-form > p { margin-bottom: 30px; font-size: 12px; }
.admin-auth-form label { margin-bottom: 17px; color: #57677e; font-size: 10px; font-weight: 750; }
.admin-auth-form input { min-height: 50px; }
.admin-auth-form .button { margin-top: 10px; }
.admin-back-link { display: block; margin-top: 24px; color: var(--muted); text-align: center; font-size: 10px; }
.admin-back-link:hover { color: var(--blue); }
.auth-security-note { width: min(100%, 430px); padding: 14px; display: flex; gap: 11px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.auth-security-note i { flex: none; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: #e8faf3; color: #258c6c; font-style: normal; font-size: 10px; }
.auth-security-note p { margin: 0; font-size: 9px; line-height: 1.65; }.auth-security-note b { display: block; color: var(--ink); font-size: 10px; }
.setup-warning { display: block; margin-top: 17px; color: #8b95a7; text-align: center; font-size: 8px; line-height: 1.6; }

/* Admin workspace */
.admin-body { background: #eef2f8; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 238px 1fr; }
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 25px 17px 18px;
  display: flex;
  flex-direction: column;
  background: #0f1c40;
  color: white;
  z-index: 30;
}
.admin-sidebar .brand { padding: 0 8px; }
.admin-nav { margin-top: 40px; display: grid; gap: 5px; }
.admin-nav button { min-height: 48px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 12px; background: transparent; color: #8696b9; text-align: left; transition: .2s ease; }
.admin-nav button:hover { color: white; background: rgba(255, 255, 255, .055); }
.admin-nav button.is-active { color: #1b2b51; background: white; box-shadow: 0 8px 24px rgba(4, 12, 36, .25); }
.admin-nav button i { width: 24px; font-style: normal; font-size: 17px; text-align: center; }
.admin-nav button span { font-size: 12px; font-weight: 750; }
.admin-nav button b { min-width: 23px; margin-left: auto; padding: 2px 6px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #b7c4dd; font-size: 9px; }
.admin-nav button.is-active b { color: var(--blue); background: var(--blue-pale); }
.admin-sidebar-note { margin-top: auto; padding: 15px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(255, 255, 255, .035); }
.admin-sidebar-note span { color: var(--yellow); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.admin-sidebar-note p { margin: 7px 0 0; color: #7c8bac; font-size: 9px; line-height: 1.7; }
.admin-user { margin-top: 16px; padding: 13px 8px 0; display: flex; align-items: center; gap: 9px; border-top: 1px solid rgba(255, 255, 255, .08); }
.admin-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #dce5ff; color: var(--night); font-size: 13px; font-weight: 850; }
.admin-user b, .admin-user small { display: block; }.admin-user b { font-size: 10px; }.admin-user small { color: #6f7e9e; font-size: 8px; }
.admin-user button { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #93a2c1; }
.admin-main { min-width: 0; }
.admin-topbar { height: 91px; padding: 0 33px; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .78); border-bottom: 1px solid #dce3ee; backdrop-filter: blur(14px); }
.admin-topbar > div { display: flex; align-items: center; gap: 17px; }
.admin-topbar .eyebrow { font-size: 8px; }
.admin-topbar h1 { margin: 4px 0 0; font-size: 24px; }
.admin-menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: white; width: 38px; height: 38px; }
.admin-top-actions { gap: 24px !important; }
.admin-top-actions a { color: #5e6d84; font-size: 10px; font-weight: 750; }
.system-health { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #64738b; font-size: 9px; font-weight: 750; }
.admin-content { padding: 31px 33px 65px; }
.admin-view { display: none; }.admin-view.is-active { display: block; }
.welcome-row { margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.welcome-row h2 { margin: 0 0 5px; font-size: 29px; }.welcome-row p { margin: 0; font-size: 11px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-stat-grid article { position: relative; min-height: 160px; padding: 22px; overflow: hidden; border: 1px solid #dfe5ef; border-radius: 17px; background: white; box-shadow: 0 8px 24px rgba(26, 44, 84, .04); }
.admin-stat-grid article > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.admin-stat-grid article > strong { display: block; margin: 19px 0 8px; font-size: 31px; letter-spacing: -.05em; }
.admin-stat-grid article > small { color: #a0aaba; font-size: 8px; }
.stat-icon { position: absolute; right: 19px; top: 17px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 13px; font-style: normal; font-weight: 850; }
.stat-icon.cyan { color: #258f92; background: #e3faf9; }.stat-icon.blue { color: #4d60d1; background: #edf0ff; }.stat-icon.yellow { color: #a27715; background: #fff6d9; }.stat-icon.green { color: #288867; background: #e8faf2; }
.admin-dashboard-grid { margin-top: 14px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.admin-panel { padding: 22px; border: 1px solid #dfe5ef; border-radius: 17px; background: white; box-shadow: 0 8px 24px rgba(26, 44, 84, .04); }
.admin-panel-head { margin-bottom: 21px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.admin-panel-head .eyebrow { font-size: 8px; }.admin-panel-head h3 { margin: 6px 0 0; font-size: 18px; }
.admin-panel-head button { border: 0; background: transparent; color: var(--blue); font-size: 9px; font-weight: 750; }
.status-bars { display: grid; gap: 13px; }
.status-line { display: grid; grid-template-columns: 65px 1fr 26px; gap: 10px; align-items: center; }
.status-line span { color: #69788f; font-size: 9px; }.status-line b { color: var(--ink); font-size: 9px; text-align: right; }
.status-track { height: 8px; overflow: hidden; border-radius: 8px; background: #eff2f7; }.status-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.status-track i.bar-level-0 { width: 0; }.status-track i.bar-level-1 { width: 20%; }.status-track i.bar-level-2 { width: 40%; }.status-track i.bar-level-3 { width: 60%; }.status-track i.bar-level-4 { width: 80%; }.status-track i.bar-level-5 { width: 100%; }
.admin-product-snapshot { grid-row: span 2; }
.snapshot-product { padding: 13px; display: flex; align-items: center; gap: 13px; border-radius: 13px; background: #f5f7fb; }
.snapshot-product img { width: 92px; height: 74px; object-fit: contain; }
.snapshot-product b { display: block; font-size: 11px; }.snapshot-product span { display: inline-block; margin-top: 5px; padding: 3px 7px; border-radius: 6px; background: #e8faf3; color: #28765d; font-size: 8px; }
.snapshot-lines { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.snapshot-lines div { padding: 13px; border: 1px solid var(--line); border-radius: 11px; }.snapshot-lines span, .snapshot-lines b { display: block; }.snapshot-lines span { color: var(--muted); font-size: 8px; }.snapshot-lines b { margin-top: 4px; font-size: 15px; }
.admin-quick-actions { grid-column: 1; }
.admin-quick-actions > button { width: 100%; min-height: 55px; padding: 10px 0; display: flex; align-items: center; gap: 11px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.admin-quick-actions > button > i { flex: none; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-pale); color: var(--blue); font-size: 9px; font-style: normal; }
.admin-quick-actions button div { flex: 1; }.admin-quick-actions button b, .admin-quick-actions button span { display: block; }.admin-quick-actions button b { color: var(--ink); font-size: 10px; }.admin-quick-actions button span { color: var(--muted); font-size: 8px; }.admin-quick-actions button > strong { color: #a2adbd; }
.admin-list-toolbar { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.admin-list-toolbar h2 { margin: 0 0 5px; font-size: 29px; }.admin-list-toolbar p { margin: 0; font-size: 10px; }
.admin-search { display: flex; align-items: center; }
.admin-search input { width: 245px; min-height: 42px; border-radius: 11px 0 0 11px; background: white; font-size: 10px; }
.admin-search button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 0 11px 11px 0; background: var(--night); color: white; font-size: 10px; font-weight: 750; }
.admin-filter-row { margin-bottom: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.admin-filter-row button { min-height: 33px; padding: 0 12px; border: 1px solid #dfe5ef; border-radius: 9px; background: white; color: #738198; font-size: 9px; font-weight: 700; }
.admin-filter-row button.is-active { color: white; background: var(--night); border-color: var(--night); }
.admin-table-panel { padding: 0; overflow: hidden; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.admin-table th { padding: 15px 17px; background: #f8f9fc; border-bottom: 1px solid #e4e9f1; color: #8a96a9; text-align: left; font-size: 8px; font-weight: 850; letter-spacing: .06em; }
.admin-table td { padding: 15px 17px; border-bottom: 1px solid #edf0f5; color: #52627a; font-size: 10px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fbfcff; }
.admin-table td strong { display: block; color: var(--ink); font-size: 10px; }.admin-table td small { display: block; color: #98a3b5; font-size: 8px; }
.order-status-badge { display: inline-flex; padding: 5px 8px; border-radius: 7px; background: #f0f3f8; color: #66758c; font-size: 8px; font-weight: 800; }
.order-status-badge.status-submitted { color: #996e10; background: #fff6d9; }.order-status-badge.status-paid { color: #4e61c6; background: #edf0ff; }.order-status-badge.status-shipped, .order-status-badge.status-completed { color: #28765d; background: #e8faf3; }.order-status-badge.status-cancelled, .order-status-badge.status-refunded { color: #a44754; background: #fff0f1; }
.table-action { padding: 6px 9px; border: 1px solid #dfe4ef; border-radius: 8px; background: white; color: var(--blue); font-size: 8px; font-weight: 800; }
.table-empty { padding: 55px !important; color: #99a5b7 !important; text-align: center; }
.admin-pagination { padding: 14px 17px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }
.admin-pagination button { min-width: 31px; min-height: 31px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 9px; }
.admin-pagination button.is-active { color: white; background: var(--night); border-color: var(--night); }
.admin-product-grid { display: grid; grid-template-columns: 1fr .58fr; gap: 15px; align-items: start; }
.product-form-panel { max-width: 760px; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; background: #e8faf3; color: #28765d; font-size: 8px; font-weight: 800; }
.admin-product-form { display: grid; gap: 16px; }
.admin-field { padding: 13px; display: flex; justify-content: space-between; gap: 20px; border-radius: 10px; background: #f6f8fb; }.admin-field span { color: var(--muted); font-size: 9px; }.admin-field b { font-size: 10px; }
.admin-product-form label > span { color: #65748b; font-size: 9px; font-weight: 750; }
.admin-switch-line { padding: 12px; display: flex !important; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 11px; }
.admin-switch-line span b, .admin-switch-line span small { display: block; }.admin-switch-line span b { color: var(--ink); font-size: 10px; }.admin-switch-line span small { color: var(--muted); font-size: 8px; }
.admin-switch-line input { width: 36px; min-height: 20px; accent-color: var(--blue); }
.product-guidance h3 { margin: 7px 0 19px; font-size: 20px; }
.product-guidance ul { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; }.product-guidance li { display: flex; gap: 9px; color: #62728a; font-size: 9px; line-height: 1.5; }.product-guidance li i { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; background: #e8faf3; color: #258567; font-style: normal; font-size: 8px; }
.guidance-note { margin-top: 22px; padding: 14px; border: 1px solid #ffe5a3; border-radius: 11px; background: #fff9e9; }.guidance-note b { color: #876713; font-size: 9px; }.guidance-note p { margin: 6px 0 0; color: #7b6c43; font-size: 8px; line-height: 1.7; }
.audit-table td { white-space: normal; }.audit-table td:last-child { max-width: 300px; color: #8995a7; font-size: 8px; }

.order-dialog { width: min(940px, calc(100vw - 40px)); max-height: calc(100vh - 50px); padding: 0; overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(7, 18, 48, .35); }
.order-dialog::backdrop { background: rgba(7, 15, 38, .55); backdrop-filter: blur(5px); }
.dialog-head { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: white; }
.dialog-head h2 { margin: 5px 0 0; font-size: 23px; }.dialog-head button { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 18px; }
.dialog-content { max-height: calc(100vh - 135px); padding: 24px; overflow-y: auto; background: #f7f9fc; }
.dialog-loading { padding: 60px; text-align: center; color: var(--muted); font-size: 11px; }
.order-dialog-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.dialog-panel { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }.dialog-panel.full { grid-column: 1 / -1; }
.dialog-panel h3 { margin: 0 0 15px; font-size: 14px; }
.dialog-info { display: grid; gap: 10px; }.dialog-info div { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; }.dialog-info span { color: var(--muted); }.dialog-info b { text-align: right; }
.dialog-address { padding: 13px; border-radius: 10px; background: #f5f7fb; color: #55657d; font-size: 10px; line-height: 1.8; }
.dialog-address strong { display: block; color: var(--ink); }
.dialog-address-note { margin-top: 10px; }
.dialog-action-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.dialog-action-grid button, .dialog-action-grid select { width: auto; min-height: 37px; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 0 11px; font-size: 9px; }
.dialog-action-grid .button-danger { color: #aa4653; }.dialog-action-grid .button-main { color: white; background: var(--blue); border-color: var(--blue); }
.dialog-note { display: grid; gap: 7px; margin-top: 13px; }.dialog-note textarea { min-height: 70px; font-size: 10px; }.dialog-note .button { justify-self: end; }
.activation-result { padding: 12px; border: 1px dashed #aab6f8; border-radius: 10px; background: var(--blue-pale); color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-align: center; }
.admin-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; min-width: 220px; max-width: 360px; padding: 13px 16px; border-radius: 12px; background: #12224b; color: white; box-shadow: 0 16px 40px rgba(7, 18, 48, .25); font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.admin-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .admin-auth-page { grid-template-columns: 1fr; }
  .admin-auth-art { display: none; }
  .admin-auth-panel { min-height: 100vh; padding: 30px 20px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: 0; top: 0; width: 238px; transform: translateX(-100%); transition: transform .22s ease; }
  .admin-sidebar.is-open { transform: none; }
  .admin-menu-toggle { display: grid; place-items: center; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .admin-topbar { height: 76px; padding: 0 15px; }
  .admin-topbar h1 { font-size: 20px; }.admin-top-actions .system-health { display: none; }
  .admin-content { padding: 20px 14px 50px; }
  .welcome-row { align-items: flex-start; flex-direction: column; }.welcome-row h2 { font-size: 24px; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.admin-stat-grid article { min-height: 135px; padding: 16px; }.admin-stat-grid article > strong { font-size: 26px; }
  .admin-dashboard-grid { grid-template-columns: 1fr; }.admin-product-snapshot, .admin-quick-actions { grid-column: auto; grid-row: auto; }
  .admin-list-toolbar { align-items: flex-start; flex-direction: column; }.admin-search, .admin-search input { width: 100%; }
  .admin-table { min-width: 700px; }
  .order-dialog-grid { grid-template-columns: 1fr; }.dialog-panel.full { grid-column: auto; }
  .admin-toast { right: 14px; left: 14px; bottom: 14px; max-width: none; }
}
