:root {
  --bg: #f4f5f7;
  --text: #101114;
  --muted: #5d6470;
  --line: rgba(16, 17, 20, 0.08);
  --blue: #1473ff;
  --blue-deep: #0b57d0;
  --shadow: 0 18px 45px rgba(17, 21, 33, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --max: 1420px;
  --nav-h: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(33, 118, 255, 0.10), transparent 22%),
    radial-gradient(circle at top right, rgba(255, 95, 31, 0.08), transparent 18%),
    linear-gradient(180deg, #f8f8fa 0%, #f0f2f5 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #697180;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ac0ff, #1467ff);
  box-shadow: 0 0 0 8px rgba(20, 115, 255, 0.08);
}

.announcement {
  padding: 14px 16px;
  font-size: 0.95rem;
  text-align: center;
  color: #48505d;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(16, 17, 20, 0.05);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 60;
}

.announcement a {
  color: var(--blue-deep);
  font-weight: 700;
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav-h);
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-embed {
  flex: 0 0 auto;
  min-width: 0;
  align-items: center;
}

.brand-frame {
  display: block;
  width: 290px;
  height: 58px;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), transparent 30%),
    linear-gradient(135deg, #0f62ff, #1dc5ff 55%, #5affc1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(20, 115, 255, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #525966;
  font-size: 0.94rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #edf1f8;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #2681ff 0%, #1265f2 100%);
  box-shadow: 0 12px 24px rgba(20, 115, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 17, 20, 0.08);
}

.button-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

main {
  padding: 24px 0 48px;
}

.hero-stack {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 760px;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.panel-light {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.74)),
    linear-gradient(135deg, #ecf2ff 0%, #f8fafc 32%, #f3f4f6 100%);
}

.panel-light::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 158, 255, 0.20), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 179, 95, 0.16), transparent 18%),
    radial-gradient(circle at 50% 110%, rgba(52, 96, 255, 0.08), transparent 32%);
}

.panel-dark {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(13,14,20,0.7), rgba(8,8,12,0.92)),
    radial-gradient(circle at top, rgba(68, 116, 255, 0.30), transparent 24%),
    linear-gradient(135deg, #0d1018 0%, #05060b 100%);
}

.panel-dark::after {
  background:
    radial-gradient(circle at 18% 20%, rgba(60, 173, 255, 0.24), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(255, 72, 120, 0.20), transparent 20%),
    linear-gradient(180deg, transparent 45%, rgba(255,255,255,0.02) 100%);
}

.panel-aurora {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 9, 16, 0.52), rgba(7, 9, 16, 0.82)),
    radial-gradient(circle at 15% 10%, rgba(41, 203, 255, 0.34), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(97, 87, 255, 0.35), transparent 22%),
    linear-gradient(135deg, #070a12 0%, #0b1227 52%, #070a12 100%);
}

.panel-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: inherit;
  padding: 86px 34px 42px;
  text-align: center;
}

.panel-copy {
  max-width: 760px;
}

.panel-title {
  margin: 18px 0 14px;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 800;
}

#field-use .panel-title {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
}

.panel-aurora .panel-title {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
}

