:root {
  --bg: #020617;
  --bg-2: #07111f;
  --bg-3: #081827;
  --text: #0f172a;
  --muted: #475569;
  --light: #f8fafc;
  --white: #ffffff;
  --dark-text: #cbd5e1;
  --blue: #38bdf8;
  --blue-2: #3b82f6;
  --green: #22c55e;
  --green-bright: #7cff5b;
  --purple: #8b5cf6;
  --orange: #ff4d2e;
  --orange-2: #ff6a3d;
  --border: rgba(255, 255, 255, 0.14);
  --light-border: #e2e8f0;
  --shadow: 0 20px 70px rgba(15, 23, 42, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 650;
}

.primary-nav a {
  opacity: 0.86;
  transition: color 160ms ease, opacity 160ms ease;
}

.primary-nav a:hover {
  color: var(--green-bright);
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 14px 36px rgba(255, 77, 46, 0.28);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(124, 255, 91, 0.7);
}

.nav-cta {
  min-height: 44px;
  padding-inline: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

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

.hero {
  position: relative;
  min-height: 760px;
  padding: 86px 0 72px;
  scroll-margin-top: 82px;
  background: radial-gradient(circle at 66% 16%, rgba(56, 189, 248, 0.2), transparent 34%),
    radial-gradient(circle at 28% 18%, rgba(124, 255, 91, 0.11), transparent 28%),
    linear-gradient(135deg, #020617 0%, #05101e 52%, #07172b 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(56, 189, 248, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(56, 189, 248, 0.42) 1px, transparent 1.5px);
  background-size: 96px 96px, 96px 96px, 34px 34px;
  transform: perspective(900px) rotateX(58deg) translateY(25%);
  transform-origin: bottom;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--blue-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 680px;
  color: #f8fafc;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
}

.hero-support {
  max-width: 670px;
  color: var(--dark-text);
  font-size: 1rem;
  line-height: 1.7;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(8, 24, 39, 0.72);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.ecosystem {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #e2e8f0;
  font-weight: 850;
}

.ecosystem-label {
  width: 100%;
  color: var(--dark-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.ecosystem span:not(.ecosystem-label) {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  min-width: 0;
}

.device-wrap {
  position: relative;
  padding: 42px 0 104px;
}

.device {
  position: relative;
  max-width: 660px;
  margin-left: auto;
  transform: perspective(1250px) rotateY(-15deg) rotateX(5deg);
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.5));
}

.device::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04));
  opacity: 0.62;
  z-index: -1;
}

.device-side {
  position: absolute;
  top: 52px;
  right: -38px;
  width: 52px;
  height: 260px;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, #101827, #111827 48%, #d97706 49%, #1f2937);
  box-shadow: inset -10px 0 18px rgba(0, 0, 0, 0.5);
}

.device-side::before,
.device-side::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, 0.68);
}

.device-side::before {
  top: 28px;
}

.device-side::after {
  bottom: 28px;
}

.screen {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 360px;
  padding: 18px;
  border: 12px solid #151b28;
  border-radius: 32px;
  background: #030712;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.screen-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #12336b, #071a36);
}

.screen-sidebar span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(226, 232, 240, 0.86);
}

.screen-content {
  padding: 20px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.screen-top span {
  color: #94a3b8;
}

.screen-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.screen-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 2;
  stroke-linecap: round;
}

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

.dash-card {
  min-height: 124px;
  padding: 16px;
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 12px;
  background: linear-gradient(145deg, #092348, #041225);
}

.dash-card span {
  display: block;
  color: #94a3b8;
  font-size: 0.85rem;
}

.dash-card strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1;
}

.dash-card small {
  margin-left: 4px;
  color: #bae6fd;
  font-size: 0.82rem;
}

.dash-card svg {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  overflow: visible;
}

.dash-card path {
  fill: none;
  stroke: #2dd4bf;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.35));
}

.pressure path {
  stroke: #3b82f6;
}

.status {
  position: relative;
}

.status strong {
  color: var(--green-bright);
  font-size: 1.4rem;
}

.status b {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green), #0f766e);
}

.status b::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

.cpu {
  position: relative;
}

.cpu strong {
  font-size: 2rem;
}

.ring {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 73%, #1e40af 73% 100%);
}

.ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #092348;
}

.metric-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(640px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.metric-strip div {
  padding: 22px 26px;
}

.metric-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-strip strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}

.metric-strip span {
  color: var(--dark-text);
  font-size: 0.88rem;
}

.video-section {
  padding: 44px 0 62px;
  background: linear-gradient(180deg, #061225, #07111f);
  color: var(--white);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 38px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  background: rgba(8, 24, 39, 0.78);
}

.video-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #020617;
  color: var(--white);
  cursor: pointer;
}

.video-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(124, 255, 91, 0.22), transparent 14%),
    radial-gradient(circle at 32% 68%, rgba(255, 77, 46, 0.22), transparent 15%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.2), transparent 35%),
    repeating-linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0 1px, transparent 1px 16px),
    #061225;
}

.video-card-bg::after {
  content: "";
  position: absolute;
  right: 42px;
  top: 54px;
  width: 260px;
  height: 142px;
  border: 10px solid #111827;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.3) 0 12px, transparent 12px),
    linear-gradient(145deg, #0b2b57, #031325);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.36);
  transform: rotate(-5deg);
}

.video-copy {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: min(360px, calc(100% - 68px));
  z-index: 1;
}

.video-copy strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.video-copy span {
  display: block;
  margin-top: 12px;
  color: var(--green-bright);
  font-weight: 800;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 82px;
  height: 82px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 33px;
  top: 24px;
  border-left: 22px solid #fff;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.duration-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.76);
  color: var(--white);
  font-weight: 850;
}

.video-content p {
  color: var(--dark-text);
  line-height: 1.7;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: inherit;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--green-bright);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.58em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--green-bright);
  border-bottom: 2px solid var(--green-bright);
  transform: rotate(-45deg);
}

.helper-text {
  margin: 24px 0 0;
  font-size: 0.92rem;
}

.section {
  padding: 92px 0;
}

.light {
  background: var(--light);
}

.section-heading {
  width: min(790px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.dark-heading p:not(.eyebrow) {
  color: var(--dark-text);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.eight {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.info-card,
.panel-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.info-card {
  padding: 26px;
}

.info-card p,
.panel-card p {
  color: var(--muted);
  line-height: 1.65;
}

.compact {
  padding: 22px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 950;
}

#why-lvgl .card-grid.six {
  gap: 0;
}

#why-lvgl .info-card {
  position: relative;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

#why-lvgl .info-card + .info-card {
  border-left: 1px solid #d9e1ec;
}

#why-lvgl .info-card h3 {
  color: #111827;
  font-weight: 900;
}

#why-lvgl .info-card p {
  color: #334155;
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 0;
  background: transparent;
}

.why-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-icon.green {
  color: #35a832;
}

.why-icon.blue {
  color: #4f63f6;
}

.why-icon.purple {
  color: #7556e8;
}

.comparison {
  padding: 92px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 22%, rgba(59, 130, 246, 0.26), transparent 30%),
    radial-gradient(circle at 84% 70%, rgba(34, 197, 94, 0.18), transparent 25%),
    linear-gradient(135deg, #07111f, #020617);
}

.comparison-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.comparison-grid {
  position: relative;
  display: grid;
  grid-template-columns: 250px 250px 86px 250px 1fr;
  gap: 0;
  align-items: center;
  min-height: 258px;
  padding: 30px 38px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  background:
    linear-gradient(96deg, rgba(49, 46, 129, 0.96) 0%, rgba(64, 50, 153, 0.96) 43%, transparent 43.2%),
    linear-gradient(105deg, transparent 0 48%, rgba(7, 28, 42, 0.96) 48.2% 100%),
    #061225;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.22);
}

.comparison-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 38% 50%, rgba(124, 58, 237, 0.18), transparent 18%),
    radial-gradient(circle at 68% 50%, rgba(56, 189, 248, 0.12), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.04));
}

.comparison-grid > * {
  position: relative;
  z-index: 1;
}

.comparison-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.comparison-card span {
  display: block;
  margin-bottom: 8px;
  color: #a78bfa;
  font-weight: 900;
  font-size: 1.05rem;
}

.comparison-card.lvgl span,
.comparison-card.lvgl h3 {
  color: var(--green-bright);
}

.comparison-card h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.65rem;
}

.comparison-card .check-list {
  gap: 15px;
}

.comparison-card .check-list li {
  color: #e2e8f0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.comparison-card .check-list li::before {
  border-color: #93c5fd;
}

.comparison-card .check-list li::after {
  border-color: #93c5fd;
}

.comparison-card.lvgl .check-list li::before,
.comparison-card.lvgl .check-list li::after {
  border-color: var(--green-bright);
}

.vs-badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(226, 232, 240, 0.5);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.58);
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 950;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06);
}

.comparison-device {
  width: 228px;
  height: 148px;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.38));
}

.comparison-device-left {
  transform: perspective(700px) rotateY(-12deg) rotateZ(-3deg);
}

.comparison-device-right {
  transform: perspective(700px) rotateY(-14deg) rotateZ(5deg);
}

.comparison-device::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -16px;
  width: 22px;
  height: 96px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #111827, #8a5a16 48%, #1f2937 52%);
}

