:root {
  --bg: #0c0d12;
  --surface: #13141c;
  --surface-raised: #181a24;
  --ink: #f2f1f7;
  --muted: #b0aeba;
  --faint: #9995a8;
  --accent: #c3b0ff;
  --line: #ffffff19;
  --specular: inset 0 1px 0 #ffffff1a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-underline-offset: 5px;
}

a:hover {
  color: #eee5ff;
}

button {
  font: inherit;
  cursor: pointer;
}

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

[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

::selection {
  background: #b59aff;
  color: #171021;
}

:focus-visible {
  outline: 3px solid #d1c0ff;
  outline-offset: 5px;
}

.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

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

h1, h2, h3 {
  line-height: 1.08;
  font-weight: 550;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.8rem);
}

h3 {
  font-size: 1.8rem;
  letter-spacing: -0.035em;
}

.eyebrow {
  font-size: 0.76rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 24px;
}

.section {
  padding-block: 112px;
}

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

.section-heading h2 {
  max-width: 900px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered h2 {
  margin-inline: auto;
}

.section-heading.centered > p:last-child {
  margin: 28px auto 0;
  color: var(--muted);
}

.section-lede {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.12rem;
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #c3b0ff66;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.625rem;
  background: #c8b6ff;
  border: 1px solid #d4c7ff;
  border-radius: 9px;
  color: #1c1235;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 #ffffff66;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.button:hover {
  background: #ddd0ff;
  color: #1c1235;
  box-shadow: inset 0 1px 0 #ffffff88, 0 0 34px #a284ff2e;
}

.button-small {
  min-height: 2.5rem;
  padding: 0.6rem 1.125rem;
  font-size: 0.85rem;
}

.button-secondary {
  background: #ffffff08;
  border-color: #ffffff32;
  color: var(--ink);
  box-shadow: var(--specular);
}

.button-secondary:hover {
  background: #ffffff14;
  color: var(--ink);
  box-shadow: var(--specular);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0c0d12e0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.navigation {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  font-size: 0.88rem;
  text-decoration: none;
  color: #c8c5d0;
  position: relative;
  padding-block: 4px;
  transition: color 0.15s;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #fff;
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  border-block-end: 2px solid var(--accent);
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  overflow: clip;
  position: relative;
  padding-block: 72px 80px;
}

.hero-halo {
  position: absolute;
  pointer-events: none;
  width: 1500px;
  height: 1100px;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 72% 48%, #6637c938, transparent 56%);
}

.hero-halo::after {
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  border: 1px solid #b08aff12;
  border-radius: 50%;
  left: 52%;
  top: -80px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-inline-size: 0;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mini-chip {
  width: 24px;
  height: 24px;
  border: 1px solid #b69aff66;
  background: #b69aff14;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  border-radius: 5px;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.45rem + 2.8vw, 4.35rem);
  max-width: 14ch;
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.hero h1 em {
  letter-spacing: -0.07em;
}

.hero-lede {
  max-width: 33rem;
  margin: 24px 0 26px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero .requirements-note {
  margin-top: 18px;
}

.requirements-note {
  font-size: 0.81rem;
  color: var(--faint);
  line-height: 1.7;
}

.play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #a398bd7a;
  display: grid;
  place-items: center;
}

.play-icon::after {
  content: "";
  border-left: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 2px;
}

.hero .text-link {
  text-decoration: none;
  color: var(--ink);
}

.hero-product {
  position: relative;
  min-inline-size: 0;
  border-radius: 15px;
  padding: 13px 13px 11px;
  background: linear-gradient(155deg, #bda5ff26, #634e9414 50%, #14151f);
  border: 1px solid #c2a5ff38;
  box-shadow: var(--specular), 0 26px 80px -28px #000c, 0 0 90px -45px #a16bff70;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #c9bfdc;
  font: 500 0.7rem/1.4 var(--font);
  letter-spacing: 0.09em;
  padding: 0 4px 11px;
}

.topline-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.product-tag {
  border: 1px solid #ffffff26;
  background: #ffffff08;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0;
  font-size: 0.76rem;
}

.hero-window {
  border-radius: 11px;
  overflow: clip;
  background: transparent;
  box-shadow: 0 22px 50px #000b;
}

.hero-window img {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 1017 / 673;
}

.product-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.product-caption span:last-child {
  color: var(--faint);
  font-size: 0.72rem;
}

/* Principles Bar */
.principles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-block: 1px solid var(--line);
  padding-block: 25px;
  color: var(--muted);
  font-size: 0.85rem;
}

.principles p {
  display: flex;
  align-items: center;
  gap: 11px;
}

.principles p span {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Intro & Product Tour Tabs */
.intro-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}

.intro-header .section-heading {
  margin-bottom: 0;
}

.product-tour {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--specular);
}

.tour-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
}

.tour-tabs::-webkit-scrollbar {
  display: none;
}

.tour-tabs button {
  position: relative;
  flex: 1 0 auto;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 21px 24px;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.4;
  transition: color 0.15s, background 0.15s;
}

.tour-tabs button span {
  display: block;
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 3px;
  font-weight: 400;
}

.tour-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.tour-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 2px solid var(--accent);
}

.tour-tabs button:hover {
  background: #ffffff05;
}

/* Inner wrapper holds padding/grid so hidden="until-found" leaves zero layout footprint */
.tour-panel-body {
  padding: 38px;
  display: grid;
  grid-template-columns: 0.78fr 1.45fr;
  gap: 36px;
  align-items: center;
  min-height: 26rem;
}

.tour-copy h3 {
  font-size: 2.15rem;
  margin-bottom: 18px;
}

.tour-copy p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.tour-image {
  overflow: clip;
  border-radius: 11px;
  background: transparent;
  box-shadow: 0 20px 48px #000a;
}

.tour-image img {
  width: 100%;
}

.tour-note {
  padding: 0 38px 23px;
  color: var(--faint);
  font-size: 0.75rem;
}

/* Interactive Memory Fit Estimator */
.estimator {
  margin-top: 26px;
  padding: 30px 36px;
  border: 1px solid #c3b0ff2e;
  border-radius: 15px;
  background: radial-gradient(ellipse at 100% 0%, #6d44c522, transparent 62%), var(--surface);
  box-shadow: var(--specular);
}

.estimator-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.estimator-top h3 {
  font-size: 1.45rem;
  margin-top: 6px;
}

.estimator-top .eyebrow {
  margin-bottom: 4px;
}

.ram-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 10px;
  background: #0c0d12b3;
  border: 1px solid var(--line);
}

.ram-pills button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 550;
  transition: background 0.15s, color 0.15s;
}