.panel-subtitle {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.45;
  opacity: 0.82;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.panel-note {
  margin-top: 16px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
}

.panel-light .panel-note {
  color: #68707d;
}

.hero-visual {
  position: relative;
  width: min(1100px, 100%);
  min-height: 360px;
  margin-top: 36px;
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-media-frame {
  width: min(760px, 100%);
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.58)),
    linear-gradient(135deg, rgba(20,115,255,0.08), rgba(84,215,255,0.12));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 24px 54px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.hero-media-image {
  display: block;
  width: 100%;
  max-width: 760px;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.hero-dual-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.hero-dual-card {
  padding: 14px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    rgba(7, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-dual-image {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.module-carousel {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-inline: 62px;
}

.module-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 24vw);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 2px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.module-carousel-track::-webkit-scrollbar {
  display: none;
}

.module-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(11, 15, 27, 0.72);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.module-carousel-arrow:hover,
.module-carousel-arrow:focus-visible {
  background: rgba(20, 115, 255, 0.88);
}

.module-carousel-arrow:disabled {
  opacity: 0.38;
  cursor: default;
}

.module-carousel-arrow span {
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.module-carousel-arrow.is-prev {
  left: 0;
}

.module-carousel-arrow.is-next {
  right: 0;
}

.showcase-card.hero-module-card {
  min-height: 280px;
  padding: 22px;
  text-align: left;
  scroll-snap-align: start;
}

.showcase-card.hero-module-card .cta-row {
  justify-content: center;
  margin-top: 18px;
}

.showcase-card.hero-module-card .button {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.22);
}

.device-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 360px;
}

.phone {
  position: relative;
  border-radius: 44px;
  background: linear-gradient(180deg, #111725 0%, #0b0e15 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255,255,255,0.42), transparent 18%),
    linear-gradient(180deg, rgba(15, 120, 255, 0.52), rgba(15, 18, 32, 0.98) 78%);
}

.phone::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 14px;
  border-radius: 999px;
  background: rgba(5, 8, 14, 0.88);
}

.phone.large {
  width: clamp(190px, 18vw, 270px);
  height: clamp(390px, 36vw, 560px);
  transform: translateY(8px);
}

.phone.small {
  width: clamp(150px, 15vw, 220px);
  height: clamp(320px, 31vw, 470px);
}

.phone.tint-silver::before {
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.56), transparent 18%),
    linear-gradient(180deg, rgba(205, 224, 255, 0.90), rgba(36, 47, 88, 1) 78%);
}

.phone.tint-gold::before {
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.50), transparent 18%),
    linear-gradient(180deg, rgba(255, 208, 150, 0.92), rgba(56, 30, 18, 1) 76%);
}

.phone.tint-cyan::before {
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.46), transparent 18%),
    linear-gradient(180deg, rgba(84, 246, 244, 0.84), rgba(9, 44, 53, 1) 76%);
}

.camera-stack {
  position: absolute;
  top: 52px;
  left: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 74px;
}

.camera-stack span {
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 40% 35%, rgba(72, 102, 255, 0.85), rgba(11, 17, 33, 0.95) 55%),
    #05070d;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.04);
}

.laptop {
  width: min(930px, 94%);
  margin: 24px auto 0;
  position: relative;
}

.laptop-screen {
  aspect-ratio: 16 / 10;
  border-radius: 28px 28px 18px 18px;
  padding: 18px;
  background: linear-gradient(180deg, #171820, #07070b);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.laptop-screen::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 24%, rgba(42, 211, 255, 0.90), transparent 18%),
    radial-gradient(circle at 76% 20%, rgba(130, 102, 255, 0.76), transparent 22%),
    radial-gradient(circle at 50% 60%, rgba(255, 84, 164, 0.30), transparent 24%),
    linear-gradient(135deg, #041421 0%, #0d1430 48%, #1c0f25 100%);
}

.laptop-base {
  width: 112%;
  height: 22px;
  margin: -2px auto 0;
  transform: translateX(-5.6%);
  border-radius: 0 0 44px 44px;
  background: linear-gradient(180deg, #dce2ed, #aab5c7);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.tablet-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
}

.tablet {
  position: relative;
  width: min(980px, 96%);
  aspect-ratio: 16 / 10;
  border-radius: 42px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(3, 7, 16, 0.48);
  transform: rotate(-6deg);
}

.tablet::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 24%, rgba(90, 246, 255, 0.8), transparent 18%),
    radial-gradient(circle at 70% 24%, rgba(114, 104, 255, 0.7), transparent 18%),
    linear-gradient(135deg, #081224 0%, #0d1d44 45%, #0f1328 100%);
}

.tablet::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 14px;
  border-radius: 999px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 9, 15, 0.92);
}

.tablet-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 540px;
  height: 540px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 70px rgba(255,255,255,0.02), 0 0 0 150px rgba(255,255,255,0.015);
}

.section {
  margin-top: 20px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 52px 30px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

#grid .promo-card {
  min-height: 420px;
  padding-bottom: 36px;
}

#grid .promo-card .cta-row {
  margin-top: 22px;
}

