@font-face {
  font-family: Geist;
  src: url("assets/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f6f6f8;
  --white: #fff;
  --ink: #242735;
  --muted: #57596c;
  --line: #dfe0e8;
  --accent: #6650a4;
  --accent-deep: #503882;
  --wash: #eeeaf6;
  --dark: #221b35;
  --dark-line: #4b3e61;
  --dark-text: #e1d9ee;
  --dark-muted: #c9b9e4;
  --mono: "Geist Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 15px/1.55 Geist, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #a282e0; outline-offset: 4px; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 10px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 96px, 1248px); margin-inline: auto; }
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: .03em; }
.wordmark:hover { text-decoration: none; }
.wordmark b { color: var(--accent); font-weight: 600; }
.brand-mark { display: inline-block; flex: 0 0 auto; width: 32px; height: 32px; background: currentColor; mask: url("assets/hybrid-mark.png") center / 145% no-repeat; }
.topbar nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 14px; font-weight: 550; color: var(--muted); }
.nav-ask { color: var(--accent-deep); }
.workspace-link { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 42px; padding: 8px 15px; border: 1px solid #cec5df; border-radius: 5px; background: var(--white); color: var(--accent-deep); font-size: 13px; font-weight: 640; white-space: nowrap; }
.workspace-link:hover { background: var(--wash); text-decoration: none; }
.hero { padding: 69px 0 74px; background: radial-gradient(ellipse at 90% 27%, #e8e0f3 0%, #f6f6f8 61%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.overline { margin: 0 0 12px; color: var(--accent-deep); font: 550 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-copy > .overline { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; }
.overline .brand-mark { width: 16px; height: 16px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(52px, 6.2vw, 90px); font-weight: 660; line-height: .98; letter-spacing: -.078em; }
h1 span { color: var(--accent); }
.hero-description { max-width: 46ch; margin-bottom: 28px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; }
.composer { padding: 13px 13px 12px 16px; border: 1px solid #bab1d0; border-radius: 10px; background: var(--white); box-shadow: 0 4px 16px #2427350b; }
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #6650a41e; }
.composer label { display: block; color: var(--accent-deep); font-size: 12px; font-weight: 670; }
.composer textarea { display: block; width: 100%; min-height: 52px; margin: 5px 0 2px; padding: 0 3px 0 0; resize: vertical; border: 0; outline: 0; background: transparent; color: var(--ink); line-height: 1.4; }
.composer textarea::placeholder { color: var(--muted); opacity: 1; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.composer-footer > span { color: var(--muted); font: 11px var(--mono); }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 38px; padding: 7px 13px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: white; font-size: 13px; font-weight: 620; }
.primary:hover { background: var(--accent-deep); }
.suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.suggestions > span { margin-right: 3px; font: 11px var(--mono); color: var(--muted); }
.suggestions button { min-height: 32px; padding: 4px 9px; background: transparent; border: 1px solid #d5cde1; border-radius: 4px; color: var(--accent-deep); font-size: 12px; }
.suggestions button:hover, .suggestions button[aria-pressed="true"] { background: var(--wash); border-color: #bdb0d8; }
.answer { overflow: hidden; border: 1px solid #382d4d; border-radius: 12px; background: var(--dark); color: white; box-shadow: 0 18px 48px #43305d2a; }
.answer-top { min-height: 62px; padding: 11px 23px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--dark-line); background: #2b2142; }
.answer-brand { display: flex; gap: 8px; align-items: center; font-weight: 630; }
.answer-brand .brand-mark { width: 22px; height: 22px; color: #c7b0f0; }
.preview-tag { display: flex; align-items: center; gap: 6px; color: var(--dark-text); font: 11px var(--mono); }
.preview-tag > span[aria-hidden] { width: 6px; height: 6px; border-radius: 50%; background: #c7b0f0; }
.answer-main { padding: 26px 26px 20px; }
.answer-topic { margin-bottom: 8px; color: var(--dark-muted); font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.answer h2 { margin: 0 0 10px; font-size: clamp(25px, 2.6vw, 36px); font-weight: 620; line-height: 1.14; letter-spacing: -.045em; }
.answer-description { margin-bottom: 17px; color: var(--dark-text); line-height: 1.55; }
.answer-steps { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.answer-steps li { display: flex; align-items: baseline; gap: 9px; font-size: 14px; }
.answer-steps li::before { content: "→"; color: #c7b0f0; flex: 0 0 auto; }
.answer-sources { display: flex; align-items: flex-start; gap: 10px 12px; margin: 0 26px; padding: 13px 0 15px; border-top: 1px solid var(--dark-line); }
.answer-sources > span { padding-top: 5px; color: var(--dark-muted); font: 11px var(--mono); }
.source-links { display: flex; flex-wrap: wrap; gap: 6px; }
.source-links a { padding: 2px 7px; border: 1px solid #685880; border-radius: 4px; color: var(--dark-text); font-size: 11px; }
.answer-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 26px; border-top: 1px solid var(--dark-line); background: #2b2142; font-size: 12px; font-weight: 590; }
.answer-footer a { padding-block: 4px; }
.answer-footer a span { margin-left: 4px; color: #c7b0f0; }
.section { padding: 48px 0 52px; border-top: 1px solid var(--line); }
.catalog { background: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 23px; }
.section-heading .overline { margin-bottom: 8px; }
.section h2 { margin: 0; font-weight: 640; font-size: clamp(28px, 3.35vw, 47px); letter-spacing: -.055em; line-height: 1.06; }
.section-heading > p { width: min(38ch, 45%); color: var(--muted); margin: 0; }
.catalog-grid, .guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.catalog-card { display: flex; flex-direction: column; align-items: start; gap: 13px; border: 1px solid var(--line); border-radius: 7px; padding: 20px; background: #fbfbfc; }
.catalog-icon { display: grid; place-items: center; min-width: 38px; height: 35px; border-radius: 5px; font: 590 12px var(--mono); }
.id-card .catalog-icon { color: var(--id-accent); background: var(--id-hover); }
.cortex-card .catalog-icon { color: var(--accent-deep); background: var(--wash); }
.chain-card .catalog-icon { color: #25549b; background: #e9eff9; }
.catalog-card h3, .guide h3 { margin: 0 0 3px; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.catalog-card p, .guide-steps p { color: var(--muted); margin: 0; }
.catalog-card a { color: var(--accent-deep); font-size: 13px; font-weight: 610; margin-top: auto; }
.guide-steps { margin: 0 0 35px; padding: 0; list-style: none; }
.guide-steps li { border-top: 1px solid #c9bedc; padding: 14px 8px 0 0; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { padding-block: 53px; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 36px); }
  .topbar-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 11px; }
  .topbar nav { grid-row: 2; grid-column: 1 / -1; gap: 22px; padding: 11px 0 12px; }
  .topbar .workspace-link { min-height: 36px; padding: 5px 8px; gap: 5px; font-size: 11px; }
  .hero { padding-block: 36px 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-break { display: none; }
  h1 { max-width: 11ch; font-size: clamp(52px, 10vw, 75px); }
  .hero-description { margin-bottom: 21px; }
  .section { padding-block: 34px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 18px; }
  .section-heading > p { width: auto; }
  .catalog-grid, .guide-steps { grid-template-columns: 1fr; }
  .catalog-card { padding: 15px; display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; align-items: start; }
  .catalog-card a { grid-column: 2; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 16px; gap: 8px; }
  .wordmark .brand-mark { width: 28px; height: 28px; }
  .topbar nav { gap: 15px; font-size: 12px; }
  .answer-top, .answer-main, .answer-footer { padding-inline: 15px; }
  .answer-sources { margin-inline: 15px; }
}
[hidden] { display: none !important; }
@media (max-width: 375px) {
  .topbar-inner { column-gap: 7px; }
  .topbar .workspace-link { white-space: normal; max-width: 104px; line-height: 1.2; }
  h1 { font-size: clamp(43px, 14vw, 52px); }
}

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(9px, 2vw, 22px); }
.hero { padding-bottom: 44px; }
.hero-grid { column-gap: clamp(28px, 6vw, 88px); row-gap: 34px; }
.account-invitation {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 13px 18px;
  border: 1px solid #d8cfe7;
  border-radius: 7px;
  background: #ffffffad;
}
.account-copy strong { font-size: 14px; font-weight: 650; }
.account-copy p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.account-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; flex-shrink: 0; }
.account-links a { color: var(--accent-deep); font-size: 13px; font-weight: 600; }
.account-links .account-create { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 4px; background: var(--wash); }
.footer-surface { background: var(--white); border-top: 1px solid var(--line); }
.footer-surface footer.cortex-footer { --gutter: 0px; width: min(100% - 96px, 1248px); padding-inline: 0; border-top: 0; }
footer.cortex-footer .ecosystem-strip[data-hybrid-ecosystem="agentic"] { --eco-text: var(--footer-ink); --eco-muted: var(--footer-muted); --eco-accent: var(--footer-accent); --eco-line: var(--footer-line); margin: 0; padding: 16px 0; }
@media (max-width: 1050px) {
  .footer-surface footer.cortex-footer { width: calc(100% - 64px); }
  .topbar-inner { gap: 14px; }
  .topbar nav { gap: 14px; }
}
@media (max-width: 820px) {
  .footer-surface footer.cortex-footer { width: calc(100% - 36px); }
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; }
  .topbar nav { grid-column: 1 / -1; grid-row: 2; gap: 8px 14px; flex-wrap: wrap; }
  .header-actions { display: contents; }
  .header-actions .workspace-link { grid-column: 2; grid-row: 1; }
  .account-invitation { align-items: start; flex-direction: column; padding: 14px; }
}
@media (max-width: 420px) {
  .topbar nav { font-size: 11px; gap: 4px 8px; }
}
@media (max-width: 375px) {
  .topbar .workspace-link { max-width: none; }
}
.answer-save { color: inherit; background: transparent; border: 1px solid var(--dark-line); border-radius: 4px; padding: 4px 8px; font-size: inherit; font-weight: inherit; }
.answer-save:hover { background: var(--dark); }
.portal-access-status { padding: 12px; margin-block: 12px; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; }

.answer-main { overflow-wrap: anywhere; }
.answer-footer .answer-save { background: #e7dcf8; color: #2a1945; border-color: #e7dcf8; padding: 6px 10px; }
.answer-footer .answer-save:hover { background: #fff; }
.portal-access-status a { color: var(--accent-deep); text-decoration: underline; }
