@font-face { font-family: Geist; src: url('assets/fonts/geist-sans-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Aeonik Condensed'; src: url('assets/fonts/aeonik-condensed-600.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Literata; src: url('assets/fonts/literata-latin-variable.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
:root { --cream: #fbf6f1; --plum: #2c002a; --sand: #f5e7d7; --pink: #fc7fc0; --lavender: #b38af0; --muted: #806c7b; --font-body: Geist, Arial, sans-serif; --font-display: 'Aeonik Condensed', 'Arial Narrow', Arial, sans-serif; --font-editorial: Literata, Georgia, serif; }
* { box-sizing: border-box; }
html { --banner-height: 42px; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; padding-top: var(--banner-height); background: var(--cream); color: var(--plum); font: 16px/1.5 var(--font-body); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button svg { pointer-events: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #9050c2; outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.content-width { width: calc(100% - 80px); max-width: 1136px; margin-inline: auto; }
.skip-link { position: fixed; top: 0; left: 20px; transform: translateY(-150%); z-index: 100; background: var(--plum); color: white; padding: 12px 20px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: 16px; line-height: 1.35; white-space: nowrap; }
.button-primary { background: var(--plum); color: white; }
.button-primary:hover { background: #51214e; }
.button-secondary { background: var(--sand); }
.button-secondary:hover { background: #ecd6c1; }
.button-small { min-height: 40px; padding: 10px 18px; border-radius: 9px; font-size: 14px; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.site-header { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; transition: transform .25s; }
.open-source-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 16px; min-height: 42px; padding: 10px 16px; background: var(--plum); color: var(--cream); font-size: .875rem; line-height: 1.5; text-align: center; }
.open-source-banner strong { font-weight: 650; }
.open-source-banner a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.open-source-banner a:hover { color: var(--pink); }
.open-source-banner a:focus-visible { outline-color: var(--cream); }
.header-navigation { position: relative; padding: 22px 32px; transition: padding .25s; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 1360px; margin: auto; min-height: 56px; transition: background .25s; }
.brand { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.brand-mark { display: block; position: relative; width: 38px; height: 44px; overflow: hidden; flex: none; }
.brand-mark img { position: absolute; width: 74px; height: 74px; max-width: none; left: -16px; top: -18px; }
.brand-type { font-size: 28px; font-weight: 600; letter-spacing: -1.3px; line-height: .96; }
.brand-type > span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .3px; margin-top: 4px; text-align: right; }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.desktop-nav > a { padding-block: 12px; }
.desktop-nav a:hover, .docs-menu button:hover { color: #8d4177; }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 500; }
.header-github { display: inline-flex; align-items: center; gap: 6px; background: none; padding: 10px 0; }
.header-github .github-icon { flex: none; }
.license-badge { font-size: 12px; border: 1px solid #2c002a25; border-radius: 20px; padding: 6px 10px; white-space: nowrap; }
.docs-menu { position: relative; }
.docs-menu summary { list-style: none; cursor: pointer; padding: 12px 0; }
.docs-menu summary::-webkit-details-marker { display: none; }
.docs-menu summary::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin: 0 0 3px 9px; }
.docs-links { position: absolute; right: -22px; top: 44px; display: grid; padding: 10px; min-width: 190px; border: 1px solid #e8d9e1; border-radius: 14px; background: var(--cream); box-shadow: 0 12px 30px #2c002a12; }
.docs-links a, .docs-links button { padding: 10px 12px; text-align: left; background: transparent; font-size: 14px; }
.site-header.is-scrolled { transform: translateY(calc(-1 * var(--banner-height))); }
.site-header.is-scrolled .open-source-banner { visibility: hidden; }
.site-header.is-scrolled .header-navigation { padding-block: 12px; }
.site-header.is-scrolled .mobile-menu { max-height: calc(100svh - 113px); }
.site-header.is-scrolled .nav-shell { max-width: 1160px; padding: 10px 22px; background: rgb(251 246 241 / 94%); backdrop-filter: blur(16px); border-radius: 40px; box-shadow: 0 0 0 1px #2c002a12, 0 8px 28px #2c002a0c; }
.site-header.is-scrolled .license-badge { display: none; }
.menu-toggle, .mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; padding: clamp(240px, 28svh, 280px) 0 32px; }
.hero-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.rainbow { position: absolute; aspect-ratio: 1654/1417; left: 50%; transform: translateX(-50%); }
.rainbow img { display: block; width: 100%; height: auto; }
/* Keep the desktop rainbow in its own shallow band below the navigation. */
@media (min-width: 768px) {
  .hero-art { top: 108px; bottom: auto; height: 132px; }
  .rainbow { width: max(1250px, 100vw); height: 375px; aspect-ratio: auto; top: -20px; }
  .rainbow img { height: 100%; }
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 60px; }
.hero-eyebrow { display: inline-block; font-size: 14px; margin-bottom: 22px; line-height: 1.5; }
.hero h1 { font: 600 clamp(64px, 6.2vw, 88px)/.98 var(--font-display); letter-spacing: -.025em; margin: 0; }
.hero h1 .muted { color: #916879; }
.hero-aside > p { font-size: 17px; line-height: 1.55; margin-bottom: 24px; max-width: 440px; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.install-box { border: 1px solid #d8c6cc; border-radius: 12px; padding: 14px 16px; margin-top: 22px; text-align: left; scroll-margin-top: 130px; }
.install-box-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 10px; }
.install-box-label img { width: 19px; height: 19px; object-fit: contain; }
.install-box-label img.openai-logo { transform: scale(1.7); margin-inline: 3px; }
.install-box-label > span:last-child { margin-left: auto; color: var(--muted); font-size: 12px; }
.install-command { display: flex; align-items: center; gap: 16px; }
.install-prompt { display: block; font: 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
[data-copy-install] { flex: none; background: var(--sand); font-size: 12px; font-weight: 600; padding: 9px 12px; border-radius: 7px; min-width: 58px; }
.copy-status { display: block; font-size: 12px; line-height: 1.5; margin-top: 5px; }
.copy-status:empty { display: none; }
.hero-trust { grid-column: 1/-1; text-align: center; color: var(--muted); font-size: 12px; margin: -30px 0 0; padding-top: 4px; }
.product-section { padding-top: 28px; }
.workflow-logos { padding-block: 68px 76px; text-align: center; }
.workflow-logos > p { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.logo-track { display: flex; align-items: center; justify-content: center; gap: 30px 38px; flex-wrap: wrap; }
.tool-logo { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.tool-logo img { object-fit: contain; max-width: 35px; max-height: 28px; }
.tool-logo.codex-logo img { transform: scale(1.7); margin-right: 2px; }
.tool-logo.text-tool { font-size: 17px; letter-spacing: -.5px; }
.tool-logo.skill-logo { font-family: ui-monospace, monospace; font-size: 15px; }
.info-dialog { border: 1px solid #e3d5df; border-radius: 22px; max-width: 520px; width: calc(100% - 40px); max-height: calc(100svh - 40px); overflow-y: auto; padding: 36px; color: var(--plum); background: var(--cream); box-shadow: 0 24px 80px #22001f30; }
.info-dialog::backdrop { background: #25052258; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 18px; width: 32px; height: 32px; background: var(--sand); border-radius: 50%; font-size: 26px; line-height: 1; }
.dialog-mark { margin-bottom: 20px; }
.info-dialog h2 { font: 600 36px/1.1 var(--font-display); letter-spacing: -.7px; margin-bottom: 18px; }
.info-dialog p { line-height: 1.6; }
.info-dialog ul, .info-dialog ol { padding-left: 20px; }
.info-dialog li { margin: 12px 0; }
.dialog-done { margin-top: 22px; }
@media (max-width: 1279px) { .license-badge { display: none; } .hero-inner { gap: 35px; } .hero h1 { font-size: 76px; } }
@media (max-width: 1050px) {
  .header-navigation { padding: 16px 24px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-github { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; }
  .menu-toggle span { width: 21px; height: 2px; background: var(--plum); }
  .mobile-menu { display: grid; position: absolute; top: calc(100% - 8px); left: 24px; right: 24px; padding: 15px; background: var(--cream); border: 1px solid #e8d9e1; border-radius: 16px; box-shadow: 0 12px 30px #2c002a12; max-height: calc(100svh - var(--banner-height) - 113px); overflow-y: auto; }
  .mobile-menu a, .mobile-menu button { text-align: left; padding: 10px; background: transparent; }
  .mobile-menu .mobile-license { padding: 10px; font-size: 12px; color: var(--muted); }
  .hero h1 { font-size: 67px; }
  .hero-inner { gap: 30px; grid-template-columns: 1fr 1fr; }
  .hero-aside > p { font-size: 16px; }
  .hero-actions .button { font-size: 14px; padding-inline: 17px; }
  .install-box-label > span:last-child { margin-left: 0; width: 100%; }
  .hero-trust { margin-top: 0; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 100px; }
  .content-width { width: calc(100% - 32px); }
  .open-source-banner .banner-detail { display: none; }
  .header-navigation { padding: 12px 16px; }
  .site-header .nav-shell { gap: 8px; }
  .site-header.is-scrolled .header-navigation { padding: 8px; }
  .site-header.is-scrolled .nav-shell { padding: 8px 10px; }
  .brand-mark { width: 29px; height: 35px; }
  .brand-mark img { width: 59px; height: 59px; left: -13px; top: -15px; }
  .brand-type { font-size: 24px; }
  .header-actions .button { font-size: 12px; padding: 10px 12px; min-height: 38px; }
  .mobile-menu { left: 12px; right: 12px; }
  .hero { padding-top: calc(90px + 40vw); padding-bottom: 12px; }
  .rainbow { width: 163.33vw; left: 45.18%; top: 64px; }
  .hero-inner { display: block; }
  .hero-eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(55px, 12vw, 86px); margin-bottom: 26px; }
  .hero-aside { max-width: 540px; }
  .hero-aside > p { font-size: 16px; max-width: none; }
  .hero-actions .button { font-size: 14px; padding-inline: 18px; }
  .install-box-label > span:last-child { margin-left: auto; width: auto; }
  .hero-trust { font-size: 11px; line-height: 1.7; text-align: left; margin: 16px 0 0; }
  .product-section { padding-top: 28px; }
  .workflow-logos { padding-block: 48px; }
  .logo-track { gap: 22px; }
  .tool-logo, .tool-logo.text-tool { font-size: 14px; }
  .info-dialog { padding: 28px; }
}
@media (max-width: 359px) { .hero-actions .button { padding-inline: 13px; font-size: 13px; } .install-box-label > span:last-child { width: 100%; margin-left: 0; } .brand-type { font-size: 21px; } .header-actions .button { padding-inline: 9px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 359px) { .hero h1 { font-size: 48px; } }
