/* SlateMoth: a restrained, monochrome company site. */
@font-face {
  font-family: "SlateMoth Sans";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "SlateMoth Chinese";
  src: url("/fonts/SlateMothChinese.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fafafa;
  --white: #ffffff;
  --surface: #f3f3f3;
  --ink: #171717;
  --muted: #666666;
  --line: #e5e5e5;
  --charcoal: #181818;
  --charcoal-line: #3a3a3a;
  --inverse-ink: #ffffff;
  --inverse-muted: #c8c8c8;
  --inverse-soft: #d0d0d0;
  --ink-soft: #4b4b4b;
  --ink-mid: #555555;
  --ink-hover: #444444;
  --button-ink: #ffffff;
  --button-hover: #333333;
  --button-line: #d5d5d5;
  --inset-line: #d6d6d6;
  --selection: #dedede;
  --header-bg: rgba(250, 250, 250, .94);
  --shadow-menu: 0 12px 28px rgba(0, 0, 0, .12);
  --shadow-mobile-menu: 0 12px 24px rgba(0, 0, 0, .08);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .04);
  --gutter: clamp(24px, 4vw, 48px);
  --content: 1024px;
  --sans: "SlateMoth Sans", "SlateMoth Chinese", Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --type-label: 1rem;
  --type-body: 1rem;
  --type-lead: 1.125rem;
  --type-card: 1.375rem;
  --type-section: 1.625rem;
  --type-title: 2.375rem;
  --type-display: 2.625rem;
  --leading-body: 1.75;
  --leading-heading: 1.3;
  --section-space: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111316;
  --white: #1b1e22;
  --surface: #24282d;
  --ink: #f1f2f2;
  --muted: #b8bdc2;
  --line: #3b4148;
  --charcoal: #0b0d10;
  --charcoal-line: #41464b;
  --inverse-ink: #f4f5f6;
  --inverse-muted: #c5c9ce;
  --inverse-soft: #d1d5d9;
  --ink-soft: #d4d8db;
  --ink-mid: #c5cbd0;
  --ink-hover: #ffffff;
  --button-ink: #111316;
  --button-hover: #ffffff;
  --button-line: #515860;
  --inset-line: #515860;
  --selection: #475360;
  --header-bg: rgba(17, 19, 22, .94);
  --shadow-menu: 0 12px 28px rgba(0, 0, 0, .35);
  --shadow-mobile-menu: 0 12px 24px rgba(0, 0, 0, .3);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .16), 0 4px 16px rgba(0, 0, 0, .14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #111316;
    --white: #1b1e22;
    --surface: #24282d;
    --ink: #f1f2f2;
    --muted: #b8bdc2;
    --line: #3b4148;
    --charcoal: #0b0d10;
    --charcoal-line: #41464b;
    --inverse-ink: #f4f5f6;
    --inverse-muted: #c5c9ce;
    --inverse-soft: #d1d5d9;
    --ink-soft: #d4d8db;
    --ink-mid: #c5cbd0;
    --ink-hover: #ffffff;
    --button-ink: #111316;
    --button-hover: #ffffff;
    --button-line: #515860;
    --inset-line: #515860;
    --selection: #475360;
    --header-bg: rgba(17, 19, 22, .94);
    --shadow-menu: 0 12px 28px rgba(0, 0, 0, .35);
    --shadow-mobile-menu: 0 12px 24px rgba(0, 0, 0, .3);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .16), 0 4px 16px rgba(0, 0, 0, .14);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--type-body)/var(--leading-body) var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--selection); color: var(--ink); }
