:root {
  color-scheme: dark;
  --bg: #0b0d0e;
  --bg-deep: #08090a;
  --surface: rgba(22, 24, 27, 0.78);
  --surface-strong: #17191c;
  --surface-soft: rgba(22, 24, 27, 0.58);
  --line: rgba(168, 173, 181, 0.110);
  --line-strong: rgba(168, 173, 181, 0.242);
  --text: #eeeef0;
  --muted: #b6b8be;
  --dim: #94989f;
  --accent: #ff4852;
  --accent-strong: #ff767e;
  --blue: #c8cbd0;
  --purple: #b6b8be;
  --green: #9abda7;
  --amber: #d9bf8f;
  --red: #ff4852;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-accent: 0 0 36px rgba(168, 173, 181, 0.099);
  --container: min(1440px, calc(100vw - 64px));
  --header-h: 74px;
}

/* O.A. Workspaces v0.4 design language — graphite surfaces, fine borders,
   neutral sans-serif typography and restrained crimson interaction states. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 6%, rgba(168, 173, 181, 0.050), transparent 28rem),
    radial-gradient(circle at 8% 38%, rgba(168, 173, 181, 0.044), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.overlay-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
}

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

.ambient-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(168, 173, 181, 0.044) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 173, 181, 0.044) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(22, 24, 27, 0.82);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(168, 173, 181, 0.209));
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: 0.035em;
}

.brand-copy small {
  margin-top: 6px;
  color: #b6b8be;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 32px;
}

.desktop-nav a {
  position: relative;
  padding: 26px 0 24px;
  color: #dedfe3;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
}

.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 212px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  text-align: left;
}

.search-trigger-label {
  flex: 1;
}

kbd {
  padding: 3px 6px;
  border: 1px solid rgba(168, 173, 181, 0.088);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #999da5;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ff4852, #902e35);
  box-shadow: 0 12px 32px rgba(168, 173, 181, 0.132), inset 0 1px rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 15px 40px rgba(168, 173, 181, 0.198), inset 0 1px rgba(255, 255, 255, 0.55);
}

.button-ghost,
.button-outline {
  border-color: var(--line-strong);
  background: rgba(22, 24, 27, 0.62);
  color: #eeeef0;
}

.button-ghost {
  box-shadow: inset 0 0 22px rgba(168, 173, 181, 0.028);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--accent);
  background: rgba(22, 24, 27, 0.54);
}

.button-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.76rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  width: 17px;
  height: 1px;
  background: #fff;
  transition: transform 180ms ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 70;
  inset: var(--header-h) 0 0;
  visibility: hidden;
  background: rgba(22, 24, 27, 0.97);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.mobile-menu[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-inner {
  width: min(680px, calc(100% - 40px));
  margin: 42px auto;
}

.mobile-menu-inner > a,
.mobile-menu-inner > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 650;
  text-align: left;
}

.mobile-menu-inner > a span,
.mobile-menu-inner > button span {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.mobile-menu-rule {
  height: 28px;
}

#main-content {
  min-height: calc(100vh - var(--header-h));
  outline: 0;
}

.page {
  animation: page-in 260ms ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head-centered {
  display: grid;
  justify-items: center;
  margin-bottom: 42px;
  text-align: center;
}

.section-head h2,
.page-hero h1,
.hero-copy h1 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-head h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.section-head p,
.section-head-centered p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #b5b8bd;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 20px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  content: "";
}

.home-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 52px;
  padding: 68px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 6.4vw, 6.5rem);
  font-weight: 800;
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, #f0f0f2 4%, #b7bcc3 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  max-width: 670px;
  margin: 28px 0 0;
  color: #b6b8be;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .button {
  min-height: 50px;
  padding: 0 24px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  color: #b6b8be;
  font-size: 0.78rem;
}

.proof-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-row span::before {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(168, 173, 181, 0.248);
  border-radius: 50%;
  color: var(--accent);
  content: "✓";
  font-size: 0.75rem;
}

.ecosystem-orbit {
  position: relative;
  min-height: 510px;
  isolation: isolate;
}

.ecosystem-orbit::before {
  position: absolute;
  z-index: -2;
  inset: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 173, 181, 0.094), rgba(168, 173, 181, 0.028) 39%, transparent 67%);
  content: "";
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(168, 173, 181, 0.132);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring.one {
  width: 460px;
  height: 460px;
  box-shadow: inset 0 0 80px rgba(168, 173, 181, 0.033);
}

.orbit-ring.two {
  width: 340px;
  height: 340px;
  border-style: dashed;
  animation: slow-spin 32s linear infinite;
}

.orbit-ring.three {
  width: 220px;
  height: 220px;
  border-color: rgba(168, 173, 181, 0.231);
  box-shadow: 0 0 42px rgba(168, 173, 181, 0.077), inset 0 0 38px rgba(168, 173, 181, 0.066);
}

@keyframes slow-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(168, 173, 181, 0.352);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 173, 181, 0.138), rgba(22, 24, 27, 0.92) 66%);
  box-shadow: 0 0 50px rgba(168, 173, 181, 0.138), inset 0 0 32px rgba(168, 173, 181, 0.066);
  color: var(--accent-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  transform: translate(-50%, -50%);
}

.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(168, 173, 181, 0.165);
  border-radius: 11px;
  background: rgba(22, 24, 27, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #dedfe3;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.orbit-node::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 11px var(--accent);
  content: "";
}

.orbit-node.n1 { top: 14%; left: 10%; }
.orbit-node.n2 { top: 16%; right: 4%; }
.orbit-node.n3 { top: 49%; right: 0; }
.orbit-node.n4 { bottom: 12%; right: 14%; }
.orbit-node.n5 { bottom: 11%; left: 8%; }
.orbit-node.n6 { top: 46%; left: 0; }

.orbit-caption {
  position: absolute;
  right: 3%;
  bottom: 1%;
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.78);
  color: var(--muted);
  font-size: 0.75rem;
}

.orbit-caption strong {
  color: var(--text);
  font-size: 0.82rem;
}

.status-pill,
.source-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.status-pill::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  content: "";
}

.status-live,
.status-verified { border-color: rgba(168, 173, 181, 0.132); background: rgba(168, 173, 181, 0.121); color: #a6cfb4; }
.status-mock,
.status-reviewed { border-color: rgba(168, 173, 181, 0.154); background: rgba(168, 173, 181, 0.121); color: #c5c7cc; }
.status-planned,
.status-unverified { border-color: rgba(255, 184, 106, 0.28); background: rgba(168, 173, 181, 0.110); color: #dcc396; }
.status-external { border-color: rgba(168, 173, 181, 0.154); background: rgba(168, 173, 181, 0.110); color: #c5c7cc; }
.status-blocked { border-color: rgba(255, 100, 118, 0.28); background: rgba(168, 173, 181, 0.110); color: #ff858c; }

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

.ecosystem-card,
.content-card,
.catalog-card,
.course-card,
.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(22, 24, 27, 0.82), rgba(22, 24, 27, 0.82));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.ecosystem-card:hover,
.content-card:hover,
.catalog-card:hover,
.course-card:hover,
.news-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(22, 24, 27, 0.9), rgba(22, 24, 27, 0.88));
  transform: translateY(-4px);
}

.ecosystem-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 22px;
}

.ecosystem-card::after {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--card-accent, var(--accent));
  content: "";
  filter: blur(48px);
  opacity: 0.14;
}

.card-index {
  color: #b6b8be;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-glyph {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 19px 0 18px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 55%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 15%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent, var(--accent)) 18%, transparent);
  color: var(--card-accent, var(--accent));
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.ecosystem-card h3,
.content-card h3,
.catalog-card h3,
.course-card h3,
.news-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.ecosystem-card p,
.content-card p,
.catalog-card p,
.course-card p,
.news-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.card-link span:last-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(168, 173, 181, 0.198);
  border-radius: 50%;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.split-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.split-copy > p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
}

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

.metric strong {
  display: block;
  color: #e7e7eb;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--dim);
  font-size: 0.75rem;
}

.system-map {
  position: relative;
  min-height: 420px;
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 168px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(168, 173, 181, 0.319);
  border-radius: 50%;
  background: rgba(22, 24, 27, 0.88);
  box-shadow: 0 0 45px rgba(168, 173, 181, 0.110), inset 0 0 28px rgba(168, 173, 181, 0.055);
  color: var(--accent-strong);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.system-map::before,
.system-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(168, 173, 181, 0.099);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.system-map::before { width: 310px; height: 210px; }
.system-map::after { width: 470px; height: 350px; }

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 152px;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.92);
}

.map-node b {
  font-size: 0.76rem;
}

.map-node small {
  display: block;
  color: var(--dim);
  font-size: 0.75rem;
}

.map-node-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(168, 173, 181, 0.066);
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.map-node.m1 { top: 4%; left: 40%; }
.map-node.m2 { top: 31%; right: 0; }
.map-node.m3 { right: 13%; bottom: 3%; }
.map-node.m4 { bottom: 3%; left: 11%; }
.map-node.m5 { top: 31%; left: 0; }

.journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.journey-step {
  position: relative;
  padding-right: 10px;
}

.journey-step:not(:last-child)::after {
  position: absolute;
  top: 15px;
  right: -5px;
  color: var(--accent);
  content: "→";
}

.journey-number {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(168, 173, 181, 0.066);
  box-shadow: 0 0 16px rgba(168, 173, 181, 0.110);
  color: #eeeef0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.journey-step strong {
  display: block;
  font-size: 0.9rem;
}

.journey-step p {
  margin: 5px 0 0;
  color: var(--dim);
  font-size: 0.75rem;
}

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

.news-card {
  display: grid;
  min-height: 160px;
  grid-template-columns: 1fr 132px;
  cursor: pointer;
}

.news-card-copy {
  padding: 20px;
}

.news-card-visual {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 35%, rgba(168, 173, 181, 0.242), transparent 4px),
    radial-gradient(circle at 68% 58%, rgba(168, 173, 181, 0.330), transparent 3px),
    radial-gradient(circle at 45% 52%, rgba(168, 173, 181, 0.099), transparent 34%),
    linear-gradient(145deg, #25292d, #131517);
}

.news-card-visual::before,
.news-card-visual::after {
  position: absolute;
  border: 1px solid rgba(168, 173, 181, 0.143);
  border-radius: 50%;
  content: "";
}

.news-card-visual::before { inset: 22px -18px; }
.news-card-visual::after { inset: 40px 0; }

.news-type {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card time {
  display: block;
  margin-top: 20px;
  color: var(--dim);
  font-size: 0.75rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 74px;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: -220px;
  right: 0;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(168, 173, 181, 0.066);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 173, 181, 0.066), transparent 62%);
  content: "";
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 58px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.page-hero-copy > p {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(168, 173, 181, 0.165);
  border-radius: 18px;
  background: #101213;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(168, 173, 181, 0.066);
}

.browser-bar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: #17191b;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #575b61;
}

.browser-bar span {
  margin-left: 8px;
  color: #92959b;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.dashboard-mini {
  display: grid;
  min-height: 390px;
  grid-template-columns: 118px 1fr;
}

.dashboard-mini-nav {
  padding: 17px 10px;
  border-right: 1px solid var(--line);
  background: rgba(22, 24, 27, 0.88);
}

.dashboard-mini-nav strong {
  display: block;
  margin: 0 7px 15px;
  font-size: 0.75rem;
}

.dashboard-mini-nav span {
  display: block;
  margin-bottom: 4px;
  padding: 7px;
  border-radius: 6px;
  color: #a6a9ae;
  font-size: 0.75rem;
}

.dashboard-mini-nav span.active {
  background: rgba(168, 173, 181, 0.066);
  color: #ededf0;
}

.dashboard-mini-main {
  padding: 20px;
}

.dashboard-mini-main h3 {
  margin: 0;
  font-size: 1rem;
}

.mini-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(22, 24, 27, 0.82);
  color: #a2a5ab;
  font-size: 0.75rem;
}

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

.mini-tile {
  min-height: 82px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(22, 24, 27, 0.68);
}

.mini-tile i {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 7px;
  background: rgba(168, 173, 181, 0.077);
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-style: normal;
}

.mini-tile strong { display: block; font-size: 0.75rem; }
.mini-tile small { color: #9a9da3; font-size: 0.75rem; }

.feature-grid,
.content-grid,
.catalog-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card,
.catalog-card,
.course-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
  cursor: pointer;
}

.content-card.compact {
  min-height: 170px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.meta-text {
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.inline-search {
  display: flex;
  min-width: min(440px, 100%);
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.74);
}

.inline-search input {
  width: 100%;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.inline-search input::placeholder {
  color: #8a8d94;
}

.segmented,
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.72);
}

.segmented button,
.tab-bar button,
.search-tabs button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
}

.segmented button.active,
.tab-bar button.active,
.search-tabs button.active {
  background: rgba(168, 173, 181, 0.072);
  color: #eeeef0;
  box-shadow: inset 0 0 0 1px rgba(168, 173, 181, 0.132);
}

.verification-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.verification-step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 24, 27, 0.68);
}

.verification-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -16px;
  color: var(--accent);
  content: "→";
  transform: translateY(-50%);
}

.verification-step strong {
  display: block;
  font-size: 0.84rem;
}

.verification-step span {
  color: var(--dim);
  font-size: 0.75rem;
}

.catalog-card-head,
.course-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.catalog-icon,
.level-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(168, 173, 181, 0.138);
  border-radius: 11px;
  background: rgba(168, 173, 181, 0.055);
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.catalog-stat {
  padding: 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.catalog-stat strong {
  display: block;
  font-size: 0.75rem;
}

.catalog-stat span {
  color: var(--dim);
  font-size: 0.75rem;
}

.course-progress {
  height: 5px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.course-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.learning-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.level-card {
  position: relative;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 24, 27, 0.68);
  cursor: pointer;
  transition: 180ms ease;
}

.level-card:hover,
.level-card.active {
  border-color: var(--line-strong);
  background: rgba(22, 24, 27, 0.78);
  transform: translateY(-3px);
}

.level-card::after {
  position: absolute;
  top: 39px;
  right: -13px;
  z-index: 2;
  color: var(--accent);
  content: "→";
}

.level-card:last-child::after {
  display: none;
}

.level-number {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.level-card h3 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
}

.level-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.lab-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.principle {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 24, 27, 0.64);
}

.principle span {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.principle h3 {
  margin: 28px 0 8px;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.infra-stack {
  display: grid;
  gap: 10px;
}

.infra-layer {
  display: grid;
  grid-template-columns: 60px minmax(180px, 0.65fr) 1.35fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(22, 24, 27, 0.68);
  cursor: pointer;
  transition: 180ms ease;
}

.infra-layer:hover {
  border-color: var(--line-strong);
  background: rgba(22, 24, 27, 0.78);
}

.infra-layer > span:first-child {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.infra-layer strong {
  font-size: 0.85rem;
}

.infra-layer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

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

.community-option {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 24, 27, 0.84), rgba(22, 24, 27, 0.9));
}

.community-option::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(168, 173, 181, 0.132);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 173, 181, 0.088), transparent 64%);
  content: "";
}

.community-option h2 {
  margin: 82px 0 14px;
  font-size: 2.3rem;
}

.community-option p {
  max-width: 500px;
  color: var(--muted);
}

.app-shell {
  display: grid;
  min-height: calc(100vh - var(--header-h));
  grid-template-columns: 230px 1fr 300px;
  background: #0b0d0e;
}

.app-sidebar {
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #111416;
}

.app-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 8px;
}

.app-sidebar-head strong {
  font-size: 0.82rem;
}

.app-sidebar nav {
  display: grid;
  gap: 5px;
}

.app-nav-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #b3b6bc;
  cursor: pointer;
  font-size: 0.78rem;
  text-align: left;
}

.app-nav-button span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.app-nav-label {
  font-style: normal;
}

.app-nav-button:hover,
.app-nav-button.active {
  background: rgba(168, 173, 181, 0.055);
  color: #eeeef0;
}

.app-main {
  min-width: 0;
  padding: 28px;
}

.app-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.app-welcome h1 {
  margin: 0;
  font-size: 1.7rem;
}

.app-welcome p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.demo-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 184, 106, 0.23);
  border-radius: 8px;
  background: rgba(168, 173, 181, 0.088);
  color: #dcc396;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.app-command {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(22, 24, 27, 0.85);
  box-shadow: 0 0 30px rgba(168, 173, 181, 0.039);
}

.app-command input {
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.app-command button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

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

.app-quick-card {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(22, 24, 27, 0.72);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

.app-quick-card:hover {
  border-color: var(--line-strong);
  background: rgba(22, 24, 27, 0.76);
  transform: translateY(-2px);
}

.app-quick-card b {
  display: block;
  margin: 14px 0 4px;
  font-size: 0.8rem;
}

.app-quick-card small {
  color: var(--dim);
  font-size: 0.75rem;
}

.app-glyph {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(168, 173, 181, 0.077);
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.app-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 20px;
}

.app-panel {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 24, 27, 0.76);
}

.app-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-panel-title strong {
  font-size: 0.8rem;
}

.app-panel-title button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.75rem;
}

.activity-list {
  display: grid;
  gap: 9px;
}

.activity-item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.activity-dot {
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.activity-item strong {
  display: block;
  font-size: 0.75rem;
}

.activity-item small,
.activity-item time {
  color: var(--dim);
  font-size: 0.75rem;
}

.token-chart {
  display: flex;
  height: 116px;
  align-items: flex-end;
  gap: 8px;
  padding-top: 12px;
}

.token-bar {
  flex: 1;
  min-height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, rgba(168, 173, 181, 0.176), rgba(168, 173, 181, 0.473));
}

.app-inspector {
  padding: 24px 18px;
  border-left: 1px solid var(--line);
  background: #111416;
}

.app-inspector h2 {
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.inspector-block {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.inspector-block > span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.inspector-block strong {
  font-size: 0.76rem;
}

.inspector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.switch {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a9adb3;
  content: "";
}

.switch.on {
  background: rgba(168, 173, 181, 0.138);
}

.switch.on::after {
  left: 17px;
  background: var(--accent);
  box-shadow: 0 0 7px var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(22, 24, 27, 0.9);
}

.footer-primary {
  display: grid;
  width: var(--container);
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 52px;
  margin: 0 auto;
  padding: 58px 0 44px;
}

.footer-brand p {
  margin: 28px 0 0 8px;
  color: #b6b8be;
  font-size: 0.78rem;
  font-style: italic;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column strong {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.78rem;
}

.footer-column a,
.footer-column button {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b6b8be;
  cursor: pointer;
  font-size: 0.75rem;
  text-align: left;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #fff;
}

.footer-secondary {
  display: flex;
  width: var(--container);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.75rem;
}

.footer-secondary > div {
  display: flex;
  gap: 8px;
}

.footer-secondary button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(22, 24, 27, 0.72);
  color: #d8d9dd;
  cursor: pointer;
  font-size: 0.75rem;
}

.overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: start center;
  padding: 9vh 20px 20px;
  opacity: 0;
  transition: opacity 160ms ease, visibility 160ms;
}

.overlay[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 27, 0.78);
  backdrop-filter: blur(14px);
}

.search-dialog,
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: 82vh;
  overflow: auto;
  border: 1px solid rgba(168, 173, 181, 0.187);
  border-radius: 20px;
  background: #191c1f;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62), 0 0 70px rgba(168, 173, 181, 0.066);
}

.search-dialog {
  padding: 20px;
}

.search-dialog-head,
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
}

.global-search-field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 8px 0 13px;
  padding: 7px 10px 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(22, 24, 27, 0.88);
}

.global-search-field input {
  height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 4px;
  border-bottom: 1px solid var(--line);
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.search-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: var(--line-strong);
  background: rgba(168, 173, 181, 0.039);
  outline: 0;
}

.search-result strong {
  display: block;
  font-size: 0.82rem;
}

.search-result p {
  margin: 4px 0 0;
  color: var(--dim);
  font-size: 0.75rem;
}

.search-empty {
  padding: 42px 20px;
  color: var(--muted);
  text-align: center;
}

.modal-dialog {
  padding: 26px;
}

.modal-dialog h2 {
  margin: 0;
  font-size: 1.45rem;
}

.modal-dialog > p,
.modal-copy {
  color: var(--muted);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.modal-option {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.modal-option strong {
  display: block;
  margin-bottom: 6px;
}

.modal-option p {
  margin: 0;
  color: var(--dim);
  font-size: 0.75rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.detail-drawer {
  position: fixed;
  z-index: 115;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: min(520px, 100vw);
  overflow-y: auto;
  border-left: 1px solid rgba(168, 173, 181, 0.187);
  background: #151719;
  box-shadow: -36px 0 100px rgba(0, 0, 0, 0.52);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.detail-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-body {
  padding: 24px;
}

.drawer-body h2 {
  margin: 5px 0 0;
  font-size: 1.5rem;
}

.drawer-body > p {
  color: var(--muted);
}

.drawer-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.drawer-section h3 {
  margin: 0 0 12px;
  font-size: 0.84rem;
}

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

.drawer-list li {
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: #cccdd1;
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  z-index: 160;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #1c1e21;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  color: #ededf0;
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1240px) {
  :root { --container: min(1120px, calc(100vw - 48px)); }
  .desktop-nav { gap: 20px; padding: 0 20px; }
  .search-trigger { min-width: 44px; width: 44px; }
  .search-trigger-label, .search-trigger kbd { display: none; }
  .ecosystem-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ecosystem-card:nth-child(4), .ecosystem-card:nth-child(5) { min-height: 220px; }
  .app-shell { grid-template-columns: 210px 1fr; }
  .app-inspector { display: none; }
  .footer-primary { gap: 30px; }
}

@media (max-width: 980px) {
  :root { --container: min(840px, calc(100vw - 40px)); }
  .desktop-nav, .community-button, .sign-in-button { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .menu-button { display: grid; }
  .hero-layout, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-layout { padding-top: 56px; }
  .ecosystem-orbit { min-height: 460px; }
  .split-section { grid-template-columns: 1fr; gap: 46px; }
  .ecosystem-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .journey-step:nth-child(3)::after { display: none; }
  .news-grid, .feature-grid, .content-grid, .catalog-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card:last-child { grid-column: 1 / -1; }
  .verification-flow { grid-template-columns: repeat(3, 1fr); }
  .verification-step:nth-child(3)::after { display: none; }
  .learning-path { grid-template-columns: repeat(3, 1fr); }
  .level-card:nth-child(3)::after { display: none; }
  .lab-principles { grid-template-columns: repeat(2, 1fr); }
  .footer-primary { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
  .app-shell { grid-template-columns: 76px 1fr; }
  .app-sidebar { padding: 18px 10px; }
  .app-sidebar-head strong, .app-nav-label { display: none; }
  .app-nav-button { justify-content: center; }
  .app-nav-button span { width: 34px; height: 34px; }
}

@media (max-width: 700px) {
  :root { --container: calc(100vw - 32px); --header-h: 66px; }
  .site-header { min-height: var(--header-h); padding: 0 16px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-copy strong { font-size: 0.95rem; }
  .brand-copy small { font-size: 0.75rem; }
  .search-trigger { height: 38px; }
  .menu-button { width: 38px; height: 38px; }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .home-hero, .hero-layout { min-height: auto; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  .hero-copy > p { font-size: 0.96rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .proof-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .ecosystem-orbit { min-height: 390px; transform: scale(0.86); margin: -15px -28px -25px; }
  .orbit-ring.one { width: 390px; height: 390px; }
  .orbit-ring.two { width: 290px; height: 290px; }
  .orbit-ring.three { width: 190px; height: 190px; }
  .orbit-core { width: 122px; height: 122px; }
  .orbit-node { padding: 8px 9px; font-size: 0.75rem; }
  .orbit-caption { display: none; }
  .ecosystem-cards, .news-grid, .feature-grid, .content-grid, .catalog-grid, .course-grid { grid-template-columns: 1fr; }
  .ecosystem-card { min-height: 210px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .system-map { min-height: auto; display: grid; gap: 9px; }
  .system-map::before, .system-map::after, .system-core { display: none; }
  .map-node { position: static; min-width: 0; }
  .journey { grid-template-columns: 1fr; }
  .journey-step { display: grid; grid-template-columns: 40px 1fr; gap: 10px; }
  .journey-step:not(:last-child)::after { top: auto; right: auto; bottom: -23px; left: 14px; content: "↓"; display: block; }
  .journey-number { grid-row: span 2; }
  .journey-step p { margin-top: -4px; }
  .news-card { grid-template-columns: 1fr 100px; }
  .page-hero { padding: 68px 0 56px; }
  .page-hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .dashboard-mini { grid-template-columns: 78px 1fr; }
  .dashboard-mini-nav span { font-size: 0; }
  .dashboard-mini-nav span::first-letter { font-size: 0.75rem; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { align-items: stretch; }
  .inline-search { min-width: 100%; }
  .segmented, .tab-bar { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .verification-flow { grid-template-columns: 1fr; }
  .verification-step:not(:last-child)::after { top: auto; right: 50%; bottom: -18px; content: "↓"; transform: translateX(50%); display: block; }
  .learning-path { grid-template-columns: 1fr; }
  .level-card { min-height: 150px; }
  .level-card::after { top: auto; right: 50%; bottom: -19px; content: "↓"; display: block; }
  .lab-principles { grid-template-columns: 1fr; }
  .infra-layer { grid-template-columns: 46px 1fr auto; gap: 10px; }
  .infra-layer p { grid-column: 2 / -1; }
  .community-options { grid-template-columns: 1fr; }
  .community-option { min-height: 300px; padding: 26px; }
  .community-option h2 { margin-top: 60px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-main { padding: 20px 16px; }
  .app-welcome { align-items: flex-start; flex-direction: column; }
  .app-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .app-panel-grid { grid-template-columns: 1fr; }
  .footer-primary { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-secondary { align-items: flex-start; flex-direction: column; gap: 16px; }
  .overlay { padding-top: 3vh; }
  .search-dialog, .modal-dialog { max-height: 94vh; }
  .modal-grid { grid-template-columns: 1fr; }
}

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

/* Shared reference theme, including every route, overlay and product state. */
:root {
  --line: #2b2e32;
  --line-strong: #55595f;
  --surface: #141618;
  --surface-soft: #1b1d20;
  --accent: #ff4852;
  --accent-strong: #ff858c;
  --header-h: 78px;
  --container: min(1440px, calc(100% - 64px));
}
html { background: #070809; scroll-padding-top: 100px; }
body {
  min-width: 0;
  margin: 12px;
  border: 1px solid #3a3d41;
  border-radius: 18px;
  background: linear-gradient(135deg, #151719 0, #0b0d0e 450px);
  box-shadow: inset 0 1px 1px #6668, 0 24px 80px #0006;
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #ff858c; outline-offset: 4px; }
button, input, select { font-family: inherit; }
.ui-icon { display: block; width: 19px; height: 19px; flex: 0 0 auto; }
.ambient-grid { display: none; }
.prototype-note { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 8px 22px; color: #969ba4; font-size: .75rem; background: #101214; }
.prototype-note > span { color: #ff8991; letter-spacing: .06em; }
.site-header {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 0 22px;
  background: #111314f5;
  border-radius: 18px 18px 0 0;
  backdrop-filter: blur(12px);
}
.window-controls { display: flex; align-items: center; gap: 6px; }
.window-controls i { width: 9px; height: 9px; border-radius: 50%; background: #505256; }
.window-controls i:first-child { background: var(--accent); }
.window-controls i:nth-child(2) { background: #898c90; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 0 5px #ff48524a); }
.brand-copy strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -.03em; }
.brand-copy small { font-family: inherit; font-size: .75rem; color: #989ca3; letter-spacing: .025em; margin-top: 5px; }
.desktop-nav { gap: 20px; padding: 0 8px; }
.desktop-nav a { padding: 28px 0 26px; font-weight: 400; font-size: .875rem; color: #b6b8be; }
.desktop-nav a::after { box-shadow: none; }
.search-trigger { min-width: 190px; height: 36px; border-radius: 8px; background: #121416; }
.header-actions { gap: 8px; }
.button { border-radius: 8px; font-size: .875rem; font-weight: 400; min-height: 40px; padding: 0 15px; }
.button:hover { transform: none; }
.button-primary {
  color: #f4f2f3;
  background: linear-gradient(130deg, #342023, #201719);
  border-color: #a73a42;
  box-shadow: inset 0 1px 0 #ff6b7330;
}
.button-primary:hover { background: #472529; border-color: #ff4852; box-shadow: 0 0 15px #ff48520d; }
.button-ghost, .button-outline { border-color: #393d42; background: #16181a; box-shadow: none; }
.button-ghost:hover, .button-outline:hover { background: #232528; border-color: #63666c; }
.button-small { font-size: .875rem; }
.button-ghost.community-button { border-color: #803138; background: #281b1e; }
.menu-button, .icon-button { border-radius: 7px; background: #16181a; }
.eyebrow { color: #ff6972; font-family: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .22em; }
.eyebrow::before { display: none; }
.hero-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 46px; padding: 65px 0 75px; min-height: 650px; }
.home-hero { min-height: 0; }
.hero-copy h1 { font-size: clamp(2.8rem, 4.25vw, 4.3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.06; }
.hero-copy h1 span { background: none; color: #aeb3bc; margin-top: 8px; }
.hero-copy > p { font-size: 1rem; line-height: 1.7; max-width: 560px; }
.hero-actions { gap: 10px; }
.hero-actions .button { min-height: 44px; padding: 0 20px; }
.proof-row { gap: 12px 20px; font-size: .875rem; }
.proof-row span::before { width: 16px; height: 16px; border: 0; color: #ff6972; font-size: .875rem; }
.hero-workspace-visual { min-width: 0; }
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-head { gap: 40px; margin-bottom: 26px; }
.section-head h2, .section-head-centered h2 { font-size: clamp(1.8rem, 2.6vw, 2.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.section-head > p { max-width: 360px; font-size: 1rem; }
.split-copy h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 400; }
.page-hero { padding: 68px 0; }
.page-hero::after { display: none; }
.page-hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.page-hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.4rem); font-weight: 500; }
.page-hero-copy > p { font-size: 1rem; }
.ecosystem-cards { gap: 12px; }
.ecosystem-card, .content-card, .catalog-card, .course-card, .news-card, .principle, .level-card {
  background: linear-gradient(150deg, #191c1e, #101213 65%);
  border-color: #303338;
  box-shadow: inset 0 1px 0 #ffffff06;
}
.ecosystem-card:hover, .content-card:hover, .catalog-card:hover, .course-card:hover, .news-card:hover, .level-card:hover {
  background: linear-gradient(150deg, #222528, #141618);
  border-color: #785054;
  transform: translateY(-2px);
}
.ecosystem-card::after { display: none; }
.ecosystem-card { padding: 18px; min-height: 265px; }
.ecosystem-card h3, .content-card h3, .catalog-card h3, .course-card h3, .news-card h3 { font-size: 1.125rem; font-weight: 600; }
.ecosystem-card p, .content-card p, .catalog-card p, .course-card p, .news-card p, .principle p, .level-card p { font-size: 1rem; line-height: 1.55; }
.product-glyph, .catalog-icon, .level-icon, .app-glyph, .map-node-icon {
  border: 1px solid #3c292d;
  color: #ff727a;
  border-radius: 8px;
  box-shadow: none;
  background: #261c1f;
}
.product-glyph { width: 36px; height: 36px; margin: 20px 0 14px; }
.catalog-icon { margin-bottom: 14px; width: 36px; height: 36px; }
.catalog-card-head .catalog-icon { margin-bottom: 0; }
.card-link { font-size: .875rem; font-weight: 400; color: #d0d2d7; }
.card-link span:last-child { border: 0; color: #ff767e; }
.card-index, .meta-text, .news-type, .level-number { font-family: inherit; font-size: .75rem; }
.content-card, .catalog-card, .course-card { padding: 22px; }
.catalog-stats { grid-template-columns: 1fr; gap: 0; border-top: 1px solid #292c30; }
.catalog-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 8px 0; background: none; border-bottom: 1px solid #292c30; border-radius: 0; }
.catalog-stat strong { font-size: .875rem; font-weight: 400; }
.catalog-stat span { font-size: .75rem; }
.status-pill, .source-pill { font: 500 .75rem/1.2 Arial, Helvetica, sans-serif; letter-spacing: .025em; border-radius: 5px; padding: 4px 6px; }
.status-pill::before { box-shadow: none; }
.status-live, .status-verified { color: #b9cebf; background: #202924; border-color: #35443c; }
.status-mock, .status-reviewed { color: #c0c4cb; background: #26282c; border-color: #3e4248; }
.status-planned, .status-unverified { color: #d6c6a4; background: #2b2822; border-color: #494238; }
.status-external { color: #c0c4cb; background: #222529; border-color: #3d4248; }
.status-blocked { color: #ff8991; background: #301b20; border-color: #77323c; }
.source-pill { color: #aeb2ba; background: #1c1e21; }
.metric strong { color: #eeeff2; font-size: 1.8rem; font-weight: 500; }
.metric span { font-size: .875rem; }
.system-core { border-color: #595c61; background: #191c1f; color: #e8e8ea; box-shadow: 0 12px 28px #0008, inset 0 1px 0 #fff2; }
.map-node { background: #151719; }
.map-node b { font-size: .875rem; font-weight: 500; }
.journey-number { border-color: #77343c; box-shadow: none; background: #271a1e; color: #ff8a92; }
.journey-step strong { font-size: 1rem; font-weight: 500; }
.journey-step p { font-size: .875rem; }
.news-grid .news-card { grid-template-columns: 1fr; }
.news-card-visual { display: none; }
.news-type { color: #ff858c; }
.news-card time { font-size: .75rem; }
.inline-search, .segmented, .tab-bar { border-radius: 8px; background: #141618; }
.segmented button, .tab-bar button, .search-tabs button { font-size: .875rem; font-weight: 400; border-radius: 6px; }
.segmented button.active, .tab-bar button.active, .search-tabs button.active { background: #312126; color: #f5ecee; box-shadow: inset 0 0 0 1px #91323c; }
.verification-step, .infra-layer { background: #141719; border-radius: 9px; }
.verification-step strong, .infra-layer strong { font-size: .875rem; }
.infra-layer p { font-size: .875rem; }
.course-progress span { background: #ff4852; }
.level-card.active { border-color: #a73a42; background: #241a1d; }
.community-option { background: linear-gradient(140deg, #222528, #101213); border-radius: 14px; }
.community-option::after { display: none; }
.community-option h2 { font-weight: 400; }
.site-footer { background: #0f1112; border-radius: 0 0 18px 18px; }
.footer-column strong { color: #d8d9dd; font-weight: 600; }
.footer-column a, .footer-column button { font-size: .875rem; }
.footer-secondary { font-size: .75rem; }
.footer-secondary button { font-size: .875rem; }
.mobile-menu { background: #0d0f10fa; }
.search-dialog, .modal-dialog {
  background: linear-gradient(145deg, #26292c, #191b1e);
  border-color: #55585e;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 #ffffff12, 0 32px 100px #000b;
}
.global-search-field { background: #151719; border-color: #3f4349; border-radius: 8px; }
.search-result strong { font-size: 1rem; font-weight: 500; }
.search-result p { font-size: .875rem; }
.search-result { grid-template-columns: 1fr; gap: 8px; }
.search-result:hover { background: #302024; border-color: #77343c; }
.modal-option { background: #181b1e; border-radius: 9px; }
.modal-option p, .drawer-list li { font-size: .875rem; }
.detail-drawer { background: #191c1f; border-color: #52565d; }
.drawer-head { border-top: 2px solid #aa4149; }
.drawer-head h2 { margin: 12px 0 0; font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.toast { background: #232629; border-color: #6a454a; border-radius: 9px; font-size: .875rem; }

/* The working surface keeps the original actions in the reference's three-column frame. */
.app-shell { margin: 0 10px 12px; gap: 10px; grid-template-columns: 212px minmax(0, 1fr) 285px; background: #0b0d0e; }
.app-sidebar, .app-inspector { padding: 18px 10px; border: 1px solid #303338; border-radius: 12px; background: linear-gradient(150deg,#1b1d1f,#101213 280px); }
.app-main { padding: 0; }
.app-sidebar-head { display: grid; gap: 10px; padding: 12px; background: #212326; border: 1px solid #35383c; border-radius: 9px; }
.app-sidebar-head strong { font-weight: 400; font-size: .875rem; }
.app-nav-button { min-height: 44px; padding: 8px; font-size: .875rem; border: 1px solid transparent; border-left: 2px solid transparent; border-radius: 7px; }
.app-nav-button.active { border-color: #77323a; border-left-color: #ff4852; background: #2b1e21; }
.app-nav-button span { background: transparent; }
.app-nav-button.active span { color: #ff939b; }
.app-welcome {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 168px; margin: 0 0 18px; padding: 24px;
  align-items: flex-start; border: 1px solid #2d3034; border-radius: 12px; background: #101214;
}
.app-welcome::after { position: absolute; z-index: -1; right: 14%; top: 70px; width: 300px; height: 300px; border-radius: 50%; border-top: 1px solid #bbc0c8; background: #0a0c0e; box-shadow: 0 -8px 24px #c4ccd514; content: ""; }
.app-welcome h1 { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.app-welcome p { font-size: .875rem; }
.demo-ribbon { background: #1d1f22; border-color: #3c4046; color: #b6bac2; font-size: .75rem; border-radius: 5px; }
.app-command { border-radius: 8px; border-color: #3c4046; background: #17191b; box-shadow: none; }
.app-command button { color: #f3eff0; background: #362025; border: 1px solid #a63b43; border-radius: 7px; }
.app-quick-grid { gap: 10px; }
.app-quick-card { position: relative; min-height: 138px; background: linear-gradient(145deg,#191c1f,#111315); border-radius: 10px; border-color: #34373c; }
.app-quick-card:hover { border-color: #ac6369; background: #222428; transform: none; }
.app-quick-card b { font-size: .875rem; font-weight: 500; }
.app-quick-card small { font-size: .75rem; }
.app-quick-card .app-glyph { width: 30px; height: 30px; }
.app-panel { padding: 16px; background: #141618; border-radius: 10px; }
.app-panel-title strong { font-size: .875rem; font-weight: 500; }
.app-panel-title button, .activity-item strong { font-size: .875rem; }
.activity-item { background: transparent; border-bottom: 1px solid #22262a; border-radius: 0; grid-template-columns: 24px 1fr auto; }
.activity-item small, .activity-item time { font-size: .75rem; }
.activity-dot { background: #ff6972; box-shadow: none; width: 5px; height: 5px; margin-left: 4px; }
.token-bar { background: linear-gradient(#dc6f76,#79363c); }
.app-inspector { background: linear-gradient(155deg,#232025,#181b1d 220px); }
.app-inspector h2 { font-weight: 600; font-size: 1rem; }
.inspector-block { background: #191b1e; border-radius: 9px; }
.inspector-block strong, .inspector-row { font-size: .875rem; }
.inspector-block > span { font-size: .75rem; }
.switch.on { background: #74333b; }
.switch.on::after { box-shadow: none; background: #ff6c77; }

/* Live HTML product preview — not an embedded screenshot. */
.browser-frame { border: 1px solid #55595f; border-radius: 14px; background: #111315; box-shadow: inset 0 1px #fff2, 0 22px 55px #0007; }
.browser-bar { height: 44px; background: linear-gradient(#1d1f22,#141618); gap: 5px; }
.browser-bar i { width: 7px; height: 7px; background: #595c60; }
.browser-bar i:first-child { background: #ff4852; }
.browser-bar i:nth-child(2) { background: #909398; }
.browser-bar > strong { font-size: .875rem; font-weight: 400; margin-left: 5px; }
.browser-bar > span { font-family: inherit; font-size: .75rem; }
.preview-ring { display: inline-block; width: 22px; height: 22px; flex-shrink: 0; border: 2px solid #ff4852; border-radius: 50%; box-shadow: 0 0 10px #ff485240; }
.browser-bar > .preview-mode { margin-left: auto; font-size: .75rem; letter-spacing: .06em; }
.dashboard-mini { grid-template-columns: 126px minmax(0,1fr); min-height: 530px; gap: 8px; padding: 8px; }
.dashboard-mini-nav { position: relative; padding: 8px; border: 1px solid #32353a; border-radius: 9px; background: linear-gradient(160deg,#1e2023,#101213); }
.dashboard-mini-nav a { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 9px 5px; border-radius: 6px; color: #aeb2ba; font-size: .75rem; }
.dashboard-mini-nav a .ui-icon { width: 14px; height: 14px; }
.dashboard-mini-nav a span { margin: 0; padding: 0; font-size: .75rem; color: inherit; background: none; }
.dashboard-mini-nav a.active { color: #f2e8ea; border: 1px solid #81343b; border-left: 2px solid #ff4852; background: #2b1e22; }
.dashboard-mini-nav .mini-profile { display: block; padding: 9px 5px; margin-bottom: 16px; color: #c4c7cd; border: 1px solid #36393d; border-radius: 6px; background: #25272b; font-size: .75rem; }
.mini-profile b { display: inline-grid; width: 22px; height: 22px; margin-right: 4px; place-items: center; background: #393d42; border-radius: 4px; color: #fff; }
.mini-sidebar-bottom { position: absolute; bottom: 18px; left: 10px; right: 10px; }
.mini-sidebar-bottom span, .mini-sidebar-bottom small { font-size: .75rem; color: #a5aab2; }
.mini-sidebar-bottom .course-progress { margin: 5px 0 8px; height: 3px; }
.dashboard-mini-main { min-width: 0; padding: 0; }
.mini-welcome { position: relative; overflow: hidden; isolation: isolate; padding: 18px 15px 0; border: 1px solid #2b2e32; border-radius: 9px; background: #0d0f11; }
.mini-welcome::before { position: absolute; z-index: -1; top: 60px; right: 9%; width: 180px; height: 180px; content: ""; border-radius: 50%; border-top: 1px solid #959ca5; box-shadow: 0 -6px 25px #adb7c420; background: #0b0d0f; }
.mini-welcome .eyebrow { font-size: .75rem; letter-spacing: .12em; margin-bottom: 8px; }
.mini-welcome h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.04em; }
.mini-welcome h3 > span { color: #ff5965; }
.mini-welcome p { font-size: .75rem; margin: 5px 0 16px; color: #b4b7bd; }
.mini-workspace-tabs { display: flex; gap: 15px; font-size: .75rem; color: #9ea2ab; }
.mini-workspace-tabs > * { padding: 5px 0 9px; font-weight: 400; }
.mini-workspace-tabs b { color: #eee; border-bottom: 2px solid #ff4852; }
.mini-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.mini-widget { display: block; min-width: 0; border: 1px solid #36393d; border-radius: 9px; background: linear-gradient(145deg,#1a1c1f,#111315); overflow: hidden; }
.mini-widget:first-child { border-color: #86494f; }
.mini-widget header { display: flex; align-items: center; gap: 6px; padding: 10px; border-bottom: 1px solid #292c30; }
.mini-widget header .ui-icon { color: #ff5965; width: 16px; height: 16px; }
.mini-widget header strong { font-size: .75rem; font-weight: 500; }
.mini-widget header > span { margin-left: auto; color: #868b94; }
.mini-widget > div { padding: 2px 10px; }
.mini-widget p { display: flex; gap: 7px; align-items: flex-start; margin: 0; padding: 9px 0; border-bottom: 1px solid #25282c; font-size: .75rem; line-height: 1.35; }
.mini-widget p .ui-icon { width: 13px; height: 13px; color: #979da6; margin-top: 2px; }
.mini-widget p:nth-child(3) { display: none; }
.mini-widget small { display: block; font-size: .75rem; color: #9399a2; margin-top: 2px; }
.mini-widget footer { display: flex; justify-content: space-between; padding: 7px 10px; font-size: .75rem; color: #adb1b9; }
.mini-widget:nth-child(3), .mini-widget:nth-child(4) { padding-bottom: 24px; }
.mini-orchestrator { display: block; position: relative; z-index: 2; width: 90%; margin: -26px 0 2px auto; padding: 15px; border: 1px solid #61656b; border-radius: 13px; background: linear-gradient(150deg,#282b2f,#2b2024 130px,#202427 330px); box-shadow: inset 0 1px #ffffff12, 0 12px 30px #0008; }
.mini-orchestrator-title { display: flex; align-items: center; gap: 8px; }
.mini-orchestrator-title strong { font-size: .875rem; font-weight: 500; }
.mini-orchestrator-title small { margin-left: auto; color: #adb1ba; font-size: .75rem; }
.mini-orchestrator > p { margin: 10px 0; font-size: .75rem; color: #b0b5bd; }
.mini-agent-row { display: flex; gap: 7px; align-items: center; padding: 8px; border-bottom: 1px solid #323539; background: #181b1e88; font-size: .75rem; }
.mini-agent-row .ui-icon { width: 14px; height: 14px; color: #b5bac2; }
.mini-agent-row > span { margin-left: auto; color: #9ca1aa; font-size: .75rem; }
.mini-orchestrator-input { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 8px 10px; border: 1px solid #3b3e43; border-radius: 7px; background: #171a1d; font-size: .75rem; color: #a1a5ae; }
.mini-orchestrator-input > span { color: #ff8991; }

@media (min-width: 1500px) { .hero-layout { gap: 60px; } .dashboard-mini { grid-template-columns: 145px minmax(0,1fr); } }
@media (max-width: 1320px) {
  .site-header { gap: 12px; padding: 0 18px; }
  .window-controls { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .search-trigger { width: 38px; min-width: 38px; }
  .search-trigger-label, .search-trigger kbd { display: none; }
  .desktop-nav { gap: 16px; }
  .hero-layout { gap: 30px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .dashboard-mini { grid-template-columns: 1fr; }
  .dashboard-mini-nav { display: none; }
  .app-shell { grid-template-columns: 190px minmax(0,1fr); }
  .app-inspector { display: none; }
}
@media (max-width: 1000px) {
  .site-header { grid-template-columns: auto 1fr; min-height: 72px; }
  .desktop-nav, .community-button, .sign-in-button { display: none; }
  .menu-button { display: grid; }
  .hero-layout, .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 700px; }
  .hero-copy h1 { font-size: 3.6rem; }
  .dashboard-mini { grid-template-columns: 145px minmax(0,1fr); }
  .dashboard-mini-nav { display: block; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .section-head > p { max-width: 640px; }
  .app-shell { grid-template-columns: 68px minmax(0,1fr); }
  .app-sidebar-head { display: none; }
  .app-nav-label { display: none; }
}
@media (max-width: 700px) {
  :root { --container: calc(100% - 32px); --header-h: 66px; }
  body { margin: 5px; border-radius: 12px; }
  .site-header { min-height: 66px; padding: 0 12px; border-radius: 12px 12px 0 0; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .75rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-layout { min-height: 0; padding: 45px 0; }
  .hero-copy h1 { font-size: clamp(2.5rem,10vw,3.4rem); }
  .hero-actions { display: flex; }
  .hero-actions .button { width: auto; min-height: 44px; }
  .proof-row { display: flex; font-size: .875rem; }
  .section { padding: 42px 0; }
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 2.5rem; }
  .dashboard-mini { grid-template-columns: 1fr; min-height: 0; }
  .dashboard-mini-nav { display: none; }
  .mini-orchestrator { width: 100%; margin: 8px 0 0; }
  .mini-orchestrator-title { flex-wrap: wrap; }
  .mini-orchestrator-title small { margin-left: 0; }
  .mini-workspace-tabs { gap: 12px; }
  .mini-welcome { padding: 15px 10px 0; }
  .mini-welcome h3 { font-size: 1.25rem; }
  .mini-widget header, .mini-widget > div { padding-left: 7px; padding-right: 7px; }
  .mini-widget p .ui-icon { display: none; }
  .mini-widget small { font-size: .75rem; }
  .mini-widget header > span { display: none; }
  .app-shell { display: block; margin: 0 8px 8px; }
  .app-sidebar { display: block; padding: 6px; margin-bottom: 8px; }
  .app-sidebar nav { display: flex; overflow-x: auto; }
  .app-nav-button { width: 44px; flex: 0 0 44px; }
  .app-welcome { padding: 20px; min-height: 190px; flex-direction: column; gap: 16px; }
  .app-welcome h1 { font-size: 1.75rem; }
  .app-welcome p { font-size: .875rem; }
  .app-main { padding: 0; }
  .app-command { grid-template-columns: 1fr auto; padding-left: 10px; }
  .app-command > span { display: none; }
  .app-command input { min-width: 0; font-size: .875rem; }
  .activity-item { grid-template-columns: 16px 1fr; }
  .activity-item time { grid-column: 2; }
  .infra-layer { grid-template-columns: 35px 1fr; }
  .infra-layer > .status-pill { grid-column: 2; }
  .infra-layer p { grid-column: 2; }
  .tab-bar, .segmented { max-width: 100%; }
  .global-search-field { grid-template-columns: auto minmax(0,1fr); }
  .global-search-field kbd { display: none; }
  .global-search-field input { min-width: 0; }
}

.language-switch { color: #eef0f2; font: inherit; font-size: 12px; padding: 8px; border: 1px solid #ffffff30; border-radius: 8px; text-decoration: none; flex-shrink: 0; }
.language-switch:focus-visible { outline: 2px solid #ff4852; outline-offset: 3px; }