.ram-pills button:hover {
  color: var(--ink);
}

.ram-pills button[aria-pressed="true"] {
  background: #c8b6ff;
  color: #1c1235;
  box-shadow: inset 0 1px 0 #ffffff66;
}

.estimator-result {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px;
  padding-top: 22px;
  align-items: start;
}

.estimator-stat span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-bottom: 6px;
}

.estimator-stat strong {
  display: block;
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 560;
  margin-bottom: 5px;
}

.estimator-stat p {
  font-size: 0.85rem;
  color: var(--muted);
}

.estimator-footnote {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--faint);
}

/* Possibilities / Feature Bento */
.possibilities {
  background: linear-gradient(#111119, #101116);
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  margin-top: 54px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #171820;
  box-shadow: var(--specular);
  display: flex;
  flex-direction: column;
}

.feature-symbol {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 22px;
}

.feature h3 {
  font-size: 2rem;
  line-height: 1.13;
  margin-bottom: 16px;
}

.feature > p {
  color: var(--muted);
  max-width: 440px;
  font-size: 0.98rem;
}

.feature-chat {
  background: radial-gradient(ellipse at 0 100%, #5d429b30, transparent 70%), #171820;
}

.feature-docs {
  background: radial-gradient(ellipse at 100% 100%, #5d429b35, transparent 70%), #171820;
}

.bento-shot {
  margin-top: 26px;
  border-radius: 11px;
  overflow: clip;
  box-shadow: 0 18px 42px #000a;
}

.bento-shot-caption {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--faint);
}

.feature-docs > .text-link {
  position: relative;
  margin-top: 18px;
}

.feature-quick,
.feature-tools {
  min-height: 21rem;
}

.shortcut-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #c3b0ff26;
  border-radius: 11px;
  background: #111219;
  box-shadow: var(--specular);
}

.keycap-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.keycap-row kbd {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  padding: 6px 11px;
  font: 550 0.88rem/1.2 var(--font);
  color: var(--ink);
  background: linear-gradient(165deg, #2b2838, #181722);
  border: 1px solid #6b5d84;
  border-bottom-width: 3px;
  border-radius: 8px;
  box-shadow: 0 6px 16px #0006;
}

.keycap-plus {
  color: var(--faint);
  font-size: 0.8rem;
}

.shortcut-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}

.shortcut-meta span:last-child {
  color: var(--faint);
}

.tool-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

.tool-tags span {
  font-size: 0.76rem;
  border: 1px solid #b8a4df38;
  border-radius: 6px;
  padding: 7px 12px;
  background: #a58ac010;
  color: #d6cbe8;
}

.feature > .small-copy {
  font-size: 0.79rem;
  margin-top: auto;
}

.small-copy {
  font-size: 0.83rem;
  color: var(--faint);
}

/* Developer Section & Multi-Dialect Terminal Switcher */
.developer-section {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.developer-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 24px;
}

.developer-copy > .button {
  margin-top: 28px;
}

.terminal {
  border: 1px solid #b196dc3d;
  border-radius: 14px;
  background: #111219;
  box-shadow: var(--specular), 20px 20px 90px #7f50ca14;
  overflow: hidden;
  min-width: 0;
}

.terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--faint);
}

