/* ---------- decorative background ---------- */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none
}

.bg-deco::before {
  content: "";
  position: absolute;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 740px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(81, 43, 212, .10), rgba(124, 58, 237, .05) 45%, transparent 72%);
  filter: blur(8px);
}

.bg-deco .grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 50% at 50% 0%, #000 0%, transparent 75%);
  opacity: .55;
}

/* ---------- nav ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(251, 251, 250, .78);
  border-bottom: 1px solid var(--line)
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 62px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 680;
  letter-spacing: -.02em;
  font-size: 16.5px
}

.monogram {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #16161a;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .86)
}

.monogram svg {
  width: 16px;
  height: 16px
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 6px
}

.nav-links a {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 7px 11px;
  border-radius: 9px;
  font-weight: 520;
  letter-spacing: -.01em;
  transition: background .15s, color .15s
}

.nav-links a:hover {
  background: var(--bg-soft);
  color: var(--ink)
}

.nav-spacer {
  flex: 1
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 9px
}

.family-actions {
  display: flex;
  align-items: center;
  gap: 8px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 560;
  letter-spacing: -.01em;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .16s;
  white-space: nowrap
}

.btn svg {
  width: 15px;
  height: 15px
}

.btn .sponsor-heart {
  width: 14px;
  height: 14px
}

.btn-ghost {
  color: var(--ink-soft);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink)
}

.btn-family {
  color: var(--ink-soft);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px
}

.btn-family:hover {
  border-color: #d6d0ec;
  color: var(--accent);
  background: #fcfcff;
  transform: translateY(-1px)
}

.btn-family i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 4px var(--accent-soft)
}

.btn-family .sw {
  background: #f05138
}

.btn-family .kt {
  background: #b1542a
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(81, 43, 212, .4), 0 6px 16px -6px rgba(81, 43, 212, .5)
}

.btn-primary:hover {
  background: #451aca;
  transform: translateY(-1px)
}

.btn-lg {
  padding: 12px 20px;
  font-size: 14.5px;
  border-radius: 12px
}

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 36px
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft)
}

h1.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 720;
  margin: 0;
  max-width: 14ch
}

h1 .grad {
  background: linear-gradient(120deg, var(--accent), #8b5cf6 55%, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lede {
  font-size: clamp(16.5px, 2vw, 19.5px);
  color: var(--muted);
  max-width: 52ch;
  margin: 22px 0 0;
  line-height: 1.55;
  letter-spacing: -.01em
}

.lede b {
  color: var(--ink-soft);
  font-weight: 600
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
  align-items: center
}

.cta-meta {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap
}

.cta-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500
}

.cta-meta svg {
  width: 15px;
  height: 15px;
  color: var(--accent)
}

/* ---------- studio mock ---------- */
.mock-shell {
  margin-top: 54px
}

.browser {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfdfc, #f8f8f6)
}

.traffic {
  display: flex;
  gap: 8px
}

.traffic i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block
}

.traffic .r {
  background: #ff5f57
}

.traffic .y {
  background: #febc2e
}

.traffic .g {
  background: #28c840
}

.url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center
}

.urlbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 14px;
  min-width: 280px;
  justify-content: center
}

.urlbar svg {
  width: 12px;
  height: 12px;
  color: var(--green)
}

.browser-actions {
  display: flex;
  gap: 7px;
  align-items: center
}

.browser-actions .pill {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 8px
}

/* studio layout */
.studio {
  display: grid;
  grid-template-columns: 208px 1fr 296px;
  min-height: 430px;
  background: var(--surface)
}

.studio.release-console {
  grid-template-columns: 208px 1fr
}

.s-explorer {
  border-right: 1px solid var(--line);
  background: #fcfcfb;
  padding: 14px 12px;
  font-size: 13px
}

.s-section {
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 6px 8px 8px
}

.s-section-output {
  margin-top: 10px
}

.tree {
  list-style: none;
  margin: 0;
  padding: 0
}

.tree li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 12.5px;
  cursor: default
}

.tree li.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 560
}

.tree li.indent {
  margin-left: 14px
}

.tree svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--faint)
}

.tree li.active svg {
  color: var(--accent)
}

.tree .cs {
  color: #3a1ea3
}

.artifact-name {
  color: var(--accent);
  font-weight: 560
}

.s-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--line)
}

.tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #fcfcfb
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px 8px 0 0
}

.tab.active {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-color: transparent;
  font-weight: 540;
  position: relative;
  top: 1px
}

.tab .x {
  color: var(--faint);
  font-size: 13px
}

.tab svg {
  width: 13px;
  height: 13px;
  color: #3a1ea3
}

.editor {
  flex: 1;
  display: flex;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  background: var(--code-bg);
  min-width: 0;
  overflow: hidden
}

.gutter {
  padding: 14px 0 14px;
  text-align: right;
  color: #cfcfca;
  user-select: none;
  width: 42px;
  flex: none;
  border-right: 1px solid var(--line)
}

.gutter span {
  display: block;
  padding-right: 12px
}

.code {
  padding: 14px 18px;
  overflow: hidden;
  white-space: pre;
  flex: 1;
  min-width: 0
}

.code .ln {
  display: block
}

.k {
  color: #9b1d8e
}

/* keyword */
.t {
  color: #1a7fa8
}

/* type */
.m {
  color: #5a3ec8
}

/* method */
.s {
  color: #1a8a4a
}

/* string */
.c {
  color: #9b9b97;
  font-style: italic
}

.n {
  color: #b06000
}

/* number */
.p {
  color: #5a5a62
}

/* punct */
.v {
  color: #16161a
}

/* ident */
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 1px;
  animation: blink 1.1s step-end infinite
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

.console {
  border-top: 1px solid var(--line);
  background: #fbfbfa;
  font-family: var(--mono);
  font-size: 12px
}

.console-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  font-weight: 560;
  letter-spacing: .02em
}

.console-head .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 157, 90, .16)
}

.console-body {
  padding: 11px 16px;
  line-height: 1.85;
  color: var(--ink-soft)
}

.console-body .pr {
  color: var(--accent)
}

.console-body .ok {
  color: var(--green)
}

.console-body .dim {
  color: var(--faint)
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 30px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  background: #fcfcfb;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted)
}

.status-bar .grow {
  flex: 1
}

.status-bar .acc {
  color: var(--accent);
  font-weight: 600
}

.status-bar svg {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--green)
}

/* ---------- logos / trust strip ---------- */
.trust {
  padding: 30px 0 8px;
  text-align: center
}

.trust p {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin: 0 0 16px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 15px;
  box-shadow: var(--shadow-sm)
}

.chip svg {
  width: 13px;
  height: 13px;
  color: var(--accent)
}

/* ---------- stats ---------- */
section {
  scroll-margin-top: 80px
}

.stats {
  margin: 56px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden
}

.stat {
  padding: 26px 26px;
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border-right: none
}

.stat .num {
  font-size: 30px;
  font-weight: 720;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1
}

.stat .num span {
  color: var(--accent)
}

.stat .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: -.01em
}

/* ---------- section heading ---------- */
.sec-head {
  max-width: 640px;
  margin-bottom: 38px
}

.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .02em;
  color: var(--accent);
  text-transform: uppercase
}

.sec-kicker .dot {
  box-shadow: 0 0 0 4px var(--accent-soft)
}

.sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 14px 0 0;
  line-height: 1.08
}

.stage-token {
  font-size: .8em;
  color: var(--accent)
}

.sec-head p {
  font-size: 16.5px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.55;
  letter-spacing: -.01em
}

/* ---------- features ---------- */
.features.wrap {
  padding: 24px 28px 8px
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d6d0ec
}

.card .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #e4ddf9
}

.card .ic svg {
  width: 20px;
  height: 20px
}

.card h3 {
  font-size: 16.5px;
  font-weight: 640;
  letter-spacing: -.02em;
  margin: 0 0 7px
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55
}

.card.wide {
  grid-column: span 2
}

.card.span-3 {
  grid-column: span 3;
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap
}

.card.span-3 .ic {
  margin-bottom: 0
}

.card.span-3 .txt {
  flex: 1;
  min-width: 240px
}

