:root {
  color-scheme: light;
  --paper: #f7f8f7;
  --white: #fff;
  --ink: #172c29;
  --muted: #5e706c;
  --line: #dce4e1;
  --accent: #193f37;
  --soft: #e7eeea;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; min-width: 320px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #c6ddd3; }
:focus-visible { outline: 3px solid #397b67; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-size: 24px; font-weight: 750; letter-spacing: -1px; white-space: nowrap; }
.brand > span:not(.brand-icon) { color: #6b817a; font-weight: 400; }
.brand-icon { display: grid; place-items: center; position: relative; width: 38px; height: 38px; border: 1px solid var(--accent); border-radius: 6px; margin-right: 11px; font-size: 23px; }
.brand-icon > span { position: absolute; right: 3px; top: 2px; font-size: 11px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 13px; padding: 14px 0; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.header-cta { display: inline-flex; gap: 24px; align-items: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.header-cta:hover { background: var(--soft); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 60px; padding-block: 72px 80px; }
.eyebrow, .section-kicker { font-size: 10px; font-weight: 650; letter-spacing: 1.65px; line-height: 1.7; color: var(--muted); }
.eyebrow { margin: 0 0 27px; }
.eyebrow > span { display: none; }
.hero-title { font-size: clamp(40px, 4.45vw, 65px); font-weight: 500; letter-spacing: -3px; line-height: 1.1; margin: 0; }
.hero-title em { font-style: normal; color: #597c6d; }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 465px; margin: 27px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; line-height: 1.4; font-weight: 550; transition: background .18s; }
.button-primary { color: white; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: #2c594c; }
.button-secondary:hover { background: var(--soft); }
.hero-stats { display: flex; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 7px; border-right: 1px solid var(--line); padding-right: 24px; }
.stat:last-child { border: 0; padding: 0; }
.stat strong { font-size: 23px; font-weight: 500; letter-spacing: -.6px; }
.stat span { font-size: 10px; line-height: 1.5; color: var(--muted); }
.hero-visual { min-height: 490px; position: relative; overflow: hidden; isolation: isolate; border-radius: 8px; background: #d9e1dc; }
.hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; z-index: -2; }
.hero-visual::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #10292220, transparent 40%, #102922d9); }
.visual-label { position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 550; letter-spacing: 1.5px; color: white; background: #16342cd9; padding: 10px 13px; border-radius: 3px; }
.hero-caption { position: absolute; left: 28px; right: 28px; bottom: 28px; color: white; }
.hero-caption small { display: block; font-size: 9px; letter-spacing: 1.7px; margin-bottom: 12px; color: #cfddd7; }
.hero-caption strong { display: block; max-width: calc(100% - 55px); font-size: 25px; font-weight: 450; letter-spacing: -.5px; line-height: 1.3; }
.hero-caption a { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff80; border-radius: 4px; font-size: 22px; }
.hero-caption a:hover { background: #ffffff20; }
.catalog-section { border-top: 1px solid var(--line); padding-block: 50px 74px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-kicker { margin: 0 0 15px; }
.section-title { font-size: clamp(30px, 3vw, 42px); line-height: 1.2; font-weight: 450; letter-spacing: -1.5px; margin: 0; }
.section-description { color: var(--muted); max-width: 340px; font-size: 14px; line-height: 1.8; margin: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-group { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-chip { border: 1px solid var(--line); background: transparent; font-size: 12px; border-radius: 4px; padding: 11px 16px; min-height: 42px; }
.filter-chip:hover { border-color: #7b9a8e; }
.filter-chip.active { background: var(--accent); color: white; border-color: var(--accent); }
.search-field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 4px; background: white; padding: 12px 14px; min-width: 275px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 12px; color: var(--ink); }
#result-count { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
.robot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.robot-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; min-width: 0; }
.card-image { height: 258px; position: relative; overflow: hidden; background: #e6eae7; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card-image img[src$='bellabot.webp'], .detail-image[src$='bellabot.webp'] { object-fit: contain; padding: 14px; }
.robot-card:hover .card-image img { transform: scale(1.025); }
.category-badge { position: absolute; top: 16px; left: 16px; background: #ffffffed; border-radius: 3px; padding: 7px 10px; font-size: 10px; color: var(--ink); }
.card-body { padding: 24px; }
.card-meta { color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: 1.1px; text-transform: uppercase; margin: 0 0 9px; }
.card-title { font-size: 28px; font-weight: 500; letter-spacing: -.9px; line-height: 1.2; margin: 0 0 13px; }
.card-description { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; min-height: 47px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; }
.card-fact { color: var(--muted); font-size: 11px; }
.text-button { border: 0; background: none; font-size: 12px; font-weight: 600; padding: 10px 0 10px 10px; min-height: 40px; }
.text-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.empty-state { text-align: center; border: 1px solid var(--line); padding: 48px 20px; }
.empty-state p { color: var(--muted); line-height: 1.8; }
.catalog-note { color: var(--muted); font-size: 11px; line-height: 1.9; max-width: 780px; margin: 26px 0 0; }
.knowledge-section { padding-block: 50px 80px; border-top: 1px solid var(--line); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--soft); padding: 26px 23px; border-radius: 6px; transition: background .18s; }
.category-card:hover { background: #dce8e0; }
.category-number { color: var(--muted); font-size: 9px; letter-spacing: 1px; line-height: 1.6; }
.category-symbol { font-size: 30px; color: #4e7664; margin: 24px 0; }
.category-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -.5px; line-height: 1.35; margin: 0 0 14px; }
.category-card p { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 0 0 23px; }
.category-link { margin-top: auto; font-size: 11px; line-height: 1.6; font-weight: 600; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 30px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 20px; }
.site-footer .brand > span:last-child { margin-left: 3px; }
.site-footer p, .site-footer > a:not(.brand), .site-footer > span { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0; }
.site-footer > a:not(.brand):hover { text-decoration: underline; }
#robot-dialog { width: min(880px, calc(100% - 40px)); max-height: calc(100dvh - 50px); border: 1px solid var(--line); border-radius: 8px; padding: 0; color: var(--ink); background: var(--paper); }
#robot-dialog::backdrop { background: #0c211dd9; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; min-height: 480px; }
.dialog-close { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; background: white; border: 1px solid var(--line); border-radius: 5px; font-size: 26px; }
.detail-image { width: 100%; height: 100%; min-height: 480px; object-fit: cover; background: var(--soft); }
.detail-body { padding: 62px 32px 32px; }
.detail-body h2 { font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; margin: 0 0 18px; }
.detail-body > p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.detail-facts { margin: 24px 0; }
.fact { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; text-align: right; }
.detail-credit { font-size: 11px !important; }
.sources-main { padding-block: 65px 80px; max-width: 950px; }
.sources-main h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -1.8px; font-weight: 500; margin: 0 0 24px; }
.sources-intro { max-width: 720px; color: var(--muted); line-height: 1.9; font-size: 15px; }
.source-list { margin-top: 40px; }
.source-entry { padding-block: 24px; border-top: 1px solid var(--line); }
.source-entry h2 { font-size: 22px; font-weight: 500; margin: 0 0 12px; }
.source-entry p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.source-entry a, .sources-intro a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .hero-title { font-size: 44px; letter-spacing: -2px; }
  .hero-visual { min-height: 470px; }
  .hero-stats { gap: 16px; }
  .stat { padding-right: 16px; }
  .nav-links { gap: 20px; }
  .card-image { height: 220px; }
  .card-body { padding: 20px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; }
  .hero-title { font-size: 56px; }
  .hero-description { max-width: 570px; }
  .hero-visual { min-height: 480px; }
  .hero-stats { max-width: 480px; }
  .robot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-header { gap: 24px; }
  .section-description { max-width: 280px; font-size: 13px; }
  .card-footer { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .site-header { height: 78px; gap: 14px; flex-wrap: wrap; }
  .brand { font-size: 21px; }
  .brand-icon { width: 31px; height: 31px; margin-right: 8px; font-size: 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; }
  .nav-links a:nth-child(2) { display: none; }
  .hero { padding-block: 40px 46px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 22px; }
  .hero-title { font-size: clamp(34px, 8.9vw, 52px); letter-spacing: -1.6px; }
  .hero-description { font-size: 14px; margin-block: 22px 26px; }
  .button { gap: 15px; padding-inline: 16px; font-size: 11px; }
  .hero-stats { gap: 17px; margin-top: 30px; }
  .stat { padding-right: 17px; }
  .stat strong { font-size: 23px; }
  .stat span { font-size: 9px; }
  .hero-visual { min-height: 400px; }
  .hero-caption { left: 22px; right: 22px; bottom: 22px; }
  .hero-caption strong { font-size: 23px; }
  .catalog-section, .knowledge-section { padding-block: 36px 46px; }
  .section-header { display: block; margin-bottom: 28px; }
  .section-title { font-size: 33px; letter-spacing: -1.1px; }
  .section-description { max-width: 380px; margin-top: 17px; }
  .catalog-toolbar { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .search-field { min-width: 0; padding-block: 14px; }
  .filter-chip { padding: 10px 12px; font-size: 11px; }
  .robot-grid { grid-template-columns: 1fr; gap: 22px; }
  .card-image { height: 290px; }
  .card-body { padding: 23px; }
  .card-footer { flex-wrap: nowrap; }
  .category-grid { gap: 12px; }
  .category-card { padding: 23px 18px; }
  .category-number { font-size: 8px; letter-spacing: .5px; }
  .category-card h3 { font-size: 19px; }
  .category-link { font-size: 10px; }
  .site-footer { align-items: flex-start; gap: 18px; }
  .site-footer p { width: 100%; order: 1; }
  #robot-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-inner { grid-template-columns: 1fr; }
  .detail-image { height: 280px; min-height: 0; }
  .detail-body { padding: 28px 24px; }
}
@media (max-width: 360px) {
  .hero-stats { gap: 12px; }
  .stat { padding-right: 12px; }
  .stat span { font-size: 8px; }
  .category-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
