/* Engineering field notes — shared chrome, with a product-focused home. */
:root {
  --paper: #f4f1e9;
  --paper-deep: #e9e5da;
  --white: #fffdf8;
  --ink: #101113;
  --muted: #6f706d;
  --line: rgba(16, 17, 19, .14);
  --orange: #e35b2d;
  --orange-deep: #ad3b18;
}
::selection { background: #fbd6c6; color: #20231f; }
html { scroll-padding-top: 110px; }
.topbar { padding: 20px max(28px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid var(--line); background: rgba(244,241,233,.97); }
.topbar.is-scrolled { padding-top: 14px; padding-bottom: 14px; box-shadow: none; }
.brand-mark span { background: #101113; }
.brand-mark span:nth-child(2) { background: #ec6b38; }
.desktop-nav { gap: 28px; font-size: 13px; }
.desktop-nav a { padding: 10px 0; color: var(--muted); }
.desktop-nav .is-current { color: var(--ink); box-shadow: 0 2px var(--orange); }
.topbar-actions { gap: 10px; }
.button { min-height: 48px; border-radius: 3px; font-size: 13px; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 40px; }
.button-star { border-color: var(--line); }
.language-switcher { border-color: transparent; font-size: 12px; }
.topbar-actions .button-sponsor { border: 0; background: transparent; color: var(--muted); padding: 0 8px; }
.topbar-actions .button-sponsor:hover { background: var(--paper-deep); color: var(--ink); }
.page-section, .signal-strip { width: min(1280px, calc(100% - 80px)); }
.footer { padding: 30px max(28px, calc((100vw - 1280px) / 2)); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.footer-links { color: var(--muted); }
.footer-tagline { color: var(--muted); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; }

.field-heading { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .08em; }
.field-heading span:first-child { color: var(--ink); }
.field-heading i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: #63775b; border-radius: 50%; }
.home-page .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 64px; min-height: 620px; padding-top: 58px; padding-bottom: 64px; }
.home-page .hero .eyebrow { font-size: 10px; letter-spacing: .1em; }
.home-page .hero .status-dot { width: 7px; height: 7px; border-radius: 0; box-shadow: none; }
.home-page .hero h1 { margin: 26px 0; font-size: clamp(42px, 4.5vw, 66px); font-weight: 700; line-height: 1.2; letter-spacing: -.055em; }
.home-page h1 em { color: var(--orange-deep); }
.home-page .hero-lede { max-width: 490px; font-size: 15px; line-height: 1.95; color: var(--muted); }
.home-page .hero-actions { margin-top: 26px; gap: 12px; }
.home-page .hero-actions .button:first-child { background: #c64d28; border-color: #c64d28; color: #fff; }
.home-page .hero-actions .button:first-child:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.home-page .hero-benefits { display: none; }
.home-page .hero-meta { gap: 14px; margin-top: 22px; font-size: 9px; }
.quick-install { display: flex; align-items: center; max-width: 390px; margin-top: 26px; padding: 8px 9px 8px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-deep); gap: 12px; }
.quick-install > span { color: var(--orange-deep); font: 12px var(--mono); }
.quick-install code { flex: 1; font: 12px var(--mono); }
.quick-install button { width: 36px; height: 32px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.quick-install button:hover { background: #ddd8cc; color: var(--ink); }
.home-page .hero-visual { width: 100%; margin: 0; min-width: 0; padding: 28px 0; }
.visual-glow { display: none; }
.workbench-caption { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; margin-bottom: 12px; }
.workbench-caption > span:first-child { color: var(--orange-deep); }
.home-page .terminal-window { border-radius: 5px; border: 1px solid #303332; background: #171819; box-shadow: 0 18px 38px -22px rgba(16,17,19,.4); }
.home-page .terminal-bar { height: 44px; padding: 0 16px; background: #202222; }
.home-page .window-dots { gap: 5px; }
.home-page .window-dots i { width: 6px; height: 6px; }
.home-page .terminal-title { font-size: 10px; color: #c1c9bb; }
.home-page .terminal-preview { font-size: 9px; color: #c1c9bb; }
.workbench-layout { display: grid; grid-template-columns: 105px minmax(0, 1fr); }
.workbench-files { padding: 22px 13px; border-right: 1px solid #ffffff12; font: 9px/2.6 var(--mono); color: #a3ad9a; }
.workbench-files > span { display: block; }
.workbench-files .file-root { margin-bottom: 13px; color: #e4e8db; }
.workbench-files .file-selected { color: #edac7e; }
.home-page .terminal-body { min-height: 330px; padding: 24px 20px; font-size: 11px; line-height: 2; }
.home-page .syntax-comment { color: #a5bc91; }
.home-page .terminal-footer { font-size: 9px; color: #a0ac96; padding: 12px 16px; }
.workbench-note { display: flex; justify-content: space-between; gap: 10px; padding-top: 16px; color: var(--muted); font: 9px/1.8 var(--mono); }
.workbench-note span:first-child { color: var(--ink); }
.section-index { display: flex; gap: 28px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }
.section-index a { display: flex; gap: 12px; align-items: center; min-height: 28px; }
.section-index b { color: var(--orange-deep); font-weight: 400; }
.section-index a:hover { color: var(--ink); }
.home-page .signal-strip { border-color: var(--line); }
.home-page .signal-item, .home-page .signal-item:first-child { padding: 28px 24px; }
.home-page .signal-item:first-child { padding-left: 0; }
.home-page .signal-item strong { font: 500 clamp(26px, 3vw, 40px)/1.2 var(--mono); letter-spacing: -.07em; }
.home-page .signal-item span { font-size: 11px; color: var(--muted); }
.benchmark-note { padding-top: 12px; font-size: 10px; color: var(--muted); }
.home-page .intro { padding-top: 100px; padding-bottom: 90px; }
.home-page .section-heading h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.3; letter-spacing: -.045em; font-weight: 600; }
.home-page h2 span { color: var(--muted); }
.home-page .section-heading > p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.home-page .eyebrow-dark { color: var(--orange-deep); font-size: 10px; }
.home-page .feature-grid { gap: 0; margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-page .feature-card { min-height: 255px; border: 0; border-right: 1px solid var(--line); padding: 28px 24px; background: transparent; }
.home-page .feature-card:first-child { padding-left: 0; }
.home-page .feature-card:last-child { border-right: 0; }
.home-page .feature-number { font-size: 20px; }
.home-page .feature-tag { font-size: 9px; }
.home-page .feature-card h3 { margin: 30px 0 14px; font-size: 18px; font-weight: 600; }
.home-page .feature-card p { font-size: 13px; color: var(--muted); }
.home-page .feature-line { display: none; }
.home-page .architecture-section, .home-page .examples-section, .home-page .extension-section, .home-page .release-section { padding-bottom: 90px; }
.home-page .centered-heading { text-align: left; }
.home-page .centered-heading .eyebrow { justify-content: flex-start; }
.home-page .centered-heading > p { max-width: 650px; margin-left: 0; }
.home-page .architecture-map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: none; margin-top: 36px; }
.home-page .architecture-layer { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; margin: 0; min-height: 180px; padding: 22px 18px; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 3px; background: var(--white); }
.home-page .layer-name { font-size: 13px; }
.home-page .layer-label { font-size: 11px; }
.home-page .architecture-layer p { margin: 0; font-size: 11px; line-height: 1.8; }
.home-page .layer-arrow { display: none; }
.home-page .tone-mint { border-top-color: #7d9970; }
.home-page .tone-blue { border-top-color: #7392a0; }
.home-page .tone-violet { border-top-color: #9382a0; }
.home-page .tone-cream { border-top-color: #b6a06a; }
.home-page .code-lab { margin-top: 36px; box-shadow: none; border-radius: 4px; overflow: hidden; background: #1c1e1e; grid-template-columns: 190px minmax(0, 1fr); }
.home-page .code-panel pre { font-size: 12px; }
.home-page .code-panel-foot, .home-page .code-file { color: #b2bcaa; }
.home-page .code-tab { color: #abb6a3; }
.home-page .extension-card { min-height: 320px; background: var(--paper-deep); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.home-page .extension-copy { padding: 44px; }
.home-page .extension-copy h2 { font-size: 40px; line-height: 1.2; letter-spacing: -.04em; }
.home-page .extension-copy p { color: var(--muted); }
.home-page .extension-terminal { background: #1c1e1e; padding: 44px 30px; }
.home-page .extension-copy .light-link { color: var(--orange-deep); }
.home-page .release-grid { margin-top: 36px; gap: 24px; }
.home-page .release-card { min-height: 210px; padding: 24px 0; background: transparent; border-top-width: 1px; }
.home-page .release-card h3 { font-size: 18px; line-height: 1.6; }
.home-page .release-card p { color: var(--muted); }
.home-page .home-resources { padding-top: 0; padding-bottom: 90px; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.home-page .resource-card { padding: 30px; border-radius: 3px; background: var(--white); }
.home-page .resource-card h2 { font-size: 26px; font-weight: 600; }
.home-page .resource-card p { color: var(--muted); }
.home-page .resource-support { background: transparent; border-color: var(--line); }
.home-page .get-started-section { width: 100%; border-top: 1px solid var(--line); background: var(--paper-deep); padding: 70px 40px; }
.home-page .get-started-inner { max-width: 820px; text-align: left; }
.home-page .get-started-inner h2 { font-size: clamp(36px, 4vw, 54px); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.home-page .get-started-inner > p { margin-left: 0; font-size: 14px; }
.home-page .get-started-links { justify-content: flex-start; flex-wrap: wrap; }
.home-page .command-box { border-radius: 3px; background: #1c1e1e; }
.home-page .command-box code { font-size: 12px; }
.home-page .command-label { font-size: 11px; }

@media (max-width: 1100px) {
  .home-page .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .home-page .hero-visual { width: 100%; }
  .home-page .hero h1 { font-size: 44px; }
  .workbench-files { display: none; }
  .workbench-layout { grid-template-columns: minmax(0, 1fr); }
  .home-page .architecture-map { gap: 8px; }
  .home-page .architecture-layer { padding: 18px 12px; }
  .home-page .layer-name { font-size: 11px; }
  .mobile-menu { top: 84px; }
  .topbar.is-scrolled + .mobile-menu { top: 72px; }
}
@media (max-width: 800px) {
  .home-page .hero { grid-template-columns: 1fr; padding-top: 42px; gap: 16px; }
  .home-page .hero-copy, .home-page .hero-lede { max-width: 600px; }
  .home-page .hero h1 { font-size: clamp(40px, 7.8vw, 60px); }
  .workbench-layout { grid-template-columns: 105px minmax(0, 1fr); }
  .workbench-files { display: block; }
  .home-page .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .feature-card:nth-child(2) { border-right: 0; }
  .home-page .feature-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-page .feature-card:nth-child(3) { padding-left: 0; }
  .home-page .architecture-map { grid-template-columns: 1fr; gap: 8px; }
  .home-page .architecture-layer { display: grid; grid-template-columns: 28px 120px 1fr; gap: 10px; min-height: 0; padding: 18px; border-top: 1px solid var(--line); border-left: 3px solid var(--orange); }
  .home-page .architecture-layer p { grid-column: 3; }
  .home-page .layer-name { font-size: 13px; }
  .home-page .layer-label { grid-column: auto; }
  .home-page .tone-mint { border-left-color: #7d9970; }
  .home-page .tone-blue { border-left-color: #7392a0; }
  .home-page .tone-violet { border-left-color: #9382a0; }
  .home-page .tone-cream { border-left-color: #b6a06a; }
  .home-page .home-resources { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 90px; }
  .topbar, .topbar.is-scrolled { padding: 14px 20px; gap: 10px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .button-sponsor { font-size: 11px; }
  .page-section, .signal-strip { width: calc(100% - 40px); }
  .mobile-menu, .topbar.is-scrolled + .mobile-menu { top: 72px; }
  .field-heading { margin-top: 22px; font-size: 8px; gap: 8px; }
  .home-page .hero { padding-top: 34px; padding-bottom: 28px; }
  .home-page .hero h1 { margin: 22px 0; font-size: clamp(34px, 8.8vw, 52px); }
  .home-page .hero-lede { font-size: 14px; }
  .home-page .hero-meta { font-size: 8px; gap: 10px; }
  .home-page .hero-visual { padding: 20px 0 0; }
  .home-page .terminal-body { min-height: 310px; padding: 20px 16px; font-size: 10px; }
  .workbench-layout { grid-template-columns: minmax(0, 1fr); }
  .workbench-files { display: none; }
  .home-page .terminal-title { display: inline; font-size: 9px; }
  .workbench-note { font-size: 8px; }
  .section-index { justify-content: space-between; gap: 8px; font-size: 8px; padding: 12px 0; }
  .section-index a { gap: 6px; }
  .home-page .signal-item, .home-page .signal-item:first-child { padding: 22px 12px; }
  .home-page .signal-item:nth-child(odd) { padding-left: 0; }
  .home-page .signal-item strong { font-size: 30px; }
  .home-page .signal-item span { font-size: 10px; }
  .benchmark-note { font-size: 9px; }
  .home-page .intro { padding-top: 64px; padding-bottom: 64px; }
  .home-page .section-heading h2 { font-size: 31px; }
  .home-page .section-heading > p { font-size: 14px; }
  .home-page .feature-grid { margin-top: 30px; }
  .home-page .feature-card { padding: 22px 16px; min-height: 265px; }
  .home-page .feature-card h3 { font-size: 17px; }
  .home-page .feature-card p { font-size: 13px; }
  .home-page .feature-top { align-items: flex-start; gap: 8px; flex-wrap: wrap; }
  .home-page .architecture-section, .home-page .examples-section, .home-page .extension-section, .home-page .release-section, .home-page .home-resources { padding-bottom: 64px; }
  .home-page .architecture-layer { grid-template-columns: 24px 105px 1fr; padding: 16px 12px; }
  .home-page .architecture-layer p { grid-column: 2 / -1; }
  .home-page .layer-name { font-size: 12px; }
  .home-page .code-lab { grid-template-columns: minmax(0, 1fr); }
  .home-page .code-panel pre { font-size: 10px; }
  .home-page .extension-copy { padding: 28px 24px; }
  .home-page .extension-copy h2 { font-size: 32px; }
  .home-page .extension-terminal { padding: 30px 20px; min-height: 250px; }
  .home-page .release-grid { gap: 12px; }
  .home-page .release-card { min-height: 185px; }
  .home-page .resource-card { padding: 24px; }
  .home-page .resource-card h2 { font-size: 24px; }
  .home-page .resource-card p { font-size: 14px; }
  .home-page .get-started-section { padding: 54px 20px; }
  .home-page .get-started-inner h2 { font-size: 36px; }
  .home-page .get-started-links .button { flex: 1 1 auto; }
  .footer { padding: 26px 20px; }
}
@media (max-width: 360px) {
  .topbar-actions .button-sponsor { display: none; }
  .home-page .hero h1 { font-size: 32px; }
  .field-heading { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
