:root {
  color-scheme: light;
  --ink: #0d1b2f;
  --muted: #5a6a7e;
  --line: #d6e2eb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --blue: #1f4c82;
  --blue-soft: #e8f2ff;
  --teal: #0ea5a8;
  --teal-soft: #dff8f6;
  --gold: #f4bc2d;
  --gold-soft: #fff2c9;
  --green: #16a46c;
  --shadow: 0 24px 70px rgba(23, 44, 67, 0.16);
  --radius: 28px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f7fd;
  --muted: #9aa8bf;
  --line: #334155;
  --surface: rgba(15, 23, 36, 0.88);
  --surface-strong: #141f30;
  --blue: #7fb0ff;
  --blue-soft: rgba(127, 176, 255, 0.16);
  --teal: #5ee0d9;
  --teal-soft: rgba(94, 224, 217, 0.14);
  --gold: #f7ca58;
  --gold-soft: rgba(247, 202, 88, 0.16);
  --green: #69d3a1;
  --shadow: 0 26px 76px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 12%, rgba(14, 165, 168, 0.12), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(244, 188, 45, 0.14), transparent 28%),
    linear-gradient(135deg, #f5f9fb 0%, #eef6f8 52%, #f8faf6 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  transition: background-color 220ms ease, color 220ms ease, padding-right 220ms ease;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 10% 12%, rgba(32, 151, 160, 0.18), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(90, 116, 176, 0.2), transparent 30%),
    linear-gradient(180deg, #08111d 0%, #0c1626 46%, #111c2d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 27, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 47, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 62%);
}

:root[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(214, 226, 235, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(23, 44, 67, 0.11);
  backdrop-filter: blur(20px);
}

.brand,
.top-nav,
.header-controls,
.gate-toolbar {
  display: flex;
  align-items: center;
}

.header-controls {
  min-width: 0;
  gap: 10px;
}

.brand {
  flex: 0 0 auto;
  gap: 10px;
  min-width: 154px;
  padding: 5px 16px 5px 5px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #0f5ee7;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(15, 94, 231, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand > span:last-child {
  white-space: nowrap;
}

.top-nav {
  gap: 4px;
}

.top-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.top-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue);
  transform: translateY(-1px);
}

.top-nav a[aria-current="true"] {
  background: var(--blue);
  color: #fff;
}

.experience-switch {
  min-height: 42px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(14, 165, 168, 0.28);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.experience-switch:hover {
  border-color: rgba(14, 165, 168, 0.44);
  background: rgba(14, 165, 168, 0.16);
  color: var(--blue);
  transform: translateY(-1px);
}

.experience-switch:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.32);
  outline-offset: 3px;
}

.experience-switch-short {
  display: none;
}

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(157, 176, 208, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  border-color: rgba(31, 76, 130, 0.28);
  background: #fff;
  color: var(--blue);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.32);
  outline-offset: 3px;
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.store-dock {
  position: relative;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: repeat(2, minmax(0, 220px)) minmax(220px, 1fr);
  align-items: center;
  gap: 9px;
  margin: 28px auto 0;
  padding: 8px;
  border: 1px solid rgba(214, 226, 235, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(13, 27, 47, 0.18);
  backdrop-filter: blur(18px);
}

.store-link {
  min-width: 164px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 15px;
  background: #0d1726;
  color: #fff;
  box-shadow: 0 9px 22px rgba(13, 23, 38, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-link:hover {
  background: #16243a;
  box-shadow: 0 12px 28px rgba(13, 23, 38, 0.24);
  transform: translateY(-2px);
}

.store-link:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.4);
  outline-offset: 3px;
}

.store-link-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.store-link-copy {
  display: grid;
  line-height: 1.05;
}

.store-link-copy small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.store-link-copy strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.store-dock-note {
  max-width: none;
  margin: 1px 12px 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.35;
  text-align: center;
}

.store-dock-note a {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.store-dock-note a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-shell[id] {
  scroll-margin-top: 118px;
}

.experience-gate {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 38px 0;
}

.gate-shell {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.gate-toolbar {
  justify-content: space-between;
  gap: 18px;
}

.gate-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.gate-copy {
  max-width: 900px;
}

.gate-copy h1 {
  max-width: 790px;
  margin-bottom: 0;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.02;
}

.gate-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gate-option {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(214, 226, 235, 0.96);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 242, 255, 0.34)),
    rgba(255, 255, 255, 0.74);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 20px 58px rgba(23, 44, 67, 0.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.gate-option[aria-busy="true"] {
  cursor: progress;
  transform: translateY(-3px);
}

.gate-option[aria-busy="true"]::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(31, 76, 130, 0.18);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: gateOptionSpin 700ms linear infinite;
}

.gate-option:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 76, 130, 0.26);
  background: #fff;
  box-shadow: 0 30px 76px rgba(23, 44, 67, 0.16);
}