.promo-card.light {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.78)),
    linear-gradient(135deg, #eff4ff, #f7f8fa);
  color: var(--text);
}

.promo-card.dark {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8,8,12,0.68), rgba(8,8,12,0.9)),
    linear-gradient(135deg, #12141d, #06070b);
}

.promo-card.sunset {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(35,14,10,0.30), rgba(12,8,10,0.72)),
    linear-gradient(135deg, #ff9d59 0%, #f04e53 42%, #5615b5 100%);
}

.promo-card .panel-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-top: 14px;
  margin-bottom: 10px;
}

.promo-card .panel-subtitle {
  max-width: 560px;
  font-size: 1.08rem;
}

.promo-art {
  position: absolute;
  inset: auto 0 0 0;
  min-height: 300px;
}

.ring-grid {
  position: absolute;
  inset: auto 0 26px 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.ring {
  width: clamp(72px, 8vw, 110px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.08));
  border: 14px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.06), 0 16px 34px rgba(0,0,0,0.22);
  transform: rotate(var(--r, 0deg));
}

.watch-face {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(360px, 70%);
  aspect-ratio: 1;
  border-radius: 42%;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 198, 255, 0.78), transparent 18%),
    conic-gradient(from 180deg, #ff9a44, #ff4d6d, #6f59ff, #27ccff, #ff9a44);
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.watch-face::before {
  content: "08 24";
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 36%;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.86), rgba(6, 8, 13, 0.98));
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  padding-bottom: 18%;
}

.credit-panel {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%) rotate(-8deg);
  width: min(420px, 78%);
  aspect-ratio: 1.58 / 1;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.12)),
    linear-gradient(120deg, #111827, #3054ff 70%, #7ad8ff);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 26px 54px rgba(0,0,0,0.24);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.credit-panel strong {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.credit-panel span {
  display: block;
  color: rgba(255,255,255,0.76);
  font-size: 0.95rem;
}

.showcase {
  margin-top: 18px;
  padding: 76px 0 14px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.74)),
    linear-gradient(135deg, #eef2fb 0%, #f8f9fb 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-heading {
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
  margin: 0 auto 34px;
}

.section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.section-heading p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #626977;
}

.showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 32vw);
  gap: 18px;
  overflow-x: auto;
  padding: 0 24px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-card {
  position: relative;
  min-height: 520px;
  padding: 28px;
  border-radius: 30px;
  color: #fff;
  scroll-snap-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8,9,15,0.24), rgba(8,9,15,0.62));
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.26), transparent 18%),
    linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.showcase-card h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.showcase-card p {
  margin: 14px 0 0;
  max-width: 26ch;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

.showcase-sculpture {
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  opacity: 0.92;
}

.orb,
.bar,
.beam {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
}

.orb {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.92), rgba(255,255,255,0.08) 54%, transparent 70%);
  box-shadow: 0 24px 44px rgba(0,0,0,0.16);
}

.bar {
  width: 70%;
  height: 20px;
  left: 15%;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.62), rgba(255,255,255,0.04));
}

.beam {
  width: 44px;
  height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.72), rgba(255,255,255,0.12));
  transform: rotate(26deg);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.metric {
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 17, 20, 0.05);
  box-shadow: var(--shadow);
  text-align: center;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: #68707d;
  font-size: 0.95rem;
}

.footer {
  margin-top: 18px;
  padding: 26px 0 60px;
  color: #6a717d;
}

.footer-top {
  padding: 16px 0 22px;
  font-size: 0.92rem;
  line-height: 1.7;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}

.footer-group h4 {
  margin: 0 0 14px;
  color: #20242b;
  font-size: 0.96rem;
}

.footer-group a,
.footer-group span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #646c79;
}

.footer-group-contact {
  justify-self: end;
  text-align: left;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .brand-frame {
    width: 264px;
    height: 54px;
  }

  .promo-grid,
  .metrics,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-track {
    grid-auto-columns: minmax(300px, 46vw);
  }
}

