:root {
  color-scheme: light;
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #eeeeec;
  --text: #000000;
  --text-soft: #505050;
  --line: rgba(0, 0, 0, 0.1);
  --lime: #b8d7c3;
  --black: #17211c;
  --font-display: "Fustat", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-ui: "Schibsted Grotesk", "Inter", "Source Han Sans CN", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.5;
  letter-spacing: 0;
}

button,
a,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

svg {
  display: block;
}

.home-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 16px 48px;
  pointer-events: none;
}
.home-header:not(.scrolled) { color: #17211c; }

.header-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 60px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.home-header.scrolled .header-shell {
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
}

.brand-logo {
  width: 116px;
  height: 58px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav > a,
.nav-link {
  min-height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  white-space: nowrap;
}

.desktop-nav > a, .nav-link { transition: color 150ms ease; }
.desktop-nav > a:hover, .nav-link:hover { color: #29755c; }
.desktop-nav > a[aria-current="page"] { box-shadow: inset 0 -1px currentColor; }
.home-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.home-login { padding: 8px 0; border: 0; background: transparent; font-size: 12px; white-space: nowrap; }
.home-header-actions .dark-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 16px; font-size: 12px; font-weight: 500; white-space: nowrap; }

.nav-solutions {
  position: relative;
}

.solution-menu {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 300px;
  padding: 8px;
  display: grid;
  gap: 3px;
  translate: -50% -8px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  background: rgba(248, 248, 248, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px);
  transition: 180ms ease;
}

.nav-solutions.is-open .solution-menu {
  translate: -50% 0;
  visibility: visible;
  opacity: 1;
}

.solution-menu a {
  padding: 12px;
  display: grid;
  border-radius: 8px;
}

.solution-menu a:hover {
  background: #fff;
}

.solution-menu b {
  font-size: 14px;
}

.solution-menu span {
  color: var(--text-soft);
  font-size: 12px;
}

.dark-pill,
.light-pill,
.outline-pill {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-weight: 600;
}

.dark-pill {
  justify-self: end;
  background: var(--black);
  color: #fff;
}

.dark-pill:hover {
  background: #2c302e;
}

.hero {
  position: relative;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  height: calc(100svh - 48px);
  max-height: 920px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #dbddd8;
}

.hero-media video {
  position: absolute;
  top: 0;
  left: 50%;
  width: 115%;
  height: 115%;
  opacity: 0;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center top;
}

.hero-video-wash {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  padding: 104px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #17211c;
}

.hero-badge {
  height: 28px;
  padding: 4px 12px 4px 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  background: rgba(248, 248, 248, 0.6);
  backdrop-filter: blur(16px);
  font-family: "Inter", sans-serif;
  font-size: 11px;
}

.badge-new {
  height: 20px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 3px;
  background: var(--black);
  color: #fff;
}

.badge-new svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.hero h1 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}
.hero h1 span { display: block; }
.hero h1 em { display: block; margin-top: 12px; font: 500 13px/1.5 var(--font-ui); font-style: normal; }

.hero-subtitle {
  width: min(542px, 100%);
  margin: 22px 0 0;
  color: #45534b;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

.hero-prompt-panel {
  width: min(680px, 100%);
  height: 180px;
  margin-top: 30px;
  padding: 14px;
  display: grid;
  grid-template-rows: 20px 74px 36px;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(14, 26, 20, 0.62);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
  text-align: left;
}

.prompt-meta,
.prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.credit-copy,
.powered-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.powered-copy svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-input {
  min-width: 0;
  margin: 0;
  padding: 9px 14px 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
}

.hero-input:focus-within {
  box-shadow: 0 0 0 2px var(--lime);
}

.hero-input textarea {
  min-width: 0;
  height: 62px;
  flex: 1;
  padding: 11px 14px 8px 0;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--black);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
}

.hero-input textarea::placeholder {
  color: rgba(0, 0, 0, 0.46);
}

.hero-input button {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: var(--black);
  color: #fff;
}

.hero-input button:disabled {
  background: rgba(14, 19, 17, 0.42);
  cursor: not-allowed;
}

.hero-input svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.prompt-actions > div {
  display: flex;
  gap: 8px;
}

.prompt-actions button {
  height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
}

.prompt-actions button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.prompt-actions svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.prompt-actions > span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.prompt-actions > span b {
  font-weight: 500;
}

.prompt-actions button.has-value {
  background: var(--lime);
  color: var(--black);
}

.case-stage {
  position: relative;
  width: min(1200px, calc(100% - 96px));
  height: 648px;
  margin: 0 auto;
  padding: 0 0 60px;
  overflow: hidden;
  background: transparent;
}
.case-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: min(1200px, calc(100% - 96px)); margin: 24px auto 28px; }
.case-heading > div > span { color: var(--text-soft); font-size: 10px; }
.case-heading h2 { margin: 12px 0 0; font-size: 28px; font-weight: 500; line-height: 1.4; }
.case-heading > a { display: inline-flex; gap: 12px; font-size: 12px; }