h1, h2, h3, h4, p, figure, blockquote, dl { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: var(--leading-heading); letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
main:focus { outline: none; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.section-pad { padding-block: var(--section-space); }
.eyebrow, .item-number {
  font: 500 var(--type-label)/1.6 var(--sans);
  letter-spacing: .015em;
}
.eyebrow { color: var(--muted); }
.arrow { width: 18px; height: 18px; flex: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.theme-art-dark { display: none; }
:root[data-theme="dark"] .theme-art-light { display: none; }
:root[data-theme="dark"] .theme-art-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-art-light { display: none; }
  :root:not([data-theme="light"]) .theme-art-dark { display: block; }
}
.skip {
  position: fixed;
  inset-inline-start: 16px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--charcoal);
  color: var(--inverse-ink);
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.text-link, .quiet-link, .top-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 44px;
  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.4;
}
.text-link { border-bottom: 1px solid currentColor; }
.quiet-link { color: var(--muted); }
.text-link:hover, .quiet-link:hover, .top-link:hover { color: var(--ink-hover); text-decoration: none; }
.text-link .arrow, .top-link .arrow { transition: transform .18s ease; }
.text-link:hover .arrow, .top-link:hover .arrow { transform: translateX(3px); }
.button-primary, .button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: var(--type-body);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary { background: var(--ink); color: var(--button-ink); }
.button-primary:hover { background: var(--button-hover); border-color: var(--button-hover); color: var(--button-ink); text-decoration: none; }
.button-secondary { background: var(--white); color: var(--ink); border-color: var(--button-line); }
.button-secondary:hover { background: var(--surface); color: var(--ink); text-decoration: none; }
.button-primary .arrow { width: 16px; height: 16px; }

/* Shared navigation and footer */
.site-header, body > header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
}
.header-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-link { display: flex; align-items: center; width: 180px; flex: none; }
.brand-image { width: 180px; height: auto; }
.theme-switcher { position: relative; display: none; flex: none; color: var(--ink-mid); }
:root[data-theme-ui="ready"] .theme-switcher { display: block; }
.theme-switcher summary { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; cursor: pointer; border-radius: 8px; }
.theme-switcher summary::-webkit-details-marker { display: none; }
.theme-switcher summary::before { content: ""; position: absolute; inset: 6px; border-radius: 6px; }
.theme-switcher summary:hover::before, .theme-switcher[open] summary::before { background: var(--surface); }
.theme-switcher summary:focus-visible { outline-offset: -4px; }
.theme-switcher summary > svg { position: relative; width: 18px; height: 18px; }
.theme-options { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 45; width: 168px; max-width: calc(100vw - 32px); padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-menu); }
.theme-options button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-mid); font: 400 var(--type-label)/1.5 var(--sans); text-align: start; cursor: pointer; }
.theme-options button > svg { width: 16px; height: 16px; flex: none; }
.theme-options button .theme-check { margin-inline-start: auto; width: 14px; height: 14px; visibility: hidden; }
.theme-options button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.theme-options button[aria-pressed="true"] .theme-check { visibility: visible; }
.theme-options button:hover, .theme-options button:focus-visible { background: var(--surface); color: var(--ink); }
.theme-options button:focus-visible { outline-offset: -2px; }
@media (pointer: coarse) { .theme-options button { min-height: 44px; } }
.primary-nav, .desktop-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a, .desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink-mid);
  font-size: var(--type-label);
  font-weight: 500;
  white-space: nowrap;
}
.primary-nav a:hover, .desktop-nav a:hover,
.primary-nav a[aria-current="page"], .desktop-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.language-switcher { position: relative; flex: none; }
.language-switcher summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
  color: var(--ink-mid);
  font-size: var(--type-label);
  font-weight: 500;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover, .language-switcher[open] summary { background: var(--surface); color: var(--ink); }
.language-switcher nav {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 40;
  display: grid;
  width: 200px;
  max-width: calc(100vw - 2 * var(--gutter));
  max-height: min(70vh, 480px);
  overflow-y: auto;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-menu);
}
.language-switcher nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: var(--type-label);
}
.language-switcher nav a:hover,
.language-switcher nav a[aria-current] { background: var(--surface); text-decoration: none; }
.mobile-nav { display: none; }
.site-footer { background: var(--charcoal); color: var(--inverse-ink); padding-block: 48px 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-areas: "brand nav" "line nav" "meta meta";
  gap: 12px 48px;
}
.footer-brand { grid-area: brand; width: 180px; }
.footer-brand .brand-image { width: 180px; }
.footer-line { grid-area: line; max-width: 30ch; color: var(--inverse-muted); font-size: var(--type-body); }
.footer-nav { grid-area: nav; display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 4px 22px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--type-label); }
.footer-meta {
  grid-area: meta;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--charcoal-line);
  color: var(--inverse-muted);
  font-size: var(--type-label);
  line-height: 1.6;
}
.site-footer a:hover { color: var(--inverse-ink); }