@media (max-width: 920px) {
  .announcement {
    position: static;
  }

  .topbar {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand-frame {
    width: 220px;
    height: 46px;
  }

  .topbar-wrap {
    top: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 26px;
    box-shadow: var(--shadow);
  }

  .topbar.is-open .nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .panel,
  .promo-card {
    min-height: auto;
  }

  .panel-inner,
  .promo-card {
    padding-top: 62px;
  }

  .hero-visual,
  .promo-art {
    min-height: 280px;
  }

  .hero-media {
    min-height: 280px;
  }

  .hero-media-frame {
    width: min(700px, 100%);
    padding: 16px;
    border-radius: 28px;
  }

  .device-stage {
    gap: 10px;
  }

  .phone.large {
    width: 180px;
    height: 380px;
  }

  .phone.small {
    width: 132px;
    height: 292px;
  }

  .tablet-orbit {
    width: 360px;
    height: 360px;
  }

  .module-carousel {
    padding-inline: 54px;
  }

  .hero-dual-media {
    gap: 14px;
  }

  .hero-dual-card {
    border-radius: 24px;
    padding: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--max), calc(100% - 18px));
  }

  .brand-frame {
    width: 206px;
    height: 44px;
  }

  .topbar {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 30px;
  }

  .nav-tools .button-secondary {
    min-height: 40px;
    padding-inline: 16px;
  }

  .panel-inner {
    padding: 44px 18px 18px;
  }

  .panel-title {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .panel-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-visual {
    min-height: 230px;
    margin-top: 24px;
  }

  .hero-media {
    min-height: 230px;
  }

  .hero-media-frame {
    width: min(100%, 680px);
    padding: 12px;
    border-radius: 24px;
  }

  .hero-media-image {
    width: 100%;
  }

  .module-carousel {
    padding-inline: 0;
  }

  .showcase-card.hero-module-card {
    min-height: 300px;
    padding: 22px;
  }

  .module-carousel-track {
    grid-auto-columns: 82vw;
    padding-bottom: 10px;
  }

  .module-carousel-arrow {
    display: none;
  }

  .hero-dual-media {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
  }

  .device-stage {
    min-height: 250px;
    transform: scale(0.88);
    transform-origin: center bottom;
  }

  .tablet-scene {
    min-height: 250px;
  }

  .tablet-orbit {
    width: 300px;
    height: 300px;
  }

  .promo-grid,
  .metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    min-height: 520px;
    padding: 42px 20px 18px;
  }

  #grid .promo-card {
    min-height: 360px;
    padding-bottom: 24px;
  }

  .showcase {
    padding-top: 56px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .showcase-track {
    grid-auto-columns: 88vw;
    padding-inline: 14px;
  }

  .showcase-card {
    min-height: 430px;
    padding: 22px;
  }

  .section-heading {
    padding-inline: 16px;
  }

  .announcement {
    padding-inline: 12px;
  }
}

@media (max-width: 480px) {
  .brand-frame {
    width: 190px;
    height: 40px;
  }

  .topbar {
    padding: 9px 10px;
  }

  .nav-tools .button-secondary {
    min-height: 38px;
    padding-inline: 14px;
  }

  .panel-title {
    font-size: clamp(2.2rem, 13vw, 3.4rem);
  }

  .panel-subtitle {
    font-size: 0.96rem;
  }

  .device-stage {
    transform: scale(0.8);
  }

  .hero-visual,
  .promo-art,
  .tablet-scene {
    min-height: 210px;
  }

  .hero-media {
    min-height: 210px;
  }

  .hero-media-frame {
    padding: 10px;
    border-radius: 22px;
  }

  .hero-dual-card {
    padding: 10px;
    border-radius: 20px;
  }
}

.page-main {
  padding: 24px 0 48px;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-stack {
  display: grid;
  gap: 18px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 76px 34px 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.78)),
    linear-gradient(135deg, #eaf2ff 0%, #f8f9fb 58%, #fff2df 100%);
  box-shadow: var(--shadow);
}

