:root {
  color-scheme: light;
  --ink: #101211;
  --ink-soft: #3c403b;
  --muted: #6d716b;
  --paper: #f5f5ef;
  --paper-strong: #ffffff;
  --paper-soft: #ebece4;
  --line: rgba(16, 18, 17, 0.13);
  --line-strong: rgba(16, 18, 17, 0.22);
  --lime: #d9f45b;
  --blue: #6d9cff;
  --coral: #ff806c;
  --dark: #101211;
  --dark-soft: #181c1a;
  --white: #f8f8f1;
  --radius: 8px;
  --section: 1040px;
  --header-height: 78px;
  --shadow: 0 22px 80px rgba(16, 18, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 17, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 18, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--section)) / 2));
  background: rgba(245, 245, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(16, 18, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 750;
}

.brand-copy span {
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.2;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  z-index: 45;
  display: grid;
  background: rgba(245, 245, 239, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(16, 18, 17, 0.16);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.section-shell {
  width: min(calc(100% - 48px), var(--section));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - var(--header-height) - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 52px 0 64px;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(217, 244, 91, 0.34);
  border: 1px solid rgba(16, 18, 17, 0.12);
  border-radius: 6px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(217, 244, 91, 0.22);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 78px;
  line-height: 0.98;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 610px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  font-weight: 680;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--lime);
  border-color: rgba(16, 18, 17, 0.2);
}

.hero-points {
  width: 100%;
  max-width: 650px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  max-width: 650px;
}

.hero-points li {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 239, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(245, 245, 239, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 245, 239, 0.05) 1px, transparent 1px),
    var(--dark);
  background-size: 42px 42px;
  box-shadow: var(--shadow);
}

#ai-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.human-core {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 158px;
  height: 158px;
  border: 1px solid rgba(217, 244, 91, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 44%, rgba(217, 244, 91, 0.28), transparent 46%),
    rgba(245, 245, 239, 0.04);
  box-shadow: 0 0 64px rgba(217, 244, 91, 0.2);
}

.human-core::before,
.human-core::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 999px;
  background: var(--lime);
  transform: translateX(-50%);
}

.human-core::before {
  top: 36px;
  width: 34px;
  height: 34px;
}

.human-core::after {
  top: 76px;
  width: 72px;
  height: 42px;
  background:
    linear-gradient(90deg, rgba(217, 244, 91, 0), var(--lime), rgba(217, 244, 91, 0)),
    var(--lime);
  clip-path: polygon(15% 100%, 31% 0, 69% 0, 85% 100%);
}

.human-core span {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(109, 156, 255, 0.44);
  border-radius: 50%;
}

.signal-card {
  position: absolute;
  width: 166px;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 245, 239, 0.16);
  border-radius: 8px;
  background: rgba(245, 245, 239, 0.08);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.signal-card strong {
  color: var(--lime);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.2;
}

.signal-card span {
  color: rgba(245, 245, 239, 0.82);
  font-size: 14px;
}

.signal-card-one {
  left: 7%;
  top: 14%;
}

.signal-card-two {
  right: 8%;
  top: 26%;
}

.signal-card-three {
  left: 12%;
  bottom: 14%;
}

.belief {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.belief h2,
.section-heading h2,
.about h2,
.compact-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: 0;
}

.belief p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.section-block {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .section-kicker,
.compact-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.compact-heading {
  display: block;
  max-width: 760px;
  margin-bottom: 34px;
}

.compact-heading .section-kicker {
  margin-bottom: 14px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
}

.capability-item {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.capability-item:last-child {
  border-right: 0;
}

.item-index {
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.capability-item h3,
.system-item h3,
.method-step h3 {
  margin: 42px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 760;
}

.capability-item p,
.system-item p,
.method-step p {
  margin: 0;
  color: var(--ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 8px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.2;
}

.dark-band {
  width: min(calc(100% - 48px), var(--section));
  padding: 78px 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(245, 245, 239, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 245, 239, 0.04) 1px, transparent 1px),
    var(--dark);
  background-size: 44px 44px;
  color: var(--white);
}

.dark-band .section-kicker,
.dark-band .section-heading p:last-child {
  color: rgba(245, 245, 239, 0.64);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 239, 0.14);
  border-radius: 8px;
  background: rgba(245, 245, 239, 0.14);
}

.system-item {
  min-height: 290px;
  padding: 28px;
  background: rgba(245, 245, 239, 0.055);
}

.system-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 244, 91, 0.35);
  border-radius: 6px;
  background: rgba(217, 244, 91, 0.12);
  color: var(--lime);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 750;
}