.gate-option:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.28);
  outline-offset: 4px;
}

.gate-option span,
.gate-option strong,
.gate-option small {
  position: relative;
  z-index: 1;
  display: block;
}

.gate-option span {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.gate-option strong {
  max-width: 480px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.04;
}

.gate-option small {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.42;
}

.hero {
  position: relative;
  min-height: 608px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
  gap: 38px;
  padding: 56px 28px 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px 0 22px 0;
  z-index: -1;
  border: 1px solid rgba(214, 226, 235, 0.64);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(223, 248, 246, 0.34)),
    rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(74px, 10vw, 132px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.14;
}

.hero-lead {
  max-width: 570px;
  color: #31435a;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 650;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 76, 130, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--blue);
}

.hero-showcase {
  position: relative;
  min-height: 520px;
}

.hero-visual-set {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.phone-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(138, 158, 179, 0.36);
  border-radius: 34px;
  background: #eef5f8;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.main-phone {
  position: absolute;
  right: clamp(150px, 16vw, 190px);
  top: 0;
  z-index: 2;
  width: clamp(188px, 18vw, 220px);
  aspect-ratio: 9 / 19.7;
  transform: rotate(-4deg);
  animation: phoneFloat 7s ease-in-out infinite;
}

.side-phone {
  position: absolute;
  right: 0;
  top: 0;
  left: auto;
  bottom: auto;
  z-index: 1;
  width: clamp(188px, 18vw, 216px);
  aspect-ratio: 9 / 19.7;
  opacity: 0.88;
  transform: translateY(14px) rotate(2deg);
  animation: phoneFloat 8s ease-in-out infinite reverse;
}

.trust-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-strip div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(23, 44, 67, 0.08);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 26px;
  font-weight: 950;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 650;
}

.roles-section,
.features-section,
.route-planner-section,
.screens-section,
.admin-section,
.demo-section {
  padding: 72px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow),
.admin-copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 620;
}

.admin-copy {
  max-width: 620px;
  margin-bottom: 26px;
}

.admin-copy h2 {
  max-width: 560px;
}

.admin-copy .eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.role-card,
.feature-card,
.screen-slide,
.demo-card,
.admin-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(23, 44, 67, 0.1);
  backdrop-filter: blur(18px);
}

.role-card {
  padding: 22px;
  border-radius: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(23, 44, 67, 0.14);
}

.role-card p,
.feature-card p,
.screen-slide p {
  color: var(--muted);
  font-weight: 620;
}

.features-section {
  padding-top: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 218px;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
}

.route-planner-section {
  display: block;
}

.route-planner-copy {
  min-width: 0;
}

.route-planner-copy h2 {
  max-width: 820px;
}

.route-planner-copy > p:not(.eyebrow) {
  max-width: 860px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 620;
}

.route-planner-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.route-planner-points li {
  padding: 18px;
}

.route-planner-points li:first-child {
  padding-left: 0;
}

.route-planner-points li + li {
  border-left: 1px solid var(--line);
}

.route-planner-points strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.route-planner-points span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
}

.route-planner-visual {
  min-width: 0;
  margin: 30px 0 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 58px rgba(23, 44, 67, 0.12);
}

.web-admin-coverflow.route-planner-coverflow {
  width: 100%;
  border-radius: 6px;
}

.screen-coverflow.web-admin-coverflow.route-planner-coverflow::before {
  inset: 0 0 48px;
  border-radius: 6px;
}

.screen-coverflow.web-admin-coverflow.route-planner-coverflow::after {
  bottom: 48px;
}

.web-admin-coverflow.route-planner-coverflow .coverflow-track {
  aspect-ratio: 16 / 9;
}

.web-admin-coverflow.route-planner-coverflow .coverflow-card img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  object-position: top left;
}

.feature-card h3,
.feature-card p,
.feature-card .feature-index {
  position: relative;
  z-index: 1;
}

.feature-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.role-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--blue-soft);
}

.role-icon::before,
.role-icon::after {
  content: "";
  position: absolute;
}

.bus-icon {
  background: #e8f2ff;
}

.bus-icon::before {
  left: 50%;
  top: 50%;
  width: 28px;
  height: 20px;
  border: 3px solid var(--blue);
  border-radius: 7px;
  transform: translate(-50%, -58%);
}

.bus-icon::after {
  left: 50%;
  top: 32px;
  width: 20px;
  height: 4px;
  border-left: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  transform: translateX(-50%);
}