.page-hero.dark {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 13, 21, 0.76), rgba(8, 9, 14, 0.9)),
    radial-gradient(circle at 18% 12%, rgba(74, 192, 255, 0.26), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(20, 103, 255, 0.22), transparent 20%),
    linear-gradient(135deg, #070a12 0%, #0d1430 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 115, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.page-hero.dark::after {
  background: radial-gradient(circle, rgba(74, 192, 255, 0.16), transparent 68%);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 17, 20, 0.06);
  color: #5c6470;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #49c0ff, #1467ff);
  box-shadow: 0 0 0 8px rgba(20, 115, 255, 0.08);
}

.page-hero.dark .page-kicker {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.page-title {
  max-width: 12ch;
  margin: 22px 0 16px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.page-subtitle {
  max-width: 66ch;
  margin: 0;
  color: #59616e;
  font-size: 1.08rem;
  line-height: 1.82;
}

.page-hero.dark .page-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-demo .page-title {
  margin-bottom: 28px;
}

.page-hero-demo .page-subtitle {
  margin-top: 8px;
}

.page-hero-guide .page-title {
  margin-bottom: 28px;
}

.page-hero-guide .page-subtitle {
  margin-top: 8px;
}

.page-hero-guide .page-actions {
  margin-top: 36px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-note {
  margin-top: 16px;
  color: #6a7380;
  font-size: 0.94rem;
}

.page-hero.dark .page-note {
  color: rgba(255, 255, 255, 0.68);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-grid-single {
  grid-template-columns: 1fr;
}

.content-card {
  border-radius: 28px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 17, 20, 0.06);
  box-shadow: var(--shadow);
}

.content-card.dark {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 12, 20, 0.76), rgba(8, 9, 14, 0.9)),
    linear-gradient(135deg, #0b1120 0%, #0d1631 100%);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}

.content-card p {
  margin: 0;
  color: #5d6572;
  line-height: 1.8;
}

.content-card.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.content-card .button,
.content-card .tag-row {
  margin-top: 22px;
}

.flow-list,
.guide-list {
  margin: 0;
  padding-left: 22px;
}

.flow-list {
  list-style: none;
  padding-left: 0;
}

.flow-step,
.guide-list li {
  color: #4b5563;
  line-height: 1.8;
}

.guide-step {
  list-style-position: outside;
}

.flow-step + .flow-step,
.guide-list li + li {
  margin-top: 14px;
}

.flow-step strong {
  display: block;
  color: #0f172a;
}

.flow-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guide-step-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  align-items: center;
  gap: 16px;
}

.guide-step-head > span {
  flex: 1 1 auto;
}

.guide-step-head .flow-step-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.guide-step-head .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.flow-step-head .flow-step-actions {
  margin-top: 0;
  align-items: center;
}

.flow-step p {
  margin: 6px 0 0;
}

.flow-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 17, 20, 0.06);
  color: #273240;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-grid,
.module-grid,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.module-tile,
.stat-card,
.quote-step {
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 17, 20, 0.06);
  box-shadow: var(--shadow);
}

.feature-card h3,
.module-tile h3,
.stat-card h3,
.quote-step h3 {
  margin: 14px 0 12px;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.feature-card p,
.module-tile p,
.stat-card p,
.quote-step p,
.quote-step li {
  margin: 0;
  color: #5d6572;
  line-height: 1.8;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(20, 115, 255, 0.08);
  color: #1265f2;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.module-tile {
  position: relative;
  overflow: hidden;
}

.module-tile::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 115, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.module-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(20, 115, 255, 0.08);
  color: #1467ff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-copy {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-copy-wide {
  max-width: none;
}

.section-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.06em;
}

.section-copy p {
  margin: 0;
  color: #5d6572;
  line-height: 1.82;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 38px 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.78)),
    linear-gradient(135deg, #eef3ff 0%, #fff5e7 100%);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
}

.cta-band p {
  max-width: 64ch;
  margin: 0;
  color: #5d6572;
  line-height: 1.8;
}

.cta-band .page-actions {
  margin-top: 22px;
}

.quote-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.quote-list li + li {
  margin-top: 10px;
}

.mail-link {
  color: var(--blue-deep);
  font-weight: 700;
}

