:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #0f172a;
  --muted: #526178;
  --faint: #7a8799;
  --line: rgba(15, 23, 42, 0.12);
  --accent: #0ea5e9;
  --accent-2: #14b8a6;
  --accent-3: #f97316;
  --ink: #08111f;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.13);
  --soft-shadow: 0 12px 40px rgba(15, 23, 42, 0.09);
  --radius: 22px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071018;
  --bg-strong: #0d1824;
  --surface: rgba(13, 24, 36, 0.76);
  --surface-solid: #101d2b;
  --text: #eef6ff;
  --muted: #a8b5c8;
  --faint: #7d8da4;
  --line: rgba(226, 232, 240, 0.13);
  --accent: #38bdf8;
  --accent-2: #2dd4bf;
  --accent-3: #fb923c;
  --ink: #f8fafc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --soft-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(14, 165, 233, 0.18), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-strong));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 12px 12px auto;
  z-index: 50;
  width: min(1180px, calc(100vw - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
  letter-spacing: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a, .icon-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}
.site-nav a:hover, .icon-button:hover {
  color: var(--text);
  background: rgba(14, 165, 233, 0.1);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.sun {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-solid);
  padding: 11px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 100svh;
  width: var(--container);
  margin: 0 auto;
  padding: 132px 0 72px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.hero-orbit {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: 100px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
.hero-orbit::before, .hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.hero-orbit::before {
  inset: 72px;
  border: 1px dashed rgba(20, 184, 166, 0.25);
}
.hero-orbit::after {
  width: 18px;
  height: 18px;
  top: 50px;
  left: 120px;
  background: var(--accent-3);
  box-shadow: 0 0 32px rgba(249, 115, 22, 0.5);
}

.role, .section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.05rem, 8vw, 6.45rem);
  line-height: 0.92;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}
.hero-text, .contact-copy p, .cockpit-panel p {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-actions, .contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.btn.primary {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, #0f766e, #0ea5e9 56%, #2563eb);
}
.btn.quiet {
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
}
.btn.icon { width: 48px; padding-inline: 0; }
.btn.full { width: 100%; }
.btn.small { min-height: 38px; padding: 9px 12px; font-size: 13px; }

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.signal-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  perspective: 1000px;
}
.portrait-frame {
  position: absolute;
  inset: 24px 24px 95px 58px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-solid), rgba(14, 165, 233, 0.14));
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}
.code-card, .metric-card, .terminal-card, .cockpit-panel, .contact-form, .feature-grid article {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(20px);
}
.code-card {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: min(390px, 88vw);
  padding: 16px;
  border-radius: 18px;
}
.window-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.window-dots i:nth-child(2) { background: var(--accent-2); }
.window-dots i:nth-child(3) { background: var(--accent-3); }
pre {
  margin: 0;
  overflow: auto;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.55;
}
.metric-card {
  position: absolute;
  right: 0;
  top: 80px;
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 18px;
}
.metric-card strong { font-size: 2rem; line-height: 1; }
.metric-card span { color: var(--muted); font-size: 13px; font-weight: 800; }
.floating { animation: float 5s ease-in-out infinite; }

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) 0;
}
.marquee-section { padding-block: 12px 54px; }
.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee div {
  display: flex;
  min-width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  padding: 18px 28px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 68px);
}
.capability-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.capability {
  min-height: 226px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 78%, transparent), color-mix(in srgb, var(--accent) 5%, transparent));
  transition: transform .25s ease, border-color .25s ease;
}
.capability:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); }
.capability span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 900;
}
.capability p, .feature-grid p, .work-card p { color: var(--muted); margin-bottom: 0; }

.systems-showcase {
  position: relative;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.system-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-solid) 84%, transparent), color-mix(in srgb, var(--accent) 7%, transparent)),
    var(--surface-solid);
  box-shadow: var(--soft-shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.system-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -82px;
  top: -82px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 68%);
}
.system-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow);
}
.primary-system {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(14, 165, 233, 0.86)),
    var(--text);
  color: white;
}
.primary-system p,
.primary-system .system-index {
  color: rgba(255, 255, 255, 0.78);
}
.system-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.system-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}
.system-card p {
  color: var(--muted);
  max-width: 52ch;
}
.system-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.system-card b {
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-solid) 34%, transparent);
  font-size: 12px;
}

