:root {
  color-scheme: light;
  --ink: #101418;
  --muted: #56616d;
  --line: #d8dee4;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --green: #107c41;
  --amber: #b55d00;
  --red: #b3261e;
  --cyan: #006c86;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}
.wrap {
  width: min(1120px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 24%, #ffe66d 0 15%, transparent 16%),
    radial-gradient(circle at 74% 72%, #ff4d8d 0 18%, transparent 19%),
    linear-gradient(135deg, #00b894 0%, #00a6ff 48%, #6c5ce7 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 108, 134, 0.22);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
}
.nav-links a[aria-current="page"] {
  background: #e6eee8;
  color: var(--green);
}
.mobile-menu {
  display: none;
  position: relative;
}
.mobile-menu summary {
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #101418;
}
.mobile-menu-text {
  display: none;
  color: #101418;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-4px);
}
.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(230px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(16, 20, 24, 0.16);
}
.mobile-menu-panel a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}
.mobile-menu-panel a[aria-current="page"] {
  background: #e6eee8;
  color: var(--green);
}
.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #eef2ee 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 32px;
  align-items: center;
}
.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: 0;
}
p {
  margin: 0 0 14px;
  overflow-wrap: break-word;
}
.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}
.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.board {
  border: 1px solid #222;
  border-radius: 8px;
  background: #143f2c;
  padding: 18px;
  min-height: 410px;
  box-shadow: 0 18px 40px rgba(16, 20, 24, 0.16);
}
.board-inner {
  position: relative;
  min-height: 374px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    #185139;
  overflow: hidden;
}
.chip {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  background: #171b1f;
  box-shadow: inset 0 0 0 8px #20262b;
}
.chip::after {
  content: "LPC51U68";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #d7e1e7;
  font-size: 0.78rem;
  font-weight: 800;
}
.pin-row {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, 12px);
  gap: 5px;
}
.pin-row span {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #d2b46c;
  border: 1px solid rgba(0, 0, 0, 0.35);
}
.pins-left { left: 20px; top: 42px; }
.pins-right { right: 20px; top: 42px; }
.usb {
  position: absolute;
  left: 34px;
  bottom: 38px;
  width: 86px;
  height: 42px;
  border-radius: 5px;
  background: #c7d0d8;
  border: 2px solid #77838c;
}
.led {
  position: absolute;
  right: 62px;
  bottom: 62px;
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 8px;
}
.led span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
}
.led .r { color: #f04438; background: currentColor; }
.led .g { color: #17b26a; background: currentColor; }
.led .b { color: #2e90fa; background: currentColor; }
.trace {
  position: absolute;
  height: 2px;
  background: rgba(225, 198, 120, 0.8);
  transform-origin: left center;
}
.trace.t1 { left: 146px; top: 116px; width: 190px; transform: rotate(11deg); }
.trace.t2 { right: 128px; top: 116px; width: 160px; transform: rotate(166deg); }
.trace.t3 { left: 168px; bottom: 96px; width: 210px; transform: rotate(-16deg); }
.trace.t4 { right: 128px; bottom: 126px; width: 180px; transform: rotate(188deg); }
section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}
.card p,
.card li {
  color: var(--muted);
}
.metric {
  display: block;
  color: var(--green);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
  margin-bottom: 8px;
}
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  background: #f0f7f1;
  font-weight: 750;
  font-size: 0.82rem;
}
.status.pending {
  color: var(--amber);
  background: #fff7ed;
}
.timeline {
  display: grid;
  gap: 10px;
}
.step {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.step strong {
  color: var(--amber);
}
.code {
  overflow-x: auto;
  border: 1px solid #23282e;
  border-radius: 8px;
  background: #101418;
  color: #e6edf3;
  padding: 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
}
.demo-hero {
  min-height: 64vh;
  display: grid;
  align-items: center;
  color: #ffffff;
  border-bottom: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(114,242,199,0.34), transparent 26%),
    radial-gradient(circle at 84% 22%, rgba(255,77,141,0.26), transparent 26%),
    radial-gradient(circle at 72% 88%, rgba(255,230,109,0.24), transparent 30%),
    linear-gradient(135deg, #07182d 0%, #06495a 48%, #0f766e 100%);
}
.demo-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 7%, rgba(20,184,166,0.2), transparent 24%),
    radial-gradient(circle at 92% 4%, rgba(236,72,153,0.16), transparent 24%),
    radial-gradient(circle at 82% 88%, rgba(249,115,22,0.14), transparent 26%),
    linear-gradient(180deg, #f8fffb 0%, #f4fbff 46%, #fff8ee 100%);
}
.demo-home-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.demo-home-link:hover {
  background: rgba(255,255,255,0.2);
}
.demo-gallery-intro {
  max-width: 860px;
}
.demo-hero h1,
.demo-hero p,
.demo-hero .eyebrow {
  color: #ffffff;
}
.demo-hero .button {
  border-color: #ffffff;
  background: #ffffff;
  color: #092640;
}
.demo-hero .button.secondary {
  background: transparent;
  color: #ffffff;
}
.demo-board {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(12, 24, 36, 0.44);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
}
.demo-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(20,184,166,0.12), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(59,130,246,0.12), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(242,251,248,0.96) 100%);
}
.demo-section.alt {
  background:
    radial-gradient(circle at 12% 80%, rgba(249,115,22,0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(236,72,153,0.1), transparent 26%),
    linear-gradient(180deg, rgba(255,249,237,0.96) 0%, rgba(246,251,255,0.96) 100%);
}
.demo-heading {
  max-width: 760px;
  margin-bottom: 24px;
}
.demo-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}
.demo-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.demo-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid rgba(16, 20, 24, 0.16);
  color: #101418;
  box-shadow: 0 22px 46px rgba(16, 20, 24, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.demo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.42), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 42%);
}
.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(16, 20, 24, 0.18);
}
.demo-card > * {
  position: relative;
}
.demo-card p {
  color: #101418;
}
.demo-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.demo-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #101418;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(16, 20, 24, 0.2);
}
.demo-path {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: #101418;
  font-size: 0.78rem;
  font-weight: 850;
}
.demo-command {
  overflow-x: auto;
  border-radius: 6px;
  background: rgba(16, 20, 24, 0.9);
  color: #d9fff3;
  padding: 10px 11px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.45;
}
.demo-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.demo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.demo-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 6px;
  border: 1px solid rgba(16, 20, 24, 0.24);
  color: #101418;
  background: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}