.software-shell {
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(180deg, #edf2f8 0%, #f7f9fc 100%);
  border: 1px solid #bfd1ea;
  box-shadow: 0 24px 50px rgba(18, 28, 45, 0.12);
}

.software-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.software-title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.software-subtitle {
  margin-top: 6px;
  color: #64748b;
  line-height: 1.7;
}

.software-connection-pill {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.08);
  color: #475569;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.software-connection-pill[data-tone="ok"] {
  background: rgba(18, 180, 112, 0.14);
  color: #0d7a4a;
}

.software-toolbar,
.software-bottombar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #cad7e9;
}

.software-bottombar {
  margin-top: 16px;
}

.software-session-note {
  margin-top: 10px;
  padding: 0 6px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.software-session-note[data-tone="warn"] {
  color: #b45309;
  font-weight: 700;
}

.software-button,
.software-inline-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #9fb7d6;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6f9fd 0%, #dde8f6 100%);
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.software-button:disabled,
.software-inline-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.software-button-accent {
  background: linear-gradient(180deg, #ddfbeb 0%, #b8f0ce 100%);
  border-color: #82d7a6;
}

.software-button-danger {
  background: linear-gradient(180deg, #fff3f3 0%, #ffd9d9 100%);
  border-color: #f0a4a4;
}

.software-field,
.software-bottom-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 700;
}

.software-field span,
.software-bottom-field span {
  white-space: nowrap;
}

.software-field input,
.software-field select,
.software-bottom-field input {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #b8c8dc;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #111827;
}

.software-field-device {
  flex: 1 1 320px;
}

.software-field-device select {
  min-width: 260px;
  flex: 1 1 auto;
}

.software-field-rate input {
  width: 90px;
}

.software-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.software-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #93b8e7;
  border-radius: 16px 16px 0 0;
  background: #cfe2fb;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
}

.software-tab.is-active {
  background: #ffffff;
  color: #1d4ed8;
}

.software-panels {
  border-radius: 0 18px 18px 18px;
  background: #ffffff;
  border: 1px solid #c9d7ea;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.software-panel {
  display: none;
  padding: 16px;
}

.software-panel.is-active {
  display: block;
}

.software-panel-copy {
  margin-bottom: 12px;
  color: #64748b;
  line-height: 1.72;
}

.software-table-wrap {
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #cdd8e5;
}

.software-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 980px;
}

.software-table th,
.software-table td {
  padding: 10px;
  border-bottom: 1px solid #dbe4ef;
  border-right: 1px solid #dbe4ef;
  vertical-align: middle;
}

.software-table th {
  background: #e6edf7;
  color: #0f172a;
  font-weight: 800;
  text-align: left;
}

.software-table input[type="number"] {
  width: 72px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #c5d1df;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #111827;
}

.software-row-index,
.software-col-index {
  width: 52px;
  text-align: center;
  background: #edf2f7;
  font-weight: 800;
}

.software-group-start td {
  border-top: 2px solid #b7cae6;
}

.software-empty-row {
  padding: 24px;
  text-align: center;
  color: #64748b;
}

.software-subtable-row td {
  background: #f8fbff;
}

.software-subtable-cell {
  padding: 16px;
}

.software-subtable-card {
  border-radius: 14px;
  border: 1px solid #d5e0ec;
  background: #ffffff;
  overflow: hidden;
}

.software-subtable-title {
  padding: 14px 16px;
  border-bottom: 1px solid #dbe4ef;
  font-weight: 800;
  color: #0f172a;
  background: #eef5fd;
}

.software-subtable {
  width: 100%;
  border-collapse: collapse;
}

.software-subtable th,
.software-subtable td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5edf6;
  text-align: left;
  vertical-align: top;
}

.software-subtable th {
  width: 280px;
  background: #f8fbff;
  color: #0f172a;
  font-weight: 800;
}

.software-input,
.software-select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #c5d1df;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #111827;
}

.software-input.is-readonly {
  background: #f0f3f7;
  color: #475569;
}

.software-resource-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f0f4fa;
  color: #475569;
  font-weight: 700;
}

.software-placeholder {
  border-radius: 18px;
  padding: 22px;
  background: #f8fafc;
  border: 1px dashed #bed0e7;
}

.software-placeholder h3 {
  margin: 0 0 10px;
}

.software-placeholder p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
}