.comparison-screen {
  display: grid;
  grid-template-columns: 34px 1fr;
  width: 100%;
  height: 100%;
  padding: 8px;
  border: 8px solid #222936;
  border-radius: 14px;
  background: #030712;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.comparison-sidebar {
  border-radius: 6px;
  background:
    linear-gradient(#60a5fa 0 16px, transparent 16px 25px, #94a3b8 25px 39px, transparent 39px 48px, #94a3b8 48px 62px, transparent 62px),
    linear-gradient(180deg, #1d4ed8, #102b60);
}

.comparison-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 7px;
}

.mini-chart,
.mini-gauge-small,
.mini-ring-small,
.mini-status-dot,
.mini-tile-row {
  border-radius: 6px;
  background: linear-gradient(145deg, #102b55, #07172c);
}

.mini-chart {
  min-height: 44px;
  background:
    linear-gradient(135deg, transparent 12%, rgba(139, 92, 246, 0.62) 13% 23%, transparent 24% 34%, rgba(139, 92, 246, 0.7) 35% 49%, transparent 50%),
    linear-gradient(145deg, #132f61, #07172c);
}

.mini-chart.short {
  min-height: 44px;
  background:
    linear-gradient(135deg, transparent 18%, rgba(34, 197, 94, 0.58) 19% 30%, transparent 31%),
    linear-gradient(145deg, #132f61, #07172c);
}

.mini-chart.cyan {
  background:
    linear-gradient(135deg, transparent 12%, rgba(56, 189, 248, 0.7) 13% 22%, transparent 23% 34%, rgba(56, 189, 248, 0.55) 35% 48%, transparent 49%),
    linear-gradient(145deg, #132f61, #07172c);
}

.mini-chart.purple-line {
  background:
    linear-gradient(135deg, transparent 12%, rgba(99, 102, 241, 0.7) 13% 24%, transparent 25% 40%, rgba(99, 102, 241, 0.65) 41% 55%, transparent 56%),
    linear-gradient(145deg, #132f61, #07172c);
}

.mini-gauge-small {
  position: relative;
}

.mini-gauge-small::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(#f97316 0 24%, #22c55e 24% 64%, #1e40af 64% 100%);
}

.mini-gauge-small::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 21px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #07172c;
}

.mini-tile-row {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.mini-tile-row span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #334155;
}

.mini-status-dot {
  position: relative;
}

.mini-status-dot::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #166534;
}

.mini-status-dot::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 25px;
  width: 11px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.mini-ring-small {
  position: relative;
}

.mini-ring-small::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(#22c55e 0 73%, #1d4ed8 73% 100%);
}

.mini-ring-small::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #07172c;
}

.comparison-note {
  width: min(820px, 100%);
  margin: 34px auto 0;
  color: var(--dark-text);
  text-align: center;
  line-height: 1.7;
}

.curriculum {
  background: #ffffff;
}

.time-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.time-summary div {
  padding: 20px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: #f8fafc;
}

.time-summary strong,
.time-summary span {
  display: block;
}

.time-summary span {
  margin-top: 4px;
  color: var(--muted);
}

.curriculum-tabs {
  border: 1px solid var(--light-border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--light-border);
  background: #f1f5f9;
}

.tab-button {
  flex: 1;
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--light-border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button.active {
  background: var(--white);
  color: #1d4ed8;
}

.curriculum-panels {
  padding: 30px;
}

.lesson-list {
  margin: 0;
  padding-left: 22px;
  column-gap: 46px;
  color: #334155;
}

.lesson-list.two-col {
  columns: 2;
}

.lesson-list li {
  break-inside: avoid;
  margin-bottom: 11px;
  padding-left: 4px;
  line-height: 1.5;
}

.project-section {
  padding: 92px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 28%, rgba(124, 255, 91, 0.16), transparent 30%),
    linear-gradient(135deg, #020617, #071827);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.project-copy p:not(.eyebrow) {
  color: var(--dark-text);
  font-size: 1.08rem;
  line-height: 1.7;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-weight: 720;
}

.project-device {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, #101827, #050b16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.mini-screen {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 16px;
  min-height: 310px;
  padding: 24px;
  border: 10px solid #111827;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    #061225;
  background-size: 28px 28px;
}

.mini-status,
.mini-bars,
.mini-screen button,
.mini-screen label {
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 12px;
  background: rgba(8, 47, 73, 0.55);
}

.mini-status {
  padding: 20px;
}

.mini-status span {
  color: #94a3b8;
}

.mini-status strong {
  display: block;
  margin-top: 12px;
  color: var(--green-bright);
  font-size: 2rem;
}

.mini-gauge {
  grid-row: span 2;
  place-self: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 18%, var(--green) 18% 74%, #1e3a8a 74% 100%);
}

.mini-gauge::after {
  content: "";
  display: block;
  width: 72px;
  height: 72px;
  margin: 20px;
  border-radius: 50%;
  background: #061225;
}

.mini-bars {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
}

.mini-bars span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.mini-bars span:nth-child(2) {
  width: 72%;
}

.mini-bars span:nth-child(3) {
  width: 54%;
}

.mini-screen button,
.mini-screen label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: var(--white);
  font: inherit;
  font-weight: 850;
}

.mini-screen button {
  border-color: rgba(255, 77, 46, 0.5);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.mini-screen label {
  gap: 10px;
}

.audience .info-card {
  min-height: 220px;
}

.split-section {
  background: #eef4fb;
}

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

.panel-card {
  padding: 34px;
}

.light-checks li::before {
  border-color: var(--green);
}

.light-checks li::after {
  border-color: var(--green);
}

.instructor-head {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.instructor-head img {
  width: 170px;
  padding: 10px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: #fff;
}

.instructor-head h2 {
  margin-bottom: 4px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.enroll-section {
  padding: 88px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 34%, rgba(255, 77, 46, 0.2), transparent 28%),
    radial-gradient(circle at 86% 36%, rgba(56, 189, 248, 0.2), transparent 25%),
    linear-gradient(135deg, #020617, #081827);
}

.enroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 48px;
  align-items: center;
}

.enroll-grid p:not(.eyebrow) {
  max-width: 720px;
  color: var(--dark-text);
  font-size: 1.18rem;
  line-height: 1.7;
}

.offer-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.wide {
  width: 100%;
  margin-top: 28px;
}

.secure-line {
  margin: 16px 0 0;
  color: var(--dark-text);
  text-align: center;
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  font-weight: 900;
  cursor: pointer;
}

summary::marker {
  content: "";
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 16px;
  color: #1d4ed8;
  font-size: 1.7rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 46px 0;
  color: var(--dark-text);
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 32px;
  align-items: center;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
  line-height: 1.7;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #e2e8f0;
  font-weight: 750;
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 1;
}

.video-section {
  order: 2;
}

#why-lvgl {
  order: 3;
}

.comparison {
  order: 4;
}

#learn {
  order: 5;
}

.project-section {
  order: 6;
}

.lower-cards {
  order: 7;
}

.audience {
  order: 8;
}

.curriculum {
  order: 9;
}

.faq {
  order: 10;
}

@media (min-width: 901px) {
  .container {
    width: min(1180px, calc(100% - 60px));
  }

  .site-header {
    background: rgba(1, 8, 22, 0.9);
  }

  .nav-shell {
    min-height: 58px;
    gap: 22px;
  }

  .brand img {
    width: 205px;
  }

  .primary-nav {
    gap: 25px;
    font-size: 0.82rem;
  }

  .button {
    min-height: 42px;
    padding-inline: 20px;
    font-size: 0.94rem;
  }

  .nav-cta {
    min-height: 42px;
  }

  .hero {
    min-height: 0;
    padding: 30px 0 18px;
    background:
      radial-gradient(circle at 78% 12%, rgba(27, 93, 255, 0.28), transparent 28%),
      radial-gradient(circle at 42% 32%, rgba(18, 119, 196, 0.17), transparent 34%),
      linear-gradient(135deg, #020617 0%, #04101f 48%, #051c35 100%);
  }

  .hero-bg {
    opacity: 0.6;
    background-size: 72px 72px, 72px 72px, 28px 28px;
    transform: perspective(760px) rotateX(62deg) translateY(30%);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(500px, 1.02fr);
    gap: 20px;
    align-items: start;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 9px;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 620px;
    margin-bottom: 14px;
    font-size: clamp(3.35rem, 4.55vw, 4.45rem);
    line-height: 0.95;
  }

  .hero-subtitle {
    max-width: 610px;
    margin-bottom: 10px;
    font-size: 1.03rem;
    line-height: 1.48;
  }

  .hero-support {
    max-width: 620px;
    margin-bottom: 0;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .chip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(620px, 100%);
    gap: 10px;
    margin: 17px 0 18px;
  }

  .chip-row span {
    position: relative;
    min-height: 54px;
    padding: 8px 10px 8px 44px;
    border-color: rgba(56, 189, 248, 0.28);
    border-radius: 8px;
    background: rgba(2, 15, 33, 0.42);
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .chip-row span::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 13px;
    width: 25px;
    height: 25px;
    border: 2px solid var(--green);
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
  }

  .chip-row span:nth-child(2n)::before {
    border-color: var(--blue);
  }

  .chip-row span:nth-child(3n)::before {
    border-color: var(--purple);
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 18px;
  }

  .ecosystem {
    gap: 12px;
    font-size: 0.86rem;
  }

  .ecosystem-label {
    width: auto;
    margin-right: 6px;
    font-size: 0.78rem;
  }

  .ecosystem span:not(.ecosystem-label) {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #e5e7eb;
    font-size: 1rem;
  }

  .device-wrap {
    padding: 20px 0 78px;
  }

  .device {
    max-width: 590px;
  }

  .device::before {
    inset: -12px;
    border-radius: 30px;
  }

  .device-side {
    top: 42px;
    right: -32px;
    width: 43px;
    height: 220px;
  }

  .screen {
    grid-template-columns: 62px 1fr;
    min-height: 292px;
    padding: 14px;
    border-width: 10px;
    border-radius: 27px;
  }

  .screen-sidebar {
    gap: 14px;
    padding: 17px 0;
    border-radius: 14px;
  }

  .screen-sidebar span {
    width: 18px;
    height: 18px;
  }

  .screen-content {
    padding: 15px;
  }

  .screen-top {
    margin-bottom: 13px;
    font-size: 0.84rem;
  }

  .dashboard-grid {
    gap: 10px;
  }

  .dash-card {
    min-height: 100px;
    padding: 12px;
    border-radius: 8px;
  }

  .dash-card span {
    font-size: 0.72rem;
  }

  .dash-card strong {
    margin-top: 8px;
    font-size: 1.65rem;
  }

  .dash-card svg {
    height: 34px;
    margin-top: 8px;
  }

  .status strong {
    font-size: 1.15rem;
  }

  .status b {
    width: 34px;
    height: 34px;
    right: 14px;
    bottom: 14px;
  }

  .status b::after {
    left: 10px;
    top: 9px;
  }

  .ring {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }

  .ring::after {
    inset: 10px;
  }

  .metric-strip {
    width: min(560px, 100%);
    border-radius: 8px;
  }

  .metric-strip div {
    padding: 14px 19px;
  }

  .metric-strip strong {
    font-size: 0.96rem;
  }

  .metric-strip span {
    font-size: 0.76rem;
  }

  .video-section {
    padding: 18px 0 24px;
    background: linear-gradient(180deg, #04101f, #061225);
  }

  .video-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    gap: 28px;
    padding: 14px;
    border-radius: 10px;
  }

  .video-card {
    min-height: 225px;
    border-radius: 8px;
  }

  .video-card-bg::after {
    right: 30px;
    top: 38px;
    width: 220px;
    height: 124px;
    border-width: 8px;
    border-radius: 15px;
  }

  .video-copy {
    left: 32px;
    bottom: 30px;
    width: 330px;
  }

  .video-copy strong {
    font-size: 2.05rem;
  }

  .play-button {
    width: 70px;
    height: 70px;
  }

  .play-button::after {
    left: 29px;
    top: 20px;
  }

  .video-content h2 {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .video-content p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .check-list {
    gap: 8px;
  }

  .check-list li {
    padding-left: 25px;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .section {
    padding: 38px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .card-grid {
    gap: 10px;
  }

  .card-grid.six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid.six .info-card {
    min-height: 160px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: none;
  }

  .card-grid.six .info-card:not(:last-child) {
    border-right-color: #dbe3ee;
  }

  .card-grid.six .info-card h3 {
    font-size: 0.86rem;
  }

  .card-grid.six .info-card p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .card-grid.six .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 13px;
    margin-inline: auto;
  }

  .comparison {
    padding: 34px 0;
  }

  .comparison .section-heading {
    margin-bottom: 20px;
  }

  .comparison .section-heading h2 {
    font-size: 1.9rem;
  }

  .comparison-grid {
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
    gap: 16px;
  }

  .comparison-card {
    min-height: 214px;
    padding: 24px 30px;
    border-radius: 8px;
  }

  .comparison-card h3 {
    font-size: 1.35rem;
  }

  .vs-badge {
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
  }

  .comparison-note {
    margin-top: 18px;
    font-size: 0.92rem;
  }

  .card-grid.eight {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .card-grid.eight .info-card {
    min-height: 156px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  }

  .card-grid.eight .card-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
  }

  .card-grid.eight h3 {
    font-size: 0.78rem;
  }

  .card-grid.eight p {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .project-section {
    padding: 30px 0;
  }

  .project-grid {
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
    gap: 28px;
    padding: 18px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 8px;
    background: rgba(5, 18, 35, 0.86);
  }

  .project-copy h2 {
    font-size: 1.55rem;
    color: var(--green-bright);
  }

  .project-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .project-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .project-list li {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .project-device {
    padding: 10px;
    border-radius: 10px;
  }

  .mini-screen {
    grid-template-columns: 1fr 96px;
    min-height: 190px;
    padding: 16px;
    border-width: 7px;
    border-radius: 12px;
  }

  .mini-status {
    padding: 14px;
  }

  .mini-status strong {
    font-size: 1.35rem;
  }

  .mini-gauge {
    width: 84px;
    height: 84px;
  }

  .mini-gauge::after {
    width: 54px;
    height: 54px;
    margin: 15px;
  }

  .mini-bars {
    gap: 10px;
    padding: 15px;
  }

  .mini-screen button,
  .mini-screen label {
    min-height: 42px;
    font-size: 0.84rem;
  }

  .lower-cards {
    padding: 14px 0 28px;
    background: #f5f7fb;
  }

  .split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(290px, 0.92fr);
    gap: 10px;
  }

  .panel-card,
  .lower-cards .offer-card {
    min-height: 272px;
    padding: 20px 24px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  }

  .panel-card h2,
  .lower-cards .offer-card h2 {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.25;
    color: #0f172a;
  }

  .panel-card h3 {
    margin: 12px 0 6px;
    font-size: 0.9rem;
  }

  .panel-card p,
  .offer-copy {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .lower-cards .check-list {
    gap: 6px;
  }

  .lower-cards .check-list li {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .instructor-head {
    gap: 14px;
    margin-bottom: 12px;
  }

  .instructor-head img {
    width: 102px;
    padding: 7px;
  }

  .instructor-head h2 {
    font-size: 1rem;
  }

  .lower-cards .offer-card .eyebrow {
    color: var(--blue-2);
  }

  .lower-cards .offer-card .check-list li,
  .lower-cards .offer-card .offer-copy {
    color: var(--muted);
  }

  .lower-cards .offer-card .button {
    min-height: 42px;
    margin-top: 16px;
  }

  .secure-line {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.78rem;
  }

  .audience,
  .curriculum,
  .faq {
    padding: 56px 0;
  }
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  border: 1px solid var(--light-border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-modal-dialog {
  width: min(980px, calc(100vw - 32px));
  padding: 24px;
  border-color: rgba(96, 165, 250, 0.32);
  background: #07111f;
  color: #ffffff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.video-modal-dialog .eyebrow {
  color: #38bdf8;
}

.video-modal-dialog h2 {
  margin: 0 52px 18px 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.promo-video-shell {
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 12px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.promo-video-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #020617;
  object-fit: contain;
}

.modal-dialog p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.video-modal-dialog .modal-close {
  border-color: rgba(203, 213, 225, 0.24);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .brand img {
    width: 184px;
  }

  .hero-grid,
  .project-grid,
  .enroll-grid {
    grid-template-columns: 1fr;
  }

  .device {
    margin-inline: auto;
  }

  .metric-strip {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .card-grid.five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.96);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 10px;
  }

  .video-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.six,
  .card-grid.eight,
  .card-grid.five {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .vs-badge {
    margin: 0 auto;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img,
  .footer-brand img {
    width: 172px;
  }

  .hero {
    padding-top: 58px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .screen {
    grid-template-columns: 48px 1fr;
    min-height: 300px;
    padding: 10px;
    border-width: 8px;
    border-radius: 22px;
  }

  .screen-sidebar {
    gap: 12px;
  }

  .screen-sidebar span {
    width: 16px;
    height: 16px;
  }

  .screen-content {
    padding: 12px;
  }

  .dashboard-grid {
    gap: 9px;
  }

  .dash-card {
    min-height: 106px;
    padding: 11px;
  }

  .dash-card strong {
    font-size: 1.35rem;
  }

  .dash-card span {
    font-size: 0.72rem;
  }

  .dash-card svg {
    height: 36px;
  }

  .ring {
    width: 46px;
    height: 46px;
    right: 11px;
    bottom: 11px;
  }

  .ring::after {
    inset: 9px;
  }

  .status b {
    width: 34px;
    height: 34px;
  }

  .metric-strip {
    position: static;
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 22px;
  }

  .metric-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .video-card {
    min-height: 280px;
  }

  .video-card-bg::after {
    right: -12px;
    top: 46px;
    width: 210px;
    height: 118px;
  }

  .play-button {
    width: 68px;
    height: 68px;
  }

  .play-button::after {
    left: 28px;
    top: 20px;
  }

  .section,
  .comparison,
  .project-section,
  .enroll-section {
    padding: 68px 0;
  }

  .card-grid.six,
  .card-grid.eight,
  .card-grid.five,
  .time-summary,
  .project-list {
    grid-template-columns: 1fr;
  }

  .lesson-list.two-col {
    columns: 1;
  }

  .curriculum-panels {
    padding: 22px;
  }

  .tab-list {
    flex-direction: column;
  }

  .tab-button {
    border-right: 0;
    border-bottom: 1px solid var(--light-border);
  }

  .mini-screen {
    grid-template-columns: 1fr;
  }

  .mini-gauge {
    grid-row: auto;
  }

  .instructor-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media (min-width: 560px) and (max-width: 900px) {
  .container {
    width: min(100% - 34px, 860px);
  }

  .hero {
    padding: 28px 0 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
    gap: 16px;
    align-items: start;
  }

  h1 {
    font-size: clamp(2.15rem, 5.6vw, 2.7rem);
    line-height: 0.98;
    margin-bottom: 10px;
  }

  h2 {
    font-size: clamp(1.45rem, 4vw, 2rem);
  }

  .hero-subtitle {
    margin-bottom: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .hero-support {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0;
  }

  .chip-row span {
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .hero-actions {
    width: auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .hero-actions .button {
    width: auto;
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .ecosystem {
    gap: 7px;
    font-size: 0.72rem;
  }

  .ecosystem-label {
    width: 100%;
    font-size: 0.68rem;
  }

  .ecosystem span:not(.ecosystem-label) {
    padding: 5px 7px;
    font-size: 0.7rem;
  }

  .device-wrap {
    padding: 24px 0 76px;
  }

  .device {
    max-width: 300px;
    transform: perspective(800px) rotateY(-13deg) rotateX(5deg);
  }

  .device::before {
    inset: -9px;
    border-radius: 24px;
  }

  .device-side {
    top: 27px;
    right: -25px;
    width: 34px;
    height: 150px;
  }

  .screen {
    grid-template-columns: 34px 1fr;
    min-height: 192px;
    padding: 7px;
    border-width: 7px;
    border-radius: 18px;
  }

  .screen-sidebar {
    gap: 9px;
    padding: 11px 0;
    border-radius: 10px;
  }

  .screen-sidebar span {
    width: 12px;
    height: 12px;
    border-width: 1px;
  }

  .screen-content {
    padding: 8px;
  }

  .screen-top {
    margin-bottom: 7px;
    font-size: 0.62rem;
  }

  .dashboard-grid {
    gap: 6px;
  }

  .dash-card {
    min-height: 65px;
    padding: 7px;
    border-radius: 7px;
  }

  .dash-card span {
    font-size: 0.52rem;
  }

  .dash-card strong {
    margin-top: 5px;
    font-size: 0.94rem;
  }

  .dash-card small {
    font-size: 0.48rem;
  }

  .dash-card svg {
    height: 22px;
    margin-top: 4px;
  }

  .status strong {
    font-size: 0.76rem;
  }

  .status b {
    width: 21px;
    height: 21px;
    right: 8px;
    bottom: 8px;
  }

  .status b::after {
    left: 6px;
    top: 5px;
    width: 8px;
    height: 5px;
    border-width: 2px;
  }

  .ring {
    width: 30px;
    height: 30px;
    right: 8px;
    bottom: 8px;
  }

  .ring::after {
    inset: 6px;
  }

  .metric-strip {
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    grid-template-columns: repeat(3, 1fr);
    width: min(340px, 100%);
    transform: none;
    border-radius: 8px;
  }

  .metric-strip div {
    padding: 10px 9px;
  }

  .metric-strip div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metric-strip strong {
    font-size: 0.72rem;
  }

  .metric-strip span {
    font-size: 0.58rem;
  }

  .video-section {
    padding: 16px 0 20px;
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.92fr);
    gap: 14px;
    padding: 12px;
    border-radius: 10px;
  }

  .video-card {
    min-height: 205px;
  }

  .video-card-bg::after {
    right: 10px;
    top: 42px;
    width: 150px;
    height: 86px;
    border-width: 6px;
  }

  .video-copy {
    left: 18px;
    bottom: 22px;
    width: 190px;
  }

  .video-copy strong {
    font-size: 1.35rem;
  }

  .video-copy span,
  .video-content p,
  .helper-text {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .play-button {
    width: 55px;
    height: 55px;
  }

  .play-button::after {
    left: 22px;
    top: 16px;
    border-left-width: 17px;
    border-top-width: 11px;
    border-bottom-width: 11px;
  }

  .duration-badge {
    padding: 5px 7px;
    font-size: 0.68rem;
  }

  .video-content h2 {
    font-size: 1.15rem;
  }

  .check-list {
    gap: 6px;
  }

  .check-list li {
    padding-left: 21px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .check-list li::before {
    width: 13px;
    height: 13px;
  }

  .check-list li::after {
    left: 4px;
    width: 5px;
  }

  .section,
  .comparison,
  .project-section,
  .enroll-section {
    padding: 32px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 1.45rem;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .card-grid.six {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.eight {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-card,
  .compact {
    padding: 14px 12px;
  }

  .info-card h3 {
    font-size: 0.78rem;
  }

  .info-card p {
    font-size: 0.68rem;
    line-height: 1.38;
  }

  .card-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 9px;
    font-size: 0.68rem;
  }

  .comparison-grid {
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
    gap: 10px;
  }

  .comparison-card {
    min-height: 210px;
    padding: 18px;
  }

  .comparison-card h3 {
    font-size: 1rem;
  }

  .vs-badge {
    width: 50px;
    height: 50px;
    font-size: 0.86rem;
  }

  .comparison-note {
    margin-top: 14px;
    font-size: 0.74rem;
  }

  .project-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 8px;
    background: rgba(5, 18, 35, 0.86);
  }

  .project-copy h2 {
    font-size: 1.16rem;
  }

  .project-copy p:not(.eyebrow) {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .project-list li {
    padding: 7px;
    font-size: 0.66rem;
  }

  .project-device {
    padding: 8px;
  }

  .mini-screen {
    grid-template-columns: 1fr 70px;
    min-height: 170px;
    padding: 10px;
    border-width: 6px;
  }

  .mini-status {
    padding: 10px;
  }

  .mini-status span {
    font-size: 0.62rem;
  }

  .mini-status strong {
    font-size: 1rem;
  }

  .mini-gauge {
    width: 62px;
    height: 62px;
  }

  .mini-gauge::after {
    width: 38px;
    height: 38px;
    margin: 12px;
  }

  .mini-bars {
    gap: 8px;
    padding: 10px;
  }

  .mini-screen button,
  .mini-screen label {
    min-height: 34px;
    font-size: 0.66rem;
  }

  .lower-cards {
    padding: 16px 0 30px;
  }

  .split-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .panel-card,
  .lower-cards .offer-card {
    min-height: 300px;
    padding: 14px;
  }

  .panel-card h2,
  .lower-cards .offer-card h2,
  .instructor-head h2 {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .panel-card h3 {
    font-size: 0.74rem;
  }

  .panel-card p,
  .offer-copy,
  .secure-line {
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .instructor-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  .instructor-head img {
    width: 78px;
    padding: 5px;
  }

  .lower-cards .offer-card .button {
    min-height: 36px;
    margin-top: 12px;
    font-size: 0.74rem;
  }

  .card-grid.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .audience .info-card {
    min-height: 180px;
  }
}


.container {
  width: min(1360px, calc(100% - 48px));
}

.hero {
  min-height: 565px;
  padding: 28px 0 24px;
  background:
    radial-gradient(circle at 63% 13%, rgba(36, 69, 255, 0.28), transparent 26%),
    radial-gradient(circle at 92% 22%, rgba(59, 130, 246, 0.18), transparent 24%),
    linear-gradient(105deg, rgba(2, 6, 23, 0.98) 0%, rgba(3, 13, 30, 0.98) 42%, rgba(4, 20, 43, 0.98) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 16%, transparent 84%, rgba(59, 130, 246, 0.05)),
    radial-gradient(circle at 64% 58%, rgba(76, 29, 149, 0.2), transparent 24%);
}

.hero-bg {
  opacity: 0.58;
  background-image:
    linear-gradient(90deg, rgba(55, 97, 255, 0.2) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(68, 85, 255, 0.58) 1px, transparent 1.7px);
  background-size: 74px 74px, 74px 74px, 30px 30px;
  transform: perspective(820px) rotateX(62deg) translateY(28%);
}

.hero-grid {
  grid-template-columns: 600px minmax(620px, 1fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  padding-top: 18px;
}

.hero .eyebrow {
  margin-bottom: 12px;
  color: #37a6ff;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 18px;
  color: #f8fafc;
  font-size: clamp(3.7rem, 4.45vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.hero h1 span {
  color: var(--green-bright);
}

.hero h1 .line {
  display: block;
  color: inherit;
}

.hero h1 .lvgl {
  color: var(--green-bright);
}

.hero-subtitle {
  max-width: 610px;
  margin-bottom: 24px;
  color: #e2e8f0;
  font-size: 1.16rem;
  line-height: 1.55;
}

.hero-support {
  display: none;
}

.hero-feature-row {
  display: grid;
  grid-template-columns: 160px 180px 190px;
  gap: 18px;
  margin: 0 0 30px;
  width: auto;
}

.hero-feature {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
}

.hero-feature svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.35));
}

.hero-feature.blue svg {
  stroke: var(--blue-2);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.35));
}

.hero-feature.purple svg {
  stroke: #b45cff;
  filter: drop-shadow(0 0 8px rgba(180, 92, 255, 0.35));
}

.hero-feature span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.hero-feature span::before,
.hero-feature span::after {
  content: none;
}

.hero-feature strong,
.hero-feature small {
  display: block;
}

.hero-feature strong {
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.2;
}

.hero-feature small {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.25;
}

.hero-actions {
  gap: 16px;
  margin-bottom: 34px;
}

.hero-actions .button {
  min-width: 208px;
  min-height: 54px;
  font-size: 1.02rem;
}

.button-primary::after {
  content: "›";
  margin-left: 18px;
  font-size: 1.6rem;
  line-height: 0;
}

.nav-cta::after,
.wide::after,
.site-footer .button::after {
  content: none;
}

.ecosystem {
  gap: 30px;
  align-items: center;
}

.ecosystem-label {
  width: auto;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
}

.ecosystem span:not(.ecosystem-label) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ecosystem-logo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #ffffff;
  font-weight: 950;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.st-logo {
  position: relative;
  font-size: 2rem;
  font-style: italic;
}

.st-logo small {
  margin-left: 2px;
  color: #dbeafe;
  font-size: 0.62rem;
  letter-spacing: 0;
  font-style: normal;
}

.nxp-logo {
  font-size: 2rem;
  transform: skew(-8deg);
}

.zephyr-logo {
  gap: 5px;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.zephyr-logo i {
  width: 42px;
  height: 28px;
  background: linear-gradient(135deg, #8b5cf6 0 34%, #38bdf8 35% 64%, #a855f7 65% 100%);
  clip-path: polygon(0 48%, 48% 48%, 64% 5%, 100% 0, 78% 82%, 38% 78%, 25% 100%);
}

.device-wrap {
  padding: 6px 0 86px;
}

.device {
  max-width: 690px;
  margin-left: -8px;
  transform: perspective(1200px) rotateY(-13deg) rotateX(4deg);
}

.device::before {
  inset: -12px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.06) 40%, rgba(245, 158, 11, 0.18));
}

.device-side {
  top: 42px;
  right: -42px;
  width: 58px;
  height: 270px;
  border-radius: 0 20px 20px 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(251, 191, 36, 0.62) 18px 26px, transparent 26px 39px),
    linear-gradient(90deg, #111827, #0b1220 50%, #8a5a16 51%, #1f2937);
}

.device-side::before,
.device-side::after {
  width: 20px;
  height: 20px;
  right: 12px;
}

.screen {
  grid-template-columns: 70px 1fr;
  min-height: 372px;
  padding: 15px;
  border: 12px solid #1f242d;
  border-radius: 31px;
  background: #030712;
}

.screen-sidebar {
  gap: 18px;
  padding: 18px 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #1b3f8f, #0f2958 46%, #0b1d3a);
}

.screen-sidebar span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.screen-sidebar span:nth-child(2) {
  background: rgba(255, 255, 255, 0.09);
}

.screen-sidebar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screen-content {
  padding: 19px 18px 18px;
}

.screen-top {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1rem;
}

.dashboard-grid {
  gap: 14px;
}

.dash-card {
  min-height: 123px;
  padding: 16px;
  border-radius: 9px;
  background: linear-gradient(145deg, #112e5b, #061426);
}

.dash-card span {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.dash-card strong {
  font-size: 2rem;
  font-weight: 500;
}

.status strong {
  color: var(--green-bright);
  font-size: 1.18rem;
  font-style: italic;
}

.status b {
  width: 48px;
  height: 48px;
  right: 18px;
  bottom: 18px;
}

.ring {
  width: 78px;
  height: 78px;
}

.ring::after {
  inset: 13px;
}

.metric-strip {
  right: 12px;
  bottom: 0;
  grid-template-columns: repeat(3, 1fr);
  width: 650px;
  border-color: rgba(203, 213, 225, 0.36);
  border-radius: 7px;
  background: rgba(13, 18, 37, 0.86);
}

.metric-strip div {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  padding: 20px 25px;
}

.metric-strip svg {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #a855f7;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-strip div:nth-child(2) svg {
  stroke: var(--green-bright);
}

.metric-strip div:nth-child(3) svg {
  stroke: #facc15;
}

.metric-strip strong {
  align-self: end;
  font-size: 1.13rem;
}

.metric-strip span {
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1fr);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 4.8vw, 4.4rem);
  }

  .hero-feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .device {
    max-width: 590px;
  }

  .metric-strip {
    width: 560px;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .container {
    width: min(1360px, calc(100% - 28px));
  }

  .hero {
    min-height: 610px;
    padding-top: 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(310px, 1fr);
    gap: 12px;
  }

  .hero h1 {
    font-size: 2.18rem;
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 0.74rem;
    line-height: 1.48;
  }

  .hero-feature-row {
    grid-template-columns: 122px 136px 145px;
    gap: 13px;
    margin-bottom: 18px;
  }

  .hero-feature {
    grid-template-columns: 34px 1fr;
    min-height: 48px;
    gap: 8px;
  }

  .hero-feature svg {
    width: 34px;
    height: 34px;
  }

  .hero-feature strong {
    font-size: 0.7rem;
  }

  .hero-feature small {
    font-size: 0.62rem;
  }

  .hero-actions {
    gap: 8px;
    margin-bottom: 16px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.72rem;
  }

  .ecosystem {
    gap: 10px;
  }

  .ecosystem-label {
    width: 100%;
    font-size: 0.66rem;
  }

  .st-logo,
  .nxp-logo {
    font-size: 1.16rem;
  }

  .zephyr-logo {
    font-size: 0.62rem;
  }

  .zephyr-logo i {
    width: 24px;
    height: 16px;
  }

  .device-wrap {
    padding-top: 10px;
    padding-bottom: 78px;
  }

  .device {
    max-width: 330px;
    margin-left: 0;
  }

  .device-side {
    top: 26px;
    right: -28px;
    width: 38px;
    height: 160px;
  }

  .screen {
    grid-template-columns: 35px 1fr;
    min-height: 202px;
    padding: 7px;
    border-width: 7px;
    border-radius: 18px;
  }

  .screen-sidebar {
    gap: 6px;
    padding: 9px 0;
  }

  .screen-sidebar span {
    width: 25px;
    height: 25px;
  }

  .screen-sidebar svg {
    width: 14px;
    height: 14px;
  }

  .screen-content {
    padding: 8px;
  }

  .screen-top {
    margin-bottom: 7px;
    font-size: 0.62rem;
  }

  .dashboard-grid {
    gap: 6px;
  }

  .dash-card {
    min-height: 66px;
    padding: 7px;
  }

  .dash-card span {
    font-size: 0.48rem;
  }

  .dash-card strong {
    font-size: 0.94rem;
  }

  .dash-card svg {
    height: 18px;
  }

  .status b {
    width: 22px;
    height: 22px;
  }

  .ring {
    width: 32px;
    height: 32px;
  }

  .metric-strip {
    right: 0;
    width: 338px;
  }

  .metric-strip div {
    grid-template-columns: 24px 1fr;
    column-gap: 7px;
    padding: 10px 8px;
  }

  .metric-strip svg {
    width: 22px;
    height: 22px;
  }

  .metric-strip strong {
    font-size: 0.66rem;
  }

  .metric-strip span {
    font-size: 0.53rem;
  }
}

@media (max-width: 559px) {
  .hero h1 span {
    display: inline;
  }

  .hero-feature-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 10px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 8px;
    background: rgba(8, 24, 39, 0.72);
  }

  .hero-feature svg {
    width: 34px;
    height: 34px;
  }
}

#why-lvgl .why-icon {
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
}

#why-lvgl .why-icon svg {
  width: 46px;
  height: 46px;
}

@media (min-width: 560px) and (max-width: 900px) {
  #why-lvgl .why-icon {
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin-bottom: 12px;
  }

  #why-lvgl .why-icon svg {
    width: 40px;
    height: 40px;
  }
}


.comparison {
  padding: 34px 0;
  background: #f8fafc;
}

.comparison-grid {
  grid-template-columns: 250px 250px 86px 250px 1fr;
  min-height: 258px;
  padding: 30px 38px;
  border-radius: 14px;
}

.comparison-card.touchgfx {
  grid-column: 1;
}

.comparison-device-left {
  grid-column: 2;
}

.vs-badge {
  grid-column: 3;
}

.comparison-device-right {
  grid-column: 4;
}

.comparison-card.lvgl {
  grid-column: 5;
}

@media (min-width: 560px) and (max-width: 900px) {
  .comparison {
    padding: 18px 0 26px;
  }

  .comparison-grid {
    grid-template-columns: 130px 128px 50px 128px 155px;
    min-height: 170px;
    gap: 0;
    padding: 18px 20px;
    border-radius: 10px;
  }

  .comparison-card {
    padding: 0;
  }

  .comparison-card span {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .comparison-card h3 {
    margin-bottom: 12px;
    font-size: 0.96rem;
  }

  .comparison-card .check-list {
    gap: 7px;
  }

  .comparison-card .check-list li {
    padding-left: 19px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .comparison-card .check-list li::before {
    width: 12px;
    height: 12px;
  }

  .comparison-card .check-list li::after {
    left: 4px;
    top: 0.56em;
    width: 4px;
    height: 2px;
  }

  .comparison-device {
    width: 116px;
    height: 76px;
  }

  .comparison-device::after {
    top: 13px;
    right: -9px;
    width: 13px;
    height: 50px;
  }

  .comparison-screen {
    grid-template-columns: 18px 1fr;
    padding: 4px;
    border-width: 5px;
    border-radius: 9px;
  }

  .comparison-ui {
    gap: 4px;
    padding: 4px;
  }

  .mini-chart {
    min-height: 22px;
  }

  .mini-gauge-small::before,
  .mini-status-dot::before,
  .mini-ring-small::before {
    left: 9px;
    top: 7px;
    width: 19px;
    height: 19px;
  }

  .mini-gauge-small::after,
  .mini-ring-small::after {
    left: 14px;
    top: 12px;
    width: 9px;
    height: 9px;
  }

  .mini-status-dot::after {
    left: 15px;
    top: 13px;
    width: 6px;
    height: 3px;
  }

  .mini-tile-row span {
    width: 8px;
    height: 8px;
  }

  .vs-badge {
    width: 46px;
    height: 46px;
    font-size: 0.94rem;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 559px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .comparison-device,
  .vs-badge {
    margin-inline: auto;
  }
}


.comparison-device {
  position: relative;
  width: 250px;
  height: 160px;
  padding: 0;
}

.comparison-device::after {
  content: none;
}

.comparison-device-left {
  transform: perspective(850px) rotateY(-16deg) rotateZ(-4deg);
}

.comparison-device-right {
  transform: perspective(850px) rotateY(-14deg) rotateZ(5deg);
}

.comparison-screen {
  position: relative;
  display: grid;
  grid-template-columns: 33px 1fr;
  width: 100%;
  height: 100%;
  padding: 8px;
  border: 8px solid #252b35;
  border-radius: 15px;
  background: #030712;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 24px rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.35);
}

.comparison-screen::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 13px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.comparison-screen::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 7px;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.module-edge {
  position: absolute;
  top: 30px;
  z-index: -1;
  display: grid;
  gap: 6px;
  width: 22px;
  padding: 9px 5px;
  border-radius: 7px;
  background: linear-gradient(90deg, #0c1220, #241a11 45%, #895d20 52%, #111827);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.55), 0 10px 20px rgba(0, 0, 0, 0.32);
}

.module-edge-left {
  left: -15px;
}

.module-edge-right {
  right: -15px;
}

.module-edge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a 0 28%, #b7791f 34% 62%, #2b1d0b 70%);
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.7);
}

.comparison-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 9px 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #1e40af, #172554);
}

.comparison-sidebar span {
  width: 15px;
  height: 15px;
  margin-inline: auto;
  border-radius: 4px;
  border: 1.6px solid rgba(226, 232, 240, 0.84);
}

.comparison-sidebar span:first-child {
  border-radius: 50% 50% 4px 4px;
  border-top-color: transparent;
}

.comparison-ui {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 18px repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 7px 7px 7px 9px;
  border-radius: 8px;
  background: #06101e;
}

.comparison-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fafc;
  font-size: 0.58rem;
}

.comparison-topbar small {
  color: #cbd5e1;
  font-size: 0.46rem;
}

.mini-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 7px;
  background: linear-gradient(145deg, #132b52, #07162a);
}

.touch-ui .mini-card {
  background: linear-gradient(145deg, #18295b, #0b1731);
}

.mini-card span {
  display: block;
  color: #94a3b8;
  font-size: 0.46rem;
  line-height: 1;
}

.mini-card strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
}

.mini-card b {
  display: block;
  margin-top: 5px;
  color: var(--green-bright);
  font-size: 0.65rem;
  line-height: 1;
}

.mini-card svg {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  width: calc(100% - 14px);
  height: 24px;
  fill: none;
  stroke: #38bdf8;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.32));
}

.touch-ui .mini-card svg {
  stroke: #8b5cf6;
}

.mini-wide {
  grid-column: span 2;
}

.mini-arc {
  position: absolute;
  right: 10px;
  bottom: 7px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(#f97316 0 28%, #22c55e 28% 65%, #334155 65% 100%);
}

.mini-arc::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #0b1731;
}

.mini-controls {
  display: grid;
  align-content: center;
  gap: 6px;
}

.mini-controls i {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #64748b 0 28%, #8b5cf6 28% 72%, #1e293b 72%);
}

.mini-controls i:nth-child(2) {
  background: linear-gradient(90deg, #64748b 0 45%, #22c55e 45% 82%, #1e293b 82%);
}

.mini-controls i:nth-child(3) {
  background: linear-gradient(90deg, #64748b 0 20%, #f97316 20% 58%, #1e293b 58%);
}

.mini-check {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #166534;
}

.mini-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.mini-ring-small {
  position: absolute;
  right: 9px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(#22c55e 0 73%, #1d4ed8 73% 100%);
}

.mini-ring-small::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #07162a;
}

@media (min-width: 560px) and (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 126px 154px 50px 154px 150px;
    min-height: 182px;
    padding: 18px 17px;
  }

  .comparison-device {
    width: 148px;
    height: 96px;
  }

  .comparison-screen {
    grid-template-columns: 21px 1fr;
    padding: 5px;
    border-width: 5px;
    border-radius: 10px;
  }

  .comparison-sidebar {
    gap: 5px;
    padding-top: 6px;
    border-radius: 5px;
  }

  .comparison-sidebar span {
    width: 9px;
    height: 9px;
    border-width: 1px;
  }

  .comparison-ui {
    grid-template-rows: 12px repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px 4px 4px 5px;
  }

  .comparison-topbar {
    font-size: 0.42rem;
  }

  .comparison-topbar small {
    font-size: 0.34rem;
  }

  .mini-card {
    padding: 4px;
    border-radius: 5px;
  }

  .mini-card span {
    font-size: 0.32rem;
  }

  .mini-card strong {
    margin-top: 3px;
    font-size: 0.55rem;
  }

  .mini-card b {
    font-size: 0.45rem;
  }

  .mini-card svg {
    left: 4px;
    bottom: 3px;
    width: calc(100% - 8px);
    height: 14px;
    stroke-width: 2.4;
  }

  .mini-arc,
  .mini-ring-small {
    right: 5px;
    bottom: 4px;
    width: 20px;
    height: 20px;
  }

  .mini-arc::after,
  .mini-ring-small::after {
    inset: 5px;
  }

  .mini-check {
    right: 5px;
    bottom: 5px;
    width: 17px;
    height: 17px;
  }

  .mini-check::after {
    left: 5px;
    top: 5px;
    width: 6px;
    height: 3px;
    border-width: 1.5px;
  }

  .mini-controls {
    gap: 4px;
  }

  .mini-controls i {
    height: 4px;
  }

  .module-edge {
    top: 18px;
    width: 14px;
    gap: 4px;
    padding: 6px 3px;
  }

  .module-edge-left {
    left: -9px;
  }

  .module-edge-right {
    right: -9px;
  }

  .module-edge span {
    width: 5px;
    height: 5px;
  }
}


#learn {
  padding: 24px 0 30px;
  background: #f8fafc;
}

#learn .section-heading {
  margin-bottom: 14px;
}

#learn .section-heading .eyebrow,
#learn .section-heading p {
  display: none;
}

#learn .section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
}

#learn .card-grid.eight {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

#learn .learn-card {
  min-height: 125px;
  padding: 14px 10px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
  text-align: center;
}

#learn .learn-icon {
  width: 34px;
  height: 34px;
  min-height: 34px;
  margin: 0 auto 9px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #5361f2;
}

#learn .learn-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#learn .learn-card h3 {
  margin-bottom: 7px;
  color: #0f172a;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.15;
}

#learn .learn-card p {
  margin: 0;
  color: #334155;
  font-size: 0.66rem;
  line-height: 1.33;
}

@media (min-width: 560px) and (max-width: 900px) {
  #learn {
    padding: 22px 0 28px;
  }

  #learn .card-grid.eight {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 7px;
  }

  #learn .learn-card {
    min-height: 122px;
    padding: 12px 6px 10px;
  }

  #learn .learn-icon,
  #learn .learn-icon svg {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }

  #learn .learn-card h3 {
    font-size: 0.54rem;
  }

  #learn .learn-card p {
    font-size: 0.52rem;
    line-height: 1.28;
  }
}

@media (max-width: 559px) {
  #learn .card-grid.eight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #learn .learn-card h3 {
    font-size: 0.76rem;
  }

  #learn .learn-card p {
    font-size: 0.72rem;
  }
}


.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-image-wrap {
  position: relative;
  min-height: 450px;
  padding: 0 0 86px;
  overflow: visible;
}

.hero-image-wrap::before,
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: 2;
  pointer-events: none;
}

.hero-image-wrap::before {
  background:
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.9) 7%, rgba(2, 6, 23, 0.35) 20%, transparent 39%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.72) 0%, transparent 18%, transparent 80%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-image-wrap::after {
  background:
    radial-gradient(circle at 50% 48%, transparent 0 45%, rgba(2, 6, 23, 0.2) 66%, rgba(2, 6, 23, 0.72) 100%),
    linear-gradient(90deg, transparent 0 72%, rgba(2, 6, 23, 0.34) 100%);
  mix-blend-mode: normal;
}

.hero-device-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(820px, 58vw);
  max-width: none;
  height: auto;
  margin: -78px 0 0 -70px;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.45));
  transform: scale(1.04);
  transform-origin: center;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 96%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 96%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 90%, transparent 100%);
}

