/* DeepSeek landing page theme — visual system derived from deepseek.com */
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #f9f8f8;
  --ink: #1e232c;
  --ink-strong: #152443;
  --muted: rgba(0, 0, 0, 0.65);
  --soft: rgba(0, 0, 0, 0.45);
  --accent: #4176e6;
  --accent-strong: #2f5ed6;
  --accent-soft: rgba(65, 118, 230, 0.12);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --surface: rgba(255, 255, 255, 0.55);
  --surface-solid: #ffffff;
  --radius-card: 24px;
  --radius-pill: 100px;
  --shadow-soft: 0 20px 60px -28px rgba(21, 36, 67, 0.35);
  --shadow-card: 0 24px 80px -40px rgba(21, 36, 67, 0.38);
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 48px, 1140px);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 60;
}

.header-inner {
  width: min(100% - 48px, 1280px);
  height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 143px;
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 12px;
}

.locale-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  background: var(--page);
  padding: 84px 24px 24px;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 18px;
  font-weight: 500;
}

.mobile-menu-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  padding: 132px 24px 72px;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #9cc1e7 0%, #c4d9ef 38%, #f0f4f8 76%, rgba(249, 248, 248, 0) 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: min(100%, 1080px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(21, 36, 67, 0.86);
  transition: background 0.2s ease, transform 0.2s ease;
}

.announce:hover {
  background: rgba(255, 255, 255, 0.62);
  transform: translateY(-1px);
}

.announce-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(65, 118, 230, 0.16);
}

.announce-text {
  text-align: left;
}

.announce-arrow {
  flex: 0 0 auto;
  color: var(--accent);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(21, 36, 67, 0.62);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-sep {
  opacity: 0.5;
}

.hero h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-shadow: 0 2px 30px rgba(255, 255, 255, 0.55);
}

.hero-lede {
  margin: 0;
  max-width: 680px;
  color: rgba(21, 36, 67, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.composer {
  position: relative;
  width: min(100%, 880px);
  padding: 14px 14px 12px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.36);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 70px -34px rgba(21, 36, 67, 0.4);
  backdrop-filter: blur(14px);
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.composer:focus-within {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(255, 255, 255, 0.85);
}

.composer textarea {
  display: block;
  width: 100%;
  min-height: 74px;
  max-height: 220px;
  padding: 10px 12px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.composer textarea::placeholder {
  color: rgba(30, 35, 44, 0.42);
}

.composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 34px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip.is-on {
  background: var(--accent-soft);
  border-color: rgba(65, 118, 230, 0.3);
  color: var(--accent);
}

.send {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.send:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.composer-hint {
  margin: 8px 4px 0;
  color: rgba(21, 36, 67, 0.5);
  font-size: 12.5px;
}

.sparkle {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  pointer-events: none;
  animation: sparkle-float 5s ease-in-out infinite;
}

@keyframes sparkle-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-6px, -8px, 0) rotate(18deg); }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 6px;
}

.download-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #4b80ea 0%, #3565dd 55%, #2c56c9 100%);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 20px 44px -14px rgba(53, 101, 221, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: download-glow 3.2s ease-in-out infinite;
}

.download-primary svg {
  transition: transform 0.25s ease;
}

.download-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 26px 58px -14px rgba(53, 101, 221, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.download-primary:hover svg {
  transform: translateY(2px);
}

.download-primary:active {
  transform: translateY(0) scale(0.99);
}

.download-primary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow:
    0 0 0 7px rgba(65, 118, 230, 0.55),
    0 20px 44px -14px rgba(53, 101, 221, 0.72);
}

