@font-face {
  font-family: Jakarta;
  src: url(/assets/PlusJakartaSans-VF.woff2?v=99009e8a) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf8f4;
  --lion: #c96f52;
  --bronze: #723622;
  --focus: #ad593c;
  --glass: #fffaf6;
  --panel: #fffdfa;
  --ink: #241d19;
  --muted: #62564e;
  --rust: #923e27;
  --orange: #eba47e;
  --line: #e4d9cc;
  --dark: #211a17;
  --dark-line: #594438;
  --white: #fff4e9;
  --sand: #efdfcf;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.65 Jakarta, system-ui, sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .24em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }
.skip { position: fixed; z-index: 10; left: 1rem; top: 1rem; clip-path: inset(50%); padding: .7rem 1rem; background: var(--white); }
.skip:focus { clip-path: none; }
.shell { width: min(100% - 6rem, 1200px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--panel); }
.header-inner, .footer-inner { min-height: 76px; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: .65rem; align-items: center; min-height: 44px; text-decoration: none; font-size: 1.2rem; font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.brand img { border-radius: .5rem; }
.brand-group { display: block; font: 600 .62rem/1.25 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: .25rem; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2.25rem); }
nav a, .header-action { display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; font-size: .875rem; font-weight: 650; }
nav a:hover, .header-action:hover { text-decoration: underline; color: var(--rust); }
.header-action { border: 1px solid var(--line); padding-inline: .85rem; border-radius: 4px; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4.5vw, 4.25rem); align-items: center; padding-block: clamp(3rem, 6.4vw, 6rem) clamp(2rem, 4.5vw, 4rem); }
.eyebrow { margin: 0 0 .85rem; font: 650 .73rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--rust); }
h1, h2, h3, p { margin: 0; }
h1, h2, .product h3 { font-family: Jakarta, system-ui, sans-serif; font-weight: 520; line-height: 1.01; letter-spacing: -.047em; }
h1 { font-size: clamp(3.05rem, 5.6vw, 5.3rem); text-wrap: balance; }
h1 em { color: var(--rust); font-weight: 480; }
h2 { font-size: clamp(2.5rem, 4.45vw, 4.55rem); }
h3 { line-height: 1.2; }
.lede { max-width: 48ch; margin-top: 1.45rem; font-size: clamp(1rem, 1.45vw, 1.15rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.button { padding: .68rem .95rem; min-height: 48px; display: inline-flex; align-items: center; gap: .8rem; font-size: .875rem; font-weight: 750; border: 1px solid transparent; border-radius: 4px; text-decoration: none; transition: background-color .16s ease, color .16s ease; }
.primary { color: white; background: var(--rust); }
.primary:hover { background: #71341f; }
.secondary { border-color: var(--line); }
.secondary:hover { background: var(--sand); }
.product-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--icon-ink, #7c3f32);
  border-radius: 12px;
  border: 1px solid var(--icon-border, #dfb6a6);
  background: linear-gradient(145deg, var(--icon-light, #fff4ec), var(--icon-shade, #e9c4b3));
  box-shadow: inset 0 1px 0 #fff9, 0 2px 3px #47251912;
}
.product-icon svg { width: 22px; height: 22px; }
.icon-api { --icon-ink: #50463a; --icon-light: #fbf3e6; --icon-shade: #ddd1be; --icon-border: #d4c4ae; }
.icon-cloud { --icon-ink: #654630; --icon-light: #fff6e9; --icon-shade: #dfc5a9; --icon-border: #d9b99b; }
.icon-store { --icon-ink: #795027; --icon-light: #fff5df; --icon-shade: #e9d5ae; --icon-border: #e0c89e; }
.icon-community { --icon-ink: #804830; --icon-light: #fff0e4; --icon-shade: #edcfba; --icon-border: #e3bc9e; }

.section { padding-block: clamp(3rem, 6.2vw, 6rem); border-top: 1px solid var(--line); }
#ekosistem { border-top: 0; }
.section-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head > p, .community p:not(.eyebrow), .about p:not(.eyebrow) { color: var(--muted); max-width: 45ch; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product { border: 1px solid var(--line); background: var(--panel); border-radius: 13px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.product:hover, .product:focus-within { border-color: #ba9784; box-shadow: 0 8px 24px #4625130a; }
.product .product-icon { margin-bottom: 1.05rem; }
.product-content { min-height: 240px; padding: clamp(1.15rem, 3.2vw, 2rem); display: flex; flex-direction: column; align-items: start; flex: 1; }
.product h3 { font-size: clamp(2rem, 3vw, 3.05rem); }
.product p:not(.eyebrow) { color: var(--muted); margin: .7rem 0 .25rem; max-width: 50ch; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--rust); font-size: .9rem; font-weight: 780; min-height: 44px; }
.product .text-link { margin-top: auto; }
.text-link:hover { text-decoration-thickness: 2px; }

.developer { background: var(--dark); color: var(--white); padding-block: clamp(3rem, 6.2vw, 6rem); }
.developer .eyebrow { color: var(--orange); }
.developer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 6vw, 6rem); }
.developer-inner > div:first-child > p:not(.eyebrow) { color: #e0c9b7; margin: 1rem 0 1.4rem; max-width: 43ch; }
.inverse { color: #2a1d16; background: #f3d7bf; }
.inverse:hover { background: white; }
.endpoint { min-width: 0; padding: 1rem; border: 1px solid #92705a; background: #2b211c; border-radius: 5px; }
.endpoint-head, .formats { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.endpoint-head { justify-content: space-between; gap: .5rem; }
.endpoint button { background: transparent; color: var(--white); border: 1px solid transparent; border-radius: 4px; padding: .55rem .62rem; min-height: 44px; font-size: .79rem; font-weight: 700; }
.endpoint button:hover, .endpoint button[aria-pressed="true"] { background: #4a3529; border-color: #94725a; }
.endpoint button.copy { border-color: #94725a; }
.endpoint code { display: block; color: var(--orange); padding: 1.1rem .72rem; margin-block: .65rem .35rem; border: 1px solid var(--dark-line); overflow-wrap: anywhere; font: 500 clamp(.8rem, 1.45vw, 1rem)/1.5 var(--mono); }
.endpoint-note { font-size: .82rem; color: #ebd5c3; min-height: 1.65em; }
.community, .about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 7vw, 7rem); }
.community p:not(.eyebrow), .about p:not(.eyebrow) { margin: 1rem 0; }
.directory { border-top: 1px solid var(--line); }
.directory a { display: flex; align-items: center; min-height: 76px; padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.directory a:hover { background: var(--sand); }
.directory small { display: block; color: var(--muted); font-size: .85rem; }
.about { background: #f3ebe0; border-block: 1px solid var(--line); padding-block: clamp(3rem, 6.2vw, 6rem); }
.faq h3 { padding: .15rem 0 .8rem; }
.faq details { border-top: 1px solid #d7c9b9; }
.faq details:last-child { border-bottom: 1px solid #d7c9b9; }
.faq summary { min-height: 48px; padding: .7rem 1.4rem .7rem 0; list-style: none; font-weight: 730; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: .2rem; content: "+"; color: var(--rust); }
.faq details[open] summary::after { content: "−"; }
.faq details p:not(.eyebrow) { margin: 0 0 1rem; }
.footer-inner { padding-block: 1.25rem; }
@media (max-width: 950px) {
  .shell { width: calc(100% - 3.5rem); }
  .hero { gap: 1.75rem; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { padding-top: .6rem; flex-wrap: wrap; gap: .25rem 1rem; }
  .header-inner nav { order: 3; width: 100%; gap: .25rem 1.1rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
  nav a, .header-action { font-size: .825rem; }
  .hero, .section-head, .developer-inner, .community, .about-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 2.4rem 2.75rem; }
  .section-head { gap: .7rem; margin-bottom: 1.35rem; }
  .footer-inner { flex-wrap: wrap; gap: .5rem 1.5rem; }
  .footer-inner nav { flex-wrap: wrap; gap: 0 1rem; }
}
@media (max-width: 545px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  h1 { font-size: 2.8rem; }
  .header-inner nav { gap: 0 .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.developer-links {
  margin-top: 2rem;
  padding-top: .7rem;
  border-top: 1px solid var(--dark-line);
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}
.developer-links a { color: #f3d7bf; white-space: normal; }
.developer-links a:hover { color: white; }
@media (max-width: 430px) {
  .hero { gap: 1.5rem; }
  .hero-copy .lede { margin-top: 1rem; }
  .hero-copy .actions { margin-top: 1.25rem; gap: .45rem; }
  .hero-copy .button { font-size: .77rem; gap: .45rem; padding-inline: .7rem; }
  .developer-links a { flex-basis: 100%; }
}

/* Glass surfaces and product preview */
.site-header { background: var(--panel); }
.header-action, .button { border-radius: 999px; }
.header-action { padding-inline: 1rem; }
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #fffaf5 10%, #f9efdf 59%, #ecd4bf);
}
.hero {
  position: relative;
  grid-template-columns: .98fr 1.02fr;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: clamp(555px, 48vw, 720px);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1, h2, .product h3 { font-family: Jakarta, system-ui, sans-serif; font-weight: 720; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 5.3vw, 5.25rem);
  line-height: 1.045;
  letter-spacing: -.062em;
  word-spacing: .065em;
  text-wrap: initial;
}
.hero h1 em { color: var(--rust); font-style: normal; font-weight: inherit; }
h2 { font-size: clamp(2rem, 3.8vw, 3.65rem); line-height: 1.13; letter-spacing: -.055em; word-spacing: .055em; }
.hero .eyebrow { color: #774d3c; font-family: inherit; font-weight: 750; letter-spacing: .075em; }
.hero .lede { max-width: 36ch; }
.hero .button { padding-inline: 1.18rem; }
.hero .primary { background: #843e29; }
.hero .primary:hover { background: #6c3020; }
.hero .secondary {
  background: #ffffffb5;
  border-color: #e3cdbb;
  box-shadow: inset 0 1px 0 #fff;
}
.hero .secondary:hover { background: white; }
.product { border-radius: 21px; }
.product h3 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); }
.about { background: #f3e9dd; }
@media (max-width: 740px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 2.7rem 1.75rem;
    gap: 1.5rem;
  }
  .hero h1 { max-width: 13ch; font-size: clamp(2.65rem, 9vw, 4rem); }
}
@media (max-width: 370px) {
  .hero .button { padding-inline: .65rem; }
}

/* Product, developer, and community surfaces */
.product-grid { grid-template-columns: 1.07fr .93fr; gap: clamp(.75rem, 1.5vw, 1.35rem); }
.product {
  overflow: hidden;
  background: linear-gradient(145deg, white, #fcf5ed);
}
.product-content { min-height: 0; padding: clamp(1.25rem, 3vw, 2.1rem); }
.product .text-link { padding-right: .2rem; margin-top: auto; }
.product p:not(.eyebrow) { margin-bottom: .85rem; }
.product .eyebrow { margin-bottom: .5rem; }
.product-visual {
  display: grid;
  place-items: end center;
  overflow: hidden;
  min-height: clamp(170px, 20vw, 248px);
  padding: 1.5rem 1.4rem 0;
  border-bottom: 1px solid #79503826;
}
.studio-visual {
  background: radial-gradient(ellipse at 55% 10%, #fff7e7, transparent 70%), #edccb8;
}
.gateway-visual {
  background: radial-gradient(ellipse at 70% 20%, #8b503c, transparent 65%), #40291f;
}
.demo-window {
  width: min(100%, 385px);
  margin-bottom: -.17rem;
  padding: .85rem 1rem 1.25rem;
  background: linear-gradient(145deg, #fffdfaee, #f7e5d8c9);
  border: 1px solid #fff;
  border-radius: 17px 17px 0 0;
  box-shadow: 0 12px 36px #60321d26, inset 0 1px 1px #fff;
  transition: translate .22s ease-out;
}
.product-feature:hover .demo-window, .product-feature:focus-within .demo-window { translate: 0 -4px; }
.demo-bar { display: flex; align-items: center; gap: .5rem; padding-bottom: .65rem; border-bottom: 1px solid #ad785844; color: #573628; font-size: .76rem; }
.demo-bar > span { width: .48rem; height: .48rem; border-radius: 50%; background: var(--lion); box-shadow: 0 0 0 3px #c96f5224; }
.demo-url { margin-block: .75rem; padding: .55rem .7rem; border-radius: 8px; background: #ffffffbd; font-size: .85rem; }
.demo-url span { display: block; color: #754c39; font: .62rem/1.5 var(--mono); letter-spacing: .07em; }
.demo-url code { overflow-wrap: anywhere; }
.demo-tools { display: flex; flex-wrap: wrap; gap: .3rem; }
.demo-tools span { padding: .18rem .45rem; border: 1px solid #b487695e; border-radius: 999px; color: #654335; font-size: .65rem; font-weight: 650; }
.compact .product-content { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1rem; align-items: start; }
.compact .product-icon { grid-column: 1; grid-row: 1 / 5; }
.compact .product-content > :not(.product-icon) { grid-column: 2; justify-self: start; }
.developer { background: radial-gradient(ellipse at 100% 0%, #6b3829, transparent 58%), #2e201a; }
.endpoint {
  padding: clamp(1rem, 2vw, 1.55rem);
  border: 1px solid #cc9c7b80;
  border-radius: 20px;
  background: linear-gradient(130deg, #b7815b25, #2d1c18a8);
  box-shadow: 0 12px 36px #160d0c30, inset 0 1px 0 #fff2;
}
.endpoint button { border-radius: 9px; }
.endpoint code { background: #24161052; border-radius: 9px; }
.developer-links { gap: .25rem 1.4rem; }
.developer-links a:hover { text-decoration-color: var(--orange); }
.community {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-block: clamp(2.5rem, 5vw, 5.4rem);
  padding: clamp(1.25rem, 5vw, 4.4rem);
  border: 1px solid #e6cab6;
  border-radius: 26px;
  background: radial-gradient(ellipse at 100% 50%, #efc3ac, transparent 62%), #f9eee2;
}
.community .directory { align-self: center; display: grid; gap: .5rem; border: 0; }
.directory a {
  border: 1px solid #fff;
  border-radius: 13px;
  padding-inline: 1.05rem;
  background: #fffaf5db;
  box-shadow: 0 5px 15px #783e2110;
  transition: background-color .2s, translate .2s;
}
.directory a:hover, .directory a:focus-visible { background: #fff; translate: 0 -2px; }
.about-mark { display: block; margin-bottom: 1.1rem; border: 1px solid #fff9; border-radius: 20px; box-shadow: 0 9px 24px #713b2320; }
.faq {
  align-self: start;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  background: #fffaf6;
  border: 1px solid #fff;
  border-radius: 19px;
  box-shadow: 0 6px 24px #713b230d;
}
.faq details:last-child { border-bottom: 0; }
.site-footer { background: var(--panel); }
@media (max-width: 740px) {
  .community { border-radius: 20px; }
}
@media (max-width: 545px) {
  .product-grid { grid-template-columns: 1fr; }
  .compact .product-content { column-gap: .75rem; }
}

.header-controls { display: flex; align-items: center; gap: .4rem; }
.language {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  color: var(--bronze);
  text-decoration: none;
  font: 750 .78rem/1 Jakarta, system-ui, sans-serif;
  border-radius: 50%;
}
.language:hover { background: var(--sand); }
@media (max-width: 380px) {
  .header-inner { column-gap: .5rem; }
  .header-controls { gap: .1rem; }
  .header-controls .header-action { padding-inline: .65rem; }
}

.build-kit { border-top: 0; padding-bottom: 0; }
.build-kit .section-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.kit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(.65rem, 1.4vw, 1rem);
  padding: clamp(.8rem, 2vw, 1.4rem);
  background: linear-gradient(125deg, #f3dfd0, #fbf3eb 45%, #f8eadc);
  border: 1px solid #ead4c4;
  border-radius: 25px;
}
.kit-options:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .46rem;
}
.kit-options button, .kit-copy {
  min-height: 44px;
  padding: .6rem .76rem;
  border: 1px solid #dfc6b4;
  border-radius: 11px;
  background: #fffbf7;
  font-size: .86rem;
  font-weight: 720;
  color: var(--bronze);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.kit-options button {
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}
.kit-options button:hover, .kit-copy:hover { border-color: var(--lion); }
.kit-options button[aria-pressed="true"] {
  color: white;
  background: #843e29;
  border-color: #843e29;
  box-shadow: 0 4px 10px #602e2026, inset 0 1px 0 #fff2;
}
.kit-panels { min-width: 0; display: grid; gap: 1rem; }
.kit-panel {
  padding: clamp(1rem, 2.6vw, 1.75rem);
  background: #fffcf9e8;
  border: 1px solid white;
  border-radius: 17px;
  box-shadow: 0 7px 27px #74462b13;
}
.kit-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem 1rem; flex-wrap: wrap; }
.kit-panel h3 { font-size: clamp(1.25rem, 2.5vw, 2rem); letter-spacing: -.043em; }
.kit-panel .eyebrow { margin-bottom: .35rem; }
.kit-panel progress:not([hidden]) {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 1rem;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  color: #843e29;
  accent-color: #843e29;
  background: #f1dfd2;
}
.kit-panel progress::-webkit-progress-bar { background: #f1dfd2; border-radius: 999px; }
.kit-panel progress::-webkit-progress-value { background: #a45336; border-radius: 999px; transition: width .2s; }
.kit-status { min-height: 1.5em; margin-top: .4rem; color: var(--muted); font-size: .78rem; }
.kit-steps { margin: 1rem 0 0; padding: 0; list-style: none; }
.kit-steps li { border-top: 1px solid var(--line); padding-top: .35rem; }
.kit-steps label { display: flex; align-items: center; gap: .6rem; font-size: .98rem; font-weight: 750; min-height: 44px; cursor: pointer; }
.kit-steps input { accent-color: #843e29; width: 18px; height: 18px; margin: 0; flex: none; }
.kit-steps input:checked + span { color: var(--bronze); }
.kit-steps p { color: var(--muted); font-size: .86rem; max-width: 64ch; margin-left: 1.73rem; }
.kit-steps .text-link { font-size: .83rem; margin-left: 1.73rem; }
@media (max-width: 740px) {
  .build-kit .section-head { grid-template-columns: 1fr; }
  .kit-layout { border-radius: 20px; }
}
@media (max-width: 520px) {
  .kit-options:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
  .kit-options button { text-align: start; }
}

/* Shared glass finish. Warm opaque fills sit underneath translucent highlights. */
:root {
  --glass-rim: inset 0 1px 1px #fffffff2, inset 1px 0 0 #ffffffa0, inset 0 -1px 0 #a9643920;
  --glass-face: linear-gradient(153deg, #fffdfb 3%, #fffaf595 51%, #edc6ad35 100%);
  --glass-shadow: 0 8px 24px #6d392011;
}
.site-header {
  background: linear-gradient(180deg, #fffdfa, #faf2e9cc);
  box-shadow: inset 0 -1px 0 #fff9;
}
.header-action, .hero .secondary, .kit-copy {
  background: linear-gradient(156deg, #fffdfc, #f6e7da9c);
  box-shadow: var(--glass-rim), 0 2px 6px #65392110;
}
.hero .primary, .primary, .kit-options button[aria-pressed="true"] {
  background: linear-gradient(155deg, #a4583b, #813e2a 72%);
  box-shadow: inset 0 1px 1px #ffe4cf58, inset 0 -1px 0 #53271766, 0 4px 10px #71351c22;
}
.primary:hover, .hero .primary:hover {
  background: linear-gradient(155deg, #944b32, #6c3020 72%);
}
.kit-layout, .community {
  background:
    radial-gradient(ellipse at 88% 106%, #edd1bc99 0%, transparent 53%),
    linear-gradient(125deg, #f1dece, #fff8f0 44%, #f3e1d2);
  box-shadow: var(--glass-rim), 0 6px 24px #713b230e;
}
.kit-panel, .directory a, .faq, .product {
  background: var(--glass-face), #faf2e9;
  box-shadow: var(--glass-rim), var(--glass-shadow);
}
.kit-panel, .directory a {
  background: linear-gradient(157deg, #fffdfadf, #fff7ead4 70%, #f9e3d4b6);
}
.kit-options button:not([aria-pressed="true"]) {
  background: linear-gradient(165deg, #fffcf9dc, #f6e7d9ca);
  box-shadow: var(--glass-rim);
}
.demo-window {
  background: linear-gradient(146deg, #fff9, #f9e4d1b5), #fbf0e3b5;
  box-shadow: var(--glass-rim), 0 9px 30px #60321d22;
}
.endpoint {
  background: radial-gradient(ellipse at 4% 0%, #b77b5545, transparent 74%), #38241dcf;
  box-shadow: inset 0 1px 1px #f9c7a05a, inset 0 -1px 0 #190e0c55, 0 10px 32px #160d0c2b;
}
.site-footer { background: linear-gradient(180deg, #fcf6ef, #fffdfa); }
@supports (backdrop-filter: blur(1px)) {
  .kit-panel, .directory a { backdrop-filter: blur(12px) saturate(114%); }
  .demo-window { backdrop-filter: blur(8px) saturate(110%); }
}
@media (prefers-reduced-motion: reduce) {
  .directory a:hover, .directory a:focus-visible,
  .product-feature:hover .demo-window, .product-feature:focus-within .demo-window { translate: none; }
}

/* Desktop pointer and interaction feedback */
:root {
  --motion-press: 130ms;
  --motion-enter: 180ms;
  --motion-ripple: 240ms;
  --motion-ease: cubic-bezier(.2, .72, .28, 1);
}
@media (prefers-reduced-motion: no-preference) {
  :is(.button, .header-action, .kit-copy, .kit-options button, .formats button, .endpoint .copy) {
    transition: scale var(--motion-press) var(--motion-ease), box-shadow var(--motion-enter) ease, border-color var(--motion-enter) ease, background-color var(--motion-enter) ease;
  }
  :is(.button, .header-action, .kit-copy, .kit-options button, .formats button, .endpoint .copy):active { scale: .975; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  :is(.showcase-slide, .kit-panel, .endpoint) {
    position: relative;
    isolation: isolate;
  }
  [data-pointer-light]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(135px circle at var(--pointer-x) var(--pointer-y), #ffffff3d 0%, #f8c6a21a 54%, transparent 100%);
  }
  .pointer-ripple {
    position: fixed;
    z-index: 20;
    inset: auto;
    width: 24px;
    height: 24px;
    pointer-events: none;
    border: 1px solid #a64e34;
    box-shadow: 0 0 0 1px #ffffff70;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.35);
  }
  .pointer-ripple.is-playing { animation: pointer-ripple var(--motion-ripple) var(--motion-ease) both; }
}
@keyframes pointer-ripple {
  from { opacity: .55; transform: translate(-50%, -50%) scale(.4); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}

/* Warm dark palette for the landing page */
.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel);
  font: 700 1rem/1 system-ui, sans-serif;
}
.theme-toggle:hover, .theme-toggle[aria-expanded="true"] { background: var(--sand); }
.theme-control { position: relative; }
.theme-options:not([hidden]) {
  display: grid;
  gap: .25rem;
  position: absolute;
  z-index: 6;
  inset-block-start: calc(100% + .4rem);
  inset-inline-end: 0;
  min-inline-size: 9.5rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  box-shadow: var(--glass-shadow);
}
.theme-options button {
  min-height: 44px;
  padding: .35rem .6rem;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  text-align: start;
  font-size: .82rem;
}
.theme-options button:hover { background: var(--sand); }
.theme-options button[aria-pressed="true"] {
  background: var(--sand);
  border-inline-start-color: var(--bronze);
  color: var(--bronze);
  font-weight: 750;
}
.theme-options button:focus-visible { outline-offset: 0; }
:root.dark {
  color-scheme: dark;
  --paper: #1a1410;
  --panel: #261d18;
  --ink: #fff3e9;
  --muted: #d6bcaf;
  --rust: #f3ad8c;
  --bronze: #f4b799;
  --focus: #f4b799;
  --lion: #e08a6c;
  --glass: #2c211c;
  --line: #4d392f;
  --sand: #3a2921;
  --dark: #201710;
  --dark-line: #6a4a3a;
  --glass-rim: inset 0 1px 1px #fff3e324, inset 1px 0 0 #ffddc014, inset 0 -1px 0 #07030166;
  --glass-face: linear-gradient(153deg, #32251e, #241a16 80%);
  --glass-shadow: 0 8px 24px #0e070646;
}
.dark .site-header, .dark .site-footer { background: #211914; }
.dark .skip { color: #241d19; }
.dark .header-action, .dark .hero .secondary, .dark .kit-copy {
  background: linear-gradient(155deg, #392920, #2a201a);
  border-color: #6b4b3b;
}
.dark .hero-stage { background: linear-gradient(105deg, #201611 10%, #31221a 68%, #4d3024); }
.dark .hero .eyebrow { color: #edb698; }
.dark .kit-layout, .dark .community {
  background: radial-gradient(ellipse at 95% 0%, #583526, transparent 65%), #281d18;
  border-color: var(--line);
}
.dark .kit-panel, .dark .directory a, .dark .faq, .dark .product {
  background: var(--glass-face);
  border-color: var(--line);
}
.dark .directory a:hover, .dark .directory a:focus-visible { background: #493025; }
.dark .kit-options button:not([aria-pressed="true"]) { background: #30211b; border-color: #654638; }
.dark .kit-panel progress:not([hidden]), .dark .kit-panel progress::-webkit-progress-bar { background: #52372b; }
.dark .kit-panel progress::-webkit-progress-value { background: #e08a6c; }
.dark .about { background: #251b16; }
.dark .faq details { border-color: var(--line); }
.dark .studio-visual { background: radial-gradient(ellipse at 55% 10%, #a56646, transparent 72%), #4d2f24; }
.dark .demo-window { color: #241d19; }
.dark [data-pointer-light]::after {
  background: radial-gradient(135px circle at var(--pointer-x) var(--pointer-y), #ffcfad2b 0%, transparent 100%);
}
@media (max-width: 530px) {
  .header-controls { gap: .2rem; }
  .header-controls .language { min-width: 38px; }
}
@media (max-width: 350px) {
  .header-controls .header-action { padding-inline: .5rem; font-size: .72rem; }
  .header-inner .brand { font-size: 1.05rem; gap: .35rem; }
  .header-inner .brand img { width: 30px; height: 30px; }
}

/* Real project evidence in the first viewport */
.hero-stage {
  background: radial-gradient(ellipse at 83% 16%, #efcfb8 0%, transparent 57%), var(--paper);
}
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 0;
  padding-block: clamp(3.4rem, 7vw, 6.9rem);
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.55rem, 4.6vw, 4.8rem);
  line-height: 1.11;
  letter-spacing: -.063em;
}
.hero .lede { max-width: 43ch; }
.hero .lede a { color: var(--bronze); font-weight: 690; }
.hero .lede a:hover { color: var(--ink); }
.featured { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1fr); gap: clamp(1rem,5vw,4rem); padding-bottom: 0; }
.featured h2 { font-size: clamp(1.9rem,3.5vw,3.15rem); margin-bottom: .35rem; }
.featured-facts { margin: 0; }
.featured-facts > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: .45rem .75rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
}
.featured-facts > div:first-child { border-top: 1px solid var(--line); }
.featured-facts dt { font-weight: 760; }
.featured-facts dd { margin: 0; color: var(--muted); }
.kit-steps li[data-kit-current] { border-top-color: var(--lion); }
.kit-next {
  padding: .12rem .46rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bronze);
  background: var(--sand);
  font-size: .66rem;
  font-weight: 720;
  line-height: 1.35;
}
.kit-steps label { flex-wrap: wrap; }
.studio-visual { position: relative; display: block; padding: 0; }
.studio-screenshot {
  position: absolute;
  display: block;
  inset: 1.1rem auto auto 50%;
  translate: -50%;
  width: clamp(165px, 54%, 270px);
  height: auto;
  border: 1px solid #fff9;
  border-radius: 14px;
  box-shadow: 0 7px 22px #4927192e;
}
.screenshot-dark, .dark .screenshot-light { display: none; }
.dark .screenshot-dark { display: block; }
.product, .faq { background: var(--panel); box-shadow: none; }
.dark .hero-stage { background: radial-gradient(ellipse at 88% 14%, #5c392a 0%, transparent 62%), var(--paper); }
.dark .product, .dark .faq { background: var(--panel); }
@media (max-width: 740px) {
  .hero, .featured { grid-template-columns: 1fr; }
  .hero { padding-block: 2.6rem 2.15rem; gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.1rem,7.9vw,3.9rem); }
  .featured-facts > div { grid-template-columns: 6.1rem 1fr; }
}

/* Each ecosystem category has a physical position in the fan. */
.hero-stage { overflow-x: clip; }
.hero-copy .actions { align-items: center; column-gap: 1.15rem; }
.hero-catalog { display: inline-flex; align-items: center; min-height: 44px; }

.showcase-deck {
  min-width: 0;
  container-type: inline-size;
}
.showcase-track {
  position: relative;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.showcase-slide {
  --card-tone: #c2764c;
  flex: 0 0 min(100%, 21rem);
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid color-mix(in srgb, var(--card-tone) 36%, #fff8f0);
  border-radius: clamp(15px, 4cqw, 23px);
  background: linear-gradient(145deg, #fff8, transparent 57%), color-mix(in srgb, var(--card-tone) 27%, #f8e9d8);
  box-shadow: inset 0 1px 0 #fffc, inset 0 -1px 0 #69453223, 0 2px 5px #5a2c181e;
}
.showcase-slide[data-product="studio"] { --card-tone: #ce9676; }
.showcase-slide[data-product="api"] { --card-tone: #8b946f; }
.showcase-slide[data-product="cloud"] { --card-tone: #6989a0; }
.showcase-slide[data-product="notch"] { --card-tone: #a786a8; }
.showcase-slide[data-product="community"] { --card-tone: #618b7c; }
.showcase-slide[data-product="tools"] { --card-tone: #c99a58; }
.showcase-slide[data-product="source"] { --card-tone: #a2a36a; }
.showcase-slide[data-product="store"] { --card-tone: #c88170; }

.showcase-spine { display: none; }
.showcase-face {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: .38rem;
  padding: .43rem;
  min-block-size: clamp(15rem, 64cqw, 21rem);
  border: 1px solid #ffffffa8;
  border-radius: inherit;
  background: linear-gradient(150deg, #fffb, #fff1), color-mix(in srgb, #fff6ed 80%, transparent);
}
.showcase-image {
  position: relative;
  flex: none;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: max(9px, calc(4cqw - 6px));
  overflow: hidden;
  background: #222023;
}
.showcase-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-copy {
  padding: clamp(.56rem, 2.5cqw, 1rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.showcase-copy .showcase-category {
  color: var(--bronze);
  margin: 0 0 .3rem;
  font-size: .69rem;
  line-height: 1.3;
  font-weight: 730;
}
.showcase-copy h2 {
  margin: 0;
  font-size: clamp(1.03rem, 5.35cqw, 1.57rem);
  line-height: 1.13;
  letter-spacing: -.045em;
}
.showcase-copy .showcase-description {
  margin: .45rem 0 .65rem;
  color: var(--muted);
  font-size: clamp(.75rem, 2.65cqw, .87rem);
  line-height: 1.36;
}
.showcase-link {
  margin-top: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: .33rem;
  color: var(--bronze);
  font-size: clamp(.71rem, 2.65cqw, .82rem);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.showcase-link:hover { color: var(--ink); }
.showcase-card-action:not([hidden]) {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.showcase-card-action:focus-visible { outline-offset: -4px; }
.showcase-hint {
  margin: .24rem 0 0;
  padding-inline-end: .25rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 590;
  text-align: end;
}
.showcase-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.showcase-enhanced .showcase-track {
  --fan-layer-count: 3;
  --fan-spread: clamp(20px, 6.6cqw, 40px);
  --fan-turn: 21deg;
  --fan-lift: .35rem;
  display: grid;
  justify-content: end;
  grid-template-columns: minmax(0, 25rem);
  padding: .65rem .2rem 1.2rem max(23%, calc(100% - 25rem));
  overflow: visible;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
  isolation: isolate;
  border-radius: 1rem;
}
.showcase-enhanced .showcase-slide {
  --fan-offset: min(calc(var(--fan-depth) / var(--fan-layer-count)), 1);
  grid-area: 1 / 1;
  z-index: var(--fan-z);
  transform-origin: left bottom;
  translate: calc(var(--showcase-drag, 0px) * (1 - var(--fan-offset) * .7)) 0;
  transform: translate(calc(-1 * var(--fan-offset) * var(--fan-spread)), calc(-1 * var(--fan-offset) * var(--fan-lift)))
    rotate(calc(-1 * var(--fan-offset) * var(--fan-turn))) scale(calc(1 - var(--fan-offset) * .11));
  transition: transform 420ms cubic-bezier(.21,.72,.22,1), translate 360ms cubic-bezier(.21,.72,.22,1),
    opacity 170ms ease, visibility 0s;
}
.showcase-enhanced .showcase-slide:not([data-showcase-depth="0"], [data-showcase-depth="1"], [data-showcase-depth="2"], [data-showcase-depth="3"]) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 170ms, opacity 170ms ease;
}
.showcase-enhanced .showcase-slide[data-showcase-depth="0"] {
  background:
    radial-gradient(ellipse at 60% 2%, #fff7, transparent 56%),
    color-mix(in srgb, var(--card-tone) 24%, #f6e8d8);
  box-shadow: inset 0 1px 0 #fffe, inset 0 -1px 0 #73472f22, 0 14px 30px #75422b34;
}
.showcase-enhanced .showcase-spine {
  display: block;
  position: absolute;
  inset: 1.35rem auto auto .4rem;
  z-index: 3;
  writing-mode: vertical-rl;
  rotate: 180deg;
  color: #2d251f;
  font-size: clamp(.59rem, 1.65cqw, .7rem);
  font-weight: 750;
  white-space: nowrap;
}
.showcase-slide[data-showcase-depth="0"] .showcase-spine { visibility: hidden; }
.showcase-enhanced .showcase-face {
  z-index: 2;
  pointer-events: none;
}
.showcase-enhanced .showcase-face[inert] {
  border-color: transparent;
  background: transparent;
}
.showcase-enhanced .showcase-face[inert] .showcase-image { opacity: .27; }
.showcase-enhanced .showcase-face[inert] .showcase-copy { visibility: hidden; }
.showcase-enhanced .showcase-image { transition: opacity 240ms ease; }
.showcase-enhanced .showcase-face:not([inert]) .showcase-link { pointer-events: auto; }
.showcase-track.is-dragging { user-select: none; cursor: grabbing; }
.showcase-track.is-dragging .showcase-slide { transition: none; }
.showcase-track.is-dragging .showcase-card-action { cursor: grabbing; }
@media (pointer: fine) {
  .showcase-enhanced .showcase-track { cursor: grab; }
  .showcase-enhanced .showcase-track.is-dragging { cursor: grabbing; }
}
.dark .showcase-slide {
  border-color: color-mix(in srgb, var(--card-tone) 48%, #58432f);
  background: linear-gradient(145deg, #ffffff1c, transparent 67%), color-mix(in srgb, var(--card-tone) 54%, #221c1a);
  box-shadow: inset 0 1px 0 #fff5, 0 2px 5px #10090648;
}
.dark .showcase-enhanced .showcase-slide[data-showcase-depth="0"] {
  background:
    radial-gradient(ellipse at 60% 2%, #ffdab52d, transparent 56%),
    color-mix(in srgb, var(--card-tone) 31%, #2c231f);
  box-shadow: inset 0 1px 0 #fff6, 0 14px 34px #100a0980;
}
.dark .showcase-face {
  border-color: #ffdac131;
  background: linear-gradient(145deg, #ffddbb17, transparent 65%), #231d1bdc;
}
.dark .showcase-spine { color: #fff4e8; }
@supports (backdrop-filter: blur(1px)) {
  .showcase-enhanced .showcase-slide[data-showcase-depth="0"] { backdrop-filter: blur(14px) saturate(135%); }
}
@container (max-width: 510px) {
  .showcase-enhanced .showcase-track {
    --fan-layer-count: 2;
    --fan-turn: 14deg;
    --fan-spread: clamp(16px, 6cqw, 29px);
    padding-inline-start: max(20%, calc(100% - 25rem));
  }
  .showcase-enhanced .showcase-slide[data-showcase-depth="3"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 170ms, opacity 170ms ease;
  }
}
@container (max-width: 350px) {
  .showcase-enhanced .showcase-track { --fan-turn: 12deg; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-enhanced .showcase-slide, .showcase-enhanced .showcase-image { transition: none; }
  .showcase-enhanced .showcase-slide { translate: none; }
}

/* Ecosystem detail pages */
.catalog-intro {
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 84% 0%, #ecc6ad95, transparent 70%), var(--paper);
  border-bottom: 1px solid var(--line);
}
.dark .catalog-intro {
  background: radial-gradient(ellipse at 84% 0%, #77462f89, transparent 70%), var(--paper);
}
.catalog-intro h1 {
  margin: .65rem 0 .55rem;
  font-size: clamp(2rem, 6.4vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -.059em;
}
.catalog-intro p, .catalog-footer p { color: var(--muted); }
.catalog-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .4rem .7rem;
  margin-top: 1.4rem;
}
.catalog-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 44px;
  padding: .58rem .82rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  font-size: .85rem;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
}
.catalog-nav a:hover { border-color: var(--bronze); }
.catalog-nav span { color: var(--bronze); font: 650 .72rem/1 var(--mono); }
.catalog-section {
  padding-block: clamp(1.6rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 1.4rem;
}
.catalog-section:last-child { border-bottom: 0; }
.catalog-section h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.38rem, 4vw, 2.15rem);
  line-height: 1.15;
}
.catalog-subtitle {
  margin: 1.6rem 0 .6rem;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--bronze);
}
.catalog-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: .66rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.catalog-item {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: .88rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.catalog-item .catalog-name { margin: 0 0 .22rem; font-weight: 750; color: var(--ink); }
.catalog-item p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.42; }
.catalog-name a { text-decoration-color: color-mix(in srgb, var(--bronze) 50%, transparent); }
.catalog-name a:hover { color: var(--bronze); }
.catalog-extra {
  margin-top: .6rem;
  font-size: .8rem;
}
.catalog-extra summary {
  position: relative;
  min-height: 44px;
  padding-block: .52rem;
  padding-inline-end: 1.25rem;
  list-style: none;
  color: var(--bronze);
  font-weight: 700;
}
.catalog-extra summary::-webkit-details-marker { display: none; }
.catalog-extra summary::after { position: absolute; inset-inline-end: 0; content: "+"; }
.catalog-extra[open] summary::after { content: "−"; }
.catalog-extra ul { list-style: none; margin: 0; padding: 0; }
.catalog-extra li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .15rem .5rem;
  padding: .35rem 0;
  border-top: 1px solid var(--line);
}
.catalog-extra li span { color: var(--muted); }
.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1.4rem;
  padding-block: 1.3rem;
}
.catalog-footer p { margin: 0; font-size: .82rem; }

/* Task-based entry points and product examples */
.hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 4.55vw, 4.55rem);
  line-height: 1.06;
  letter-spacing: -.057em;
}
.hero-copy h1 em { display: block; }
.hero-copy .lede { margin-top: .85rem; line-height: 1.55; }
.hero-routes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .48rem;
  margin: 1.35rem 0 0;
}
.hero-routes .button { min-height: 46px; }
.hero-routes-secondary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1rem;
}
.hero-routes-secondary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .84rem;
  font-weight: 700;
}
.hero-routes-secondary a:hover { color: var(--bronze); }
.hero-catalog { font-size: .8rem; }
.hero-catalog:focus-visible, .hero-routes a:focus-visible { outline-offset: 2px; }
.agent-diff .diff-remove { color: #ffc5b1; }
.agent-diff .diff-add { color: #cef0c4; }

.agent-demo-panel {
  padding: clamp(1rem, 3.8vw, 2.8rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: clamp(15px, 2.2vw, 25px);
}
.agent-demo-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .55rem 1.5rem;
  margin-bottom: 1.15rem;
}
.agent-demo-head h2, .product-section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.1vw, 2.85rem);
}
.agent-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .72fr);
  align-items: start;
  gap: clamp(1.25rem, 4vw, 3rem);
}
.agent-demo-figure, .api-examples figure { margin: 0; min-width: 0; }
.agent-demo-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  vertical-align: top;
}
.agent-demo-figure figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .8rem;
}
.agent-steps {
  display: grid;
  gap: .72rem;
  padding: 0 0 0 1.3rem;
  margin: 0;
}
.agent-steps li { padding: 0 0 .75rem .24rem; border-bottom: 1px solid var(--line); }
.agent-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.agent-steps li::marker { color: var(--bronze); font-weight: 750; }
.agent-steps h3 {
  margin: 0 0 .18rem;
  font-size: 1rem;
  line-height: 1.35;
}
.agent-steps p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}
.agent-diff, .api-examples pre {
  max-width: 100%;
  margin: .5rem 0 0;
  padding: .6rem .72rem;
  border-radius: 9px;
  background: #251c18;
  color: #fff0e5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: .785rem/1.5 var(--mono);
}
.product-section-title { margin-bottom: 1rem; }

.studio-example .product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: stretch;
}
.studio-example .product-content { align-self: center; }
.product-directory {
  margin-top: .8rem;
  flex-wrap: wrap;
  column-gap: 1.45rem;
  row-gap: 0;
}
.product-directory a { display: inline-flex; align-items: center; min-height: 44px; }
.studio-example .studio-visual { border-bottom: 0; border-inline-end: 1px solid var(--line); }
.product-visual.studio-visual {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .42rem;
  margin: 0;
  padding: .85rem;
}
.studio-visual .studio-screenshot {
  position: static;
  translate: none;
  width: min(100%, 22rem);
  height: auto;
  border-radius: 8px;
}
.studio-visual figcaption {
  color: var(--ink);
  font-size: .74rem;
  line-height: 1.3;
}
.dark .studio-visual figcaption { color: #fff3e7; }
.api-examples {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.api-examples figure {
  padding: .8rem;
  border: 1px solid #705343;
  border-radius: 12px;
  background: #31231d;
}
.api-examples figcaption {
  color: #f4d3bf;
  font-weight: 680;
  font-size: .82rem;
}
.catalog-start {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .28rem .85rem;
  margin: .35rem 0 1rem;
  padding: .56rem .72rem;
  border-inline-start: 2px solid var(--lion);
  background: color-mix(in srgb, var(--sand) 58%, var(--paper));
  color: var(--muted);
  font-size: .84rem;
}
.catalog-start strong { color: var(--ink); }
.catalog-start a { color: var(--bronze); font-weight: 680; }

/* Wide desktops can give the headline more room without losing the card preview. */
@media (min-width: 1280px) {
  .hero { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); }
  .hero-copy h1 { max-width: 20ch; }
  .hero-copy .lede { max-width: 48ch; }
  .showcase-enhanced .showcase-track {
    --fan-turn: 12deg;
    --fan-spread: clamp(16px, 5cqw, 23px);
    padding-inline-start: max(15%, calc(100% - 25rem));
  }
}

@media (max-width: 740px) {
  .hero-copy h1 { font-size: clamp(2.2rem, 8.25vw, 3.25rem); }
  .hero-routes { margin-top: 1.1rem; }
  .agent-demo-grid, .api-examples, .studio-example .product-feature { grid-template-columns: minmax(0, 1fr); }
  .studio-example .studio-visual { border-inline-end: 0; border-bottom: 1px solid var(--line); }
}

.catalog-item { scroll-margin-block-start: 1.25rem; }
.catalog-item:target { border-color: var(--lion); box-shadow: inset 3px 0 var(--lion); }
.catalog-release {
  margin-inline-start: .22rem;
  color: var(--bronze);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Controls that require JavaScript, and the inactive API example. */
:is(.theme-control, .theme-options, .formats, .copy, .api-examples)[hidden] { display: none; }
.request-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .3rem .7rem;
}
.request-copy {
  min-height: 44px;
  padding-inline: .65rem;
  border: 1px solid #9d765e;
  border-radius: 8px;
  background: #493127;
  color: #fff2e7;
  font-size: .76rem;
}
.request-copy:hover { background: #5b3c2e; }
.request-note { margin-block-start: .45rem; color: #f4d3bf; font-size: .76rem; }

/* Text pages (About, Contact, Privacy, Terms) and the catalog note, added 30 Nov 2026 */
.prose { max-width: 46rem; margin-inline: 0; padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.prose h2 { margin: 2.1rem 0 .55rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.prose li { margin: .55rem 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--rust); font-weight: 650; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose code { font-family: var(--mono); font-size: .88em; padding: .08em .35em; border-radius: .3em; background: var(--sand); color: var(--ink); }
.dark .prose code { background: var(--dark-line); color: var(--white); }
.site-footer nav { flex-wrap: wrap; }

/* Product, pricing and model pages (30 Nov 2026) */
.page-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.page-actions .button { min-height: 46px; border-radius: 999px; }
.proof-strip { border-bottom: 1px solid var(--line); background: var(--panel); }
.proof-strip ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .9rem 1.5rem; }
.proof-strip li { display: flex; flex-direction: column; gap: .1rem; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.proof-strip strong { color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dark .proof-strip { background: #211914; }
.section-block { padding-block: clamp(1.75rem, 4vw, 3rem); }
.section-block h2 { margin: 0 0 .5rem; font-size: clamp(1.3rem, 2.8vw, 1.8rem); letter-spacing: -.025em; line-height: 1.2; }
.section-block > p, .section-block .lead { color: var(--muted); max-width: 52rem; margin: .4rem 0 0; }
.step-list { counter-reset: step; list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.step-list li { counter-increment: step; position: relative; padding: 1.1rem 1.1rem 1.1rem 3.3rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--muted); }
.step-list li::before { content: counter(step); position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--rust); color: #fff; font-weight: 800; font-size: .85rem; }
.step-list strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.dark .step-list li { background: #211914; border-color: var(--dark-line); }
.card-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.card-grid li { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; background: var(--panel); }
.card-grid a { font-weight: 750; color: var(--ink); text-decoration-color: var(--lion); }
.card-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.card-grid .meta { font-size: .8rem; color: var(--muted); }
.dark .card-grid li { background: #211914; border-color: var(--dark-line); }
.code-block { margin: 1rem 0 0; padding: 1rem 1.1rem; border-radius: 12px; background: var(--dark); color: var(--white); font: .84rem/1.6 var(--mono); overflow-x: auto; white-space: pre; border: 1px solid var(--dark-line); }
.prose .code-block code, .dark .prose .code-block code { padding: 0; border-radius: 0; background: none; color: inherit; font: inherit; }
.code-label { margin: 1.1rem 0 0; font-size: .85rem; font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.dark .table-wrap { background: #211914; border-color: var(--dark-line); }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dark .data-table th, .dark .data-table td { border-color: var(--dark-line); }
.data-table th { position: sticky; top: 0; background: var(--sand); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dark .data-table th { background: #2a201a; }
.data-table td:first-child { font-family: var(--mono); font-size: .82rem; color: var(--ink); }
.data-table td.num, .data-table th.num { text-align: right; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .muted { color: var(--muted); }
.table-tools { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; align-items: center; }
.table-tools input, .table-tools select { font: inherit; font-size: .9rem; padding: .55rem .8rem; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.table-tools input { flex: 1 1 14rem; max-width: 24rem; }
.dark .table-tools input, .dark .table-tools select { background: #211914; border-color: var(--dark-line); }
.table-note { margin: .6rem 0 0; font-size: .82rem; color: var(--muted); }
.note-box { margin-top: 1.25rem; padding: .9rem 1.1rem; border-left: 3px solid var(--lion); background: var(--panel); border-radius: 0 10px 10px 0; color: var(--muted); font-size: .92rem; }
.dark .note-box { background: #211914; }
.timeline { list-style: none; margin: 1.25rem 0 0; padding: 0; max-width: 46rem; }
.timeline li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.timeline time { font-size: .8rem; font-weight: 750; color: var(--rust); letter-spacing: .04em; }
.timeline h3 { margin: .2rem 0 .3rem; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--muted); }
.swatches { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.swatches li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.swatches i { width: 2.2rem; height: 2.2rem; border-radius: 8px; border: 1px solid var(--line); display: block; }
.faq-list details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.faq-list summary { font-weight: 700; }
.faq-list p { margin: .5rem 0 0; color: var(--muted); }
.sw-paper { background: #faf8f4; } .sw-lion { background: #c96f52; } .sw-rust { background: #923e27; } .sw-bronze { background: #723622; } .sw-ink { background: #241d19; } .sw-dark { background: #211a17; }
.proof-strip strong a { color: inherit; text-decoration-color: var(--lion); }