/* Home */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: 64px;
}
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.home-hero h1 {
  max-width: 17ch;
  font-size: var(--type-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.hero-intro { max-width: 36rem; margin-top: 24px; color: var(--ink-soft); font-size: var(--type-lead); line-height: var(--leading-body); }
.hero-support { max-width: 36rem; margin-top: 12px; color: var(--muted); font-size: var(--type-body); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-symbol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 288px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.hero-symbol .panel-label { color: var(--muted); font: 500 var(--type-label)/1.6 var(--sans); }
.hero-symbol img { width: 112px; height: 112px; margin: auto; object-fit: contain; }
.hero-symbol figcaption { display: grid; gap: 8px; max-width: 34ch; font-size: var(--type-body); line-height: var(--leading-body); }
.hero-symbol figcaption strong { font-size: var(--type-body); font-weight: 600; }
.hero-symbol figcaption span { color: var(--muted); }
.home-products, .home-insights { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; gap: 12px 40px; margin-bottom: 32px; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { max-width: 22ch; font-size: var(--type-section); }
.section-head > p:not(.eyebrow) { max-width: 48ch; color: var(--muted); font-size: var(--type-body); line-height: var(--leading-body); }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.overview-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 320px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; color: var(--muted); font: 500 var(--type-label)/1.6 var(--sans); }
.card-logo { display: flex; align-items: center; min-height: 56px; margin-top: 24px; }
.card-logo img { width: min(100%, 220px); max-height: 64px; object-fit: contain; object-position: left center; }
.overview-card .product-category { margin-top: 20px; font-size: var(--type-card); font-weight: 600; line-height: var(--leading-heading); letter-spacing: -.015em; text-wrap: balance; }
.product-reason { max-width: 36rem; margin-top: 16px; color: var(--muted); font-size: var(--type-body); line-height: var(--leading-body); }
.product-status {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-mid);
  font: 500 var(--type-label)/1.6 var(--sans);
}
.card-footer { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 28px; }
.product-link { display: inline-flex; flex-direction: column; align-items: start; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; min-height: 44px; font-size: var(--type-body); font-weight: 600; }
.product-link > span { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; }
.product-link small { color: var(--muted); font: 400 var(--type-label)/1.6 var(--sans); }
.product-link:hover { text-decoration: none; color: var(--ink-hover); }
.home-insights { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.home-insights h2 { max-width: 24ch; margin-top: 12px; font-size: var(--type-section); }
.home-insights p:not(.eyebrow) { max-width: 58ch; margin-top: 12px; color: var(--muted); font-size: var(--type-body); }
.home-insights > a { margin-bottom: 2px; }

/* Company, Work, Principles and Culture */
.page-main { min-width: 0; }
.interior-hero { padding-block: var(--section-space) 48px; }
.interior-hero .eyebrow { margin-bottom: 16px; }
.interior-hero h1 { max-width: 28ch; font-size: var(--type-title); line-height: var(--leading-heading); }
.interior-dek { max-width: 46rem; margin-top: 20px; color: var(--ink-mid); font-size: var(--type-lead); line-height: var(--leading-body); }
.company-story, .work-products, .culture-story { padding-top: 48px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.editorial-grid h2, .work-products h2, .culture-story h2 { max-width: 24ch; font-size: var(--type-section); }
.editorial-grid h2 { margin-top: 12px; }
.editorial-prose { max-width: 40rem; }
.editorial-prose p { color: var(--ink-soft); font-size: var(--type-body); line-height: var(--leading-body); }
.editorial-prose p + p { margin-top: 20px; }
.vision-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-top: 48px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.vision-panel h2, .vision-panel h3 { max-width: 24ch; margin-top: 12px; font-size: var(--type-section); }
.vision-panel > p { max-width: 40rem; color: var(--ink-mid); font-size: var(--type-body); line-height: var(--leading-body); }

/* Product detail */
.product-list { display: grid; gap: 24px; }
.product-list .product {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 48px;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.product-identity { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.product-number { margin-inline-end: 10px; color: var(--ink); }
.product-identity .product-logo { display: flex; align-items: center; width: 100%; min-height: 56px; margin-top: 20px; }
.product-identity .product-logo img { width: min(100%, 220px); max-height: 64px; object-fit: contain; object-position: left center; }
.product-identity .product-logo img.kernelwake-brand { width: min(100%, 240px); }
.product-field { margin-top: 16px; color: var(--muted); font: 400 var(--type-body)/var(--leading-body) var(--sans); }
.product-identity .product-status { margin-top: 12px; }
.product-copy { min-width: 0; }
.product-copy .product-category { font-size: var(--type-section); font-weight: 600; line-height: var(--leading-heading); letter-spacing: -.015em; text-wrap: balance; }
.product-copy > p:not(.product-category) { margin-top: 16px; color: var(--ink-mid); font-size: var(--type-body); line-height: var(--leading-body); }
.product-pillars { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.product-pillars > div { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, .68fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.product-pillars dt { font: 600 var(--type-body)/var(--leading-body) var(--sans); }
.product-pillars dd { margin: 0; color: var(--muted); font-size: var(--type-body); line-height: var(--leading-body); }
.product-identity .product-link { margin-top: 24px; }
.work-note { max-width: 46rem; margin-top: 24px; color: var(--muted); font-size: var(--type-label); line-height: var(--leading-body); }
.work-insights { margin-top: 24px; }
.kernelwake-focus { margin-top: 48px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.focus-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: end; }
.focus-heading h2 { margin-top: 12px; font-size: var(--type-section); }
.focus-heading > p { max-width: 55ch; color: var(--ink-mid); font-size: var(--type-body); line-height: var(--leading-body); }
.focus-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 32px 0 0; list-style: none; }
.focus-steps li { padding-top: 16px; border-top: 1px solid var(--inset-line); }
.focus-steps h3 { margin-top: 12px; font-size: var(--type-card); }
.focus-steps p { margin-top: 12px; color: var(--ink-mid); font-size: var(--type-body); line-height: var(--leading-body); }
.focus-footer { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--inset-line); }
.focus-footer p { max-width: 38rem; color: var(--ink-mid); font-size: var(--type-label); line-height: var(--leading-body); }
.focus-footer .text-link { flex: none; }

/* Principles and Culture */
.principles-list { padding: 48px; background: var(--charcoal); color: var(--inverse-ink); border-radius: 16px; }
.principles-list .eyebrow { color: var(--inverse-muted); }
.principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principle { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-block: 28px; border-top: 1px solid var(--charcoal-line); }
.principle .item-number { color: var(--inverse-muted); }
.principle h2 { max-width: 24ch; font-size: var(--type-card); }
.principle p { max-width: 38rem; margin-top: 16px; color: var(--inverse-soft); font-size: var(--type-body); line-height: var(--leading-body); }
.culture-practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 48px; }
.culture-practice { padding-block: 24px; border-top: 1px solid var(--line); }
.culture-practice h3 { margin-top: 12px; font-size: var(--type-card); }
.culture-practice p { max-width: 38rem; margin-top: 16px; color: var(--muted); font-size: var(--type-body); line-height: var(--leading-body); }
.culture-closing { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--type-body); }
.next-page { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px 64px; border-top: 1px solid var(--line); }
.next-page p { color: var(--muted); font-size: var(--type-label); }
.next-page a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--type-body); font-weight: 600; }

/* Insights index and reading */
.insights-index, .insight-article { padding-block: 64px 96px; }
.insights-index > .eyebrow, .insight-article > .eyebrow { margin-bottom: 16px; }
.insights-index > h1, .insight-article > h1 { max-width: 28ch; font-size: var(--type-title); }
.insights-intro, .insight-dek { max-width: 46rem; margin-top: 20px; color: var(--ink-mid); font-size: var(--type-lead); line-height: var(--leading-body); }
.insights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.insight-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.insight-card h2 { max-width: 30ch; margin-top: 12px; font-size: var(--type-card); }
.insight-card > p:not(.eyebrow) { max-width: 40rem; margin-top: 16px; color: var(--muted); font-size: var(--type-body); line-height: var(--leading-body); }
.insight-card > .text-link { margin-top: auto; padding-top: 20px; }
.insight-card h2 a:hover { color: var(--ink-hover); }
.insight-article { max-width: 760px; }
.insight-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 24px; color: var(--muted); font-size: var(--type-label); }
.insight-meta { margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font: 400 var(--type-label)/1.6 var(--sans); }
.insight-stage { display: inline-block; width: fit-content; max-width: 100%; margin-top: 16px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font: 500 var(--type-label)/1.6 var(--sans); }
.insight-notice { max-width: 100%; margin-top: 24px; padding: 20px 24px; border-inline-start: 2px solid var(--ink); border-radius: 8px; background: var(--surface); color: var(--ink-soft); font-size: var(--type-body); line-height: var(--leading-body); }
.insight-section { padding-block: 32px; border-bottom: 1px solid var(--line); }
.insight-section h2 { max-width: 34ch; margin-bottom: 16px; font-size: var(--type-section); }
.insight-section > p, .insight-prose { max-width: 68ch; }
.insight-section p, .insight-prose p { color: var(--ink-soft); font-size: var(--type-body); line-height: var(--leading-body); }
.insight-prose p + p { margin-top: 20px; }
.insight-related { margin-top: 48px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.insight-related > p:not(.eyebrow) { max-width: 65ch; margin-top: 12px; color: var(--ink-mid); font-size: var(--type-body); line-height: var(--leading-body); }
.insight-related-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.insight-related > .text-link { margin-top: 20px; }
.verification-levels { margin-top: 24px; }
.verification-levels > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding-block: 16px; border-top: 1px solid var(--line); }
.verification-levels dt { font: 600 var(--type-body)/var(--leading-body) var(--sans); }
.verification-levels dd { margin: 0; color: var(--muted); font-size: var(--type-body); line-height: var(--leading-body); }

/* 404 */
.error-page { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 24px; min-height: 100vh; padding: 48px var(--gutter); }
.error-page h1 { font-size: var(--type-title); }

@media (max-width: 900px) {
  .editorial-grid, .vision-panel, .focus-heading { grid-template-columns: 1fr; gap: 24px; }
  .product-pillars > div { grid-template-columns: 1fr; gap: 4px; }
  .culture-practices { grid-template-columns: 1fr; }
  .principles-grid, .culture-practices { gap: 0 32px; }
}
@media (max-width: 1120px) {
  .header-inner { min-height: 56px; }
  .brand-link, .brand-image { width: 168px; }
  .header-actions { gap: 4px; margin-inline-start: auto; }
  .language-switcher summary { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .primary-nav.desktop-nav, .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 8px;
    list-style: none;
    cursor: pointer;
    font-size: var(--type-label);
    font-weight: 600;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary:hover, .mobile-nav[open] summary { background: var(--surface); }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% - 1px);
    inset-inline: calc(-1 * var(--gutter));
    display: grid;
    padding: 8px var(--gutter) 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-mobile-menu);
  }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: var(--type-body); }
  .mobile-nav nav a:last-child { border-bottom: 0; }
  .mobile-nav nav a[aria-current="page"] { font-weight: 700; }
}
@media (max-width: 767px) {
  :root { --type-section: 1.5rem; --type-title: 1.875rem; --type-display: 2.125rem; --section-space: 48px; }
  .home-hero { grid-template-columns: 1fr; padding-block: 48px; }
  .hero-symbol { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head .eyebrow { grid-column: auto; }
  .overview-grid, .insights-grid, .principles-grid, .culture-practices, .home-insights { grid-template-columns: 1fr; }
  .overview-card { min-height: 0; }
  .home-insights { align-items: start; gap: 16px; }
  .interior-hero { padding-block: 48px 40px; }
  .company-story, .work-products, .culture-story { padding-block: 40px 48px; }
  .product-list .product { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .product-copy { padding-top: 24px; border-top: 1px solid var(--line); }
  .focus-steps { grid-template-columns: 1fr; gap: 24px; }
  .focus-footer { align-items: start; flex-direction: column; gap: 16px; }
  .principles-list { padding: 32px; }
  .principle { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .culture-practices { margin-top: 32px; }
  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "brand" "line" "nav" "meta"; gap: 12px; }
  .footer-nav { justify-content: flex-start; margin-top: 12px; }
  .footer-meta { flex-direction: column; gap: 8px; margin-top: 12px; }
}
@media (max-width: 480px) {
  .brand-link, .brand-image { width: 136px; }
  .header-inner { gap: 12px; }
  .language-switcher summary { max-width: 70px; }
  .mobile-nav summary { justify-content: center; width: 40px; padding-inline: 4px; }
  .mobile-nav .menu-label { display: none; }
  .hero-actions { align-items: stretch; }
  .button-primary, .button-secondary { width: 100%; }
  .overview-card { padding: 24px; }
  .card-footer { align-items: start; flex-direction: column; gap: 12px; }
  .card-logo { margin-top: 20px; }
  .vision-panel, .kernelwake-focus, .insight-related { padding: 24px; }
  .principles-list { padding: 28px 24px; }
  .next-page { align-items: start; flex-direction: column; gap: 8px; padding-block: 24px 48px; }
  .insights-index, .insight-article { padding-block: 48px 72px; }
  .verification-levels > div { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand-link, .brand-image { width: 112px; }
  .language-switcher summary { max-width: 60px; padding-inline: 4px; }
  .mobile-nav summary { gap: 4px; padding-inline: 4px; }
}

[dir="rtl"] .card-logo img,
[dir="rtl"] .product-identity .product-logo img { object-position: right center; }
[dir="rtl"] .eyebrow,
[dir="rtl"] .item-number,
[dir="rtl"] .card-meta { letter-spacing: normal; text-transform: none; font-family: var(--sans); }

html[lang="ar"] { --sans: "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
html[lang="ar"] { --leading-body: 1.8; --leading-heading: 1.45; }
html[lang="ar"] :is(h1,h2,h3,h4,.product-category) { letter-spacing: normal; }
html[lang="zh-CN"] { --leading-body: 1.8; --leading-heading: 1.4; }
html[lang="zh-CN"] :is(h1,h2,h3,h4,.product-category) { letter-spacing: 0; }
html[lang="zh-CN"] .home-hero h1 { line-height: 1.4; }
html[lang="zh-CN"] .home-hero h1 { max-width: none; }
html[lang="zh-CN"] :is(.eyebrow,.item-number,.card-meta,.panel-label) { font-family: var(--sans); letter-spacing: .02em; }
.language-switcher a[lang="zh-CN"] { font-family: "SlateMoth Chinese", sans-serif; }
.language-switcher a[lang="ar"] { font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
[dir="rtl"] .text-link .arrow { transform: scaleX(-1); }
[dir="rtl"] .text-link:hover .arrow { transform: scaleX(-1) translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  :root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
    color-scheme: light;
    --paper: #ffffff;
    --white: #ffffff;
    --surface: #f3f3f3;
    --ink: #171717;
    --muted: #555555;
    --line: #cccccc;
    --ink-soft: #444444;
    --ink-mid: #555555;
  }
  .theme-art-light { display: block !important; }
  .theme-art-dark { display: none !important; }
  .site-header, .mobile-nav, .site-footer { position: static; display: none; }
  body { background: var(--paper); }
  .section-pad, .insights-index, .insight-article { padding-block: 32px; }
  .overview-card, .product, .principle, .insight-section { break-inside: avoid; }
}