@keyframes download-glow {
  0%, 100% { box-shadow: 0 20px 44px -14px rgba(53, 101, 221, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 24px 56px -10px rgba(53, 101, 221, 0.84), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
}

.secondary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(9, 45, 78, 0.18);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(9, 45, 78, 0.26);
  transform: translateY(-1px);
}

.cta-note {
  margin: 0;
  color: rgba(21, 36, 67, 0.56);
  font-size: 12.5px;
}

/* ---------- Sections ---------- */
.section {
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head-row .section-lede {
  max-width: 420px;
  margin-bottom: 6px;
}

.section-eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.section-lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cap-card {
  padding: 30px 28px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.cap-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.cap-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

.cap-card h3 {
  margin: 20px 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.4;
}

.cap-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

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

.tag-list li {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(65, 118, 230, 0.08);
  color: rgba(47, 94, 214, 0.9);
  font-size: 12px;
  font-weight: 500;
}

.fact-band {
  padding: 8px 0 0;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: rgba(21, 36, 67, 0.08);
  border: 1px solid rgba(21, 36, 67, 0.06);
}

.fact {
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.fact strong {
  display: block;
  color: var(--ink-strong);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Harness ---------- */
.harness {
  padding-top: 84px;
}

.harness-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.harness-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.28;
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(30, 35, 44, 0.82);
  font-size: 14.5px;
  line-height: 1.65;
}

.check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 7px;
  height: 10px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.platform-row span {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(21, 36, 67, 0.12);
  color: rgba(21, 36, 67, 0.72);
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.5);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 600;
}

.text-link svg {
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.harness-visual {
  position: relative;
}

.harness-visual::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  background: radial-gradient(closest-side, rgba(65, 118, 230, 0.18), rgba(65, 118, 230, 0));
  filter: blur(10px);
  z-index: 0;
}

.task-panel {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 34px 90px -46px rgba(21, 36, 67, 0.5);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.task-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(21, 36, 67, 0.07);
  color: rgba(21, 36, 67, 0.68);
  font-size: 12.5px;
}

.dots {
  display: inline-flex;
  gap: 5px;
}

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(21, 36, 67, 0.18);
}

.task-live {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(65, 118, 230, 0.1);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(21, 36, 67, 0.055);
}

.task-row:last-of-type {
  border-bottom: 0;
}

.task-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(21, 36, 67, 0.05);
  color: rgba(21, 36, 67, 0.7);
  font-size: 15px;
}

.task-row div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.task-row strong {
  color: var(--ink-strong);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-row small {
  color: var(--soft);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-status {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.task-status.done { background: rgba(35, 150, 90, 0.1); color: #1f7a4c; }
.task-status.run { background: rgba(65, 118, 230, 0.12); color: var(--accent); }
.task-status.wait { background: rgba(21, 36, 67, 0.06); color: rgba(21, 36, 67, 0.55); }

.task-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(249, 248, 248, 0.7);
  border-top: 1px solid rgba(21, 36, 67, 0.06);
  color: var(--soft);
  font-size: 11.5px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(65, 118, 230, 0.45);
  animation: pulse-ring 2.2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(65, 118, 230, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(65, 118, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(65, 118, 230, 0); }
}

/* ---------- Research ---------- */
.research {
  padding-top: 76px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.model-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(21, 36, 67, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.model-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(65, 118, 230, 0.3);
}

.model-card strong {
  color: var(--ink-strong);
  font-size: 15.5px;
  font-weight: 600;
}

.model-card span {
  color: var(--soft);
  font-size: 12px;
}

.model-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.model-card.is-latest {
  grid-column: span 1;
  background: linear-gradient(160deg, rgba(65, 118, 230, 0.1), rgba(255, 255, 255, 0.66));
  border-color: rgba(65, 118, 230, 0.25);
}

.model-badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff !important;
  font-size: 10.5px !important;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
  padding-top: 70px;
  padding-bottom: 104px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
}

.faq-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(21, 36, 67, 0.07);
  padding: 0 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-list details[open] {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(65, 118, 230, 0.22);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  cursor: pointer;
  list-style: none;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(65, 118, 230, 0.09);
  color: var(--accent);
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(21, 36, 67, 0.07);
  padding: 64px 0 28px;
  background: rgba(255, 255, 255, 0.28);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
}

.footer-brand img {
  width: 143px;
  height: 23px;
}

.footer-tagline {
  margin: 18px 0 0;
  color: var(--ink-strong);
  font-size: 16px;
  letter-spacing: 0.16em;
}

.footer-copy {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 12.5px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: var(--ink-strong);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-col a {
  color: rgba(30, 35, 44, 0.62);
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 36, 67, 0.07);
  color: var(--soft);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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

  .header-meta {
    margin-left: auto;
  }

  .harness-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .harness-visual {
    max-width: 520px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head-row {
    display: block;
  }

  .section-head-row .section-lede {
    margin-top: 14px;
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: min(100% - 32px, 1140px);
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .brand img {
    width: 124px;
    height: 20px;
  }

  .locale-pill {
    display: none;
  }

  .hero {
    padding: 96px 16px 56px;
    min-height: auto;
  }

  .hero-inner {
    gap: 24px;
  }

  .hero h1 {
    font-size: 30px;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }

  .hero-lede {
    font-size: 14px;
  }

  .announce {
    font-size: 12px;
    padding: 9px 12px;
    gap: 8px;
  }

  .announce-arrow {
    display: none;
  }

  .composer {
    padding: 10px;
  }

  .composer textarea {
    min-height: 66px;
    font-size: 15px;
  }

  .composer-hint {
    font-size: 11.5px;
  }

  .sparkle {
    right: -4px;
    bottom: -14px;
    width: 22px;
    height: 22px;
  }

  .download-primary {
    width: 100%;
    min-height: 58px;
    padding: 0 24px;
    font-size: 1.0625rem;
  }

  .secondary-actions {
    gap: 8px;
  }

  .pill {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .cta-note {
    font-size: 11.5px;
    line-height: 1.6;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 25px;
  }

  .cap-card {
    padding: 24px 22px;
  }

  .fact {
    padding: 22px 14px;
  }

  .fact strong {
    font-size: 19px;
  }

  .task-row {
    padding: 13px 14px;
  }

  .task-panel-head,
  .task-panel-foot {
    padding: 12px 14px;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .faq,
  .harness,
  .research {
    padding-top: 56px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .download-primary {
    animation: none;
  }

  .sparkle {
    animation: none;
  }
}