.terminal-bar > span:first-child {
  color: #77717e;
  letter-spacing: 0.2em;
}

.code-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  background: #0d0e14;
  padding-inline: 14px;
}

.code-tabs::-webkit-scrollbar {
  display: none;
}

.code-tabs button {
  position: relative;
  flex: none;
  background: transparent;
  border: 0;
  color: var(--faint);
  padding: 11px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.15s;
}

.code-tabs button:hover {
  color: var(--ink);
}

.code-tabs button[aria-selected="true"] {
  color: var(--ink);
}

.code-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 2px solid var(--accent);
}

.code-panel-body {
  position: relative;
}

.code-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px 0;
  font-size: 0.73rem;
  color: var(--faint);
}

pre {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.8;
  overflow: auto;
  tab-size: 2;
}

.terminal pre {
  padding: 16px 22px 20px;
  margin: 0;
  color: #e1d7f4;
}

.code-comment {
  color: #9b94aa;
}

.terminal-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font: 400 0.85rem var(--mono);
  color: #bfa7f0;
}

.loopback-icon {
  font-size: 1.25rem;
}

.terminal-note {
  font-size: 0.75rem;
  color: var(--faint);
  padding: 0 22px 22px;
}

/* Privacy Section & Ambient Orbit */
.privacy-section {
  background: radial-gradient(ellipse at 15% 50%, #60399b1e, transparent 60%);
  border-block: 1px solid var(--line);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.privacy-orbit {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px dashed #bba0ef30;
  border-radius: 50%;
  aspect-ratio: 1;
  width: 95%;
}

.orbit-two {
  width: 71%;
  border-style: solid;
  border-color: #bba0ef44;
}

.orbit-three {
  width: 48%;
  border-style: solid;
  background: #7150900d;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-one {
    animation: orbit-spin 84s linear infinite;
  }
  .orbit-two {
    animation: orbit-spin 60s linear infinite reverse;
  }
}

.privacy-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 103px;
  height: 103px;
  border-radius: 25px;
  border: 1px solid #c9a9ff66;
  background: linear-gradient(140deg, #4d356a, #21162e);
  box-shadow: var(--specular), 0 0 90px #ae72ff24;
}

.privacy-core svg {
  width: 52px;
  height: 52px;
  color: #d7bfff;
}

.orbit-label {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: #0c0d12eb;
  backdrop-filter: blur(8px);
  border: 1px solid #bba0ef32;
  padding: 8px 12px;
  border-radius: 6px;
  color: #c8bce0;
}

.label-local {
  top: 18%;
  left: 2%;
}

.label-choice {
  bottom: 15%;
  right: 0;
}

.privacy-copy > p:not(.eyebrow) {
  margin-top: 25px;
  color: var(--muted);
  font-size: 1.04rem;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.privacy-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.privacy-list strong {
  color: var(--ink);
  font-weight: 500;
}

/* Getting Started */
.getting-started {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.getting-started .text-link {
  margin-top: 30px;
}

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

.steps li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child {
  padding-top: 0;
}

.step-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #bfa7f044;
  background: #b69ad610;
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.4rem;
}

.steps h3 {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  margin: 1px 0 10px;
}

.steps p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* FAQ & Animated Accordions */
.faq-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.faq-section .muted {
  margin: 26px 0 10px;
  font-size: 0.97rem;
}

details {
  border-bottom: 1px solid var(--line);
}

details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.26s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

summary {
  display: flex;
  align-items: center;
  gap: 0.7ch;
  cursor: pointer;
  padding: 21px 8px 21px 0;
  font-size: 0.98rem;
  line-height: 1.5;
  list-style: none;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}

summary:hover {
  color: #fff;
}

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

summary::before {
  content: "";
  inline-size: 1.05em;
  block-size: 1.05em;
  flex-shrink: 0;
  background-color: var(--accent);
  mask: var(--chevron) no-repeat center / contain;
  -webkit-mask: var(--chevron) no-repeat center / contain;
  forced-color-adjust: none;
  rotate: -90deg;
}

details[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  summary::before {
    transition: rotate 0.2s ease;
  }
}

details p {
  margin: 0 0 24px 1.75ch;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Download Section */
.download-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 100%, #7343bb33, transparent 68%), #121119;
  text-align: center;
  padding: 85px 0 95px;
  border-block: 1px solid var(--line);
}

.download-section img {
  margin: 0 auto 30px;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 18px 50px #0008;
}

.download-section .eyebrow {
  margin-bottom: 22px;
}

.download-section h2 {
  font-size: clamp(2.4rem, 1.4rem + 3.5vw, 5rem);
}

.download-section h2 + p {
  color: var(--muted);
  margin: 24px 0;
}

.download-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 23px;
  color: #e0d4fa;
  border: 1px solid #bba0ef4a;
  border-radius: 9px;
  background: #bba0ef10;
  box-shadow: var(--specular);
  font-size: 0.94rem;
}

.store-status svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.download-section .requirements-note {
  margin-top: 24px;
}

/* Footer */
.site-footer {
  padding: 60px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-top > div > p {
  color: var(--faint);
  font-size: 0.86rem;
  margin-top: 12px;
}

.footer-top nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #dbd7e2;
  margin: 7px 0;
}

.footer-top nav a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--muted);
}