.hero-image-wrap .metric-strip {
  z-index: 4;
}

@media (max-width: 1180px) {
  .hero-image-wrap {
    min-height: 390px;
  }

  .hero-device-image {
    width: min(670px, 58vw);
    margin: -45px 0 0 -50px;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .hero-image-wrap {
    min-height: 320px;
    padding-bottom: 78px;
  }

  .hero-device-image {
    width: 430px;
    margin: -10px 0 0 -58px;
    transform: scale(1.03);
  }

  .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.86) 6%, rgba(2, 6, 23, 0.28) 24%, transparent 45%),
      linear-gradient(180deg, rgba(2, 6, 23, 0.54) 0%, transparent 18%, transparent 80%, rgba(2, 6, 23, 0.8) 100%);
  }
}

@media (max-width: 559px) {
  .hero-image-wrap {
    min-height: 330px;
    padding-bottom: 22px;
  }

  .hero-device-image {
    width: 560px;
    margin: -20px 0 0 -96px;
    transform: scale(1);
  }

  .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.6) 9%, transparent 42%, rgba(2, 6, 23, 0.25) 100%),
      linear-gradient(180deg, rgba(2, 6, 23, 0.62) 0%, transparent 20%, transparent 82%, rgba(2, 6, 23, 0.9) 100%);
  }
}