/* ---------- support snapshot ---------- */
.support.wrap {
  padding: 46px 28px 20px
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

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

.support-card h3 {
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -.02em;
  margin: 0
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  white-space: nowrap
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.status.ok {
  color: var(--green);
  background: #eef9f3;
  border-color: #cfeedd
}

.status.seed {
  color: var(--amber);
  background: #fff7e8;
  border-color: #f1ddb7
}

.status.open {
  color: var(--muted);
  background: var(--bg-soft)
}

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

.support-list li {
  display: flex;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
  min-width: 0
}

.support-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: 8px;
  box-shadow: 0 0 0 4px var(--accent-soft)
}

.support-list code {
  overflow-wrap: anywhere
}

.support-card.open .support-list li::before {
  background: var(--faint);
  box-shadow: 0 0 0 4px var(--bg-soft)
}

.support-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  max-width: 78ch
}

.support-note code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--accent)
}

/* ---------- pipeline ---------- */
.pipeline.wrap {
  padding: 24px 28px
}

.pipe-wrap {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto
}

.pipe {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  min-width: 760px
}

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: none
}

.node .box {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 17px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: #fcfcfb;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: var(--shadow-sm)
}

.node.io .box {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #ddd2f8;
  font-weight: 680
}

.node small {
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: .01em
}

.arrow {
  flex: none;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--line-strong), var(--accent-2));
  position: relative;
  margin: 0 4px;
  align-self: flex-start;
  margin-top: 23px
}

.arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--accent-2)
}

.pipe-note {
  text-align: center;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono)
}

.pipe-note b {
  color: var(--accent);
  font-weight: 600
}

/* ---------- faq ---------- */
.faq.wrap {
  padding: 48px 28px
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-top: 6px
}

details {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .15s
}

details[open] {
  border-color: #d6d0ec
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-size: 16px;
  font-weight: 580;
  letter-spacing: -.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px
}

summary::-webkit-details-marker {
  display: none
}

summary .pm {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--muted);
  transition: transform .2s, background .15s, color .15s
}

details[open] summary .pm {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

summary .pm svg {
  width: 13px;
  height: 13px
}

details .ans {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 70ch
}

details .ans code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--accent)
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 40px 0 0;
  background: linear-gradient(150deg, #1c1138, #2a1656 55%, #3a1ea3);
  border-radius: var(--radius-lg);
  padding: 54px 44px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent)
}

.cta-band h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.035em;
  font-weight: 720;
  margin: 0;
  line-height: 1.05
}

.cta-band p {
  position: relative;
  color: rgba(255, 255, 255, .7);
  font-size: 16.5px;
  margin: 16px auto 0;
  max-width: 46ch
}

.cta-band .row {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap
}

.btn-white {
  background: #fff;
  color: #2a1656
}

.btn-white:hover {
  background: #f0ecfb;
  transform: translateY(-1px)
}

.btn-outline {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24)
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .16)
}

/* ---------- footer ---------- */
footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 48px 0 60px;
  background: var(--bg-soft)
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 30px
}

.foot-brand .brand {
  margin-bottom: 14px
}

.foot-brand p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.6;
  margin: 0
}

.foot-col h4 {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 680;
  margin: 4px 0 14px
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color .15s
}

.foot-col a:hover {
  color: var(--accent)
}

.foot-col a .ext {
  font-size: 11px;
  color: var(--faint)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 14px
}

.family-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.family-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 13px;
  box-shadow: var(--shadow-sm);
  transition: .15s
}

.family-chip:hover {
  border-color: #d6d0ec;
  color: var(--accent);
  transform: translateY(-1px)
}

.family-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 4px var(--accent-soft)
}

.family-chip .sw {
  background: #f05138
}

.family-chip .kt {
  background: #b1542a
}

@media (max-width:980px) {
  .studio {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .s-explorer {
    display: none
  }

  .s-main {
    border-right: none
  }

  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat:nth-child(2) {
    border-right: none
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .feat-grid {
    grid-template-columns: 1fr
  }

  .card.wide,
  .card.span-3 {
    grid-column: auto
  }

  .support-grid {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  .nav-links {
    display: none
  }
}

@media (max-width:560px) {
  .nav-inner {
    gap: 12px
  }

  .brand {
    font-size: 15px
  }

  .family-actions {
    display: none
  }

  .btn {
    padding: 8px 12px
  }

  .browser-bar {
    gap: 10px;
    padding: 0 12px
  }

  .browser-actions {
    display: none
  }

  .urlbar {
    min-width: 0;
    width: 100%;
    padding: 5px 10px
  }

  .stats {
    grid-template-columns: 1fr
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid var(--line)
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .foot-bottom {
    align-items: flex-start
  }

  .family-chips {
    justify-content: flex-start
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}