:root {
  --ink: #12151f;
  --ink-soft: #4f5767;
  --night: #0f1420;
  --night-raised: #161c2a;
  --paper: #f7f7f2;
  --paper-strong: #ffffff;
  --line: #dce0d9;
  --line-night: rgba(255, 255, 255, 0.12);
  --lime: #c5f55c;
  --lime-dark: #9fd932;
  --coral: #ff8068;
  --blue: #73b5ff;
  --container: 1160px;
  --shadow: 0 20px 60px rgba(15, 20, 32, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 14px; color: var(--night); background: var(--lime); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page-glow { position: absolute; z-index: -1; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.page-glow-one { width: 580px; height: 580px; top: 280px; right: -340px; background: radial-gradient(circle, rgba(197,245,92,.25), transparent 70%); }
.page-glow-two { width: 460px; height: 460px; top: 1350px; left: -260px; background: radial-gradient(circle, rgba(115,181,255,.17), transparent 70%); }

.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -0.04em; }
.brand-mark { display: grid; width: 28px; height: 28px; place-items: center; color: var(--night); background: var(--lime); border-radius: 8px 8px 8px 2px; font-size: 14px; font-weight: 900; }
.site-nav { display: flex; align-items: center; gap: 27px; color: var(--ink-soft); font-size: 14px; }
.site-nav a, .header-link, .site-footer nav a { transition: color .18s ease; }
.site-nav a:hover, .header-link:hover, .site-footer nav a:hover { color: var(--ink); }
.header-link { color: var(--ink); font-size: 14px; font-weight: 650; }

.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr); align-items: center; gap: clamp(38px, 7vw, 100px); min-height: 690px; padding: 84px 0 94px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 21px; color: #697183; font-size: 11px; font-weight: 800; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 0 5px rgba(159,217,50,.19); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin-bottom: 25px; color: var(--night); font-family: Iowan Old Style, "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(48px, 5.8vw, 78px); font-weight: 400; letter-spacing: -.07em; line-height: .97; }
.hero-summary { max-width: 540px; margin-bottom: 32px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 730; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--lime); }
.button-primary:hover { background: #d3fb82; }
.button-quiet { color: var(--ink-soft); border-color: var(--line); background: rgba(255,255,255,.56); }
.button-quiet:hover { color: var(--ink); border-color: #bfc5ba; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 29px 0 0; color: #6a7282; font-size: 13px; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { width: 5px; height: 5px; content: ""; background: var(--lime-dark); border-radius: 50%; }

.code-window { overflow: hidden; color: #dae3f4; background: var(--night); border: 1px solid #2c3341; border-radius: 17px; box-shadow: 0 28px 66px rgba(15,20,32,.23); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line-night); }
.window-dot { width: 9px; height: 9px; border-radius: 50%; }
.coral { background: var(--coral); }.amber { background: #f7ca63; }.mint { background: #85dfb7; }
.window-label { flex: 1; margin-left: 7px; color: #94a1b6; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.copy-button { padding: 5px 8px; color: #c3cfe2; border: 0; border-radius: 6px; background: #283041; font-size: 11px; cursor: pointer; }
.copy-button:hover { color: var(--night); background: var(--lime); }
.code-window pre { overflow-x: auto; padding: 30px 28px; margin: 0; font-size: clamp(12px, 1.35vw, 14px); line-height: 1.75; }
.code-muted { color: #8d9aae; }.code-keyword { color: #a5ccff; }.code-string { color: #c6ed89; }
.code-result { display: flex; align-items: center; gap: 13px; padding: 17px 28px; border-top: 1px solid var(--line-night); color: #c8d3e4; font-size: 12px; }
.result-label { color: #9ade72; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.trust-strip { color: #e9eef8; background: var(--night); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 104px; }
.trust-inner p { margin: 0; color: #fff; font-size: 15px; font-weight: 720; letter-spacing: -.02em; }
.trust-inner ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust-inner li { padding: 7px 10px; color: #c0cad9; border: 1px solid #2c3546; border-radius: 99px; font-size: 12px; }

.section { padding: 128px 0; }
.section-intro { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 80px; align-items: start; max-width: 940px; margin-bottom: 54px; }
.section-intro .eyebrow { grid-column: 1; margin-top: 11px; }
h2 { margin-bottom: 18px; color: var(--night); font-family: Iowan Old Style, "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(38px, 4.2vw, 58px); font-weight: 400; letter-spacing: -.06em; line-height: 1.02; }
.section-intro h2, .section-intro > p:not(.eyebrow) { grid-column: 2; }
.section-intro > p:not(.eyebrow) { margin-bottom: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.62; }
.section-intro.compact { display: block; max-width: 720px; }
.section-intro.compact .eyebrow { margin-top: 0; }
.section-intro.compact h2 { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.step-card { min-height: 244px; padding: 27px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 18px rgba(15,20,32,.03); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 26px; margin-bottom: 53px; color: var(--night); background: var(--lime); border-radius: 6px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 800; }
h3 { margin-bottom: 9px; color: var(--night); font-size: 17px; letter-spacing: -.035em; }
.step-card p, .feature-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.step-card code, .faq-list code { padding: 2px 5px; color: #344b19; background: #effbcf; border-radius: 4px; font-size: .9em; }

.feature-section { border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 240px; padding: 26px; background: #eeefe8; border-radius: 14px; }
.feature-icon { position: relative; display: block; width: 39px; height: 39px; margin-bottom: 54px; color: var(--night); border: 1.5px solid currentColor; border-radius: 10px; }
.icon-message::after { position: absolute; right: 8px; bottom: -5px; width: 9px; height: 9px; content: ""; background: #eeefe8; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: skewY(-35deg); }
.icon-status { border-radius: 50%; }.icon-status::before { position: absolute; top: 9px; left: 9px; width: 17px; height: 9px; content: ""; border-bottom: 2px solid var(--lime-dark); border-left: 2px solid var(--lime-dark); transform: rotate(-45deg); }
.icon-shield { border-radius: 50% 50% 46% 46%; }.icon-shield::before { position: absolute; top: 9px; left: 13px; width: 9px; height: 15px; content: ""; border-right: 2px solid var(--lime-dark); border-bottom: 2px solid var(--lime-dark); transform: rotate(45deg); }

.developer-section { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(40px, 8vw, 120px); align-items: center; padding: 125px 0; }
.developer-copy .eyebrow { margin-bottom: 19px; }.developer-copy h2 { max-width: 530px; }.developer-copy > p:not(.eyebrow) { max-width: 550px; margin-bottom: 28px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.developer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }.developer-links a { padding-bottom: 2px; color: var(--night); border-bottom: 1px solid #a8b69a; font-size: 14px; font-weight: 720; }.developer-links a:hover { color: #537e13; border-color: #537e13; }
.agent-card { overflow: hidden; color: #eaf0fa; background: var(--night); border-radius: 16px; box-shadow: var(--shadow); }.agent-card-top { display: flex; gap: 9px; align-items: center; padding: 19px 22px; color: #fff; border-bottom: 1px solid var(--line-night); font-size: 13px; font-weight: 720; }.agent-spark { color: var(--lime); font-size: 16px; }.agent-file { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 19px 22px; border-bottom: 1px solid var(--line-night); }.agent-file:last-child { border-bottom: 0; }.agent-file > span:first-child { color: var(--lime); font-family: monospace; }.agent-file strong { display: block; margin-bottom: 4px; color: #fff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }.agent-file small { display: block; color: #9ca8bc; font-size: 11px; line-height: 1.45; }.file-status { align-self: start; padding: 4px 6px; color: #bff46c; background: rgba(197,245,92,.12); border-radius: 4px; font-family: monospace; font-size: 9px; }

.faq-section { border-top: 1px solid var(--line); }.faq-list { max-width: 860px; margin-left: auto; }.faq-list details { border-top: 1px solid var(--line); }.faq-list details:last-child { border-bottom: 1px solid var(--line); }.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--night); cursor: pointer; font-size: 16px; font-weight: 680; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { color: #6d7c59; font-size: 21px; font-weight: 400; transition: transform .18s ease; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list p { max-width: 710px; padding: 0 0 22px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.beta-panel { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding: 56px; margin-bottom: 104px; color: #eff4fc; background: #202837; border-radius: 17px; }.beta-panel .eyebrow { color: #b0bdce; }.beta-panel h2 { max-width: 700px; margin-bottom: 17px; color: #fff; font-size: clamp(33px, 4vw, 48px); }.beta-panel p:not(.eyebrow) { max-width: 730px; margin-bottom: 0; color: #c1cbd9; font-size: 15px; line-height: 1.6; }.beta-panel .button { flex: 0 0 auto; }
.site-footer { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 24px; align-items: center; min-height: 120px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }.site-footer p { margin: 0; }.site-footer nav { display: flex; justify-content: flex-end; gap: 16px; }.site-footer nav a { white-space: nowrap; }

@media (max-width: 850px) {
  .site-nav { display: none; }.hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 0; }.hero-copy { max-width: 650px; }.code-window { width: 100%; }.section { padding: 90px 0; }.section-intro { display: block; max-width: 670px; }.section-intro .eyebrow { margin-top: 0; }.section-intro h2 { margin-bottom: 17px; }.steps, .feature-grid { grid-template-columns: 1fr; }.step-card, .feature-card { min-height: auto; }.step-number, .feature-icon { margin-bottom: 32px; }.developer-section { grid-template-columns: 1fr; padding: 90px 0; }.developer-copy h2 { max-width: 650px; }.faq-list { margin-left: 0; }.beta-panel { display: block; padding: 38px; }.beta-panel .button { margin-top: 28px; }.site-footer { grid-template-columns: 1fr; padding: 30px 0; }.site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--container)); }.site-header { min-height: 70px; }.header-link { font-size: 12px; }.brand { font-size: 14px; }.brand-mark { width: 25px; height: 25px; }.hero { padding-top: 58px; }.hero-summary { font-size: 16px; }.hero-points { display: block; margin-top: 22px; }.hero-points li { margin-bottom: 8px; }.code-window pre { padding: 22px 18px; font-size: 11px; }.code-result { align-items: flex-start; flex-direction: column; gap: 7px; padding: 15px 18px; }.trust-inner { display: block; padding: 25px 0; }.trust-inner p { margin-bottom: 15px; }.trust-inner ul { justify-content: flex-start; }.section, .developer-section { padding: 70px 0; }.section-intro { margin-bottom: 38px; }.feature-card, .step-card { padding: 22px; }.beta-panel { padding: 29px 24px; margin-bottom: 64px; }.site-footer { min-height: auto; }.faq-list summary { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.button, .site-nav a, .header-link, .site-footer nav a, .faq-list summary span { transition: none; } }

/* Legal pages (acceptable use, privacy) */
.legal { max-width: 760px; padding: 56px 0 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.65; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal code { background: rgba(15, 20, 32, 0.06); border-radius: 4px; padding: 1px 5px; font-size: 0.92em; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal-meta { font-size: 13px; margin-bottom: 32px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; }
.legal-table td { color: var(--ink-soft); }

/* Sign-in and dashboard */
.auth-panel { max-width: 520px; padding: 72px 0; }
.auth-panel h1 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 12px; }
.auth-panel p { color: var(--ink-soft); line-height: 1.6; }
.provider-buttons { display: grid; gap: 12px; margin: 32px 0; }
.provider-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-strong); font-weight: 600; transition: border-color 120ms ease, transform 120ms ease; }
.provider-button:hover { border-color: var(--ink); transform: translateY(-1px); }
.auth-fineprint { font-size: 13px; }
.auth-fineprint a { text-decoration: underline; text-underline-offset: 2px; }

/* Dashboard */
.dashboard { max-width: 860px; padding: 56px 0 80px; }
.dashboard h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; }
.dashboard h2 { font-size: 20px; margin: 40px 0 8px; }
.dashboard-meta, .dashboard-help { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.dashboard code { background: rgba(15, 20, 32, 0.06); border-radius: 4px; padding: 1px 6px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 8px; }
.stat { flex: 1 1 200px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--paper-strong); }
.stat-value { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.stat-label { color: var(--ink-soft); font-size: 13px; }
.key-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.key-table th, .key-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.key-table th { font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.key-table .revoked { color: var(--ink-soft); text-decoration: line-through; }
.key-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.key-actions .provider-button { flex: 0 1 auto; min-height: 44px; }
.key-notice { border: 1px solid var(--lime-dark); background: rgba(197, 245, 92, 0.18); border-radius: 14px; padding: 20px; margin: 28px 0; }
.key-notice strong { display: block; margin-bottom: 8px; }
.key-notice code { display: block; overflow-wrap: anywhere; background: var(--night); color: var(--paper); padding: 12px 14px; border-radius: 10px; margin: 10px 0; font-size: 13px; }
.link-button { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: 13px; }
.warn-notice { border: 1px solid var(--coral); background: rgba(255, 128, 104, 0.12); border-radius: 14px; padding: 16px 20px; margin: 24px 0; font-size: 14px; line-height: 1.6; }
.warn-notice strong { display: block; margin-bottom: 4px; }