.footer-top nav a:hover,
.footer-top nav a[aria-current="page"] {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 0.75rem;
  color: var(--faint);
}

.footer-bottom a {
  color: var(--faint);
}

.trademark {
  margin-top: 15px;
  font-size: 0.75rem;
  color: var(--faint);
}

/* Subpages & Articles */
.page-hero {
  padding-top: 52px;
  padding-bottom: 65px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 50px;
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--faint);
}

.page-hero h1,
.notfound h1 {
  font-size: clamp(2.6rem, 1.5rem + 4vw, 5.7rem);
  max-width: 1050px;
}

.page-lede {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
  margin-top: 30px;
}

.page-hero .small-copy {
  margin-top: 25px;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  padding-top: 65px;
  padding-bottom: 100px;
}

.article-nav {
  align-self: start;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-nav span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-bottom: 10px;
}

.article-nav a {
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--muted);
  padding: 5px 0 5px 12px;
  border-inline-start: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.article-nav a:hover {
  color: var(--accent);
}

.article-nav a.is-active {
  color: var(--ink);
  font-weight: 550;
  border-inline-start-color: var(--accent);
}

.article {
  max-width: 800px;
  min-width: 0;
  color: var(--muted);
}

.article h2 {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 48px 0 20px;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.article p {
  margin-bottom: 20px;
}

.article strong {
  font-weight: 550;
  color: #dedbe5;
}

.article ul,
.article ol {
  padding-left: 22px;
  margin: 22px 0 28px;
}

.article li {
  padding-left: 6px;
  margin: 14px 0;
}

.article code {
  font-family: var(--mono);
  font-size: 0.83em;
  background: #ffffff0c;
  padding: 3px 6px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.article-figure {
  margin: 35px 0;
}

.article-figure-frame {
  border-radius: 12px;
  overflow: hidden;
  filter: drop-shadow(0 20px 45px #0008);
}

.article-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
  color: var(--faint);
  font-size: 0.8rem;
}

.article-callout {
  margin-top: 45px;
  border: 1px solid #bba0ef34;
  background: #bba0ef09;
  box-shadow: var(--specular);
  border-radius: 12px;
  padding: 27px;
}

.article-callout p {
  margin: 0;
}

.article details p {
  font-size: 0.98rem;
}

.workflow {
  display: flex;
  gap: 12px;
  margin: 30px 0;
}

.workflow > div {
  flex: 1;
  padding: 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--specular);
  border-radius: 9px;
}

.workflow strong,
.workflow span {
  display: block;
  font-size: 0.83rem;
}

.workflow span {
  font-size: 0.77rem;
  margin-top: 6px;
}

.table-scroll {
  overflow-x: auto;
  margin: 25px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.91rem;
}

caption {
  text-align: left;
  color: var(--faint);
  font-size: 0.81rem;
  padding-bottom: 12px;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 16px 12px;
  vertical-align: top;
}

th {
  color: var(--ink);
  font-weight: 500;
}

.code-block {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  margin: 30px 0 10px;
  background: var(--surface);
  box-shadow: var(--specular);
}

.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.copy-code {
  background: #ffffff06;
  border: 1px solid #ffffff32;
  border-radius: 6px;
  padding: 6px 13px;
  color: var(--ink);
  font-size: 0.78rem;
  transition: background 0.15s, border-color 0.15s;
}

.copy-code:hover {
  background: #ffffff14;
  border-color: #c3b0ff66;
}

.code-block pre {
  padding: 18px;
  margin: 0;
}

.code-block code {
  background: none;
  padding: 0;
  overflow-wrap: normal;
  font-size: 0.85rem;
}

.fact-list > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 0.95rem;
}

