:root {
  --paper:#080c14;
  --ink:#eaf0fc;
  --muted:#98a8bd;
  --accent:#74a5ff;
  --line:#253348;
  --mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  --serif:Georgia,"Times New Roman",serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit;
  cursor:pointer
}
button,a,summary {
  -webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #76abff;
  outline-offset:5px
}
button[hidden] {
  display:none
}
.wrap {
  width:min(1200px,calc(100% - 96px));
  margin:auto
}
.site-header {
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:20
}
.header-inner {
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px
}
.wordmark {
  font-size:31px;
  font-weight:750;
  letter-spacing:-1.5px;
  white-space:nowrap
}
.brand-iq {
  font-family:var(--serif);
  font-style:italic;
  font-weight:normal
}
.brand-brace {
  font-family:var(--mono);
  font-size:26px;
  color:#5e87c0;
  font-weight:400
}
.navigation {
  display:flex;
  align-items:center;
  gap:25px;
  font-size:13px;
  font-weight:550
}
.navigation>a:not(.nav-cta):hover,summary:hover {
  color:var(--accent)
}
.nav-cta {
  border:1px solid #344b6c;
  border-radius:6px;
  padding:12px 17px;
  display:flex;
  gap:15px;
  align-items:center;
  transition:background .2s
}
.nav-cta:hover {
  background:#17263e
}
.nav-dropdown {
  position:relative
}
.nav-dropdown summary {
  list-style:none;
  cursor:pointer;
  white-space:nowrap
}
.nav-dropdown summary::-webkit-details-marker {
  display:none
}
.nav-dropdown summary:after {
  content:'⌄';
  margin-left:7px;
  color:var(--muted)
}
.nav-dropdown[open] summary {
  color:var(--accent)
}
.nav-dropdown ul {
  position:absolute;
  right:0;
  top:28px;
  width:340px;
  max-height:70vh;
  overflow:auto;
  list-style:none;
  margin:0;
  padding:10px;
  background:#101a2b;
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:0 16px 45px #eaf0fc19
}
.nav-dropdown li a {
  display:block;
  padding:10px 12px;
  font-size:13px;
  line-height:1.5;
  border-radius:5px
}
.nav-dropdown li a:hover {
  background:#1a2a43
}
.menu-toggle {
  display:none;
  border:1px solid var(--line);
  background:transparent;
  padding:9px 12px;
  border-radius:5px;
  color:var(--ink)
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
  padding-top:85px;
  padding-bottom:76px
}
.eyebrow {
  font-size:11px;
  font-weight:650;
  letter-spacing:1.6px;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 26px
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  flex-shrink:0;
  border-radius:50%;
  background:#6c9cff
}
.hero h1 {
  font-size:clamp(46px,4.7vw,67px);
  letter-spacing:-3px;
  line-height:1.09;
  font-weight:500;
  margin:0 0 27px
}
h1 em,h2 em {
  font-family:var(--serif);
  font-weight:400;
  color:var(--accent);
  letter-spacing:-2.4px
}
.hero-description {
  font-size:17px;
  line-height:1.8;
  color:var(--muted);
  max-width:440px;
  margin:0 0 30px
}
.hero-actions {
  display:flex;
  gap:24px;
  align-items:center;
  flex-wrap:wrap
}
.button {
  display:inline-flex;
  align-items:center;
  gap:27px;
  font-size:13px;
  font-weight:600;
  padding:16px 22px;
  border-radius:6px;
  transition:background .2s,transform .2s
}
.button-primary {
  background:#3977ee;
  color:#ffffff;
  box-shadow:0 4px 8px #74a5ff14
}
.button-primary:hover {
  background:#2e62c9;
  transform:translateY(-2px)
}
.text-link {
  font-size:13px;
  font-weight:550;
  text-decoration:underline;
  text-underline-offset:5px;
  text-decoration-color:#496b9c;
  line-height:1.8
}
.text-link:hover {
  color:var(--accent);
  text-decoration-color:var(--accent)
}
.install {
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:31px;
  max-width:390px;
  padding:13px 15px;
  background:#111d30;
  border:1px solid #2c3c56;
  border-radius:6px
}
.install code {
  font:13px var(--mono);
  letter-spacing:.2px
}
.terminal-prompt {
  font:14px var(--mono);
  color:#6985a9
}
.copy-button {
  margin-left:auto;
  border:0;
  background:transparent;
  color:inherit;
  font-size:11px;
  padding:6px 9px;
  border-radius:4px;
  white-space:nowrap;
  transition:background .2s
}
.copy-button:hover {
  background:#7b9bd222
}
.install-note {
  font-size:11px;
  color:#7d91ad;
  margin:10px 0 0
}
.hero-visual {
  position:relative;
  min-width:0
}
.hero-visual:before {
  content:'';
  position:absolute;
  inset:-38px -28px;
  background:radial-gradient(ellipse,#2457ac70,transparent 70%);
  z-index:-1
}
.code-window {
  background:#0a101b;
  border:1px solid #2c3f5d;
  border-radius:12px;
  color:#cfdaeb;
  box-shadow:0 24px 48px -18px #00000045;
  transform:rotate(-1deg);
  overflow:hidden
}
.window-header {
  display:flex;
  align-items:center;
  gap:18px;
  font:11px var(--mono);
  background:#101b2e;
  padding:19px 22px;
  color:#7e96b8;
  border-bottom:1px solid #273954
}
.window-dots {
  display:flex;
  gap:6px
}
.window-dots i {
  width:8px;
  height:8px;
  background:#415878;
  border-radius:50%
}
.window-dots i:first-child {
  background:#4a678f
}
.window-dots i:nth-child(2) {
  background:#6784ae
}
.window-dots i:nth-child(3) {
  background:#8faacf
}
.language-label {
  margin-left:auto;
  color:#8aabd8;
  font-size:10px
}
.code-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:23px 26px 8px;
  font:9px var(--mono);
  letter-spacing:1px;
  color:#7893b8
}
.code-caption .copy-button {
  letter-spacing:0;
  color:#a6bfdf
}
pre {
  margin:0;
  font-family:var(--mono);
  overflow:auto;
  tab-size:2
}
.code-window pre {
  font-size:12px;
  line-height:1.9;
  padding:6px 26px 23px
}
pre code {
  font:inherit
}
.kw {
  color:#9cbbff
}
.var {
  color:#dce7fb
}
.str {
  color:#79cef5
}
.query-result {
  margin:0 18px 18px;
  padding:17px 18px;
  background:#112038;
  border:1px solid #2b4263;
  border-radius:6px
}
.result-heading {
  display:flex;
  justify-content:space-between;
  font:9px var(--mono);
  letter-spacing:1px;
  color:#8da7cb;
  margin-bottom:13px
}
.result-check {
  color:#8abaff
}
.query-result>code {
  font:13px var(--mono);
  color:#8ecbff;
  display:flex;
  gap:18px
}
.window-footer {
  display:flex;
  align-items:center;
  gap:9px;
  font:9px var(--mono);
  color:#7f9abc;
  border-top:1px solid #253853;
  padding:14px 25px
}
.visual-note {
  text-align:right;
  font-family:var(--serif);
  font-style:italic;
  color:#7890b1;
  font-size:14px;
  margin-top:21px;
  margin-right:14px
}
.visual-note span {
  font-size:23px;
  margin-right:8px
}
.format-band {
  border-block:1px solid var(--line)
}
.format-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px 0;
  gap:25px
}
.format-inner>span {
  font:9px var(--mono);
  letter-spacing:1.1px;
  color:var(--muted)
}
.format-inner>div {
  display:flex;
  gap:43px;
  font:15px var(--mono);
  color:#839abc
}
.section {
  padding-top:77px;
  padding-bottom:75px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:60px;
  margin-bottom:42px
}
.section-heading .eyebrow {
  margin-bottom:19px
}
.section-heading h2,.start-grid h2 {
  font-size:45px;
  font-weight:450;
  letter-spacing:-1.8px;
  line-height:1.13;
  margin:0
}
.section-heading>p {
  max-width:325px;
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  margin:0 0 4px
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:23px
}
.feature {
  background:#0e1623;
  border:1px solid var(--line);
  border-radius:9px;
  padding:28px 28px 25px;
  display:flex;
  flex-direction:column
}
.feature-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #2c4164;
  border-radius:9px;
  background:#162744;
  color:var(--accent);
  width:42px;
  height:42px;
  font:21px var(--mono);
  margin-bottom:25px
}
.feature h3,.principles h3 {
  font-size:17px;
  font-weight:600;
  letter-spacing:-.3px;
  margin:0 0 13px
}
.feature p,.principles p {
  font-size:13px;
  line-height:1.85;
  color:var(--muted);
  margin:0 0 26px
}
.feature-tag {
  margin-top:auto;
  font:9px var(--mono);
  letter-spacing:.4px;
  color:#85a5d1;
  border-top:1px solid var(--line);
  padding-top:18px
}
.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:50px;
  margin-top:41px
}
.small-number {
  font:10px var(--mono);
  color:#6d97d0;
  display:block;
  margin-bottom:14px
}
.principles h3 {
  font-size:14px;
  margin-bottom:10px
}
.principles p {
  font-size:12px;
  margin-bottom:0
}
.getting-started {
  background:#0b1322;
  border-block:1px solid #253958
}
.start-grid {
  padding-top:65px;
  padding-bottom:65px;
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  align-items:center;
  gap:75px
}
.start-grid .eyebrow {
  margin-bottom:20px
}
.start-grid p:not(.eyebrow) {
  font-size:14px;
  line-height:1.8;
  max-width:345px;
  color:var(--muted);
  margin:22px 0
}
.python-window {
  background:#101b2d;
  border:1px solid #2b4163;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 10px 28px #00000008;
  min-width:0
}
.python-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #2b3d57;
  padding:15px 19px;
  font-size:11px;
  color:#91a8c8;
  gap:8px
}
.python-header>span {
  display:flex;
  align-items:center;
  gap:8px
}
.python-window pre {
  padding:28px 22px;
  font-size:11px;
  line-height:1.9;
  color:#ccdcf2
}
.python-window .kw {
  color:#a4beff
}
.python-window .str {
  color:#75c5f4
}
.python-output {
  display:flex;
  gap:23px;
  align-items:center;
  padding:19px 22px;
  border-top:1px solid #2b3d57;
  background:#132239
}
.python-output>span {
  font:9px var(--mono);
  letter-spacing:1px;
  color:#8ba4c7
}
.python-output code {
  font:12px var(--mono);
  color:var(--accent)
}
.resource-heading h2 {
  font-size:40px
}
.resource-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:23px
}
.resource {
  border:1px solid var(--line);
  border-radius:8px;
  padding:25px;
  transition:transform .2s,background .2s,border-color .2s;
  display:flex;
  flex-direction:column
}
.resource:hover {
  transform:translateY(-4px);
  background:#152541;
  border-color:#436da5
}
.resource-top {
  display:flex;
  justify-content:space-between;
  font:9px var(--mono);
  letter-spacing:1.2px;
  color:#88a8d4;
  margin-bottom:25px
}
.resource-top>span {
  font-size:17px;
  line-height:9px
}
.resource h3 {
  font-size:18px;
  font-weight:550;
  letter-spacing:-.4px;
  margin:0 0 12px
}
.resource p {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  margin:0 0 25px
}
.resource-link {
  font-size:11px;
  color:var(--accent);
  font-weight:600;
  margin-top:auto
}
.community-note {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  padding-top:32px
}
.community-note p {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  margin:0
}
.community-note a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
  margin-left:5px
}
.site-footer {
  border-top:1px solid var(--line);
  padding:35px 0 30px
}
.footer-top {
  display:flex;
  align-items:center;
  gap:25px;
  padding-bottom:27px
}
.footer-top .wordmark {
  font-size:25px
}
.footer-top p {
  font-size:12px;
  color:var(--muted)
}
.footer-top .text-link {
  margin-left:auto;
  font-size:11px
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:35px;
  border-top:1px solid var(--line);
  padding-top:19px;
  font-size:9px;
  line-height:1.8;
  color:#7e92b0
}
.footer-bottom p {
  margin:0
}
.footer-bottom a {
  text-decoration:underline;
  text-underline-offset:3px
}
.sr-only,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link:focus {
  position:absolute;
  top:10px;
  left:10px;
  padding:12px;
  background:white;
  z-index:100
}
@media(min-width:1500px) {
  .hero {
    padding-block:100px
  }
  .hero h1 {
    font-size:70px
  }
}
@media(max-width:1100px) {
  .wrap {
    width:calc(100% - 64px)
  }
  .navigation {
    gap:16px;
    font-size:12px
  }
  .hero {
    gap:35px
  }
  .hero h1 {
    font-size:54px
  }
  .hero-actions {
    gap:18px
  }
  .code-window pre {
    font-size:10px;
    padding-inline:20px
  }
  .start-grid {
    gap:40px
  }
  .format-inner>div {
    gap:28px
  }
  .python-window pre {
    font-size:10px
  }
}
@media(max-width:900px) {
  .header-inner {
    min-height:80px;
    flex-wrap:wrap;
    gap:0
  }
  .menu-toggle:not([hidden]) {
    display:block
  }
  .navigation {
    display:flex;
    width:100%;
    align-items:stretch;
    padding:10px 0 24px;
    gap:0;
    flex-direction:column
  }
  .navigation.enhanced {
    display:none
  }
  .navigation.is-open {
    display:flex
  }
  .navigation>a,.nav-dropdown summary {
    padding:13px 0
  }
  .navigation .nav-cta {
    padding:12px 15px;
    margin-top:10px;
    width:max-content
  }
  .nav-dropdown ul {
    position:static;
    width:100%;
    box-shadow:none;
    max-height:none;
    margin-bottom:8px
  }
  .hero {
    padding-top:55px;
    padding-bottom:55px;
    gap:28px
  }
  .hero h1 {
    font-size:46px;
    letter-spacing:-2px
  }
  .hero-description {
    font-size:15px
  }
  .hero-actions .text-link {
    font-size:12px
  }
  .hero-actions .button {
    padding:14px 18px
  }
  .format-inner {
    flex-direction:column;
    gap:18px
  }
  .feature {
    padding:23px 20px
  }
  .feature h3 {
    font-size:15px
  }
  .principles {
    gap:30px
  }
  .section-heading h2,.start-grid h2 {
    font-size:39px
  }
  .start-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .start-grid p:not(.eyebrow) {
    max-width:500px
  }
  .python-window pre {
    font-size:13px
  }
  .resource {
    padding:21px
  }
  .resource h3 {
    font-size:16px
  }
  .section-heading {
    gap:30px
  }
}
@media(max-width:680px) {
  .wrap {
    width:calc(100% - 40px)
  }
  .header-inner {
    min-height:75px
  }
  .wordmark {
    font-size:28px
  }
  .hero {
    grid-template-columns:1fr;
    gap:40px;
    padding-top:43px;
    padding-bottom:35px
  }
  .hero h1 {
    font-size:clamp(43px,9.6vw,60px);
    letter-spacing:-2.3px
  }
  .hero-description {
    max-width:440px;
    font-size:16px
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.4px;
    margin-bottom:22px
  }
  .hero-actions {
    gap:20px
  }
  .install {
    max-width:100%
  }
  .code-window {
    transform:none
  }
  .code-window pre {
    font-size:clamp(10px,2.4vw,13px);
    padding-inline:18px
  }
  .code-caption {
    padding-inline:18px
  }
  .visual-note {
    font-size:12px
  }
  .hero-visual:before {
    inset:0
  }
  .format-inner>div {
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
    font-size:12px
  }
  .format-inner>span {
    font-size:8px
  }
  .section {
    padding-block:48px
  }
  .section-heading {
    display:block;
    margin-bottom:28px
  }
  .section-heading h2,.start-grid h2 {
    font-size:38px
  }
  .section-heading>p {
    max-width:100%;
    margin-top:20px;
    font-size:13px
  }
  .feature-grid,.resource-grid {
    grid-template-columns:1fr;
    gap:15px
  }
  .feature {
    padding:24px
  }
  .feature-icon {
    margin-bottom:20px
  }
  .feature h3 {
    font-size:18px
  }
  .feature p {
    font-size:14px;
    margin-bottom:20px
  }
  .principles {
    grid-template-columns:1fr;
    gap:25px;
    margin-top:30px
  }
  .principles>div {
    position:relative;
    padding-left:35px
  }
  .small-number {
    position:absolute;
    left:0;
    top:2px
  }
  .principles h3 {
    font-size:15px
  }
  .principles p {
    font-size:13px
  }
  .start-grid {
    padding-block:45px
  }
  .python-window pre {
    font-size:10px;
    padding:22px 16px
  }
  .python-header {
    font-size:10px;
    padding:12px
  }
  .python-output {
    padding:16px
  }
  .resource-heading h2 {
    font-size:35px
  }
  .resource h3 {
    font-size:19px
  }
  .resource-top {
    margin-bottom:20px
  }
  .resource {
    padding:25px
  }
  .community-note {
    align-items:flex-start;
    padding-top:25px
  }
  .community-note .status-dot {
    margin-top:6px
  }
  .community-note p {
    max-width:290px;
    text-align:center
  }
  .community-note a {
    display:block;
    margin:3px 0 0
  }
  .footer-top {
    gap:15px;
    flex-wrap:wrap
  }
  .footer-top p {
    font-size:10px
  }
  .footer-top .text-link {
    font-size:10px
  }
  .footer-bottom {
    flex-direction:column;
    gap:15px
  }
  .footer-bottom br {
    display:none
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important
  }
}

