@font-face {
  font-family: Sora;
  src: url('/brand/assets/fonts/sora.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/brand/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/brand/assets/fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f6f5f2;
  --surface: #fff;
  --ink: #202124;
  --muted: #686d68;
  --line: #dddfd9;
  --stage: #edeee8;
  color-scheme: light;
}
html[data-theme='dark'] {
  --bg: #17191a;
  --surface: #222527;
  --ink: #f6f5f2;
  --muted: #acb1ac;
  --line: #3c403c;
  --stage: #1e211f;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.6 var(--gd-body, Inter, sans-serif);
  -webkit-font-smoothing: antialiased;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button,
a,
input,
select,
summary {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--gd-display, Sora, sans-serif);
  font-weight: 500;
  line-height: 1.3;
}
h1 {
  font-size: 36px;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 24px;
}
.wrap {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 48px;
}
.eyebrow {
  font: 12px/1.5 var(--gd-mono, 'Geist Mono', monospace);
  color: var(--muted);
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  background: var(--surface);
  padding: 12px;
  z-index: 10;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.site-header {
  height: 80px;
  border-bottom: 1px solid var(--line);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 20px var(--gd-display, Sora, sans-serif);
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.brand svg {
  width: 40px;
  height: 40px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--muted);
}
.site-header nav [aria-current],
.site-header nav a:hover {
  color: var(--ink);
}
.theme-toggle {
  font-size: 12px;
  background: transparent;
  padding: 8px 12px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.theme-toggle:hover {
  background: var(--surface);
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 48px 0;
}
.intro .eyebrow {
  margin-bottom: 12px;
}
.intro-copy {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  white-space: nowrap;
}
.quiet-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.component-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.component-heading .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.component-heading h2 {
  font-size: 22px;
}
.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 13px;
}
.primary:hover {
  opacity: 0.88;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 20px;
}
.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}
.segmented button {
  background: transparent;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  border-radius: 4px;
  min-height: 32px;
}
.segmented [aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px #0000000a;
}
.preview-options {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
.count-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.count-toggle input {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  margin: 0;
}
.color-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.color-control select {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
}
.preview-stage {
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 32px;
  min-width: 0;
}
.card-frame {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.preview-stage[data-width='chat'] .card-frame {
  max-width: 640px;
}
.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 11px/1.6 var(--gd-mono, 'Geist Mono', monospace);
  color: var(--muted);
  margin-top: 16px;
}
.usage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  margin: 80px 0 48px;
}
.usage h2 {
  margin: 16px 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.usage p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.usage-copy p:not(.eyebrow) {
  max-width: 420px;
  margin-bottom: 16px;
}
.usage-copy .quiet-link {
  margin-top: 12px;
}
.asset-links {
  margin-top: 24px;
}
.asset-links a,
.asset-links button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  width: 100%;
  background: none;
  text-align: left;
  font-size: 13px;
}
.asset-links a:hover strong,
.asset-links button:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.asset-links strong {
  display: block;
  font-weight: 500;
}
.asset-links small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.usage .host-note {
  font-size: 12px;
  margin-top: 16px;
}
.data-notes {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 64px;
}
.data-notes summary {
  padding: 20px 0;
  cursor: pointer;
}
.notes-content {
  padding: 0 0 24px;
  max-width: 760px;
  color: var(--muted);
}
.notes-content p {
  margin-bottom: 16px;
}
.notes-content a {
  display: inline-block;
  margin: 8px 24px 0 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 24px;
  font: 12px var(--gd-mono, 'Geist Mono', monospace);
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 12px 16px;
  max-width: calc(100% - 32px);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}
.toast.show {
  opacity: 1;
}
#load-error {
  padding: 24px;
  color: var(--ink);
}
@media (max-width: 900px) {
  .wrap,
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }
  .usage {
    gap: 40px;
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .preview-stage {
    padding: 24px;
  }
  .site-header nav {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .wrap,
  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .brand svg {
    width: 32px;
    height: 32px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    gap: 24px;
  }
  .intro {
    padding: 32px 0;
  }
  h1 {
    font-size: 30px;
  }
  .component-heading {
    gap: 12px;
    align-items: flex-start;
  }
  .component-heading h2 {
    font-size: 20px;
  }
  .primary {
    font-size: 12px;
    gap: 8px;
    padding: 8px 12px;
  }
  .preview-toolbar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .preview-options {
    justify-content: space-between;
    width: 100%;
  }
  .preview-stage {
    padding: 16px 8px;
    margin: 0 -8px;
    border-radius: 8px;
  }
  .preview-caption {
    flex-direction: column;
    gap: 4px;
  }
  .usage {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 48px 0 32px;
  }
  .usage h2 {
    font-size: 25px;
  }
  .data-notes {
    margin-bottom: 40px;
  }
  .site-footer {
    flex-wrap: wrap;
    font-size: 11px;
  }
}