.fact-list dt {
  color: var(--faint);
}

.fact-list dd {
  margin: 0;
  color: var(--ink);
}

.press-assets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.asset-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  background: var(--surface);
  box-shadow: var(--specular);
  gap: 20px;
  transition: border-color 0.15s, background 0.15s;
}

.asset-card:hover {
  border-color: #c3b0ff55;
  background: var(--surface-raised);
}

.asset-card > img {
  object-fit: contain;
  max-height: 190px;
}

.asset-card > span {
  font-size: 0.78rem;
}

/* Styled Press Screenshot Download Cards */
.article .asset-links {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 14px;
}

.article .asset-links li {
  margin: 0;
  padding: 0;
}

.article .asset-links a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--specular);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.article .asset-links a:hover {
  border-color: #c3b0ff55;
  background: var(--surface-raised);
}

.article .asset-links strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.article .asset-links span {
  color: var(--faint);
  font-size: 0.75rem;
}

.notfound {
  padding-block: 110px;
  min-height: 65vh;
}

.notfound > p:not(.eyebrow) {
  max-width: 500px;
  margin: 28px 0;
  color: var(--muted);
}

/* Responsive Breakpoints */
@media (min-width: 1450px) {
  .hero {
    padding-block: 88px 96px;
  }
}

@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .primary-nav {
    gap: 20px;
  }
  .hero-inner {
    gap: 32px;
  }
  .section {
    padding-block: 85px;
  }
  .tour-panel-body {
    grid-template-columns: 1fr 1.45fr;
    padding: 28px;
    gap: 25px;
    min-height: 22rem;
  }
  .tour-copy h3 {
    font-size: 1.85rem;
  }
  .estimator-result {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .developer-section,
  .privacy-layout,
  .getting-started,
  .faq-section {
    gap: 45px;
  }
  .feature {
    padding: 30px;
  }
  .feature h3 {
    font-size: 1.8rem;
  }
  .article-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero-product {
    max-inline-size: 620px;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .navigation {
    min-height: 72px;
    gap: 16px;
  }
  .navigation > .brand {
    margin-right: auto;
  }
  .navigation > .button {
    font-size: 0.79rem;
    padding: 10px 14px;
  }
  .brand {
    font-size: 1.12rem;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    color: var(--ink);
    background: transparent;
    order: 3;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    background: #101118f2;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 100vh 0 100vh #00000085;
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    padding: 13px 5px;
    font-size: 1rem;
  }
  .primary-nav a[aria-current="page"]::after {
    display: none;
  }
  .hero {
    padding-block: 52px 60px;
  }
  .hero-lede {
    font-size: 1rem;
    max-width: 560px;
  }
  .hero .eyebrow {
    font-size: 0.75rem;
  }
  .hero-product {
    padding: 11px 11px 10px;
  }
  .product-topline {
    padding: 0 4px 10px;
    font-size: 0.72rem;
  }
  .product-tag {
    font-size: 0.72rem;
  }
  .hero-window {
    max-block-size: 380px;
  }
  .product-caption {
    padding: 10px 4px 2px;
    font-size: 0.74rem;
  }
  .product-caption span:last-child {
    display: none;
  }
  .principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-block: 22px;
    font-size: 0.79rem;
  }
  .principles p {
    gap: 8px;
  }
  .intro-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tour-panel-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 28px 24px;
    min-height: 0;
  }
  .tour-copy {
    max-width: 550px;
  }
  .tour-copy h3 {
    font-size: 2rem;
  }
  .tour-copy p {
    font-size: 1rem;
  }
  .tour-image {
    max-height: 400px;
  }
  .tour-note {
    padding: 0 24px 22px;
  }
  .tour-tabs {
    padding: 0 12px;
  }
  .tour-tabs button {
    padding: 18px 14px;
    font-size: 0.92rem;
  }
  .tour-tabs button span {
    font-size: 0.75rem;
  }
  .estimator {
    padding: 24px 22px;
  }
  .feature-grid {
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .feature {
    padding: 26px;
  }
  .feature h3 {
    font-size: 1.7rem;
  }
  .feature > p {
    font-size: 0.91rem;
  }
  .developer-section,
  .privacy-layout,
  .getting-started,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .developer-copy {
    max-width: 600px;
  }
  .terminal {
    max-width: 650px;
  }
  .privacy-orbit {
    max-width: 420px;
    width: 100%;
    margin: auto;
    order: 2;
  }
  .privacy-copy {
    max-width: 600px;
  }
  .getting-started .steps {
    max-width: 650px;
  }
  .faq-section > div:first-child {
    max-width: 550px;
  }
  .section {
    padding-block: 75px;
  }
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 22px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 25px;
  }
  .page-hero {
    padding-top: 35px;
    padding-bottom: 45px;
  }
  .breadcrumb {
    margin-bottom: 36px;
  }
  .page-lede {
    font-size: 1.07rem;
  }
  .article-layout {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 35px;
    padding-bottom: 65px;
  }
  .article-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }
  .article-nav span {
    width: 100%;
    margin-bottom: 4px;
  }
  .article-nav a {
    font-size: 0.82rem;
    padding: 4px 0;
    border-inline-start: 0;
  }
  .article-nav a.is-active {
    color: var(--accent);
  }
  .article {
    max-width: none;
  }
  .workflow {
    flex-wrap: wrap;
  }
  .workflow > div {
    min-width: 160px;
  }
}