.hostess-icon {
  background: #fff2c9;
}

.hostess-icon::before {
  left: 50%;
  top: 11px;
  width: 22px;
  height: 22px;
  border: 3px solid #c78a00;
  border-radius: 50%;
  transform: translateX(-50%);
}

.hostess-icon::after {
  left: 50%;
  top: 27px;
  width: 28px;
  height: 12px;
  border: 3px solid #c78a00;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  transform: translateX(-50%);
}

.parent-icon {
  background: #dff8f6;
}

.parent-icon::before {
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 3px solid var(--teal);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.parent-icon::after {
  left: 50%;
  top: 50%;
  width: 12px;
  height: 8px;
  border-left: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
  transform: translate(-50%, -18%);
}

.admin-icon {
  background: #eef2f7;
}

.admin-icon::before {
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #53657a;
  border-radius: 7px;
  transform: translate(-50%, -50%);
}

.admin-icon::after {
  left: 50%;
  top: 50%;
  width: 12px;
  height: 14px;
  border-top: 3px solid #53657a;
  border-bottom: 3px solid #53657a;
  transform: translate(-50%, -50%);
}

.screen-carousel {
  position: relative;
  isolation: isolate;
}

.screen-carousel::before {
  content: "";
  position: absolute;
  inset: 86px 10px 16px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(214, 226, 235, 0.6);
  border-radius: 30px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(180deg, rgba(232, 242, 255, 0.2), rgba(255, 255, 255, 0.08));
  box-shadow: 0 24px 70px rgba(23, 44, 67, 0.07);
  opacity: 0.9;
  animation: screenFieldMove 14s ease-in-out infinite alternate;
}

.screen-carousel-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.screen-role-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.screen-tab {
  position: relative;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.screen-tab:hover {
  transform: translateY(-1px);
  color: var(--blue);
  background: #fff;
}

.screen-tab:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.24);
  outline-offset: 3px;
}