.hero {
  min-height: 665px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 16%, rgba(37, 99, 235, 0.24), transparent 22%),
    radial-gradient(circle at 62% 40%, rgba(30, 64, 175, 0.16), transparent 28%),
    linear-gradient(105deg, #020817 0%, #06111f 47%, #06162c 100%);
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.98) 31%, rgba(2, 8, 23, 0.68) 43%, transparent 58%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.94) 0%, transparent 14%, transparent 80%, rgba(2, 8, 23, 0.94) 100%);
}

.hero-bg {
  z-index: 0;
  opacity: 0.72;
  transform: perspective(920px) rotateX(63deg) translateY(33%);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 665px;
  padding-top: 48px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(590px, 50vw);
  padding-top: 0;
}

.hero .eyebrow {
  margin-bottom: 18px;
  font-size: 1rem;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 5.15vw, 5.45rem);
  line-height: 0.96;
}

.hero-subtitle {
  max-width: 585px;
  margin-bottom: 26px;
  font-size: 1.16rem;
}

.hero-feature-row {
  grid-template-columns: 150px 178px 190px;
  gap: 28px;
  margin-bottom: 30px;
}

.hero-feature {
  min-height: 58px;
}

.hero-actions {
  margin-bottom: 34px;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 2;
  width: min(63vw, 910px);
  height: 100%;
  pointer-events: none;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
}