.proof-band {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
}
.section-head {
  width: var(--container);
  max-width: 1180px;
  margin: 0 auto 28px;
}
.work-grid {
  width: var(--container);
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  grid-auto-rows: 250px;
  gap: 16px;
}
.work-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  isolation: isolate;
  transform: translateZ(0);
}
.work-card.large { grid-row: span 2; }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(2, 8, 23, 0.82));
  z-index: 1;
}
.work-card div {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  color: white;
}
.work-card span {
  display: block;
  color: rgba(255,255,255,0.74);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.work-card:hover img { transform: scale(1.06); }

.cockpit {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 18px;
  align-items: stretch;
}
.cockpit-panel, .terminal-card {
  border-radius: 28px;
  padding: clamp(24px, 5vw, 46px);
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.score-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
}
.score-grid strong { display: block; font-size: 1.7rem; line-height: 1; }
.score-grid span { color: var(--muted); font-size: 12px; font-weight: 800; }
.terminal-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  background: #07111f;
  color: #d8f4ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.terminal-card p { margin-bottom: 12px; }
.terminal-card .ok::before { content: "✓ "; color: #2dd4bf; }

.feature-grid article {
  min-height: 180px;
  padding: 24px;
  border-radius: 22px;
}

.thinking-section {
  position: relative;
}
.thinking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.thinking-card {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(20px);
}
.thinking-card span {
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.thinking-card p {
  color: var(--muted);
}
.thinking-card a {
  margin-top: auto;
  color: var(--text);
  font-weight: 900;
}
.thinking-card a::after {
  content: " ->";
  color: var(--accent);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 30px);
  border-radius: 28px;
}
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 850; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
}
textarea { resize: vertical; min-height: 142px; }
.honeypot { display: none; }
.notice {
  padding: 13px 14px;
  border-radius: 14px;
  font-weight: 800;
}
.notice.success { background: rgba(20, 184, 166, 0.12); color: #0f766e; }
.notice.error { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 120px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

.translator {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 70;
}
.translator-toggle, .assistant-fab {
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--text);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  font-weight: 900;
}
.translator-toggle { padding: 12px 16px; }
.translator-body {
  display: none;
  width: min(300px, calc(100vw - 28px));
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.translator.open .translator-body { display: grid; gap: 10px; }
.translator-body p { margin: 0; color: var(--muted); font-size: 12px; }

.assistant {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
}
.assistant-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
}
.assistant-fab span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}
.assistant-fab small { display: block; color: var(--muted); font-weight: 750; }
.assistant-window {
  display: none;
  width: min(410px, calc(100vw - 28px));
  height: min(620px, calc(100svh - 96px));
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.assistant.open .assistant-window {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}
.assistant.open .assistant-fab { display: none; }
.assistant-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.assistant-head span { display: block; color: var(--muted); font-size: 12px; }
#assistantClose {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
}
.assistant-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 16px;
}
.bubble {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface-solid));
  color: var(--text);
  font-size: 14px;
}
.bubble.user {
  align-self: flex-end;
  color: white;
  background: linear-gradient(135deg, #0f766e, #0ea5e9);
}
.assistant-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
.assistant-compose button {
  border: 0;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}
.assistant-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
  overflow-x: auto;
}
.assistant-actions button {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.palette-overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: start center;
  padding-top: 12vh;
  z-index: 100;
  background: rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(10px);
}
.palette {
  width: min(620px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.palette input { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px; }
.palette-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.palette-item:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.palette-item span { color: var(--muted); font-size: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-100%); } }

@media (max-width: 920px) {
  .site-header { border-radius: 24px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
  }
  .site-nav.active { display: grid; }
  .site-nav a, .icon-button { justify-content: flex-start; width: 100%; }
  .hero, .split, .cockpit, .contact-section { grid-template-columns: 1fr; }
  .hero { padding-top: 116px; }
  .hero-visual { min-height: 530px; }
  .portrait-frame { inset: 20px 8px 92px 26px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .systems-grid, .thinking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card.large { grid-row: auto; grid-column: span 2; }
  .primary-system { grid-column: span 2; }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 24px, 1180px); }
  .brand span { max-width: 168px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  h1 { font-size: clamp(2.78rem, 15vw, 4.4rem); }
  .hero { min-height: auto; padding-bottom: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 470px; }
  .metric-card { right: 8px; top: 44px; }
  .code-card { left: 0; right: 0; width: auto; }
  .capability-grid, .feature-grid, .work-grid, .systems-grid, .thinking-grid, .two, .score-grid { grid-template-columns: 1fr; }
  .work-card.large { grid-column: auto; }
  .primary-system { grid-column: auto; }
  .work-grid { grid-auto-rows: 265px; }
  .translator { bottom: 82px; }
  .assistant-fab small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