.software-graph-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.software-field-graph {
  flex: 1 1 280px;
}

.software-graph-card,
.software-log-card,
.firmware-viewer-card {
  border-radius: 18px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #d8e3f0;
}

.software-graph-head,
.software-log-head,
.firmware-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.software-graph-status,
.firmware-viewer-head span {
  color: #64748b;
  line-height: 1.7;
}

.software-graph-canvas {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d5e0ec;
}

.software-plot-host {
  min-height: 420px;
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d5e0ec;
}

.tdms-plot-stack {
  display: grid;
  gap: 18px;
  padding: 16px;
}

.tdms-plot-card {
  border-radius: 14px;
  border: 1px solid #d5e0ec;
  background: #ffffff;
  overflow: hidden;
}

.tdms-plot-canvas {
  min-height: 360px;
}

.software-log-card {
  margin-top: 14px;
}

.software-log {
  min-height: 180px;
  max-height: 220px;
  margin: 14px 0 0;
  overflow: auto;
  padding: 18px;
  border-radius: 14px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.software-bottom-path {
  flex: 1 1 380px;
}

.software-bottom-name {
  flex: 1 1 240px;
}

.tdms-priority-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,250,255,0.92)),
    linear-gradient(135deg, rgba(20,115,255,0.08), rgba(255,142,64,0.08));
  border: 1px solid rgba(20, 115, 255, 0.12);
}

.tdms-priority-note strong {
  display: block;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.tdms-priority-note p {
  margin: 8px 0 0;
  color: #5d6572;
  line-height: 1.75;
}

.tdms-compat-note {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(251,250,246,0.92)),
    linear-gradient(135deg, rgba(255,192,64,0.08), rgba(20,115,255,0.05));
  border-color: rgba(214, 149, 41, 0.16);
}

.tdms-dropzone {
  margin-top: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px dashed #9bb7da;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,247,252,0.92)),
    linear-gradient(135deg, rgba(20,115,255,0.06), rgba(255,142,64,0.06));
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tdms-dropzone:hover,
.tdms-dropzone:focus-visible,
.tdms-dropzone.is-dragover {
  transform: translateY(-1px);
  border-color: #4c8cf5;
  box-shadow: 0 16px 28px rgba(20, 115, 255, 0.08);
}

.tdms-dropzone.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tdms-dropzone strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.tdms-dropzone p {
  margin: 10px 0 0;
  color: #5d6572;
  line-height: 1.75;
}

.tdms-progress-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 17, 20, 0.06);
}

.tdms-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tdms-progress-head strong {
  color: #0f172a;
  letter-spacing: -0.03em;
}

.tdms-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
}

.tdms-consent-backdrop[hidden] {
  display: none;
}

.tdms-consent-modal {
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #d8e3f0;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.2);
}

.tdms-consent-modal h2 {
  margin: 0 0 16px;
}

.tdms-consent-copy {
  display: grid;
  gap: 14px;
  color: #334155;
  line-height: 1.75;
}

.tdms-consent-copy p {
  margin: 0;
}

.tdms-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.tdms-progress-head span {
  color: #556171;
  font-weight: 700;
}

.tdms-progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7f5;
}

.tdms-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #156ff6 0%, #35c3ff 100%);
  transition: width 140ms ease;
}

.tdms-structure-card {
  margin-bottom: 16px;
  border-radius: 18px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #d8e3f0;
}

.tdms-structure-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.tdms-structure-group {
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d9e3ef;
}

.tdms-structure-group strong {
  display: block;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.tdms-structure-group span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.92rem;
}

.tdms-structure-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tdms-structure-channel {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 115, 255, 0.08);
  color: #1749a6;
  font-size: 0.9rem;
  font-weight: 700;
}

.tdms-summary-grid,
.tdms-metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tdms-metadata-grid {
  margin-top: 16px;
}

.tdms-summary-card {
  border-radius: 20px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #d8e3f0;
}

.tdms-summary-card strong {
  display: block;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.tdms-summary-card span {
  display: block;
  margin-top: 8px;
  color: #5d6572;
  line-height: 1.6;
}

.tdms-property-list {
  display: grid;
  gap: 10px;
}

.tdms-property-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d9e3ef;
}