.demo-action.primary {
  background: #101418;
  color: #ffffff;
  border-color: #101418;
}
.demo-mint { background: linear-gradient(145deg, #00c781 0%, #44f0b2 68%, #eafff6 100%); }
.demo-blue { background: linear-gradient(145deg, #168bff 0%, #77d5ff 68%, #eef9ff 100%); }
.demo-yellow { background: linear-gradient(145deg, #ffc400 0%, #ffe15c 68%, #fff8c6 100%); }
.demo-pink { background: linear-gradient(145deg, #ff3f8f 0%, #ff94c2 68%, #fff0f7 100%); }
.demo-green { background: linear-gradient(145deg, #4dc600 0%, #a8ef7e 68%, #f1ffe6 100%); }
.demo-orange { background: linear-gradient(145deg, #ff7a00 0%, #ffb36a 68%, #fff0df 100%); }
.demo-lilac { background: linear-gradient(145deg, #7357ff 0%, #bba4ff 68%, #f5f1ff 100%); }
.demo-cyan { background: linear-gradient(145deg, #00bad8 0%, #70efff 68%, #effcff 100%); }
.demo-detail-hero {
  padding: 62px 0;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
}
.demo-detail-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: center;
}
.result-panel {
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  box-shadow: 0 18px 38px rgba(16, 20, 24, 0.1);
}
.result-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--muted);
}
.result-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}
.demo-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.demo-meta {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 16px;
}
.demo-meta strong {
  display: block;
  margin-bottom: 6px;
}
.doc-hero {
  padding: 66px 0 54px;
  background:
    radial-gradient(circle at 14% 20%, rgba(0,184,148,0.2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(0,166,255,0.18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #eef9ff 58%, #fff8df 100%);
}
.doc-hero .lede {
  color: #24313a;
}
.doc-section {
  background: #ffffff;
}
.doc-section.alt {
  background: #f6faf8;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.doc-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(16, 20, 24, 0.08);
}
.doc-panel.accent {
  background: linear-gradient(145deg, #eafff6 0%, #eef9ff 100%);
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}
.doc-table th,
.doc-table td {
  border: 1px solid var(--line);
  padding: 11px 12px;
  vertical-align: top;
  text-align: left;
}
.doc-table th {
  background: #dff3ff;
  color: #0b3a53;
}
.doc-table code,
.doc-panel code {
  border-radius: 4px;
  background: #edf4f7;
  padding: 1px 5px;
}
.doc-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.doc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #101418;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}
.command-list {
  display: grid;
  gap: 8px;
}
.command-list code {
  display: block;
  overflow-x: auto;
  border-radius: 6px;
  background: #101418;
  color: #e6edf3;
  padding: 10px 12px;
  font-size: 0.86rem;
}
.code-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.accent-list {
  padding-left: 1.1rem;
}
.accent-list li::marker {
  color: var(--red);
}
footer {
  padding: 28px 0;
  color: var(--muted);
}
.blank-page {
  min-height: calc(100vh - 122px);
  background: #ffffff;
}
@media (max-width: 840px) {
  html,
  body {
    overflow-x: hidden;
  }
  .nav {
    min-height: 58px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 0;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
    margin-left: 8px;
  }
  .mobile-menu-text {
    display: block;
  }
  .mobile-menu .dot {
    display: none;
  }
  .hero-grid,
  .grid,
  .grid.two,
  .demo-catalog,
  .demo-detail-hero .wrap,
  .demo-meta-grid,
  .doc-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-grid > *,
  .grid > *,
  .demo-detail-hero .wrap > *,
  .split > *,
  .home-hero-shell > *,
  .demo-gallery-intro,
  .demo-board,
  .hero-art {
    min-width: 0;
    max-width: 100%;
  }
  .hero-copy,
  .demo-gallery-intro,
  .home-hero .lede,
  .demo-hero .lede,
  .section-heading,
  .demo-heading {
    width: 100%;
    max-width: calc(100vw - 32px);
  }
  .hero-art,
  .kernel-panel,
  .demo-board {
    overflow: hidden;
  }
  .hero {
    min-height: auto;
  }
  .board {
    width: 100%;
    max-width: 100%;
    min-height: 330px;
  }
  .board-inner {
    min-height: 292px;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


body {
  background:
    radial-gradient(circle at 12% 10%, rgba(0,166,255,0.18), transparent 28%),
    radial-gradient(circle at 90% 4%, rgba(255,77,141,0.16), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, #eef7f2 42%, #fff8e6 100%);
}
.home-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(5,13,30,0.92) 0%, rgba(8,20,39,0.86) 45%, rgba(10,61,72,0.76) 100%),
    radial-gradient(circle at 20% 26%, #18f2b2 0 10%, transparent 25%),
    radial-gradient(circle at 82% 18%, #ff4d8d 0 8%, transparent 24%),
    radial-gradient(circle at 70% 78%, #ffe66d 0 8%, transparent 27%),
    #08111f;
}
.runtime-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  z-index: -2;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(0deg, rgba(255,255,255,0.07) 1px, transparent 1px) 0 0 / 46px 46px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.85), transparent 80%);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(0,184,148,0.42), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(255,77,141,0.34), transparent 25%),
    radial-gradient(circle at 70% 82%, rgba(255,184,0,0.28), transparent 28%),
    linear-gradient(90deg, rgba(6,12,26,0.9), rgba(6,12,26,0.26));
  pointer-events: none;
}
.home-hero-content {
  position: relative;
  z-index: 1;
  padding: 56px 0 46px;
  color: #ffffff;
}
.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 34px;
  align-items: center;
}
.hero-copy {
  max-width: 760px;
}
.home-hero h1 {
  max-width: 780px;
  color: #ffffff;
  text-shadow: 0 18px 46px rgba(0,0,0,0.28);
}
.home-hero .lede {
  max-width: 760px;
  color: rgba(255,255,255,0.82);
}
.home-hero .eyebrow {
  color: #72f2c7;
}
.home-hero .button {
  border-color: #ffffff;
  background: #ffffff;
  color: #101418;
}
.home-hero .button.secondary {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
}
.hero-art {
  position: relative;
  min-height: 520px;
}
.kernel-panel {
  position: absolute;
  inset: 30px 0 22px 56px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04)),
    rgba(10,18,32,0.58);
  box-shadow: 0 26px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.kernel-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px) 0 0 / 28px 28px;
}
.kernel-titlebar {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
  font-weight: 850;
}
.kernel-lights {
  display: flex;
  gap: 6px;
}
.kernel-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
}
.kernel-lights span:nth-child(1) { color: #ff4d8d; background: currentColor; }
.kernel-lights span:nth-child(2) { color: #ffe66d; background: currentColor; }
.kernel-lights span:nth-child(3) { color: #72f2c7; background: currentColor; }
.kernel-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}
.runtime-card {
  min-height: 126px;
  border-radius: 8px;
  padding: 14px;
  color: #08111f;
  box-shadow: 0 16px 34px rgba(0,0,0,0.2);
}
.runtime-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
}
.runtime-meter {
  height: 9px;
  border-radius: 99px;
  background: rgba(8,17,31,0.16);
  overflow: hidden;
}
.runtime-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #08111f;
}
.runtime-card p {
  margin-top: 10px;
  color: rgba(8,17,31,0.7);
  font-size: 0.88rem;
}
.runtime-card.tasks { background: #72f2c7; transform: translateY(18px); }
.runtime-card.queue { background: #ffe66d; }
.runtime-card.stack { background: #ff9ec3; }
.runtime-card.sleep { background: #9ad8ff; transform: translateY(-10px); }
.board-orbit {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 48%, rgba(255,255,255,0.98) 0 25%, transparent 26%),
    conic-gradient(from 110deg, #72f2c7, #00a6ff, #6c5ce7, #ff4d8d, #ffe66d, #72f2c7);
  box-shadow: 0 22px 64px rgba(0,0,0,0.3);
}
.board-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #10202b;
  border: 5px solid #223844;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}
.board-chip::after {
  content: "CleverOS";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}
.orbit-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 22px currentColor;
}
.orbit-dot.d1 { color: #72f2c7; left: 38px; top: 50px; }
.orbit-dot.d2 { color: #ff4d8d; right: 38px; top: 76px; }
.orbit-dot.d3 { color: #ffe66d; left: 118px; bottom: 28px; }
.uart-ribbon {
  position: absolute;
  right: 18px;
  bottom: 28px;
  width: min(390px, 72%);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(114,242,199,0.4);
  background: rgba(5,10,18,0.82);
  box-shadow: 0 18px 48px rgba(0,0,0,0.32);
  color: #bdfce8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.55;
}
.color-wave {
  height: 24px;
  background:
    linear-gradient(90deg, #72f2c7 0 12%, #00a6ff 12% 27%, #6c5ce7 27% 44%, #ff4d8d 44% 60%, #ffe66d 60% 76%, #ff9f1c 76% 88%, #72f2c7 88% 100%);
}
.feature-band {
  background:
    radial-gradient(circle at 8% 12%, rgba(114,242,199,0.16), transparent 23%),
    radial-gradient(circle at 92% 2%, rgba(255,77,141,0.13), transparent 24%),
    #ffffff;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-card {
  min-height: 190px;
  border-radius: 8px;
  padding: 18px;
  color: #101418;
  border: 1px solid rgba(16,20,24,0.1);
  box-shadow: 0 16px 34px rgba(16,20,24,0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(16,20,24,0.14);
}
.feature-card p {
  color: rgba(16,20,24,0.72);
}
.feature-card.teal { background: linear-gradient(145deg, #ccfff1, #eafff8); }
.feature-card.yellow { background: linear-gradient(145deg, #ffef8a, #fff8ca); }
.feature-card.pink { background: linear-gradient(145deg, #ffc7dd, #fff0f6); }
.feature-card.blue { background: linear-gradient(145deg, #bfe9ff, #eff9ff); }
.feature-card.green { background: linear-gradient(145deg, #c9f6b8, #f1ffe9); }
.feature-card.orange { background: linear-gradient(145deg, #ffd1a6, #fff2e5); }
.feature-card.lilac { background: linear-gradient(145deg, #d9ccff, #f5f0ff); }
.feature-card.mint { background: linear-gradient(145deg, #bcffd0, #ecfff2); }
.feature-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 14px;
}
.design-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.design-panel {
  border-radius: 8px;
  padding: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,230,109,0.42), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(255,77,141,0.28), transparent 32%),
    linear-gradient(135deg, #005f73 0%, #0a9396 45%, #94d2bd 100%);
  box-shadow: 0 18px 44px rgba(0,95,115,0.2);
}
.design-panel h2,
.design-panel p {
  color: #ffffff;
}
.principles {
  display: grid;
  gap: 10px;
}
.principle {
  border-left: 5px solid var(--green);
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(16,20,24,0.07);
}
.principle:nth-child(2) { border-color: #ffb800; }
.principle:nth-child(3) { border-color: #ff4d8d; }
.principle:nth-child(4) { border-color: #00a6ff; }
.code-strip {
  background:
    radial-gradient(circle at 86% 18%, rgba(114,242,199,0.16), transparent 30%),
    radial-gradient(circle at 16% 84%, rgba(255,77,141,0.14), transparent 30%),
    #101418;
  color: #e6edf3;
}
.code-strip h2,
.code-strip p {
  color: #ffffff;
}
@media (max-width: 940px) {
  .feature-grid,
  .design-line,
  .home-hero-shell {
    grid-template-columns: 1fr 1fr;
  }
  .home-hero-shell {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 470px;
  }
  .kernel-panel {
    left: 38px;
  }
}
@media (max-width: 640px) {
  .feature-grid,
  .design-line {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 560px;
  }
  .kernel-panel {
    inset: 12px 0 110px 0;
  }
  .kernel-body {
    grid-template-columns: 1fr;
  }
  .runtime-card {
    min-height: auto;
  }
  .runtime-card.tasks,
  .runtime-card.sleep {
    transform: none;
  }
  .board-orbit {
    width: 210px;
    height: 210px;
  }
  .uart-ribbon {
    width: 100%;
    right: 0;
    bottom: 0;
  }
}