/* Marketing surfaces inherit the approved product palette and typography. */
.landing-page { --landing-muted: color-mix(in srgb, var(--muted) 94%, var(--ink)); font-size: 14px; line-height: 1.55; }
.landing-page svg { width: 20px; height: 20px; flex-shrink: 0; }
.landing-page a { color: inherit; }
.landing-page button { color: inherit; cursor: pointer; }
.landing-page [hidden] { display: none !important; }
.landing-page :is(a, button, textarea, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent-violet); outline-offset: 4px; }
.landing-page :is(section, details, main) { scroll-margin-top: 100px; }
.landing-container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.landing-page h1, .landing-page h2, .landing-page h3 { font-family: "Satoshi", "Instrument Sans", sans-serif; font-weight: 600; }
.landing-page h2 { margin: 0; font-size: 34px; line-height: 1.12; letter-spacing: -.045em; }
.landing-page p { margin: 0; }
.landing-page .site-header { padding-inline: max(24px, calc((100% - 1200px) / 2)); gap: 20px; box-shadow: none; }
.landing-page .site-header::after { display: none; }
.landing-nav { display: flex; align-items: center; gap: 28px; margin-right: 20px; }
.landing-nav a, .landing-footer a { text-decoration: none; font-size: 13px; }
.landing-nav a:hover, .landing-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.discord-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.landing-page .discord-icon { width: 20px; height: 15px; }
.landing-page .theme-toggle { background: transparent; }
.landing-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 36px; padding: 8px 16px; font-size: 13px; line-height: 20px; font-weight: 600; border-radius: 6px; text-decoration: none; border: 1px solid transparent; }
.landing-page .landing-primary { background: var(--brand-gradient); color: #171815; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.landing-page .tool { color: var(--ink); background: var(--elevated); border: 1px solid var(--line); }
.landing-primary:hover { filter: brightness(1.08); }
.landing-secondary { border-color: var(--line); background: var(--surface); }
.landing-secondary:hover { background: var(--elevated); }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 12px 20px; background: var(--elevated); border: 1px solid var(--line); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.landing-hero { padding-top: 140px; padding-bottom: 48px; text-align: center; }
.landing-page .hero-intro { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--landing-muted); margin-bottom: 20px; }
.hero-intro svg { width: 17px; height: 17px; }
.landing-hero h1 { font-size: 48px; line-height: 1.04; letter-spacing: -.05em; margin: 0; }
.landing-page .hero-description { max-width: 530px; margin: 22px auto 24px; font-size: 16px; line-height: 1.65; color: var(--landing-muted); text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.landing-page .hero-footnote { font-size: 11px; color: var(--landing-muted); margin-top: 16px; }
.example-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 16px; }
.example-tabs { display: flex; gap: 4px; }
.example-tabs button { border: 1px solid transparent; border-radius: 6px; background: transparent; padding: 8px 14px; font-size: 12px; color: var(--landing-muted); }
.example-tabs button[aria-selected="true"] { border-color: var(--line); background: var(--elevated); color: var(--ink); box-shadow: 0 1px 2px var(--subtle-shadow); }
.example-tabs button:hover { color: var(--ink); }
.example-label { font-size: 11px; color: var(--landing-muted); }
.example-window { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 16px 48px -24px var(--subtle-shadow), 0 4px 12px -6px var(--subtle-shadow); overflow: hidden; }
.example-toolbar { min-height: 52px; display: flex; align-items: center; padding: 10px 20px; gap: 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.example-file { display: flex; align-items: center; gap: 9px; font-size: 12px; min-width: 0; }
.example-file svg { color: var(--landing-muted); width: 18px; height: 18px; }
.example-version { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--landing-muted); border-left: 1px solid var(--line); padding-left: 16px; }
.example-share { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; background: var(--elevated); font-size: 11px; white-space: nowrap; }
.example-share svg { width: 14px; height: 14px; }
.example-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 308px; min-height: 426px; }
.example-document { background: #fcfcf9; color: #171815; min-width: 0; }
.example-panel { padding: 28px 40px 32px; min-height: 426px; }
.document-byline { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; }
.document-symbol { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; background: #171815; color: #fcfcf9; font-size: 17px; }
.document-byline > span:last-child { margin-left: auto; color: #686b65; font-size: 9px; font-weight: 400; }
.example-panel h2 { margin: 24px 0 12px; font-size: 34px; line-height: 1.05; }
.landing-page .document-summary { max-width: 440px; color: #686b65; font-size: 12px; line-height: 1.6; }
.document-section-nav { display: flex; gap: 22px; border-bottom: 1px solid #dadcd5; margin-top: 22px; color: #686b65; font-size: 10px; }
.document-section-nav span { padding-bottom: 9px; }
.document-section-nav .is-current { border-bottom: 1px solid #171815; color: #171815; }
.report-findings { display: grid; grid-template-columns: .9fr 1.2fr; gap: 32px; padding-top: 20px; }
.document-label { color: #686b65; font-size: 10px; }
.report-findings p { font: 600 16px/1.35 "Satoshi", sans-serif; max-width: 200px; margin-top: 6px; }
.document-source { display: block; margin-top: 16px; font-size: 9px; color: #686b65; }
.chart-wrap { position: relative; border: 1px solid #ff6a44; background: #fff0eb; padding: 10px 12px 8px; border-radius: 6px; }
.chart-key { display: flex; gap: 6px; align-items: center; font-size: 9px; }
.chart-key > span:first-child { width: 6px; height: 6px; border-radius: 2px; background: #171815; }
.demo-chart { display: flex; align-items: stretch; gap: 16px; height: 95px; padding-top: 6px; }
.demo-chart > div { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.demo-chart span, .demo-chart small { font-family: "Geist Mono", monospace; font-size: 8px; }
.demo-chart i { display: block; background: #171815; width: 100%; height: calc(var(--bar-height) * .6); border-radius: 2px 2px 0 0; }
.demo-chart > div:last-child i { background: #ff6a44; }
.landing-page .demo-pin { position: absolute; right: -11px; top: -11px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #ff6a44; color: #171815; box-shadow: 0 0 0 1px #171815; font-size: 10px; font-weight: 600; }
.example-feedback { display: flex; flex-direction: column; gap: 16px; padding: 18px 16px 16px; border-left: 1px solid var(--line); min-width: 0; }
.feedback-heading { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.feedback-heading > span:first-child { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.feedback-heading svg { width: 16px; height: 16px; }
.feedback-count { font-size: 10px; color: var(--landing-muted); }
.example-thread { background: linear-gradient(135deg, var(--accent-soft), var(--violet-soft)); border: 1px solid var(--selected-border); border-radius: 8px; padding: 12px; }
.thread-context { display: flex; align-items: center; gap: 7px; font-size: 10px; margin-bottom: 10px; }
.thread-context > span:first-child { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #171815; font-size: 9px; font-weight: 600; }
.demo-comment, .demo-agent-reply { background: var(--selected-comment); border: 1px solid var(--selected-comment-line); border-radius: 6px; padding: 10px; }
.demo-author { display: flex; align-items: center; gap: 7px; font-size: 10px; }
.demo-author > span:last-child:not(.demo-avatar) { margin-left: auto; color: var(--landing-muted); font-size: 9px; }
.demo-avatar { display: inline-grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; background: var(--faint); color: var(--ink); font-size: 9px; }
.demo-comment p, .demo-agent-reply p { margin-top: 9px; font-size: 12px; line-height: 1.65; }
.demo-agent-reply { margin-top: 10px; }
.agent-avatar svg { width: 15px; height: 15px; }
.preview-revision { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; border: 1px solid var(--selected-border); border-radius: 6px; background: var(--surface); min-height: 30px; font-size: 10px; }
.preview-revision svg { width: 13px; height: 13px; }
.demo-local-comments:empty { display: none; }
.demo-local-comments { display: grid; gap: 8px; max-height: 180px; overflow-y: auto; }
.demo-local-comments p { overflow-wrap: anywhere; }
.demo-composer { margin-top: auto; }
.demo-composer label { display: block; font-size: 10px; margin-bottom: 7px; }
.demo-composer textarea { display: block; width: 100%; resize: vertical; min-height: 66px; max-height: 160px; background: var(--elevated); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 10px; font-size: 11px; }
.demo-composer textarea::placeholder { color: var(--landing-muted); }
.demo-composer > div { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-size: 9px; color: var(--landing-muted); }
.demo-composer button { display: grid; place-items: center; width: 30px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: var(--brand-gradient); color: #171815; }
.demo-composer button svg { width: 16px; height: 16px; }
.example-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 9px 16px; font-size: 9px; color: var(--landing-muted); }
.example-status > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.example-status svg { width: 12px; height: 12px; }
.landing-page .example-caption { text-align: center; font-size: 12px; color: var(--landing-muted); margin-top: 20px; }
.project-milestones { padding-top: 8px; }
.project-milestones > div { display: flex; align-items: center; position: relative; gap: 12px; padding: 12px 6px; border-bottom: 1px solid #dadcd5; font-size: 10px; }
.project-milestones strong, .project-milestones small { display: block; }
.project-milestones strong { font-weight: 500; font-size: 12px; }
.project-milestones small { color: #686b65; font-size: 10px; margin-top: 2px; }
.project-milestones > div > span:last-child { margin-left: auto; color: #686b65; }
.milestone-done, .milestone-active, .milestone-next { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #dadcd5; border-radius: 50%; }
.milestone-done { color: #16845b; }
.milestone-active { border: 5px solid #ff6a44; }
.project-milestones .milestone-selected { border: 1px solid #ff6a44; border-radius: 6px; background: #fff0eb; padding-inline: 6px; }
.guide-interaction { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 20px; }
.guide-interaction strong { display: block; font: 600 24px/1.2 "Satoshi", sans-serif; margin-top: 8px; }
.guide-interaction label { display: block; font-size: 10px; color: #686b65; margin-top: 12px; }
.guide-interaction input { width: 100%; margin: 8px 0 0; accent-color: #171815; }
.guide-result { position: relative; border: 1px solid #ff6a44; border-radius: 6px; background: #fff0eb; padding: 12px; }
.guide-result p { font-size: 10px; color: #686b65; margin-top: 12px; }
.workflow-section { padding-top: 100px; padding-bottom: 80px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.section-heading > p { max-width: 330px; color: var(--landing-muted); font-size: 14px; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 40px 0 0; padding: 0; }
.workflow-steps li { padding-top: 20px; border-top: 1px solid var(--line); }
.step-heading { display: flex; justify-content: space-between; align-items: center; color: var(--landing-muted); }
.step-heading > span { font: 400 11px/1 "Geist Mono", monospace; }
.step-heading svg { width: 22px; height: 22px; color: var(--ink); }
.workflow-steps h3 { margin: 24px 0 10px; font-size: 16px; }
.workflow-steps p { color: var(--landing-muted); font-size: 13px; max-width: 300px; line-height: 1.8; }
.agent-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.connection-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; color: var(--landing-muted); font-size: 11px; }
.connection-label svg { width: 15px; height: 15px; }
.agent-section h2 { font-size: 24px; line-height: 1.2; }
.agent-copy > p { margin: 18px 0 20px; font-size: 13px; line-height: 1.85; color: var(--landing-muted); max-width: 375px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 15px; height: 15px; }
.agent-note { border: 1px solid var(--line); border-radius: 8px; background: var(--elevated); padding: 16px 20px; margin-right: 32px; }
.agent-source-icon { display: inline-flex; }
.agent-source-icon svg { width: 18px; height: 18px; }
.agent-source-details { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.agent-source-details span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; color: var(--landing-muted); }
.agent-note p { margin: 12px 0 0; font-size: 14px; }
.agent-connector { height: 60px; display: flex; align-items: center; gap: 8px; padding-left: 28px; font-size: 10px; color: var(--landing-muted); }
.agent-connector > span:first-child { height: 60px; border-left: 1px dashed var(--line); margin-right: 12px; }
.agent-connector svg { width: 14px; height: 14px; }
.agent-result { margin-left: 32px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--elevated); }
.agent-result > div { display: flex; align-items: center; gap: 12px; }
.agent-result-icon { display: grid; place-items: center; width: 36px; height: 40px; border: 1px solid var(--line); border-radius: 6px; }
.agent-result strong, .agent-result small { display: block; }
.agent-result strong { font-size: 12px; }
.agent-result small { color: var(--landing-muted); margin-top: 4px; font-size: 10px; }
.revision-tag { font: 400 11px/1 "Geist Mono", monospace; color: var(--landing-muted); }
.landing-page .agent-visual-note { text-align: right; margin-top: 16px; color: var(--landing-muted); font-size: 10px; }
.usecases-section { padding-block: 96px; }
.usecase-list { margin-top: 40px; border-top: 1px solid var(--line); }
.usecase-list > a { display: grid; grid-template-columns: 36px 1fr 1fr 138px; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.usecase-list > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.usecase-icon { display: grid; place-items: center; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.usecase-icon svg { width: 18px; height: 18px; }
.usecase-list h3 { font-size: 16px; margin: 0; max-width: 240px; line-height: 1.4; }
.usecase-list p { color: var(--landing-muted); font-size: 12px; max-width: 310px; }
.usecase-action { justify-self: end; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; }
.usecase-action svg { width: 16px; height: 16px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; padding-bottom: 88px; }
.faq-section h2 { font-size: 24px; }
.faq-section > div > p { color: var(--landing-muted); margin-top: 12px; font-size: 13px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--landing-muted); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { font-size: 13px; line-height: 1.8; color: var(--landing-muted); padding: 0 24px 20px 0; }
.closing-section { display: flex; align-items: center; flex-direction: column; text-align: center; border-top: 1px solid var(--line); padding: 64px 0 72px; }
.closing-section h2 { margin-top: 20px; }
.landing-page .closing-section p { margin: 18px 0 24px; color: var(--landing-muted); }
.closing-mark { width: 64px; height: 64px; }
.landing-footer { display: flex; gap: 32px; align-items: center; padding-block: 24px; border-top: 1px solid var(--line); }
.landing-footer .footer-brand { font: 600 20px/1 "Satoshi", sans-serif; letter-spacing: -.045em; }
.landing-footer p { color: var(--landing-muted); font-size: 11px; }
.landing-footer nav { display: flex; gap: 24px; margin-left: auto; }
.landing-footer nav a { font-size: 11px; color: var(--landing-muted); }
@media (max-width: 1000px) {
  .landing-nav { gap: 18px; margin-right: 0; }
  .landing-page .site-header { gap: 12px; }
  .example-panel { padding-inline: 24px; }
  .example-workspace { grid-template-columns: minmax(0, 1fr) 280px; }
  .report-findings { gap: 18px; }
  .agent-section { padding: 32px; gap: 32px; }
  .usecase-list > a { grid-template-columns: 36px 1fr 1fr; gap: 18px; }
  .usecase-action { display: none; }
}
@media (max-width: 760px) {
  .landing-container { width: calc(100% - 40px); }
  .landing-nav { display: none; }
  .landing-page .site-header { padding-inline: 16px; gap: 8px; }
  .landing-hero { padding-top: 124px; padding-bottom: 36px; }
  .landing-hero h1 { font-size: 40px; }
  .landing-page .hero-description { max-width: 430px; font-size: 14px; }
  .example-label { display: none; }
  .example-workspace { grid-template-columns: 1fr; }
  .example-panel { min-height: 414px; padding: 24px 32px; }
  .example-feedback { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .feedback-heading { grid-column: 1 / -1; }
  .example-thread { grid-column: 1; }
  .demo-composer { grid-column: 2; grid-row: 2; align-self: end; }
  .demo-local-comments { grid-column: 1 / -1; }
  .example-status { font-size: 9px; }
  .example-status > span:first-child { display: none; }
  .section-heading { align-items: flex-start; gap: 20px; flex-direction: column; }
  .section-heading > p { max-width: 430px; }
  .workflow-section { padding-top: 64px; padding-bottom: 56px; }
  .workflow-steps { gap: 24px; }
  .agent-section { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .agent-copy > p { max-width: none; }
  .agent-visual { max-width: 440px; width: 100%; justify-self: center; }
  .usecases-section { padding-block: 64px; }
  .usecase-list > a { grid-template-columns: 32px 1fr; padding-block: 22px; gap: 8px 16px; }
  .usecase-list h3 { max-width: none; }
  .usecase-list p { grid-column: 2; max-width: none; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; }
  .landing-footer { flex-wrap: wrap; gap: 16px; }
  .landing-footer p { margin-left: auto; }
  .landing-footer nav { width: 100%; margin-left: 0; }
}
@media (max-width: 480px) {
  .landing-container { width: calc(100% - 32px); }
  .landing-page .brand-name { font-size: 20px; }
  .landing-page .brand-link { gap: 3px; }
  .landing-page .nav-cta { font-size: 11px; padding-inline: 10px; }
  .landing-page .site-header { padding-inline: 10px; gap: 4px; }
  .landing-hero h1 { font-size: 34px; line-height: 1.1; }
  .landing-hero { padding-top: 110px; }
  .landing-page .hero-description { font-size: 14px; margin-top: 18px; }
  .landing-button { font-size: 12px; padding-inline: 12px; gap: 8px; }
  .landing-button svg { width: 17px; height: 17px; }
  .example-tabs { width: 100%; justify-content: space-between; gap: 0; }
  .example-tabs button { padding: 8px; font-size: 10px; }
  .example-toolbar { padding: 10px 12px; gap: 8px; }
  .example-file { font-size: 10px; gap: 5px; }
  .example-version { font-size: 9px; padding-left: 8px; }
  .example-share { padding: 5px; }
  .example-share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .example-panel { padding: 20px; min-height: 0; }
  .document-byline > span:last-child { font-size: 8px; }
  .example-panel h2 { font-size: 28px; margin-top: 24px; }
  .report-findings { grid-template-columns: 1fr; padding-top: 16px; gap: 18px; }
  .report-findings p { max-width: none; font-size: 14px; }
  .document-source { margin-top: 6px; }
  .demo-chart { height: 100px; }
  .example-feedback { display: flex; padding: 16px; }
  .demo-composer { width: 100%; }
  .landing-page .example-caption { font-size: 11px; padding-inline: 10px; }
  .landing-page h2 { font-size: 28px; }
  .example-panel h2 { font-size: 28px; }
  .workflow-steps { grid-template-columns: 1fr; margin-top: 28px; gap: 24px; }
  .workflow-steps h3 { margin-top: 14px; }
  .workflow-steps p { max-width: none; }
  .agent-section { padding: 24px 20px; }
  .agent-section h2, .faq-section h2 { font-size: 24px; }
  .agent-note { margin-right: 12px; padding: 14px; }
  .agent-result { margin-left: 12px; padding: 14px; }
  .guide-interaction { gap: 12px; }
  .guide-interaction strong { font-size: 20px; }
  .guide-result { padding: 10px; }
  .closing-section { padding-block: 48px; }
  .landing-footer p { font-size: 10px; }
}