.hero-device-image {
  position: absolute;
  z-index: 1;
  top: -108px;
  right: -116px;
  width: min(980px, 68vw);
  height: auto;
  margin: 0;
  transform: none;
  filter: saturate(1.04) contrast(1.04) drop-shadow(0 38px 68px rgba(0, 0, 0, 0.48));
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 91%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 11%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 91%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 11%, #000 82%, transparent 100%);
}

.hero-image-wrap::before {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.98) 9%, rgba(2, 8, 23, 0.42) 24%, transparent 45%, rgba(2, 8, 23, 0.18) 83%, rgba(2, 8, 23, 0.78) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.92) 0%, transparent 18%, transparent 73%, rgba(2, 8, 23, 0.98) 100%);
}

.hero-image-wrap::after {
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 55% 36%, transparent 0 32%, rgba(2, 8, 23, 0.12) 56%, rgba(2, 8, 23, 0.72) 100%),
    linear-gradient(90deg, rgba(2, 8, 23, 0.24) 0%, transparent 30%, transparent 72%, rgba(2, 8, 23, 0.7) 100%);
}

.hero-image-wrap .metric-strip {
  position: absolute;
  z-index: 5;
  right: clamp(28px, 5.2vw, 84px);
  bottom: 44px;
  width: min(650px, 52vw);
  pointer-events: auto;
}

@media (max-width: 1180px) {
  .hero,
  .hero-grid {
    min-height: 610px;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-copy {
    width: min(430px, 49vw);
  }

  .hero h1 {
    max-width: 430px;
    font-size: clamp(2.8rem, 5.1vw, 4.3rem);
  }

  .hero-subtitle {
    max-width: 420px;
    font-size: 0.98rem;
  }

  .hero-feature-row {
    grid-template-columns: 120px 132px 138px;
    gap: 16px;
  }

  .hero-visual {
    width: 58vw;
  }

  .hero-device-image {
    top: -42px;
    right: -94px;
    width: min(720px, 64vw);
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .hero,
  .hero-grid {
    min-height: 610px;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-copy {
    width: 370px;
  }

  .hero h1 {
    max-width: 370px;
    font-size: 2.8rem;
    line-height: 0.98;
  }

  .hero-subtitle {
    max-width: 360px;
    font-size: 0.86rem;
  }

  .hero-feature-row {
    grid-template-columns: 105px 116px 126px;
    gap: 10px;
  }

  .hero-feature {
    grid-template-columns: 28px 1fr;
    gap: 6px;
  }

  .hero-feature svg {
    width: 28px;
    height: 28px;
  }

  .hero-feature strong {
    font-size: 0.62rem;
  }

  .hero-feature small {
    font-size: 0.56rem;
  }

  .hero-visual {
    width: 59vw;
  }

  .hero-device-image {
    top: 8px;
    right: -118px;
    width: 545px;
  }

  .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.96) 8%, rgba(2, 8, 23, 0.5) 29%, transparent 54%, rgba(2, 8, 23, 0.46) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.84) 0%, transparent 18%, transparent 70%, rgba(2, 8, 23, 0.98) 100%);
  }

  .hero-image-wrap .metric-strip {
    right: 14px;
    bottom: 24px;
    width: 338px;
  }
}

@media (max-width: 559px) {
  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 40px 0 390px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-visual {
    top: auto;
    width: 100%;
    height: 410px;
  }

  .hero-device-image {
    top: 0;
    right: -210px;
    width: 720px;
  }

  .hero-image-wrap .metric-strip {
    position: static;
    width: 100%;
    margin-top: 330px;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .hero {
    padding-top: 22px;
  }

  .hero-support {
    display: none;
  }

  .chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chip-row span {
    min-height: 32px;
    padding: 6px;
    font-size: 0.6rem;
  }

  .device-wrap {
    padding-top: 10px;
  }

  .video-grid {
    align-items: center;
  }

  .video-card {
    min-height: 180px;
  }

  .video-content .helper-text {
    margin-top: 12px;
  }

  .card-grid.six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid.six .info-card {
    min-height: 190px;
    padding: 12px 7px;
    text-align: center;
  }

  .card-grid.six .info-card h3 {
    font-size: 0.64rem;
  }

  .card-grid.six .info-card p {
    font-size: 0.58rem;
    line-height: 1.32;
  }

  .card-grid.six .card-icon {
    margin-inline: auto;
  }

  .card-grid.eight {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .card-grid.eight .info-card {
    min-height: 230px;
    padding: 12px 5px;
    text-align: center;
  }

  .card-grid.eight .info-card h3 {
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .card-grid.eight .info-card p {
    font-size: 0.52rem;
    line-height: 1.3;
  }

  .card-grid.eight .card-icon {
    width: 26px;
    height: 26px;
    margin-inline: auto;
  }

  .lesson-list.two-col {
    columns: 2;
  }

  .curriculum-panels {
    padding: 18px;
  }

  .lesson-list li {
    font-size: 0.76rem;
    margin-bottom: 7px;
  }

  .time-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .time-summary div {
    padding: 13px;
  }

  .time-summary strong,
  .time-summary span {
    font-size: 0.76rem;
  }
}


body .hero {
  min-height: 665px;
  padding: 0;
}

body .hero-grid {
  display: block;
  min-height: 665px;
  padding-top: 48px;
}

body .hero-copy {
  width: min(590px, 50vw);
}

body .hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(63vw, 910px);
  height: 100%;
}

body .hero-image-wrap {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
}

body .hero-device-image {
  position: absolute;
  top: -108px;
  right: -116px;
  width: min(980px, 68vw);
  max-width: none;
  margin: 0;
  transform: none;
}

@media (max-width: 1180px) {
  body .hero,
  body .hero-grid {
    min-height: 610px;
  }

  body .hero-grid {
    display: block;
    padding-top: 34px;
  }

  body .hero-copy {
    width: min(430px, 49vw);
  }

  body .hero h1 {
    max-width: 430px;
    font-size: clamp(2.8rem, 5.1vw, 4.3rem);
  }

  body .hero-device-image {
    top: -42px;
    right: -94px;
    width: min(720px, 64vw);
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  body .hero,
  body .hero-grid {
    min-height: 610px;
  }

  body .hero-grid {
    display: block;
    padding-top: 34px;
  }

  body .hero-copy {
    width: 390px;
  }

  body .hero h1 {
    max-width: 390px;
    font-size: 1.9rem;
    line-height: 0.98;
  }

  body .hero-subtitle {
    max-width: 372px;
    font-size: 0.86rem;
  }

  body .hero-visual {
    width: 59vw;
  }

  body .hero-device-image {
    top: 8px;
    right: -118px;
    width: 545px;
  }
}


body .hero {
  background: #020817;
}

body .hero::before {
  z-index: 3;
  background:
    linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.99) 27%, rgba(2, 8, 23, 0.82) 40%, rgba(2, 8, 23, 0.22) 62%, rgba(2, 8, 23, 0.54) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.72) 0%, transparent 18%, transparent 74%, rgba(2, 8, 23, 0.98) 100%);
}