/* Examples remain readable without JavaScript; enhancement adds a tabbed explorer. */
.example-explorer {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d1523;
  overflow: hidden;
}
.example-tabs {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #101b2d;
}
.example-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 15px 12px;
  color: #9bb0ce;
  background: transparent;
  font-size: 12px;
  text-align: left;
}
.example-tab:hover { background: #162846; color: #eaf0fc; }
.example-tab[aria-selected="true"] {
  background: #193258;
  border-color: #355a8e;
  color: #eaf0fc;
}
.example-number { font: 10px var(--mono); color: #6895d8; }
.example-arrow { margin-left: auto; color: #729ad0; }
.example-panel + .example-panel { border-top: 1px solid var(--line); }
.example-panel[hidden] { display: none; }
.example-intro { padding: 30px 30px 25px; }
.example-badge {
  display: inline-block;
  font: 9px var(--mono);
  letter-spacing: .4px;
  color: #8db6f8;
  border: 1px solid #2c476c;
  border-radius: 5px;
  padding: 7px 9px;
  margin-bottom: 18px;
}
.example-badge:hover { background: #193258; }
.example-intro h3 { margin: 0 0 13px; font-size: 25px; letter-spacing: -.7px; font-weight: 500; }
.example-intro p { margin: 0; max-width: 650px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.example-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-block: 1px solid var(--line);
  padding: 12px 25px;
  background: #111e32;
  color: #8da7cb;
  font: 10px var(--mono);
}
.example-code { padding: 26px 30px; background: #080f1b; color: #d3dff3; font-size: 12px; line-height: 1.9; }
.example-result { padding: 22px 30px; border-top: 1px solid var(--line); background: #121e31; }
.example-result p { display: flex; justify-content: space-between; margin: 0 0 15px; font: 9px var(--mono); color: #7e9cc6; letter-spacing: 1px; }
.example-result pre { font-size: 11px; line-height: 1.9; color: #91cbff; }
.example-footnote { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 18px 0 0; }
.header-controls { display: flex; align-items: center; gap: 12px; order: 3; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
}
.theme-toggle:hover { background: #193258; }
.navigation { gap: 20px; }
:root { color-scheme: dark; }

/* The alternate palette keeps the same blue identity and readable code panels. */
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f4f7fc;
  --ink: #112039;
  --muted: #546780;
  --accent: #235ab7;
  --line: #d4deed;
}
[data-theme="light"] .nav-cta { border-color: #bdcce1; }
[data-theme="light"] .nav-cta:hover,
[data-theme="light"] .nav-dropdown li a:hover { background: #e6eefb; }
[data-theme="light"] .nav-dropdown ul { background: #fbfdff; box-shadow: 0 16px 45px #11203919; }
[data-theme="light"] .install { background: #e9eff8; border-color: #cedbec; }
[data-theme="light"] .install-note { color: #5b718e; }
[data-theme="light"] .feature,
[data-theme="light"] .resource { background: #fbfdff; }
[data-theme="light"] .feature-icon { background: #e8effb; border-color: #cad8ee; }
[data-theme="light"] .feature-tag,
[data-theme="light"] .resource-top { color: #3f6091; }
[data-theme="light"] .resource:hover { background: #e8f0fc; border-color: #93afd7; }
[data-theme="light"] .getting-started { background: #e5edfa; border-color: #cbd9ee; }
[data-theme="light"] .python-window { background: #fafcff; border-color: #c1d2e9; }
[data-theme="light"] .python-header { color: #536e91; border-color: #d1def0; }
[data-theme="light"] .python-window pre { color: #19365f; }
[data-theme="light"] .python-window .kw { color: #4a57ad; }
[data-theme="light"] .python-window .str { color: #076b9c; }
[data-theme="light"] .python-output { background: #edf3fd; border-color: #d1def0; }
[data-theme="light"] .python-output>span { color: #557197; }
[data-theme="light"] .format-inner>div,
[data-theme="light"] .visual-note { color: #597498; }
[data-theme="light"] .example-explorer { background: #fafcff; }
[data-theme="light"] .example-tabs { background: #eaf0fa; }
[data-theme="light"] .example-tab { color: #476385; }
[data-theme="light"] .example-tab:hover { color: #16366a; background: #dce8fb; }
[data-theme="light"] .example-tab[aria-selected="true"] { color: #143c7a; border-color: #abc4e9; background: #d8e6fc; }
[data-theme="light"] .example-badge { color: #235ab7; border-color: #c0d4f1; }
[data-theme="light"] .example-badge:hover { background: #e0eafd; }
[data-theme="light"] .example-code-header { background: #edf3fc; color: #43638d; }
[data-theme="light"] .example-code { background: #f8fbff; color: #19365f; }
[data-theme="light"] .example-code .kw { color: #4a57ad; }
[data-theme="light"] .example-code .var { color: #19365f; }
[data-theme="light"] .example-code .str { color: #076b9c; }
[data-theme="light"] .example-result { background: #eaf2ff; }
[data-theme="light"] .example-result p { color: #4e6d98; }
[data-theme="light"] .example-result pre { color: #194b92; }
[data-theme="light"] .theme-toggle:hover { background: #e0eafd; }
[data-theme="light"] .skip-link:focus { background: #ffffff; }
@media (max-width: 1100px) { .navigation { gap: 14px; } .header-inner { gap: 20px; } }
@media (max-width: 900px) {
  .header-controls { order: 2; margin-left: auto; }
  .navigation { order: 3; gap: 0; }
  .example-explorer { grid-template-columns: 195px minmax(0, 1fr); }
  .example-tab { font-size: 11px; gap: 8px; }
  .example-intro { padding: 25px; }
}
@media (max-width: 680px) {
  .example-explorer { grid-template-columns: minmax(0, 1fr); }
  .example-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .example-tab { padding: 12px 9px; font-size: 10px; }
  .example-arrow { display: none; }
  .example-intro { padding: 24px 20px; }
  .example-intro h3 { font-size: 22px; }
  .example-code { padding: 22px 18px; font-size: 10px; }
  .example-code-header { padding-inline: 18px; }
  .example-result { padding: 20px 18px; }
  .example-result pre { font-size: 10px; }
  .header-controls { gap: 8px; }
  .theme-toggle { width: 37px; height: 37px; }
}