.screen-tab.is-active {
  border-color: rgba(31, 76, 130, 0.18);
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(31, 76, 130, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.screen-tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  animation: tabSignal 1.2s ease-in-out infinite alternate;
}

.screen-stage {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 22px 70px rgba(23, 44, 67, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.screen-stage::before,
.screen-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.screen-stage::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(250deg, rgba(232, 242, 255, 0.4), transparent 46%);
  opacity: 0.76;
  transform: translateX(-2%);
  animation: screenAmbient 10s ease-in-out infinite alternate;
}

.screen-stage::after {
  inset: 1px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: inherit;
}

.screen-slide {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity 120ms ease-out;
}

.screen-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.8) 48%, rgba(232, 242, 255, 0.26)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  background-size: auto, 220% 100%;
  transform: translateX(-14%);
  transition:
    opacity 420ms ease,
    transform 680ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.screen-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.screen-slide.is-active::before {
  opacity: 1;
  transform: translateX(0);
}

.screen-slide > .screen-slide-copy,
.screen-slide > .screen-phone-strip,
.screen-slide > .screen-coverflow,
.screen-slide > .admin-mini-mock {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: none;
  transition: opacity 120ms ease-out;
}

.screen-slide.is-active > .screen-slide-copy,
.screen-slide.is-active > .screen-phone-strip,
.screen-slide.is-active > .screen-coverflow,
.screen-slide.is-active > .admin-mini-mock {
  opacity: 1;
}

.screen-slide-copy {
  position: relative;
  z-index: 2;
}

.screen-slide-copy h3 {
  max-width: 430px;
  font-size: 28px;
}

.screen-slide-copy p {
  max-width: 430px;
}

.screen-point-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.screen-point-list li {
  padding: 8px 10px;
  border: 1px solid rgba(214, 226, 235, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #34475d;
  font-size: 13px;
  font-weight: 850;
}

.coverflow-screen-slide {
  display: block;
  min-height: 880px;
  padding: 18px 18px 34px;
}

.coverflow-screen-slide > .screen-slide-copy,
.coverflow-screen-slide > .admin-mini-mock {
  display: none;
}

.screen-coverflow {
  --coverflow-card-width: clamp(246px, 25vw, 330px);
  position: relative;
  display: grid;
  min-height: 850px;
  place-items: center;
  outline: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  overflow: hidden;
  border-radius: 34px;
}

.screen-coverflow::before {
  content: "";
  position: absolute;
  inset: 18px 18px 118px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 40%, rgba(14, 165, 168, 0.13), transparent 42%),
    radial-gradient(circle at 18% 58%, rgba(31, 76, 130, 0.12), transparent 34%),
    radial-gradient(circle at 82% 54%, rgba(31, 76, 130, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 255, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  pointer-events: none;
}

.screen-coverflow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 132px;
  width: min(58vw, 700px);
  height: 72px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(23, 44, 67, 0.15), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.screen-coverflow.is-dragging {
  cursor: grabbing;
}

.coverflow-track {
  position: relative;
  z-index: 2;
  width: min(100%, 1030px);
  height: 100%;
}

.coverflow-card {
  position: absolute;
  left: 50%;
  top: 45%;
  width: var(--coverflow-card-width);
  margin: 0;
  transition:
    opacity 420ms ease,
    filter 420ms ease,
    transform 620ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.coverflow-card img {
  display: block;
  width: 100%;
  border-radius: 38px;
  background: #eaf2f7;
  box-shadow:
    0 42px 90px rgba(23, 44, 67, 0.24),
    0 12px 32px rgba(31, 76, 130, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.coverflow-card.is-active {
  cursor: default;
}

.screen-coverflow:focus-visible {
  outline: 3px solid rgba(14, 165, 168, 0.24);
  outline-offset: 3px;
}

.coverflow-button {
  display: none !important;
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(214, 226, 235, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #123d67;
  box-shadow: 0 16px 38px rgba(23, 44, 67, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.coverflow-button:hover {
  background: #ffffff;
  box-shadow: 0 22px 46px rgba(23, 44, 67, 0.16);
  transform: translateY(-50%) scale(1.06);
}

.coverflow-button.prev { left: clamp(16px, 4vw, 54px); }
.coverflow-button.next { right: clamp(16px, 4vw, 54px); }

.coverflow-button svg {
  width: 22px;
  height: 22px;
  stroke-width: 3;
}

.coverflow-controls {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 30px;
  display: grid;
  gap: 12px;
  justify-items: center;
  transform: translateX(-50%);
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.coverflow-dots {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
}

.coverflow-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 61, 103, 0.28);
  cursor: pointer;
  padding: 0;
  transition: transform 220ms ease, width 220ms ease, background 220ms ease;
}

.coverflow-dot.is-active {
  width: 28px;
  background: #123d67;
}

.coverflow-count {
  color: rgba(18, 61, 103, 0.62);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.coverflow-count strong {
  color: #123d67;
}

.screen-phone-strip {
  position: relative;
  display: flex;
  min-height: 438px;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.screen-phone-strip::before {
  content: "";
  position: absolute;
  inset: 54px 24px 40px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(248, 252, 253, 0.92), rgba(232, 242, 255, 0.36)),
    linear-gradient(90deg, rgba(14, 165, 168, 0.08), rgba(31, 76, 130, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.mini-phone {
  position: relative;
  z-index: 1;
  aspect-ratio: 9 / 19.7;
}

.primary-phone {
  width: min(252px, 48%);
  transform: rotate(-2deg);
}

.secondary-phone {
  width: min(222px, 43%);
  margin-left: -42px;
  opacity: 0.94;
  transform: translateY(24px) rotate(3deg);
}

.screen-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.admin-screen-slide {
  grid-template-columns: minmax(270px, 0.58fr) minmax(560px, 1.12fr);
}

.admin-mini-mock {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(205, 218, 229, 0.95);
  border-radius: 24px;
  background: #f8fbfd;
  box-shadow: 0 24px 60px rgba(23, 44, 67, 0.12);
}

.admin-dashboard-mock {
  background:
    linear-gradient(180deg, #f8fbfd 0%, #eef5f8 100%);
}

.admin-browser-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #dce7ef;
  background: #eef5f8;
}

.admin-browser-bar > span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fa1b3;
}

.admin-browser-bar strong {
  margin-left: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.admin-browser-bar em {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.admin-dashboard-layout {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 386px;
}

.admin-dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px 12px;
  border-right: 1px solid #dce7ef;
  background: #fff;
}

.admin-dashboard-sidebar b {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.admin-dashboard-sidebar span {
  padding: 8px 9px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.admin-dashboard-sidebar .active {
  background: var(--blue);
  color: #fff;
}

.admin-dashboard-main {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.admin-dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dce7ef;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 168, 0.1), transparent 34%),
    #fff;
}

.admin-dashboard-topline small,
.admin-route-insight small,
.admin-action-row small {
  display: block;
  color: var(--muted);
  font-weight: 760;
}

.admin-dashboard-topline small {
  margin-bottom: 2px;
  color: var(--teal);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dashboard-topline strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
}

.admin-live-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(22, 164, 108, 0.24);
  border-radius: 999px;
  background: rgba(22, 164, 108, 0.08);
  color: #116849;
  font-size: 11px;
  font-weight: 950;
}

.admin-live-pill i,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.admin-live-pill i,
.status-dot.success {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 164, 108, 0.12);
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-kpi-card {
  min-height: 82px;
  padding: 14px;
  border: 1px solid #dce7ef;
  border-radius: 16px;
  background: #fff;
}

.admin-kpi-card span,
.admin-insight-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.admin-route-insight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(14, 165, 168, 0.24);
  border-radius: 18px;
  background: #f0fbfa;
}

.admin-insight-label {
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: 10px;
  text-transform: uppercase;
}

.admin-route-insight strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.14;
}

.admin-mini-chart {
  display: flex;
  height: 76px;
  align-items: end;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(214, 226, 235, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-mini-chart span {
  width: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.admin-dashboard-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-action-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dce7ef;
  border-radius: 16px;
  background: #fff;
}

.admin-action-row strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.18;
}

.admin-action-row small {
  margin-top: 3px;
  font-size: 11px;
}

.status-dot.warning {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(244, 188, 45, 0.16);
}

.admin-panel {
  display: block;
  padding: 10px 10px 12px;
  border-radius: 32px;
  overflow: hidden;
}

.web-admin-coverflow {
  --coverflow-card-width: 100%;
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  place-items: start center;
  width: 100%;
  min-height: 0;
  border-radius: 26px;
}

.screen-coverflow.web-admin-coverflow::before {
  inset: 0 0 52px;
  border-radius: 28px;
}

.screen-coverflow.web-admin-coverflow::after {
  bottom: 52px;
  height: 40px;
}

.web-admin-coverflow .coverflow-track {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
}

.web-admin-coverflow .coverflow-card {
  top: 50%;
}

.web-admin-coverflow .coverflow-card img {
  aspect-ratio: 16 / 7.7;
  height: auto;
  overflow: hidden;
  border-radius: 20px;
  object-fit: cover;
  object-position: top left;
}

.web-admin-coverflow .coverflow-controls {
  position: static;
  left: auto;
  bottom: auto;
  gap: 8px;
  margin: -2px 0 0;
  transform: none;
}

.admin-mock {
  overflow: hidden;
  border: 1px solid #cddae5;
  border-radius: 24px;
  background: #f8fbfd;
  box-shadow: 0 24px 60px rgba(23, 44, 67, 0.12);
}

.mock-topbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #dce7ef;
  background: #eef5f8;
}

.mock-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #8fa1b3;
}

.mock-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 270px;
}

.mock-layout aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid #dce7ef;
  background: #fff;
}

.mock-layout aside b {
  margin-bottom: 10px;
  color: var(--blue);
}

.mock-layout aside span {
  padding: 8px 9px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 760;
}

.mock-layout .mock-active {
  background: var(--blue);
  color: #fff;
}

.mock-content {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stat-row span,
.mock-route {
  border: 1px solid #dce7ef;
  border-radius: 16px;
  background: #fff;
}

.mock-stat-row span {
  padding: 14px;
  color: var(--muted);
  font-weight: 760;
}

.mock-stat-row b {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.mock-route {
  padding: 16px;
}

.mock-route strong,
.mock-route small {
  display: block;
}

.mock-route small {
  color: var(--muted);
  font-weight: 700;
}

.mock-route.accent {
  border-color: rgba(14, 165, 168, 0.3);
  background: #f0fbfa;
}

.demo-section {
  padding-bottom: 96px;
}

.demo-card {
  padding: clamp(26px, 5vw, 54px);
  border-radius: 34px;
}

.demo-steps {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: demo;
}

.demo-steps li {
  position: relative;
  min-height: 48px;
  padding: 12px 14px 12px 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: #33465c;
  font-weight: 750;
}

.demo-steps li::before {
  counter-increment: demo;
  content: counter(demo);
  position: absolute;
  left: 14px;
  top: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  color: var(--muted);
  font-weight: 750;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 950;
}

.site-footer a {
  color: var(--blue);
  font-weight: 900;
}

.policy-header {
  position: relative;
}

.policy-hero {
  padding: 96px 0 34px;
}

.policy-hero h1 {
  max-width: 900px;
  font-size: clamp(52px, 8vw, 96px);
}

.policy-hero p {
  max-width: 820px;
  color: #31435a;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 650;
}

.policy-hero span {
  display: inline-flex;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.policy-content {
  display: grid;
  gap: 14px;
  padding: 24px 0 96px;
}

.policy-block {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(23, 44, 67, 0.08);
  padding: clamp(20px, 4vw, 34px);
  backdrop-filter: blur(18px);
}

.policy-block h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
}

.policy-block p,
.policy-block li {
  color: #33465c;
  font-size: 17px;
  font-weight: 650;
}

.policy-block p:last-child,
.policy-block ul:last-child,
.policy-block ol:last-child {
  margin-bottom: 0;
}

.policy-block ul,
.policy-block ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.policy-block a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.video-demo-block video {
  width: 100%;
  max-width: 420px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1726;
}

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .store-dock {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(10, 20, 34, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .experience-switch,
:root[data-theme="dark"] .screen-tab,
:root[data-theme="dark"] .button.secondary,
:root[data-theme="dark"] .policy-hero span {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(28, 41, 61, 0.86);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .experience-switch:hover,
:root[data-theme="dark"] .screen-tab:hover {
  border-color: rgba(127, 176, 255, 0.42);
  background: #1c2b41;
  color: var(--blue);
}

:root[data-theme="dark"] .top-nav a:hover {
  background: rgba(127, 176, 255, 0.15);
  color: var(--blue);
}

:root[data-theme="dark"] .top-nav a[aria-current="true"],
:root[data-theme="dark"] .button.primary,
:root[data-theme="dark"] .screen-tab.is-active,
:root[data-theme="dark"] .admin-dashboard-sidebar .active,
:root[data-theme="dark"] .mock-layout .mock-active,
:root[data-theme="dark"] .demo-steps li::before {
  background: #245bb5;
  color: #fff;
}

:root[data-theme="dark"] .gate-option {
  border-color: rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(135deg, rgba(20, 31, 48, 0.94), rgba(18, 45, 68, 0.7)),
    rgba(15, 23, 36, 0.9);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .gate-option:hover {
  border-color: rgba(127, 176, 255, 0.36);
  background: #17263b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

:root[data-theme="dark"] .hero::before {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(135deg, rgba(20, 31, 48, 0.72), rgba(21, 66, 75, 0.32)),
    rgba(8, 17, 29, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .hero-lead,
:root[data-theme="dark"] .policy-hero p,
:root[data-theme="dark"] .policy-block p,
:root[data-theme="dark"] .policy-block li,
:root[data-theme="dark"] .demo-steps li,
:root[data-theme="dark"] .screen-point-list li {
  color: #bcc7d9;
}

:root[data-theme="dark"] .phone-frame {
  border-color: rgba(148, 163, 184, 0.26);
  background: #101c2c;
}

:root[data-theme="dark"] .trust-strip div,
:root[data-theme="dark"] .demo-steps li {
  border-color: var(--line);
  background: rgba(20, 31, 48, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .role-card,
:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .screen-slide,
:root[data-theme="dark"] .demo-card,
:root[data-theme="dark"] .admin-panel,
:root[data-theme="dark"] .route-planner-visual,
:root[data-theme="dark"] .policy-block {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .bus-icon {
  background: rgba(127, 176, 255, 0.16);
}

:root[data-theme="dark"] .hostess-icon {
  background: rgba(247, 202, 88, 0.16);
}

:root[data-theme="dark"] .parent-icon {
  background: rgba(94, 224, 217, 0.14);
}

:root[data-theme="dark"] .admin-icon {
  background: rgba(148, 163, 184, 0.14);
}

:root[data-theme="dark"] .admin-icon::before,
:root[data-theme="dark"] .admin-icon::after {
  border-color: #9aa8bf;
}

:root[data-theme="dark"] .screen-carousel::before {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(115deg, rgba(28, 41, 61, 0.58), transparent 38%),
    linear-gradient(180deg, rgba(24, 56, 86, 0.26), rgba(8, 17, 29, 0.12));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .screen-stage {
  background: rgba(9, 18, 31, 0.56);
  box-shadow:
    0 24px 76px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .screen-stage::before,
:root[data-theme="dark"] .screen-slide::before {
  background:
    linear-gradient(115deg, rgba(20, 31, 48, 0.96), rgba(16, 28, 44, 0.84) 48%, rgba(21, 57, 80, 0.38)),
    linear-gradient(90deg, transparent, rgba(127, 176, 255, 0.06), transparent);
}

:root[data-theme="dark"] .screen-stage::after {
  border-color: rgba(148, 163, 184, 0.14);
}

:root[data-theme="dark"] .screen-point-list li {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(28, 41, 61, 0.72);
}

:root[data-theme="dark"] .screen-coverflow::before {
  background:
    radial-gradient(circle at 50% 40%, rgba(42, 169, 169, 0.16), transparent 42%),
    radial-gradient(circle at 18% 58%, rgba(73, 118, 196, 0.18), transparent 34%),
    radial-gradient(circle at 82% 54%, rgba(73, 118, 196, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(20, 31, 48, 0.88), rgba(21, 50, 73, 0.52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .screen-coverflow::after {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42), transparent 70%);
}

:root[data-theme="dark"] .coverflow-card img {
  background: #101c2c;
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.5),
    0 12px 32px rgba(5, 12, 24, 0.38),
    0 0 0 1px rgba(148, 163, 184, 0.22);
}

:root[data-theme="dark"] .coverflow-dot {
  background: rgba(154, 168, 191, 0.42);
}

:root[data-theme="dark"] .coverflow-dot.is-active {
  background: var(--blue);
}

:root[data-theme="dark"] .coverflow-count,
:root[data-theme="dark"] .coverflow-count strong {
  color: #a9c8fa;
}

:root[data-theme="dark"] .screen-phone-strip::before {
  background:
    linear-gradient(135deg, rgba(20, 31, 48, 0.92), rgba(21, 50, 73, 0.42)),
    linear-gradient(90deg, rgba(94, 224, 217, 0.08), rgba(127, 176, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .admin-mini-mock,
:root[data-theme="dark"] .admin-mock,
:root[data-theme="dark"] .admin-dashboard-mock {
  border-color: #334155;
  background: linear-gradient(180deg, #111c2d 0%, #0c1626 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36);
}

:root[data-theme="dark"] .admin-browser-bar,
:root[data-theme="dark"] .mock-topbar {
  border-color: #334155;
  background: #18263a;
}

:root[data-theme="dark"] .admin-dashboard-sidebar,
:root[data-theme="dark"] .mock-layout aside,
:root[data-theme="dark"] .admin-dashboard-topline,
:root[data-theme="dark"] .admin-kpi-card,
:root[data-theme="dark"] .admin-action-row,
:root[data-theme="dark"] .mock-stat-row span,
:root[data-theme="dark"] .mock-route,
:root[data-theme="dark"] .admin-mini-chart {
  border-color: #334155;
  background: #141f30;
}

:root[data-theme="dark"] .admin-route-insight,
:root[data-theme="dark"] .mock-route.accent {
  border-color: rgba(94, 224, 217, 0.24);
  background: rgba(21, 80, 79, 0.26);
}

:root[data-theme="dark"] .admin-insight-label {
  background: #1c2b41;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  animation: revealAuto 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 900ms forwards;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes gateOptionSpin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes screenFieldMove {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes screenAmbient {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2%, -2%, 0) scale(1.03);
  }
}

@keyframes tabSignal {
  from {
    opacity: 0.54;
    transform: scaleX(0.7);
  }

  to {
    opacity: 0.96;
    transform: scaleX(1);
  }
}

@keyframes revealAuto {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 721px) and (max-width: 1380px) {
  .store-dock {
    width: min(1120px, calc(100% - 32px));
    grid-template-columns: repeat(2, minmax(0, 220px)) minmax(220px, 1fr);
  }

  .store-link {
    min-width: 0;
    justify-content: center;
    padding: 9px 13px;
  }

  .store-link:hover {
    transform: translateY(-2px);
  }

  .store-dock-note {
    max-width: none;
    margin-bottom: 1px;
  }
}

@media (min-width: 1240px) {
  body:not(.experience-pending) {
    padding-right: 202px;
  }

  .store-dock {
    position: fixed;
    z-index: 40;
    top: 50%;
    right: max(14px, env(safe-area-inset-right));
    width: 188px;
    grid-template-columns: 1fr;
    margin: 0;
    transform: translateY(-50%);
  }

  .store-link {
    min-width: 164px;
  }

  .store-link:hover {
    transform: translateX(-3px);
  }

  .store-dock-note {
    max-width: 164px;
    margin: 1px 3px 3px;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 46px 20px 30px;
  }

  .hero::before {
    inset: 12px 0 18px 0;
    border-radius: 32px;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .main-phone {
    left: 18%;
    right: auto;
    top: 0;
    width: min(248px, 42vw);
  }

  .side-phone {
    right: 4%;
    left: auto;
    top: 0;
    width: min(248px, 42vw);
  }

  .role-grid,
  .feature-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    margin-top: 18px;
    margin-bottom: 76px;
  }

  .screen-slide,
  .admin-screen-slide {
    grid-template-columns: 1fr;
  }

  .screen-coverflow {
    --coverflow-card-width: clamp(226px, 38vw, 308px);
    min-height: 760px;
  }

  .web-admin-coverflow {
    --coverflow-card-width: 100%;
    min-height: 0;
  }

  .web-admin-coverflow .coverflow-track {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .coverflow-button {
    width: 48px;
    height: 48px;
  }

  .coverflow-track {
    height: 720px;
  }

  .screen-phone-strip {
    min-height: 390px;
  }

  .admin-dashboard-layout {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .admin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-panel {
    padding: 10px 10px 12px;
  }
}

@media (max-width: 720px) {
  .store-dock {
    width: min(420px, calc(100% - 20px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 22px;
    padding: 7px;
    border-radius: 20px;
  }

  .store-link {
    min-width: 0;
    min-height: 54px;
    justify-content: center;
    padding: 8px 10px;
  }

  .store-link:hover {
    transform: translateY(-2px);
  }

  .store-link-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .store-link-copy small {
    display: none;
  }

  .store-link-copy strong {
    font-size: 14px;
  }

  .store-dock-note {
    grid-column: 1 / -1;
    max-width: none;
    margin-bottom: 1px;
  }

  .section-shell[id] {
    scroll-margin-top: 178px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 12px);
    gap: 12px;
    padding: 10px;
    border-radius: 24px;
  }

  .brand {
    min-width: 146px;
    padding-right: 12px;
  }

  .header-controls {
    width: 100%;
    align-items: flex-start;
    gap: 6px;
  }

  .site-header .theme-toggle {
    width: 40px;
    min-height: 40px;
    padding: 9px;
  }

  .site-header .theme-toggle [data-theme-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .experience-switch {
    min-height: 40px;
    padding: 9px 11px;
  }

  .experience-switch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .experience-switch-short {
    display: inline;
  }

  .top-nav {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 9px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(64px, 22vw, 94px);
  }

  .experience-gate {
    align-items: start;
    padding: 28px 0;
  }

  .gate-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .gate-options {
    grid-template-columns: 1fr;
  }

  .gate-option {
    min-height: auto;
    padding: 22px;
  }

  .hero-showcase {
    min-height: 500px;
  }

  .main-phone {
    left: 4%;
    right: auto;
    top: 0;
    width: min(214px, 48vw);
  }

  .side-phone {
    right: 0;
    left: auto;
    top: 10px;
    bottom: auto;
    width: min(206px, 46vw);
  }

  .role-grid,
  .feature-grid,
  .trust-strip,
  .mock-stat-row {
    grid-template-columns: 1fr;
  }

  .route-planner-section {
    padding: 56px 0;
  }

  .route-planner-points {
    grid-template-columns: 1fr;
  }

  .route-planner-points li,
  .route-planner-points li:first-child {
    padding: 15px 0;
  }

  .route-planner-points li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .screen-carousel-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .screen-tab {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .screen-slide {
    min-height: auto;
    padding: 20px;
  }

  .coverflow-screen-slide {
    min-height: 710px;
    padding: 22px 8px 48px;
  }

  .screen-coverflow {
    --coverflow-card-width: clamp(198px, 58vw, 246px);
    min-height: 628px;
  }

  .web-admin-coverflow {
    --coverflow-card-width: 100%;
    min-height: 0;
    gap: 8px;
  }

  .screen-coverflow.web-admin-coverflow::before {
    inset: 0 0 44px;
  }

  .screen-coverflow.web-admin-coverflow::after {
    bottom: 44px;
    height: 30px;
  }

  .web-admin-coverflow .coverflow-track {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .web-admin-coverflow .coverflow-card img {
    border-radius: 16px;
  }

  .web-admin-coverflow .coverflow-controls {
    margin-top: -2px;
  }

  .screen-coverflow::before {
    inset: 16px 8px 74px;
  }

  .coverflow-button {
    display: none;
  }

  .coverflow-controls {
    bottom: 18px;
  }

  .coverflow-track {
    height: 594px;
  }

  .coverflow-card img {
    border-radius: 30px;
  }

  .screen-slide-copy h3 {
    font-size: 22px;
  }

  .screen-phone-strip {
    min-height: 330px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .screen-phone-strip::before {
    inset: 38px 4px 28px;
  }

  .primary-phone {
    width: 190px;
  }

  .secondary-phone {
    width: 166px;
    margin-left: -56px;
    transform: translateY(22px) rotate(3deg);
  }

  .admin-browser-bar em {
    display: none;
  }

  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #dce7ef;
  }

  .admin-dashboard-sidebar b {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .admin-dashboard-sidebar span {
    padding: 7px 6px;
    text-align: center;
    font-size: 10px;
  }

  .admin-dashboard-main {
    padding: 12px;
  }

  .admin-dashboard-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-kpi-grid,
  .admin-dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .admin-route-insight {
    grid-template-columns: 1fr;
  }

  .admin-mini-chart {
    height: 58px;
  }

  .mock-layout {
    grid-template-columns: 1fr;
  }

  .mock-layout aside {
    border-right: 0;
    border-bottom: 1px solid #dce7ef;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