body .hero-bg {
  z-index: 2;
  opacity: 0.2;
  mix-blend-mode: screen;
}

body .hero-grid {
  z-index: 5;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(24px, calc((100vw - 1360px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1360px) / 2 + 24px));
}

body .hero-copy {
  z-index: 7;
}

body .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body .hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

body .hero-image-wrap::before {
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at 69% 36%, transparent 0 26%, rgba(2, 8, 23, 0.08) 48%, rgba(2, 8, 23, 0.42) 100%),
    linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.98) 28%, rgba(2, 8, 23, 0.62) 44%, rgba(2, 8, 23, 0.08) 68%, rgba(2, 8, 23, 0.56) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.8) 0%, transparent 19%, transparent 76%, #020817 100%);
}

body .hero-image-wrap::after {
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.18) 0%, transparent 42%, transparent 82%, rgba(2, 8, 23, 0.5) 100%),
    radial-gradient(circle at 72% 35%, rgba(59, 130, 246, 0.09), transparent 34%);
}

body .hero-device-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% 47%;
  margin: 0;
  opacity: 0.98;
  filter: saturate(1.03) contrast(1.04);
  transform: scale(1.01);
  transform-origin: center;
  -webkit-mask-image: none;
  mask-image: none;
}

body .hero-image-wrap .metric-strip {
  z-index: 8;
}

@media (min-width: 560px) and (max-width: 900px) {
  body .hero-device-image {
    object-position: 66% 47%;
    transform: scale(1.01);
  }

  body .hero::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.99) 34%, rgba(2, 8, 23, 0.7) 49%, rgba(2, 8, 23, 0.18) 71%, rgba(2, 8, 23, 0.5) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.72) 0%, transparent 18%, transparent 74%, rgba(2, 8, 23, 0.98) 100%);
  }

  body .hero-image-wrap::before {
    background:
      radial-gradient(circle at 71% 36%, transparent 0 22%, rgba(2, 8, 23, 0.08) 44%, rgba(2, 8, 23, 0.46) 100%),
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.99) 33%, rgba(2, 8, 23, 0.64) 51%, rgba(2, 8, 23, 0.06) 72%, rgba(2, 8, 23, 0.58) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.78) 0%, transparent 20%, transparent 76%, #020817 100%);
  }
}


@media (min-width: 560px) and (max-width: 900px) {
  body .hero,
  body .hero-grid {
    min-height: 424px;
  }

  body .hero-grid {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: 22px;
    padding-left: 24px;
    padding-right: 24px;
  }

  body .hero-copy {
    width: 386px;
  }

  body .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  body .hero h1 {
    max-width: 386px;
    margin-bottom: 14px;
    font-size: 1.78rem;
    line-height: 0.98;
  }

  body .hero-subtitle {
    max-width: 362px;
    margin-bottom: 14px;
    font-size: 0.74rem;
    line-height: 1.38;
  }

  body .hero-feature-row {
    grid-template-columns: 106px 118px 128px;
    gap: 12px;
    width: 386px;
    margin-bottom: 15px;
  }

  body .hero-feature {
    min-height: 46px;
    grid-template-columns: 30px 1fr;
    gap: 7px;
  }

  body .hero-feature svg {
    width: 30px;
    height: 30px;
  }

  body .hero-feature strong {
    font-size: 0.6rem;
    line-height: 1.08;
  }

  body .hero-feature small {
    margin-top: 3px;
    font-size: 0.52rem;
    line-height: 1.14;
  }

  body .hero-actions {
    gap: 10px;
    margin-bottom: 16px;
  }

  body .hero-actions .button {
    width: 148px;
    min-height: 38px;
    font-size: 0.74rem;
  }

  body .ecosystem {
    flex-wrap: nowrap;
    gap: 11px;
    width: 386px;
    min-height: 30px;
  }

  body .ecosystem-label {
    width: auto;
    flex: 0 0 auto;
    font-size: 0.58rem;
  }

  body .st-logo,
  body .nxp-logo {
    font-size: 1.04rem;
  }

  body .st-logo small {
    font-size: 0.42rem;
  }

  body .zephyr-logo {
    font-size: 0.52rem;
  }

  body .zephyr-logo i {
    width: 20px;
    height: 13px;
  }

  body .ecosystem span:not(.ecosystem-label):not(.ecosystem-logo) {
    font-size: 0.54rem;
    white-space: nowrap;
  }

  body .hero-device-image {
    top: -4px;
    right: -150px;
    width: 492px;
  }

  body .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 1) 43%, rgba(2, 8, 23, 0.82) 54%, rgba(2, 8, 23, 0.28) 66%, transparent 80%, rgba(2, 8, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.84) 0%, transparent 18%, transparent 74%, #020817 100%);
  }

  body .hero-image-wrap .metric-strip {
    right: 14px;
    bottom: 18px;
    width: 338px;
  }
}


body .hero {
  min-height: 560px;
  background:
    radial-gradient(circle at 72% 9%, rgba(37, 99, 235, 0.2), transparent 26%),
    radial-gradient(circle at 48% 50%, rgba(29, 78, 216, 0.14), transparent 32%),
    linear-gradient(105deg, #020817 0%, #06111f 48%, #07172d 100%);
}

body .hero::before {
  z-index: 4;
  background:
    linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.98) 35%, rgba(2, 8, 23, 0.62) 49%, rgba(2, 8, 23, 0.12) 67%, rgba(2, 8, 23, 0.36) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.66) 0%, transparent 17%, transparent 80%, rgba(2, 8, 23, 0.92) 100%);
}

body .hero-bg {
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: screen;
}

body .hero-grid {
  min-height: 560px;
  padding-top: 28px;
}

body .hero-copy {
  z-index: 8;
  width: min(560px, 47vw);
}

body .hero h1 {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 4.1vw, 4.8rem);
  line-height: 0.98;
}

body .hero-subtitle {
  max-width: 550px;
  font-size: 1.06rem;
  line-height: 1.45;
}

body .hero-visual {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

body .hero-image-wrap {
  inset: 0;
  overflow: hidden;
}

body .hero-device-image {
  position: absolute;
  inset: auto auto auto auto;
  top: -70px;
  right: -78px;
  width: min(850px, 66vw);
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: saturate(1.05) contrast(1.05) drop-shadow(0 32px 55px rgba(0, 0, 0, 0.45));
  transform: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 96%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 96%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 91%, transparent 100%);
}

body .hero-image-wrap::before {
  z-index: 3;
  background:
    linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.99) 37%, rgba(2, 8, 23, 0.7) 48%, rgba(2, 8, 23, 0.2) 59%, transparent 72%, rgba(2, 8, 23, 0.32) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, 0.88) 0%, transparent 20%, transparent 74%, #020817 100%);
}

body .hero-image-wrap::after {
  z-index: 4;
  background:
    radial-gradient(circle at 67% 38%, transparent 0 30%, rgba(2, 8, 23, 0.08) 49%, rgba(2, 8, 23, 0.56) 100%),
    linear-gradient(90deg, rgba(2, 8, 23, 0.12) 0%, transparent 44%, transparent 82%, rgba(2, 8, 23, 0.48) 100%);
}

body .hero-image-wrap .metric-strip {
  z-index: 9;
  right: clamp(28px, 5vw, 72px);
  bottom: 28px;
  width: min(610px, 50vw);
}

@media (max-width: 1180px) {
  body .hero,
  body .hero-grid {
    min-height: 585px;
  }

  body .hero-copy {
    width: min(450px, 50vw);
  }

  body .hero h1 {
    max-width: 450px;
    font-size: clamp(2.75rem, 4.4vw, 4.05rem);
  }

  body .hero-subtitle {
    max-width: 430px;
    font-size: 0.96rem;
  }

  body .hero-device-image {
    top: -26px;
    right: -92px;
    width: min(670px, 64vw);
  }

  body .hero-image-wrap .metric-strip {
    width: min(520px, 48vw);
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  body .hero,
  body .hero-grid {
    min-height: 585px;
  }

  body .hero-grid {
    padding-top: 30px;
  }

  body .hero-copy {
    width: 390px;
  }

  body .hero h1 {
    max-width: 390px;
    font-size: 1.92rem;
  }

  body .hero-subtitle {
    max-width: 368px;
    font-size: 0.82rem;
  }

  body .hero-device-image {
    top: 16px;
    right: -178px;
    width: 500px;
  }

  body .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 1) 46%, rgba(2, 8, 23, 0.82) 57%, rgba(2, 8, 23, 0.28) 68%, transparent 80%, rgba(2, 8, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.84) 0%, transparent 20%, transparent 74%, #020817 100%);
  }

  body .hero-image-wrap .metric-strip {
    right: 14px;
    bottom: 24px;
    width: 338px;
  }
}


@media (min-width: 560px) and (max-width: 900px) {
  body .hero,
  body .hero-grid {
    min-height: 455px;
  }

  body .hero-grid {
    padding-top: 24px;
  }

  body .hero-copy {
    width: 390px;
  }

  body .hero .eyebrow {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  body .hero h1 {
    max-width: 390px;
    margin-bottom: 16px;
    font-size: 1.9rem;
    line-height: 0.98;
  }

  body .hero-subtitle {
    max-width: 372px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  body .hero-feature-row {
    grid-template-columns: 110px 122px 132px;
    gap: 12px;
    width: 390px;
    margin-bottom: 16px;
  }

  body .hero-feature {
    min-height: 50px;
    grid-template-columns: 32px 1fr;
    gap: 7px;
  }

  body .hero-feature svg {
    width: 32px;
    height: 32px;
  }

  body .hero-feature strong {
    font-size: 0.62rem;
    line-height: 1.08;
  }

  body .hero-feature small {
    margin-top: 3px;
    font-size: 0.55rem;
    line-height: 1.16;
  }

  body .hero-actions {
    gap: 10px;
    margin-bottom: 20px;
  }

  body .hero-actions .button {
    min-width: 0;
    width: 150px;
    min-height: 40px;
    font-size: 0.76rem;
  }

  body .ecosystem {
    flex-wrap: nowrap;
    gap: 12px;
    width: 390px;
    min-height: 34px;
  }

  body .ecosystem-label {
    width: auto;
    flex: 0 0 auto;
    font-size: 0.62rem;
  }

  body .ecosystem-logo {
    min-height: 28px;
  }

  body .st-logo,
  body .nxp-logo {
    font-size: 1.12rem;
  }

  body .st-logo small {
    font-size: 0.45rem;
  }

  body .zephyr-logo {
    font-size: 0.54rem;
  }

  body .zephyr-logo i {
    width: 22px;
    height: 14px;
  }

  body .ecosystem span:not(.ecosystem-label):not(.ecosystem-logo) {
    font-size: 0.58rem;
    white-space: nowrap;
  }

  body .hero-device-image {
    top: -1px;
    right: -184px;
    width: 510px;
  }

  body .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 1) 46%, rgba(2, 8, 23, 0.82) 57%, rgba(2, 8, 23, 0.28) 68%, transparent 80%, rgba(2, 8, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.82) 0%, transparent 18%, transparent 73%, #020817 100%);
  }

  body .hero-image-wrap .metric-strip {
    right: 14px;
    bottom: 22px;
    width: 338px;
  }
}