.case-workspace {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 588px;
  display: grid;
  grid-template-columns: 294px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.case-sidebar {
  position: relative;
  padding: 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.case-project {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.case-project strong {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--black);
  color: #d7ff3f;
  font-size: 9px;
  font-weight: 700;
}

.case-sidebar > p {
  margin: 24px 0 28px;
  padding: 14px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.055);
  color: var(--text-soft);
  font-size: 13px;
}

.case-progress {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
  color: rgba(0, 0, 0, 0.38);
  font-size: 12px;
}

.case-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.case-progress i {
  width: 12px;
  height: 12px;
  display: block;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.case-progress .complete {
  color: rgba(0, 0, 0, 0.72);
}

.case-progress .complete i {
  background: var(--black);
  box-shadow: inset 0 0 0 3px #fff;
}

.case-input {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text-soft);
  font-size: 12px;
}

.case-input button {
  position: absolute;
  bottom: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
}

.case-input button:first-of-type {
  left: 10px;
  background: transparent;
}

.case-input button:last-of-type {
  right: 10px;
  background: var(--black);
  color: #fff;
}

.case-canvas {
  position: relative;
  overflow: hidden;
}

.case-canvas img {
  position: absolute;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.case-canvas img:nth-child(1) {
  top: 76px;
  left: 9%;
  width: 160px;
  height: 160px;
}

.case-canvas img:nth-child(2) {
  top: 294px;
  left: 5%;
  width: 199px;
  height: 207px;
}

.case-canvas img:nth-child(3) {
  top: 18px;
  left: 33%;
  width: 244px;
  height: 425px;
}

.case-canvas img:nth-child(4) {
  top: 84px;
  right: 12%;
  width: 134px;
  height: 172px;
}

.case-canvas img:nth-child(5) {
  top: 340px;
  right: 24%;
  width: 141px;
  height: 199px;
}

.case-canvas img:nth-child(6) {
  top: 310px;
  right: 5%;
  width: 146px;
  height: 171px;
}

.case-tabs {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 50%;
  padding: 4px;
  display: flex;
  translate: -50% 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.case-tabs button {
  min-width: 92px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
}

.case-tabs button.active {
  background: #fff;
  color: var(--black);
}

.trust-row {
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.avatars {
  display: flex;
  justify-content: center;
}

.avatars img {
  width: 46px;
  height: 46px;
  margin-left: -8px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.trust-row p {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.prompt-scroll {
  position: relative;
  height: 1800px;
}

.prompt-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--surface);
}

.prompt-compose {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 420ms ease, transform 520ms ease;
}

.prompt-compose h2,
.prompt-result h2,
.section-title h2,
.tools-heading h2,
.home-faq h2,
.home-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

.prompt-compose h2 {
  font-size: 44px;
  line-height: 1.25;
}

.prompt-box {
  position: relative;
  width: min(728px, calc(100% - 48px));
  height: 190px;
  margin-top: 54px;
  padding: 66px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px);
}

.prompt-files {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 7px;
}

.prompt-files span {
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
}

.prompt-box p {
  height: 76px;
  margin: 0;
  padding: 18px;
  border-radius: 6px;
  background: #fff;
  color: rgba(0, 0, 0, 0.68);
  font-size: 16px;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.11);
}

.prompt-box button {
  position: absolute;
  bottom: 26px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
}

.prompt-add {
  left: 26px;
  background: transparent;
  font-size: 24px;
}

.prompt-send {
  right: 26px;
  background: var(--black);
  color: #fff;
  font-size: 20px;
}

.scroll-copy {
  margin-top: 34px;
  color: var(--text-soft);
  font-size: 12px;
}

.prompt-gallery {
  position: absolute;
  inset: -24px 0 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 650ms ease, transform 900ms ease;
}

.gallery-grid {
  width: calc(100% - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.prompt-result {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 450ms ease, transform 550ms ease;
  pointer-events: none;
}

.prompt-result p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 13px;
}

.prompt-result h2 {
  font-size: 48px;
  line-height: 1.3;
}

.prompt-result span {
  max-width: 660px;
  margin: 28px auto 0;
  color: var(--text-soft);
  font-size: 16px;
}

.prompt-stage.phase-gallery .prompt-compose {
  opacity: 0;
  transform: translateY(-70px);
  pointer-events: none;
}

.prompt-stage.phase-gallery .prompt-gallery {
  opacity: 1;
  transform: scale(1);
}

.prompt-stage.phase-result .prompt-gallery {
  opacity: 0.18;
  transform: scale(1.12);
}

.prompt-stage.phase-result .prompt-result {
  opacity: 1;
  transform: translateY(0);
}

.skills-section,
.features-section,
.tools-section,
.models-section,
.home-faq {
  scroll-margin-top: 88px;
}

.skills-section {
  min-height: 800px;
  padding: 100px 0 80px;
  background: var(--bg);
}

.section-title.centered {
  text-align: center;
}

.section-title > p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 44px;
  line-height: 1.25;
}

.skills-stage {
  position: relative;
  max-width: 1280px;
  height: 480px;
  margin: 54px auto 0;
}

.skill-image {
  position: absolute;
  width: 240px;
  height: 320px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.skill-image-a {
  top: 0;
  left: -60px;
}

.skill-image-b {
  top: 105px;
  left: 16%;
}

.skill-image-c {
  top: 88px;
  right: 16%;
}

.skill-image-d {
  top: 8px;
  right: -60px;
}

.skill-list {
  position: absolute;
  z-index: 2;
  top: 60px;
  left: 50%;
  width: 300px;
  padding: 12px;
  display: grid;
  gap: 3px;
  translate: -50% 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(248, 248, 248, 0.64);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(24px);
}

.skill-list button {
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(0, 0, 0, 0.28);
  text-align: center;
  font-size: 14px;
}

.skill-list button.active {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--black);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.features-section {
  width: min(1200px, calc(100% - 96px));
  min-height: 0;
  margin: 0 auto;
  padding: 80px 0 100px;
}

.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.feature-item {
  padding: 0;
  background: transparent;
}

.feature-item video {
  width: 100%;
  aspect-ratio: 5 / 4;
  display: block;
  border-radius: 6px;
  background: #e7e7e5;
  object-fit: cover;
}

.feature-item h3 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.feature-item p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.85;
}

.outline-pill {
  margin: 64px auto 0;
  display: block;
  border: 1px solid var(--line);
  background: #fff;
}

.outline-pill:hover {
  background: var(--black);
  color: #fff;
}

.tools-section {
  min-height: 0;
  padding: 90px 0 100px max(48px, calc((100% - 1200px) / 2));
  overflow: hidden;
  background: var(--surface);
}

.tools-heading {
  width: min(1200px, calc(100% - 48px));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.tools-heading h2 {
  width: 600px;
  font-size: 40px;
  line-height: 1.3;
}

.carousel-actions {
  display: flex;
  gap: 10px;
}

.carousel-actions button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
}

.carousel-actions button:hover:not(:disabled) {
  background: var(--black);
  color: #fff;
}

.carousel-actions button:disabled {
  opacity: 0.28;
}

.tools-viewport {
  margin-top: 40px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.tools-track {
  display: flex;
  gap: 24px;
}

.tool-card {
  width: 320px;
  padding: 0 0 20px;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.tool-card img {
  width: 320px;
  height: 360px;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.tool-card h3 {
  margin: 17px 8px 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
}

.tool-card p {
  margin: 7px 8px 0;
  color: var(--text-soft);
  font-size: 13px;
}

.models-section {
  min-height: 0;
  padding: 100px 48px;
  overflow: hidden;
  background: var(--bg);
}

.models-section .section-title > span {
  display: block;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 15px;
}

.models-stage {
  max-width: 1200px;
  height: 380px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.model-card {
  position: relative;
  width: 0;
  height: 300px;
  padding: 0;
  flex: 1 1 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  opacity: 1;
  transition: border-color 180ms ease, transform 180ms ease;
}

.model-card img,
.model-card video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}

.model-card strong {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  right: 0;
  white-space: normal;
  font-size: 12px;
  font-weight: 500;
}

.model-card.active {
  border-color: #29755c;
  transform: translateY(-8px);
}

.model-card.active::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #b8d7c3;
  border-radius: 8px;
  pointer-events: none;
}

.model-caption {
  margin: 20px 0 0;
  color: var(--text-soft);
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.model-caption b {
  color: var(--text);
  font-weight: 700;
}

.home-faq {
  width: min(820px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 80px 0 120px;
}

.home-faq > h2 {
  font-size: 44px;
  text-align: center;
}

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

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

.faq-question {
  width: 100%;
  min-height: 78px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}

.faq-question i {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 10px;
  height: 1px;
  background: currentColor;
}

.faq-question i::before {
  left: 1px;
  rotate: 45deg;
}

.faq-question i::after {
  right: 0;
  rotate: -45deg;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--text-soft);
  font-size: 14px;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0 0 28px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-question i {
  rotate: 180deg;
}

.home-cta {
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.cta-letters {
  position: absolute;
  inset: auto 0 -30px;
  display: flex;
  justify-content: center;
  gap: 18px;
  opacity: 0.08;
}

.cta-letters span {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 500;
  line-height: 1;
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding: 30px 44px;
  text-align: center;
}

.home-cta h2 {
  font-size: 44px;
}

.home-cta p {
  margin: 16px 0 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
}

.light-pill {
  background: #fff;
  color: var(--black);
}

.site-footer {
  width: min(1200px, calc(100% - 96px));
  margin: 0 auto;
  padding: 72px 0 18px;
}

.footer-top {
  min-height: 240px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-brand {
  align-self: start;
}

.footer-logo {
  width: 180px;
  height: 90px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links h3 {
  margin: 0 0 22px;
  font-size: 13px;
}

.footer-links a, .footer-links button {
  margin-bottom: 11px;
  color: var(--text-soft);
  font-size: 13px;
}
.footer-links button { border: 0; padding: 0; background: transparent; text-align: left; }

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 12px;
}

.footer-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-control {
  padding: 3px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.theme-control button,
.language-button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
}

.theme-control button.active {
  background: #e9e9e7;
  color: var(--text);
}

.language-button {
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  cursor: default;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  translate: 0 20px;
  opacity: 0;
  border-radius: 8px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show {
  translate: 0 0;
  opacity: 1;
}

body.dark {
  --bg: #111310;
  --surface: #191c19;
  --surface-soft: #242723;
  --text: #f6f7f3;
  --text-soft: rgba(246, 247, 243, 0.58);
  --line: rgba(246, 247, 243, 0.14);
  --black: #080a08;
}

body.dark .home-header.scrolled .header-shell,
body.dark .skill-list {
  background: rgba(17, 19, 16, 0.76);
}

body.dark .feature-item,
body.dark .tool-card,
body.dark .model-card,
body.dark .prompt-stage,
body.dark .tools-section {
  background: var(--surface);
}

body.dark .prompt-compose,
body.dark .tools-heading,
body.dark .home-faq {
  color: var(--text);
}

@media (max-width: 1100px) {
  .home-header {
    padding-inline: 36px;
  }

  .desktop-nav {
    gap: 24px;
    font-size: 14px;
  }

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

  .case-stage,
  .case-heading,
  .features-section,
  .site-footer {
    width: calc(100% - 56px);
  }
}

@media (max-width: 820px) {
  .home-header {
    padding: 12px 18px;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .brand-logo {
    width: 96px;
    height: 48px;
  }
  .home-login { display: none; }

  .hero-copy {
    padding-inline: 20px;
    transform: none;
  }

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

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

  .hero-prompt-panel {
    height: auto;
    min-height: 180px;
  }

  .prompt-actions button {
    padding-inline: 8px;
  }

  .case-stage {
    height: 630px;
    padding: 0 0 60px;
  }

  .case-workspace {
    height: 570px;
    grid-template-columns: 1fr;
  }

  .case-sidebar {
    display: none;
  }

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

  .section-title h2,
  .prompt-result h2,
  .home-faq > h2 {
    font-size: 46px;
  }

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

  .tools-section {
    padding-left: 28px;
  }

  .tools-heading {
    width: calc(100% - 56px);
  }

  .tools-heading h2 {
    width: auto;
    font-size: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .models-section { padding-inline: 24px; }
  .models-stage { justify-content: flex-start; gap: 12px; overflow-x: auto; overflow-y: hidden; height: 350px; padding: 10px 6px 44px; }
  .model-card { flex: 0 0 150px; height: 260px; }
  .cta-letters { gap: 8px; }
  .cta-letters span { font-size: 72px; }
  .hero-copy { padding-top: 94px; padding-bottom: 36px; }
  .case-heading h2 { font-size: 22px; }
  .case-heading > a { white-space: nowrap; }
}
button:focus-visible, a:focus-visible { outline: 2px solid #29755c; outline-offset: 4px; }

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