.tdms-property-row span {
  color: #64748b;
}

.tdms-property-row strong {
  color: #0f172a;
  text-align: right;
}

.demo-finish-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 12, 19, 0.58);
  z-index: 120;
}

.demo-finish-overlay[hidden] {
  display: none;
}

.demo-finish-card {
  width: min(620px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(14, 21, 35, 0.24);
}

.demo-finish-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.demo-finish-card p {
  margin: 0 0 18px;
  color: #64748b;
  line-height: 1.8;
}

.firmware-viewer-code {
  min-height: 420px;
  margin: 16px 0 0;
  padding: 18px;
  overflow: auto;
  border-radius: 18px;
  background: #0f172a;
  color: #dbeafe;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.arduino-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-panel {
  border-radius: 28px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    linear-gradient(135deg, #edf3ff 0%, #fff4e9 100%);
  border: 1px solid rgba(16, 17, 20, 0.06);
  box-shadow: var(--shadow);
}

.terminal-panel {
  background:
    linear-gradient(180deg, rgba(10, 12, 20, 0.86), rgba(8, 9, 14, 0.94)),
    linear-gradient(135deg, #0b1120 0%, #0d1631 100%);
  color: #fff;
}

.terminal-panel .demo-copy {
  color: rgba(255, 255, 255, 0.76);
}

.demo-panel-head h3 {
  margin: 16px 0 0;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.demo-copy {
  margin: 14px 0 0;
  color: #5d6572;
  line-height: 1.8;
}

.demo-microcopy {
  margin: 16px 0 0;
  color: #6a7380;
  font-size: 0.94rem;
}

.status-stack {
  display: grid;
  gap: 12px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(20, 115, 255, 0.04);
  border: 1px solid rgba(16, 17, 20, 0.05);
}

.status-row span:first-child {
  color: #4e5663;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(16, 17, 20, 0.08);
  color: #39414d;
}

.status-chip[data-tone="ok"] {
  background: rgba(18, 180, 112, 0.12);
  color: #0c7b4a;
}

.status-chip[data-tone="warn"] {
  background: rgba(255, 162, 0, 0.14);
  color: #8e5b00;
}

.status-chip[data-tone="idle"] {
  background: rgba(16, 17, 20, 0.08);
  color: #4d5562;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 18px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 17, 20, 0.06);
}

.value-label {
  display: block;
  color: #66707d;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.value-number {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.terminal-log {
  min-height: 280px;
  max-height: 320px;
  margin: 22px 0 0;
  padding: 22px;
  overflow: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e0f2;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.94rem;
  line-height: 1.72;
  white-space: pre-wrap;
}

@media (max-width: 980px) {
  .page-grid,
  .feature-grid,
  .module-grid,
  .stat-grid,
  .arduino-demo-grid,
  .tdms-summary-grid,
  .tdms-metadata-grid {
    grid-template-columns: 1fr;
  }

  .software-shell-head,
  .software-toolbar,
  .software-bottombar,
  .software-graph-head,
  .software-log-head,
  .firmware-viewer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-step-head {
    grid-template-columns: 1fr;
  }

  .guide-step-head .flow-step-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 18px);
  }

  .page-hero,
  .content-card,
  .feature-card,
  .module-tile,
  .stat-card,
  .quote-step,
  .cta-band,
  .demo-panel {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .page-title {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .page-subtitle,
  .content-card p,
  .feature-card p,
  .module-tile p,
  .stat-card p,
  .quote-step p,
  .quote-step li,
  .section-copy p,
  .cta-band p,
  .demo-copy,
  .demo-microcopy {
    font-size: 0.98rem;
  }

  .software-shell {
    padding: 14px;
    border-radius: 24px;
  }

  .software-toolbar,
  .software-bottombar,
  .software-panel,
  .software-graph-card,
  .software-log-card,
  .firmware-viewer-card,
  .demo-finish-card {
    padding: 16px;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .software-table {
    min-width: 860px;
  }

  .tdms-property-row {
    align-items: flex-start;
    flex-direction: column;
  }

}