@media (min-width: 901px) {
  body .hero,
  body .hero-grid {
    min-height: 575px;
  }

  body .hero-grid {
    padding-top: 44px;
  }

  body .hero h1 {
    font-size: clamp(3.5rem, 4.3vw, 4.65rem);
  }

  body .hero-device-image {
    top: -66px;
    right: -80px;
    width: min(850px, 66vw);
  }

  body .hero-image-wrap .metric-strip {
    bottom: 34px;
  }
}


@media (min-width: 560px) and (max-width: 900px) {
  html body .hero,
  html body .hero-grid {
    min-height: 424px;
  }

  html body .hero-grid {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: 22px;
    padding-left: 31px;
    padding-right: 24px;
  }

  html body .hero-copy {
    width: 386px;
  }

  html body .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  html body .hero h1 {
    max-width: 386px;
    margin-bottom: 14px;
    font-size: 1.78rem;
    line-height: 0.98;
  }

  html body .hero-subtitle {
    max-width: 362px;
    margin-bottom: 14px;
    font-size: 0.74rem;
    line-height: 1.38;
  }

  html body .hero-feature-row {
    grid-template-columns: 106px 118px 128px;
    gap: 12px;
    width: 386px;
    margin-bottom: 15px;
  }

  html body .hero-feature {
    min-height: 46px;
    grid-template-columns: 30px 1fr;
    gap: 7px;
  }

  html body .hero-feature svg {
    width: 30px;
    height: 30px;
  }

  html body .hero-feature strong {
    font-size: 0.6rem;
    line-height: 1.08;
  }

  html body .hero-feature small {
    margin-top: 3px;
    font-size: 0.52rem;
    line-height: 1.14;
  }

  html body .hero-actions {
    gap: 10px;
    margin-bottom: 16px;
  }

  html body .hero-actions .button {
    width: 148px;
    min-height: 38px;
    font-size: 0.74rem;
  }

  html body .ecosystem {
    flex-wrap: nowrap;
    gap: 10px;
    width: 386px;
    min-height: 30px;
  }

  html body .ecosystem-label {
    width: auto;
    flex: 0 0 auto;
    font-size: 0.58rem;
  }

  html body .st-logo,
  html body .nxp-logo {
    font-size: 1rem;
  }

  html body .st-logo small {
    font-size: 0.4rem;
  }

  html body .zephyr-logo {
    font-size: 0.5rem;
  }

  html body .zephyr-logo i {
    width: 19px;
    height: 12px;
  }

  html body .ecosystem span:not(.ecosystem-label):not(.ecosystem-logo) {
    font-size: 0.52rem;
    white-space: nowrap;
  }

  html body .hero-device-image {
    top: 62px;
    right: -175px;
    width: 399px;
  }

  html body .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 1) 43%, rgba(2, 8, 23, 0.82) 54%, rgba(2, 8, 23, 0.28) 66%, transparent 80%, rgba(2, 8, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.84) 0%, transparent 18%, transparent 74%, #020817 100%);
  }

  html body .hero-image-wrap .metric-strip {
    right: 14px;
    bottom: 18px;
    width: 324px;
  }
}


@media (min-width: 901px) {
  html body .hero,
  html body .hero-grid {
    min-height: 575px;
  }

  html body .hero-grid {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: 42px;
    padding-left: max(30px, calc((100vw - 1360px) / 2 + 24px));
    padding-right: max(30px, calc((100vw - 1360px) / 2 + 24px));
  }

  html body .hero-copy {
    width: 560px;
  }

  html body .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 0.9rem;
  }

  html body .hero h1 {
    max-width: 560px;
    margin-bottom: 18px;
    font-size: clamp(3.4rem, 4vw, 4.35rem);
    line-height: 0.98;
  }

  html body .hero-subtitle {
    max-width: 545px;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.48;
  }

  html body .hero-feature-row {
    grid-template-columns: 150px 175px 190px;
    gap: 22px;
    width: 560px;
    margin-bottom: 26px;
  }

  html body .hero-feature {
    min-height: 58px;
  }

  html body .hero-actions {
    margin-bottom: 28px;
  }

  html body .ecosystem {
    width: 560px;
    flex-wrap: nowrap;
    gap: 24px;
  }

  html body .ecosystem-label {
    width: auto;
    flex: 0 0 auto;
  }

  html body .hero-device-image {
    top: 74px;
    left: max(555px, calc((100vw - 1360px) / 2 + 550px));
    right: auto;
    width: min(664px, 47vw);
  }

  html body .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 1) 32%, rgba(2, 8, 23, 0.78) 43%, rgba(2, 8, 23, 0.2) 57%, transparent 76%, rgba(2, 8, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.84) 0%, transparent 18%, transparent 74%, #020817 100%);
  }

  html body .hero-image-wrap .metric-strip {
    left: max(540px, calc((100vw - 1360px) / 2 + 560px));
    right: auto;
    bottom: 28px;
    width: min(610px, calc(100vw - max(570px, calc((100vw - 1360px) / 2 + 590px))));
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  html body .hero,
  html body .hero-grid {
    min-height: 540px;
  }

  html body .hero-grid {
    padding-top: 34px;
  }

  html body .hero-copy {
    width: 455px;
  }

  html body .hero h1 {
    max-width: 455px;
    font-size: clamp(2.85rem, 4.2vw, 3.35rem);
  }

  html body .hero-subtitle {
    max-width: 430px;
    font-size: 0.92rem;
  }

  html body .hero-feature-row {
    grid-template-columns: 125px 142px 154px;
    gap: 14px;
    width: 455px;
  }

  html body .hero-device-image {
    top: 65px;
    left: 495px;
    width: min(527px, 48.6vw);
  }

  html body .hero-image-wrap .metric-strip {
    left: 490px;
    bottom: 24px;
    width: min(510px, calc(100vw - 520px));
  }
}

@media (min-width: 1181px) {
  html body .hero-grid {
    padding-left: max(24px, calc((100vw - 1360px) / 2));
    padding-right: max(24px, calc((100vw - 1360px) / 2));
  }

  html body .hero-device-image {
    left: auto;
    right: max(24px, calc((100vw - 1360px) / 2));
    width: min(780px, 52vw);
  }

  html body .hero-image-wrap .metric-strip {
    left: auto;
    right: max(24px, calc((100vw - 1360px) / 2));
    width: min(650px, 43.5vw);
  }
}


@media (min-width: 1181px) {
  html body .hero,
  html body .hero-grid {
    min-height: 700px;
  }

  html body .hero-grid {
    padding-top: 42px;
  }

  html body .hero-copy {
    width: 620px;
  }

  html body .hero h1 {
    max-width: 620px;
    margin-bottom: 16px;
    font-size: clamp(3rem, 3.25vw, 3.3rem);
    line-height: 1.02;
  }

  html body .hero-subtitle {
    max-width: 575px;
    margin-bottom: 22px;
    font-size: 0.98rem;
    line-height: 1.46;
  }

  html body .hero-feature-row {
    grid-template-columns: 145px 166px 180px;
    gap: 20px;
    width: 555px;
    margin-bottom: 24px;
  }

  html body .hero-device-image {
    top: 74px;
    left: auto;
    right: max(24px, calc((100vw - 1360px) / 2));
    width: min(660px, 44vw);
  }

  html body .hero-image-wrap .metric-strip {
    left: auto;
    right: max(24px, calc((100vw - 1360px) / 2));
    bottom: 28px;
    width: min(650px, 43.5vw);
    transform: none;
  }

  html body .metric-strip div {
    grid-template-columns: 38px 1fr;
    column-gap: 13px;
    padding: 18px 22px;
  }

  html body .metric-strip svg {
    width: 34px;
    height: 34px;
  }

  html body .metric-strip strong {
    font-size: 1.04rem;
  }

  html body .metric-strip span {
    font-size: 0.78rem;
    line-height: 1.15;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  html body .hero,
  html body .hero-grid {
    min-height: 600px;
  }

  html body .hero-copy {
    width: 470px;
  }

  html body .hero h1 {
    max-width: 470px;
    margin-bottom: 16px;
    font-size: clamp(2.35rem, 3.3vw, 2.75rem);
    line-height: 1.02;
  }

  html body .hero-subtitle {
    max-width: 430px;
    margin-bottom: 18px;
    font-size: 0.86rem;
    line-height: 1.44;
  }

  html body .hero-feature-row {
    grid-template-columns: 125px 142px 154px;
    gap: 14px;
    width: 455px;
    margin-bottom: 20px;
  }

  html body .hero-device-image {
    top: 65px;
    left: auto;
    right: 24px;
    width: min(500px, 48vw, calc(100vw - 545px));
  }

  html body .hero-image-wrap .metric-strip {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(500px, 48vw, calc(100vw - 545px));
    transform: none;
  }

  html body .metric-strip div {
    grid-template-columns: 32px 1fr;
    column-gap: 10px;
    padding: 15px 14px;
  }

  html body .metric-strip svg {
    width: 28px;
    height: 28px;
  }

  html body .metric-strip strong {
    font-size: 0.9rem;
  }

  html body .metric-strip span {
    font-size: 0.68rem;
    line-height: 1.14;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  html body .hero,
  html body .hero-grid {
    min-height: 500px;
  }

  html body .hero-grid {
    padding-top: 52px;
  }

  html body .hero h1 {
    font-size: 1.72rem;
  }

  html body .hero-device-image {
    top: 92px;
  }
}

@media (max-width: 559px) {
  html body .hero {
    min-height: 0;
    overflow: hidden;
  }

  html body .hero-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 26px 24px 34px;
  }

  html body .hero-copy {
    width: calc(100% - 48px);
    min-width: 0;
    max-width: calc(100% - 48px);
  }

  html body .hero .eyebrow {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  html body .hero h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(1.72rem, 7.15vw, 1.82rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  html body .hero h1 .line {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
  }

  html body .hero-subtitle {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 22px;
    font-size: 0.84rem;
    line-height: 1.48;
    overflow-wrap: break-word;
  }

  html body .hero-feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    margin-bottom: 22px;
  }

  html body .hero-feature {
    min-height: 76px;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 14px 16px;
  }

  html body .hero-feature svg {
    width: 38px;
    height: 38px;
  }

  html body .hero-feature strong {
    font-size: 0.92rem;
  }

  html body .hero-feature small {
    font-size: 0.82rem;
  }

  html body .hero-actions {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    margin-bottom: 24px;
  }

  html body .hero-actions .button {
    width: 100%;
  }

  html body .ecosystem {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    gap: 14px;
    flex-wrap: wrap;
  }

  html body .ecosystem-label {
    width: 100%;
  }

  html body .ecosystem span:not(.ecosystem-label):not(.ecosystem-logo) {
    flex-basis: 100%;
    white-space: normal;
  }

  html body .hero-visual {
    position: relative;
    inset: auto;
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    height: 430px;
    margin-top: 26px;
  }

  html body .hero-image-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
  }

  html body .hero-device-image {
    position: absolute;
    top: 0;
    right: -150px;
    width: 540px;
    max-width: none;
  }

  html body .hero-image-wrap::before {
    background:
      linear-gradient(90deg, #020817 0%, rgba(2, 8, 23, 0.8) 26%, rgba(2, 8, 23, 0.18) 62%, rgba(2, 8, 23, 0.52) 100%),
      linear-gradient(180deg, rgba(2, 8, 23, 0.44) 0%, transparent 58%, #020817 100%);
  }

  html body .hero-image-wrap .metric-strip {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: none;
  }

  html body .metric-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  html body .metric-strip div {
    grid-template-columns: 1fr;
    row-gap: 4px;
    justify-items: center;
    padding: 12px 8px;
    text-align: center;
  }

  html body .metric-strip svg {
    grid-row: auto;
    width: 24px;
    height: 24px;
  }

  html body .metric-strip strong {
    font-size: 0.78rem;
  }

  html body .metric-strip span {
    font-size: 0.62rem;
    line-height: 1.08;
  }
}


html body .ecosystem-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: #ffffff;
}

html body .ecosystem-logo img {
  display: block;
  width: auto;
  max-width: none;
  height: 30px;
}

html body .logo-stm32 img {
  height: 30px;
}

html body .logo-nxp img {
  height: 28px;
}

html body .logo-zephyr img {
  height: 34px;
}

html body .ecosystem > span:last-child {
  color: #cbd5e1;
  font-weight: 750;
}

@media (min-width: 901px) {
  html body .ecosystem {
    width: 620px;
    gap: 22px;
    flex-wrap: nowrap;
  }

  html body .ecosystem > span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  html body .logo-stm32 img {
    height: 35px;
  }

  html body .logo-nxp img {
    height: 25px;
  }

  html body .logo-zephyr img {
    height: 42px;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  html body .logo-stm32 img {
    height: 27px;
  }

  html body .logo-nxp img {
    height: 21px;
  }

  html body .logo-zephyr img {
    height: 32px;
  }
}

@media (max-width: 559px) {
  html body .ecosystem {
    align-items: center;
    row-gap: 10px;
  }

  html body .logo-stm32 img {
    height: 33px;
  }

  html body .logo-nxp img {
    height: 26px;
  }

  html body .logo-zephyr img {
    height: 37px;
  }
}


html body .video-section {
  padding: 20px 0 26px;
  background:
    radial-gradient(circle at 69% 38%, rgba(37, 99, 235, 0.18), transparent 30%),
    linear-gradient(180deg, #061225 0%, #06111f 100%);
  color: #ffffff;
}

html body .video-grid {
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 315px;
  padding: 14px 22px 14px 18px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 15px;
  background:
    radial-gradient(circle at 84% 42%, rgba(29, 78, 216, 0.22), transparent 31%),
    linear-gradient(106deg, rgba(5, 18, 33, 0.94) 0%, rgba(5, 29, 57, 0.92) 54%, rgba(3, 18, 33, 0.94) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.22);
}

html body .video-card {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 1600 / 853;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #020617;
  box-shadow: none;
  cursor: default;
}

html body .video-thumbnail {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

html body .video-card::before {
  content: none;
}

html body .video-card::after {
  content: none;
}

html body .inline-video-player {
  background: #020617;
  object-fit: cover;
}

html body .inline-video-player:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.9);
  outline-offset: 3px;
}

html body .inline-video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.08), rgba(2, 6, 23, 0.18) 58%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(90deg, rgba(2, 6, 13, 0.18), rgba(2, 12, 24, 0.02) 62%);
  color: #ffffff;
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease;
}

html body .inline-video-play.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html body .inline-video-play-icon {
  position: relative;
  display: block;
  width: clamp(66px, 6.8vw, 86px);
  height: clamp(66px, 6.8vw, 86px);
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.2), transparent 34%),
    radial-gradient(circle, rgba(10, 18, 30, 0.96) 0%, rgba(12, 22, 38, 0.88) 66%, rgba(2, 6, 23, 0.98) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(59, 130, 246, 0.20);
}