@media (max-width: 520px) {
  .hero .eyebrow {
    letter-spacing: 0.1em;
    font-size: 0.75rem;
  }
  .hero-lede {
    max-width: 370px;
    font-size: 1rem;
    margin-top: 25px;
  }
  .desktop-break {
    display: none;
  }
  .button-row {
    gap: 22px;
  }
  .button {
    font-size: 0.88rem;
    padding: 13px 20px;
  }
  .button-small {
    font-size: 0.76rem;
    padding: 9px 12px;
    min-height: 2.375rem;
  }
  .navigation {
    gap: 8px;
  }
  .requirements-note {
    font-size: 0.75rem;
    max-width: 320px;
  }
  .hero-window {
    border-radius: 7px;
    max-block-size: none;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero-product {
    border-radius: 12px;
  }
  .product-topline > span:first-child {
    letter-spacing: 0.06em;
  }
  .product-tag {
    display: none;
  }
  .principles {
    gap: 14px 10px;
    font-size: 0.85rem;
  }
  .principles p span {
    font-size: 1.05rem;
  }
  .section {
    padding-block: 62px;
  }
  .section-lede {
    font-size: 1rem;
  }
  .eyebrow {
    font-size: 0.75rem;
    margin-bottom: 20px;
  }
  .tour-tabs {
    padding: 0 8px;
  }
  .tour-tabs button {
    padding: 16px 10px;
    font-size: 0.88rem;
  }
  .tour-tabs button span {
    font-size: 0.75rem;
  }
  .tour-panel-body {
    padding: 25px 18px;
  }
  .tour-copy h3 {
    font-size: 1.8rem;
  }
  .tour-copy p {
    font-size: 0.94rem;
  }
  .tour-note {
    padding: 0 18px 20px;
    font-size: 0.75rem;
  }
  .tour-image {
    border-radius: 6px;
  }
  .estimator {
    padding: 20px 18px;
  }
  .ram-pills {
    width: 100%;
    justify-content: space-between;
  }
  .ram-pills button {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
  .feature {
    padding: 28px;
  }
  .feature h3 {
    font-size: 1.9rem;
  }
  .feature > p {
    font-size: 1rem;
  }
  .feature-quick,
  .feature-tools {
    min-height: auto;
  }
  .terminal pre {
    padding: 16px 17px;
    font-size: 0.76rem;
  }
  .terminal-bar {
    padding: 14px 17px;
  }
  .terminal-foot {
    margin: 0 17px;
    font-size: 0.75rem;
  }
  .terminal-note {
    padding: 0 17px 20px;
  }
  .privacy-orbit {
    max-width: 340px;
  }
  .privacy-core {
    width: 85px;
    height: 85px;
  }
  .orbit-label {
    font-size: 0.75rem;
  }
  .privacy-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }
  .steps li {
    gap: 18px;
  }
  .steps h3 {
    font-size: 1.2rem;
  }
  .steps p {
    font-size: 0.91rem;
  }
  .download-section {
    padding: 65px 0;
  }
  .download-section .requirements-note {
    margin-inline: auto;
  }
  .download-section h2 + p {
    font-size: 1rem;
  }
  .store-status {
    font-size: 0.85rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-top > div {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }
  .site-footer {
    padding-top: 42px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p {
    margin-bottom: 10px;
  }
  .trademark {
    font-size: 0.75rem;
  }
  .page-lede {
    font-size: 1rem;
  }
  .article {
    font-size: 1rem;
  }
  .article h2 {
    font-size: 1.7rem;
  }
  .article .workflow {
    flex-direction: column;
  }
  .article-callout {
    padding: 22px;
  }
  .press-assets {
    grid-template-columns: 1fr;
  }
  .fact-list > div {
    grid-template-columns: 105px 1fr;
    font-size: 0.88rem;
  }
  .code-heading {
    font-size: 0.75rem;
  }
  .code-block pre {
    font-size: 0.76rem;
  }
  table {
    font-size: 0.8rem;
  }
  th, td {
    padding: 12px 7px;
  }
  .notfound {
    padding-block: 70px;
  }
}

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

@media print {
  body {
    background: #fff;
    color: #111;
  }
  .site-header,
  .site-footer,
  .article-nav,
  .hero-halo,
  .shot-theme-toggle {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .article-layout {
    display: block;
  }
  .article,
  .article p,
  .page-lede {
    color: #222;
  }
  h1, h2, h3, em {
    color: #111 !important;
  }
  a {
    color: #333;
  }
}