.system-item h3 {
  color: var(--white);
}

.system-item p {
  color: rgba(245, 245, 239, 0.72);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.method-step {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.method-step span {
  color: var(--coral);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.method-step h3 {
  margin-top: 60px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy p:last-child {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.about-principles {
  display: grid;
  gap: 12px;
}

.about-principles div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.about-principles strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.about-principles span {
  color: var(--ink-soft);
}

.faq-section {
  padding-bottom: 74px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-size: 20px;
  font-weight: 720;
  line-height: 1.4;
}

.faq-question i {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
}

.faq-question i::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 160ms ease;
}

.faq-question[aria-expanded="true"] i {
  background: var(--lime);
  border-color: rgba(16, 18, 17, 0.24);
}

.faq-question[aria-expanded="true"] i::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  max-width: 820px;
  padding: 0 72px 26px 0;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px max(24px, calc((100vw - var(--section)) / 2)) 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(245, 245, 239, 0.84);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand span,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-record {
  margin-left: 18px;
  color: inherit;
  text-decoration: none;
}

.footer-record:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid rgba(109, 156, 255, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 24px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 64px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .capability-grid,
  .system-grid,
  .method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-item:nth-child(2) {
    border-right: 0;
  }

  .capability-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 840px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section-shell,
  .dark-band {
    width: auto;
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 46px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-points,
  .belief,
  .section-heading,
  .about {
    grid-template-columns: 1fr;
  }

  .belief {
    gap: 18px;
  }

  .belief h2,
  .section-heading h2,
  .about h2,
  .compact-heading h2 {
    font-size: 34px;
  }

  .section-heading .section-kicker {
    margin-bottom: 0;
  }

  .section-block {
    padding: 66px 0;
  }

  .dark-band {
    padding: 58px 24px;
  }

  .about {
    gap: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px 38px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 70px;
  }

  body {
    background-size: 36px 36px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .section-shell.hero {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions,
  .hero-points,
  .hero-visual {
    width: auto;
    max-width: none;
    margin-right: 32px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
  }

  .hero-points li {
    position: relative;
    min-height: 0;
    justify-content: flex-start;
    padding: 0 0 0 18px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 13px;
  }

  .hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
  }

  .hero-visual {
    min-height: 300px;
  }

  .human-core {
    width: 128px;
    height: 128px;
  }

  .human-core::before {
    top: 30px;
    width: 28px;
    height: 28px;
  }

  .human-core::after {
    top: 66px;
    width: 58px;
    height: 34px;
  }

  .signal-card {
    width: 118px;
    min-height: 62px;
    padding: 10px;
  }

  .signal-card span {
    font-size: 12px;
  }

  .signal-card-one {
    left: 4%;
    top: 8%;
  }

  .signal-card-two {
    display: none;
  }

  .signal-card-three {
    left: 5%;
    bottom: 8%;
  }

  .capability-grid,
  .system-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .capability-item {
    min-height: 270px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-item:last-child {
    border-bottom: 0;
  }

  .system-item,
  .method-step {
    min-height: 230px;
  }

  .faq-question span {
    font-size: 18px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .footer-record {
    display: block;
    margin: 4px 0 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    line-height: 1.7;
  }

  .hero-actions,
  .hero-points,
  .hero-visual {
    max-width: 342px;
  }
}

@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;
  }
}