html body .inline-video-play-icon::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.34));
  transform: translate(-33%, -50%);
}

html body .inline-video-play:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.95);
  outline-offset: -6px;
}

html body .inline-video-play.is-loading .inline-video-play-icon {
  opacity: 0.72;
  transform: scale(0.96);
}

html body .thumbnail-copy {
  position: absolute;
  z-index: 2;
  left: 6.3%;
  top: 14.2%;
  display: grid;
  gap: 0;
  color: #ffffff;
  font-size: clamp(1.58rem, 2.45vw, 2.18rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52);
}

html body .thumbnail-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px -30px -14px -18px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(1, 8, 18, 0.74), rgba(1, 8, 18, 0.20) 72%, transparent);
}

html body .thumbnail-copy::after {
  content: "";
  position: absolute;
  left: -22px;
  top: -6px;
  width: 2px;
  height: calc(100% + 8px);
  border-radius: 999px;
  background: #60ff56;
  box-shadow:
    0 0 10px rgba(96, 255, 86, 0.58),
    0 0 0 2px rgba(96, 255, 86, 0.05);
}

html body .thumbnail-copy em {
  color: #7cff5b;
  font-style: normal;
}

html body .thumbnail-play {
  position: absolute;
  z-index: 3;
  left: 50.8%;
  top: 49%;
  width: clamp(64px, 6.6vw, 82px);
  height: clamp(64px, 6.6vw, 82px);
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle, rgba(10, 18, 30, 0.96) 0%, rgba(12, 22, 38, 0.88) 66%, rgba(2, 6, 23, 0.98) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(59, 130, 246, 0.20);
  transform: translate(-50%, -50%);
}

html body .thumbnail-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.34));
  transform: translate(-33%, -50%);
}

html body .video-card-bg,
html body .video-copy,
html body .video-card .play-button,
html body .video-card .duration-badge {
  display: none;
}

html body .video-card .play-button {
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  background: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(3px);
}

html body .video-card .play-button::after {
  left: 32px;
  top: 23px;
  border-left-width: 24px;
  border-top-width: 16px;
  border-bottom-width: 16px;
}

html body .video-card .duration-badge {
  right: 13px;
  bottom: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.76);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
}

html body .video-content {
  align-self: center;
  display: flex;
  align-items: center;
  min-height: 315px;
  padding: 0 22px 0 0;
}

html body .video-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

html body .video-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 1.85vw, 1.72rem);
  font-weight: 850;
  line-height: 1.15;
}

@media (max-width: 980px) {
  html body .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 14px;
  }

  html body .video-content {
    min-height: 0;
    padding: 2px 6px 8px;
  }
}

@media (max-width: 559px) {
  html body .video-section {
    padding: 18px 0 24px;
  }

  html body .video-grid {
    width: calc(100% - 28px);
    border-radius: 12px;
  }

  html body .thumbnail-copy {
    left: 7%;
    top: 15.5%;
    font-size: clamp(1rem, 5vw, 1.28rem);
    line-height: 1.08;
  }

  html body .thumbnail-copy::before {
    inset: -8px -20px -10px -12px;
  }

  html body .thumbnail-copy::after {
    left: -15px;
    top: -2px;
  }

  html body .thumbnail-play {
    left: 67%;
    top: 50%;
    width: 54px;
    height: 54px;
    border-width: 3px;
  }

  html body .thumbnail-play::before {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }

  html body .video-card .play-button {
    width: 58px;
    height: 58px;
  }

  html body .video-card .play-button::after {
    left: 23px;
    top: 17px;
    border-left-width: 18px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }

  html body .video-card .duration-badge {
    font-size: 0.74rem;
  }

  html body .video-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
  }

  html body .video-content h2 {
    font-size: 1.35rem;
  }
}


html body #why-lvgl .card-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

html body #why-lvgl .info-card {
  min-height: 198px;
  padding: 18px 15px 20px;
}

html body #why-lvgl .info-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(0.98rem, 0.9vw, 1.06rem);
  line-height: 1.18;
}

html body #why-lvgl .info-card p {
  max-width: 194px;
  margin: 0 auto;
  color: #1f2f46;
  font-size: clamp(1rem, 0.86vw, 1.06rem);
  line-height: 1.52;
}

html body #why-lvgl .why-icon {
  margin-bottom: 15px;
}

@media (max-width: 1100px) and (min-width: 901px) {
  html body #why-lvgl .info-card {
    padding-inline: 11px;
  }

  html body #why-lvgl .info-card h3 {
    font-size: 0.86rem;
  }

  html body #why-lvgl .info-card p {
    font-size: 0.84rem;
    line-height: 1.48;
  }
}

@media (max-width: 900px) {
  html body #why-lvgl .card-grid.six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  html body #why-lvgl .info-card {
    min-height: 184px;
    padding: 16px 14px 18px;
  }

  html body #why-lvgl .info-card:nth-child(4) {
    border-left: 0;
  }

  html body #why-lvgl .info-card h3 {
    font-size: 0.9rem;
  }

  html body #why-lvgl .info-card p {
    font-size: 0.86rem;
    line-height: 1.5;
  }
}

@media (max-width: 559px) {
  html body #why-lvgl .card-grid.six {
    grid-template-columns: 1fr;
    gap: 0;
  }

  html body #why-lvgl .info-card,
  html body #why-lvgl .info-card + .info-card {
    min-height: 0;
    padding: 22px 10px;
    border-left: 0;
    border-top: 1px solid #d9e1ec;
  }

  html body #why-lvgl .info-card:first-child {
    border-top: 0;
  }

  html body #why-lvgl .info-card h3 {
    font-size: 1rem;
  }

html body #why-lvgl .info-card p {
    max-width: 330px;
    font-size: 0.95rem;
    line-height: 1.55;
  }
}


html body #learn {
  padding: 30px 0 36px;
}

html body #learn .section-heading {
  margin-bottom: 18px;
}

html body #learn .section-heading h2 {
  font-size: clamp(1.75rem, 2vw, 2rem);
}

html body #learn .card-grid.eight {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 9px;
}

html body #learn .learn-card {
  min-height: 232px;
  padding: 18px 11px 17px;
}

html body #learn .learn-icon {
  width: 38px;
  height: 38px;
  min-height: 38px;
  margin-bottom: 11px;
}

html body #learn .learn-icon svg {
  width: 38px;
  height: 38px;
}

html body #learn .learn-card h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: clamp(0.9rem, 0.78vw, 1rem);
  line-height: 1.18;
}

html body #learn .learn-card p {
  max-width: 150px;
  margin: 0 auto;
  color: #1f2f46;
  font-size: clamp(1rem, 0.86vw, 1.04rem);
  line-height: 1.48;
}

@media (max-width: 1180px) and (min-width: 901px) {
  html body #learn .learn-card {
    min-height: 218px;
    padding-inline: 8px;
  }

  html body #learn .learn-card h3 {
    font-size: 0.84rem;
  }

  html body #learn .learn-card p {
    font-size: 0.92rem;
    line-height: 1.42;
  }
}

@media (max-width: 900px) {
  html body #learn .card-grid.eight {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  html body #learn .learn-card {
    min-height: 184px;
    padding: 16px 12px;
  }

  html body #learn .learn-card h3 {
    font-size: 0.94rem;
  }

  html body #learn .learn-card p {
    max-width: 160px;
    font-size: 0.95rem;
    line-height: 1.48;
  }
}

@media (max-width: 559px) {
  html body #learn .card-grid.eight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body #learn .learn-card {
    min-height: 176px;
  }

  html body #learn .learn-card h3 {
    font-size: 0.96rem;
  }

html body #learn .learn-card p {
    font-size: 0.95rem;
  }
}


html body .comparison {
  padding: 40px 0;
  background: #f8fafc;
}

html body .comparison-grid {
  grid-template-columns: minmax(250px, 0.82fr) minmax(430px, 1.6fr) minmax(315px, 1fr);
  min-height: 392px;
  padding: 46px 54px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(96deg, #403493 0%, #3c318e 42%, #07131f 42.2%, #052938 100%);
  box-shadow:
    0 24px 62px rgba(15, 23, 42, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html body .comparison-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 42px 298px 42px 306px;
  pointer-events: none;
  background: url("assets/images/compare.webp?v=20260523-deploy-01") center center / contain no-repeat;
  opacity: 0.98;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

html body .comparison-grid::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(64, 52, 147, 0.98) 0%,
      rgba(64, 52, 147, 0.92) 20%,
      rgba(64, 52, 147, 0.18) 32%,
      transparent 43%,
      transparent 61%,
      rgba(4, 33, 46, 0.16) 70%,
      rgba(4, 31, 44, 0.82) 84%,
      rgba(4, 28, 42, 0.96) 100%),
    radial-gradient(circle at 50% 50%, transparent 0 26%, rgba(2, 6, 23, 0.08) 56%, rgba(2, 6, 23, 0.18) 100%);
}

html body .comparison-grid > * {
  position: relative;
  z-index: 1;
}

html body .comparison-card.touchgfx {
  grid-column: 1;
}

html body .comparison-card.lvgl {
  grid-column: 3;
  justify-self: end;
  width: min(100%, 330px);
}

html body .comparison-card span {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

html body .comparison-card h3,
html body .comparison-card li {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

html body .comparison-device,
html body .comparison .vs-badge {
  display: none;
}

@media (max-width: 980px) {
  html body .comparison-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
    gap: 28px;
    padding: 36px 32px;
  }

  html body .comparison-grid::before {
    inset: 0;
    background-size: cover;
    opacity: 0.5;
    -webkit-mask-image: none;
    mask-image: none;
  }

  html body .comparison-grid::after {
    background:
      linear-gradient(90deg, rgba(64, 52, 147, 0.9) 0 50%, rgba(4, 28, 42, 0.9) 50% 100%),
      rgba(2, 6, 23, 0.28);
  }

  html body .comparison-card.touchgfx {
    grid-column: 1;
  }

  html body .comparison-card.lvgl {
    grid-column: 2;
    justify-self: stretch;
    width: auto;
  }
}

@media (max-width: 559px) {
  html body .comparison-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 24px;
  }

  html body .comparison-card.touchgfx,
  html body .comparison-card.lvgl {
    grid-column: 1;
  }

  html body .comparison-card.lvgl {
    justify-self: stretch;
  }

  html body .comparison-grid::after {
    background: rgba(2, 10, 22, 0.72);
  }
}
