:root {
  color-scheme: dark;
  --background: #0f1117;
  --panel: #161a24;
  --text: #f6f2ee;
  --muted: #aeb4c2;
  --accent: #ffb271;
  --line: #2b303e;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, p, figure { margin: 0; }
p { line-height: 1.75; }
.shell { width: min(100% - 80px, 1200px); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: 10px; padding: 12px; background: var(--panel); z-index: 2; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.brand img { border-radius: 7px; }
nav { display: flex; gap: clamp(15px, 4vw, 40px); }
nav a, .footer > a:last-child { color: var(--muted); font-size: .875rem; }
nav a:hover, .footer a:hover { color: var(--accent); }

.hero { padding-top: clamp(48px, 6.5vw, 88px); }
.hero-text { display: grid; grid-template-columns: 1fr minmax(270px, 360px); align-items: end; gap: 32px; margin-bottom: 36px; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 650; letter-spacing: .09em; }
h1 { margin: 12px 0 10px; font-size: clamp(4.5rem, 10vw, 9rem); letter-spacing: -.065em; line-height: .91; font-weight: 760; }
h1 span { color: var(--accent); }
.tagline { font-size: clamp(1.25rem, 2.55vw, 2.15rem); line-height: 1.45; font-weight: 650; letter-spacing: -.035em; }
.hero-description p, .feature-grid p, .example p:not(.eyebrow), details p { color: var(--muted); }
.hero-description { padding-bottom: 4px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 20px; padding-inline: 18px; border-radius: 8px; background: var(--accent); color: #21140e; font-size: .875rem; font-weight: 750; }
.button:hover { background: #ffcb9d; }

.workspace { scroll-margin-top: 18px; }
.workspace-frame { overflow: hidden; border: 1px solid #4b4779; border-radius: 16px; background: #222044; }
.workspace img { width: 100%; height: auto; display: block; }
figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: .875rem; }
figcaption strong { color: var(--text); font-weight: 600; }

.experience, .capabilities, .example, .faq { margin-top: clamp(64px, 10vw, 112px); }
.experience, .capabilities, #daily { scroll-margin-top: 24px; }
.section-title { margin-bottom: 28px; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.055em; line-height: 1.22; }
.eyebrow + h2 { margin-top: 9px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-grid article { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.feature-group + .feature-group { margin-top: 32px; }
.feature-group > h3 { margin-bottom: 14px; font-size: 1.125rem; }
.feature-grid h4 { margin-bottom: 8px; color: var(--text); font-size: 1rem; }
.feature-grid .feature-note { margin-top: 10px; color: var(--accent); font-size: .875rem; }

.example, .faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); }
.example { align-items: center; padding: clamp(24px, 5vw, 60px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(130deg, #221c21, var(--panel) 70%); }
.example h2 + p, .experience h2 + p { margin-top: 14px; }
.experience .section-title > p:last-child { max-width: 65ch; color: var(--muted); }
.projection-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.projection-list div { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.projection-list dt, .parallel-example strong { font-weight: 650; }
.projection-list dd { margin: 6px 0 0; color: var(--muted); line-height: 1.65; }
.task-example { margin-top: 24px; }
.parallel-example { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.parallel-example > div { padding: 14px; background: #11141c; border: 1px solid var(--line); border-radius: 10px; }
.parallel-example p { margin-top: 6px; font-size: .9375rem; }
.parallel-example span { display: inline-block; margin-top: 8px; color: var(--accent); font-size: .875rem; }
.parallel-example figcaption { grid-column: 1 / -1; margin-top: 0; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.dialogue { display: grid; gap: 10px; justify-items: start; }
.dialogue p { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 12px 16px; background: #11141c; border: 1px solid var(--line); border-radius: 12px; }
.dialogue p:first-child { justify-self: end; }
.dialogue span { color: var(--accent); font-size: .875rem; font-weight: 650; }

details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 18px 0; cursor: pointer; font-weight: 650; }
summary::marker { color: var(--accent); }
details p { margin: 0 0 18px; }
.footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }

@media (max-width: 1040px) {
  .feature-grid, .projection-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 12px; }
  .brand { gap: 6px; }
  nav { gap: 12px; }
  .hero-text, .example, .faq { grid-template-columns: 1fr; gap: 18px; }
  .hero-text { margin-bottom: 24px; }
  .hero-description { max-width: 440px; }
  .workspace-frame { border-radius: 10px; }
  figcaption { flex-wrap: wrap; row-gap: 3px; }
  .feature-grid article { padding: 17px; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  nav { gap: 8px; }
  nav a { font-size: .8rem; }
  .parallel-example { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
