/* Documentation layout only. Actual component rules are scoped in landing-components.css. */
body { --border-default: var(--border-width) var(--border-style) var(--border-color); }
.site-main { min-width: 0; }
.doc-section, [id^="v1-"] { scroll-margin-top: 100px; }
#overview .txt-display { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.12; letter-spacing: -.035em; }
#overview .txt-body-lg { font-size: 18px; line-height: 1.65; max-width: 580px; }
#overview .hero-wrapper { grid-template-columns: 1.25fr 1fr; }
#overview .hero-info { gap: 22px; }
.hero-illustration-label { position: absolute; bottom: 0; right: 0; font-size: 12px; color: var(--text-secondary); }
.hero-logo-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v1-nav-mark { width: 20px; text-align: center; font-size: 20px; line-height: 1; color: var(--sidebar-text); }
.v1-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--color-corp-blue); margin-bottom: 8px; }
body.dark-mode .v1-eyebrow { color: #a3c9ff; }
.v1-canvas { background: var(--kb-background-page); color: var(--kb-text-primary); font: 400 16px/24px var(--kb-font-family-ui); padding: 28px; border-radius: 16px; min-width: 0; }
.v1-canvas h3 { font-size: 20px; line-height: 30px; font-weight: 600; margin: 0 0 8px; }
.v1-canvas .kb-field { margin: 24px 0; }
.v1-canvas .kb-field:first-child { margin-top: 24px; }
.v1-canvas .kb-surface-description { margin: 8px 0 0; }
.v1-canvas .kb-inset p { margin-top: 8px; }
.v1-canvas .example-actions, .v1-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 0; }
.v1-canvas .v1-actions-row:first-child { margin-top: 0; }
.v1-canvas [role="status"] { margin-top: 16px; }
.v1-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.v1-benefits h3 { font-size: 15px; margin-bottom: 6px; }
.v1-benefits p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.v1-foundation-grid, .v1-adoption-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.v1-doc-card { padding: 24px; border: var(--border-default); border-radius: 12px; background: var(--bg-primary); min-width: 0; }
.v1-doc-card h3 { font-size: 18px; margin-bottom: 10px; }
.v1-doc-card p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); margin: 10px 0 14px; }
.v1-doc-card a, .v1-usage a { color: var(--text-primary); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.v1-doc-card dl { margin: 16px 0; font-size: 13px; }
.v1-doc-card dt { color: var(--text-secondary); margin-top: 10px; }
.v1-doc-card dd { overflow-wrap: anywhere; font-family: ui-monospace, monospace; margin-top: 2px; }
.v1-doc-card pre { overflow: auto; max-width: 100%; font-size: 12px; line-height: 1.7; padding: 16px; background: var(--bg-secondary); border-radius: 8px; margin: 16px 0; }
.v1-doc-card .v1-small { font-size: 12px; }
.v1-type-sample { font-family: var(--kb-font-family-ui); font-size: var(--kb-type-step-title-size); line-height: var(--kb-type-step-title-line-height); font-weight: var(--kb-type-step-title-weight); margin: 16px 0; }
.v1-swatch-row { display: flex; gap: 8px; margin: 16px 0; }
.v1-swatch { width: 42px; height: 32px; border-radius: 6px; border: 1px solid var(--border-color); }
.v1-swatch-brand { background: var(--kb-brand-primary); }
.v1-swatch-surface { background: var(--kb-surface-content); }
.v1-swatch-border { background: var(--kb-field-border); }
.v1-component-group { display: flex; flex-direction: column; gap: 40px; }
.v1-component-group > .doc-section { margin: 0; padding-bottom: 24px; }
.v1-state-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
.v1-usage { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.v1-pilot { background: var(--bg-secondary); border-left: 3px solid var(--color-corp-blue); padding: 24px; border-radius: 0 8px 8px 0; }
.v1-pilot h3 { margin-bottom: 8px; }
.v1-reference-disclosure { min-width: 0; border: var(--border-default); border-radius: 12px; }
.v1-reference-disclosure > summary { padding: 20px 24px; cursor: pointer; font-weight: 600; }
.v1-reference-content { padding: 24px; display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.v1-reference-content .section-title { font-size: 24px; }
/* Dialog presentation uses the same layout and lifecycle as the accepted surface example. */
.v1-demo .kb-dialog h2 { margin: 0; font: 600 20px/28px var(--kb-font-family-ui); }
.v1-demo .kb-dialog-header p { margin: 6px 0 0; font-size: 14px; line-height: 20px; }
.v1-demo .kb-dialog .kb-field { margin-top: 24px; }
.v1-demo .choice-fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.v1-demo .choice-fieldset legend { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.v1-demo .choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.v1-demo .template-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.v1-demo .kb-choice { font-size: 14px; line-height: 20px; }
.v1-demo .kb-choice small { display: block; font-size: 12px; line-height: 18px; margin-top: 8px; color: inherit; }
.v1-demo .kb-dialog summary { cursor: pointer; margin-top: 16px; }
@media (max-width:1100px) { #overview .hero-wrapper { grid-template-columns: 1fr; } #overview .hero-visual { height: 250px; } .v1-benefits { gap: 16px; } }
@media (max-width:767px) { .v1-benefits, .v1-foundation-grid, .v1-adoption-grid, .v1-state-grid { grid-template-columns: 1fr; } .v1-canvas { padding: 16px; } #overview .hero-wrapper { grid-template-columns: 1fr; } .v1-reference-content { padding: 12px; } .v1-demo .choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:639px) { .v1-canvas { padding: 12px; border-radius: 12px; } .hero-actions-container .kb-button { width: 100%; } #overview .hero-visual { height: 220px; } .v1-demo .choice-grid, .v1-demo .template-grid { grid-template-columns: 1fr; } .v1-demo .kb-dialog h2 { font-size: 18px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .site-main, body, .hero-widget { transition: none; } }
