/* Landing page design layer. Loaded last on /creatorstudio/ only, so the
   shared styles.css (used by login, register, tools, etc.) is untouched.
   One container, one type scale, two fonts, solid buttons. */

.home {
  --container: 1200px;
  --gutter: 24px;
  --section-space: 128px;
  --bg: #0b0b10;
  --surface: #121218;
  --surface-2: #18181f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f5f4f8;
  --ink-2: #b3b1bf;
  --ink-3: #85839a;
  --accent: #a78bfa;
  --accent-ink: #c9bcff;
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(167, 139, 250, 0.10), transparent 70%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
}

/* ── Typography ─────────────────────────────────────────────────── */

/* #top beats every component-level font rule in styles.css/editorial.css. */
#top :not(h1, h2, h3, h4, .plan-price, .plan-price *) {
  font-family: var(--font-body);
}

#top :is(h1, h2, h3, h4, .plan-price, .plan-price *) {
  font-family: var(--font-display);
}

#top h1 {
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

#top h1 em {
  font-style: normal;
  color: var(--accent-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
}

#top h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 20px;
  background: none;
  -webkit-text-fill-color: currentColor;
}

#top h2 em {
  font-style: normal;
  color: var(--ink-3);
}

#top h3 {
  font-weight: 500;
  letter-spacing: -0.015em;
}

#top p {
  color: var(--ink-2);
}

#top .eyebrow,
#top .tool-feature-tag,
#top .plan-name {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#top .eyebrow::before {
  display: none;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
}

.section-head--split h2 {
  margin-bottom: 0 !important;
}

.section-head--split > .btn-secondary {
  justify-self: end;
}

#top .section-lede {
  font-size: 17px;
  line-height: 1.65;
  max-width: 480px;
  margin: 0;
}

/* ── Buttons ────────────────────────────────────────────────────── */

.home .btn-primary,
.home .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.home .btn-primary {
  background: var(--ink);
  color: #0b0b10;
  border: 1px solid var(--ink);
}

.home .btn-primary:hover {
  background: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}

.home .btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.home .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.24);
}

.home :is(.btn-primary, .btn-secondary):focus-visible,
.home .tool-demo-btn:focus-visible,
.home .tool-card-demo:focus-visible,
.home .poster-play:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-play {
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ── Header ─────────────────────────────────────────────────────── */

.home .site-header {
  height: 68px;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  background: rgba(11, 11, 16, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
  gap: 32px;
}

.home .brand {
  gap: 10px;
  font-family: var(--font-display);
}

.home .brand-symbol {
  width: 28px;
  height: 28px;
}

.home .brand-wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.home .brand-wordmark > span {
  font-weight: 400;
  color: var(--ink-2);
}

.home .site-header nav {
  justify-content: center;
  gap: 32px;
}

.home .site-header nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}

.home .site-header nav a:hover {
  color: var(--ink);
}

.home .header-actions {
  gap: 8px;
}

.home .header-login,
.home .header-register {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.home .header-login {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-2);
}

.home .header-login:hover {
  color: var(--ink);
}

.home .header-register {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #0b0b10;
}

/* ── Section rhythm: one container, one vertical rhythm ─────────── */

.home main > section {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  max-width: none;
  margin: 0 auto;
  padding: var(--section-space) 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  box-sizing: border-box;
}

.home main > section:last-child {
  padding-bottom: var(--section-space);
}

/* ── Hero ───────────────────────────────────────────────────────── */

.home .hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
  min-height: 0;
  padding-top: 148px;
}

.home .hero-section::before {
  display: none;
}

.home .hero-copy {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

.home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.home .hero-actions .btn-primary {
  gap: 10px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9.2 10 5' fill='none' stroke='%23c9bcff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    rgba(167, 139, 250, 0.14);
}

.home .hero-stage {
  margin: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
}

.home .hero-bg {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}

.home .hero-bg::before {
  display: none;
}

.home .hero-bg img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: 50% 42%;
}

.home .hero-stage figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
}

/* ── Provider strip ─────────────────────────────────────────────── */

.home .provider-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 96px;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}

.home .provider-strip p {
  margin: 0;
  max-width: 240px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
}

.provider-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.provider-strip li {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #d4d2de;
  opacity: 0.85;
}

/* ── Overview video ─────────────────────────────────────────────── */

.home .cs-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: center;
  color: var(--ink);
}

#top .cs-overview__copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
  max-width: 400px;
  margin: 0 0 24px;
}

.home .cs-overview__more {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.home .cs-overview__more:hover {
  color: var(--accent-ink);
}

.home .cs-overview__player {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}

.home .cs-overview__player figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}

.has-poster-play {
  position: relative;
}

.poster-play {
  position: absolute;
  inset: 0 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  border: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35));
  cursor: pointer;
}

.poster-play span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s;
}

.poster-play span::after {
  content: "";
  margin-left: 5px;
  border-left: 20px solid #0b0b10;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.poster-play:hover span {
  transform: scale(1.06);
}

.has-poster-play.is-playing .poster-play {
  display: none;
}

/* ── Realism gallery ────────────────────────────────────────────── */

.home .realism-gallery-section {
  border-bottom: 0;
}

.home .realism-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  padding: 0;
}

.home .realism-gallery-card {
  aspect-ratio: 4 / 5;
  height: auto;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
}

.home .realism-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home .realism-gallery-card:hover img {
  transform: scale(1.03);
}

#top .realism-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Curation ───────────────────────────────────────────────────── */

.home .curation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}

#top .curation-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
  max-width: 480px;
}

.home .curation-steps {
  gap: 0;
  border-top: 1px solid var(--line);
}

.home .curation-steps article {
  display: grid;
  align-items: start;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

.home .curation-steps article > span {
  grid-row: span 2;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

#top .curation-steps h3 {
  margin: 0 0 8px;
  font-size: 21px;
  color: var(--ink);
}

#top .curation-steps p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
}

/* ── Digital double ─────────────────────────────────────────────── */

.dd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}

.home .model-expr-tile {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
  backdrop-filter: none;
}

.home .model-expr-tile .model-expr-hero {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.4;
  height: auto;
}

.home .model-expr-tile .model-expr-hero-tag,
.home .model-expr-tile .model-expr-cell span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home .model-expr-tile .model-expr-cell {
  border-radius: 8px;
}

.home .model-expr-tile .model-expr-cell.is-active {
  border-color: var(--accent);
  box-shadow: none;
}

.home .model-expr-caption {
  display: none;
}

#top .dd-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
  max-width: 460px;
}

.dd-points {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.dd-points li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.dd-points strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.dd-points span {
  font-size: 15px;
  color: var(--ink-2);
}

/* ── Workflows (alternating feature rows) ───────────────────────── */

.home .tool-showcase-section {
  max-width: none;
}

.home .tool-category {
  margin: 0;
  border-top: 1px solid var(--line);
}

.home .tool-feature {
  gap: 80px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.home .tool-category > .tool-feature:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#top .tool-feature-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

#top .tool-feature-copy > p:not(.music-workflow-access) {
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 460px;
}

.home .tool-feature-points {
  gap: 12px;
  margin-top: 24px;
}

.home .tool-feature-points li {
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.home .tool-feature-points li::before {
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 6.8 10.5 11.5 5.8' fill='none' stroke='%23c9bcff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    rgba(167, 139, 250, 0.14);
}

.tool-feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.home .tool-feature-actions .tool-demo-btn {
  margin-top: 0;
}

.tool-feature-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.tool-feature-link:hover {
  color: var(--accent-ink);
}

.home .tool-demo-btn {
  gap: 10px;
  margin-top: 28px;
  min-height: 42px;
  padding: 0 18px 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.home .tool-demo-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: none;
}

.home .tool-demo-btn-icon {
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: #0b0b10;
  font-size: 9px;
  padding-left: 2px;
}

.home .homepage-music-video .tool-feature-copy > h3 {
  color: var(--ink);
}

#top .music-workflow-access {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-3);
}

.anchor-target {
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}

.home .mockup {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.10), var(--surface) 55%);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9);
}

.home .music-workflow-board {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.home .music-board-header {
  border-color: var(--line);
  font-size: 11px;
}

.home .music-board-state,
.home .music-board-chip,
.home .music-board-timeline > span {
  font-size: 10px;
}

.home .music-board-shots span {
  font-size: 9px;
}

.home .music-board-shots > div {
  border-color: var(--line);
}

/* ── Toolkit grid ───────────────────────────────────────────────── */

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

.tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
}

.tool-card.in-view {
  opacity: 1;
  transform: none;
}

.tool-card:hover {
  border-color: var(--line-strong);
}

.tool-card-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center 28%;
  border-bottom: 1px solid var(--line);
}

.tool-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px 26px;
}

#top .tool-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

#top .tool-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.tool-card-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tool-card-demo span {
  width: 0;
  height: 0;
  border-left: 7px solid var(--accent-ink);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.tool-card-demo:hover {
  color: var(--accent-ink);
}

.home .landing-tool-overview {
  width: auto;
  margin: 20px 0 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.home .landing-tool-overview .tool-name-overview-head {
  margin-bottom: 24px;
}

#top .landing-tool-overview h3 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
}

#top .landing-tool-overview .eyebrow {
  margin-bottom: 12px;
}

.home .tool-name-list {
  gap: 8px;
}

.home .tool-name-list span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
}

#top .byok-note {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}

#top .byok-note strong {
  color: var(--ink);
}

/* ── Copilot ────────────────────────────────────────────────────── */

.home .copilot-section {
  gap: 72px;
}

#top .copilot-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
  max-width: 480px;
}

.home .copilot-highlights {
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.home .copilot-highlights article {
  align-items: start;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}

.home .copilot-highlights span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
  padding-right: 18px;
}

.home .copilot-highlights strong {
  font-size: 16px;
  font-weight: 600;
}

#top .copilot-highlights p {
  font-size: 15px;
}

.home .copilot-panel {
  border-color: var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
}

/* ── Pricing ────────────────────────────────────────────────────── */

.home .pricing-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

#top .pricing-intro p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
}

.home .pricing-grid {
  gap: 16px;
}

.home .pricing-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
  backdrop-filter: none;
}

.home .pricing-card-featured {
  border-color: rgba(167, 139, 250, 0.55);
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.10), var(--surface) 45%);
  box-shadow: 0 30px 80px -40px rgba(167, 139, 250, 0.35);
}

#top .pricing-card h3 {
  font-size: 22px;
  color: var(--ink);
}

#top .plan-description {
  font-size: 15px;
  line-height: 1.55;
}

.home .plan-price span {
  font-weight: 500;
  letter-spacing: -0.04em;
}

.home .plan-price small {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0;
}

#top .plan-savings {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-ink);
}

.home .pricing-features {
  font-size: 14.5px;
}

.home .pricing-features li {
  color: var(--ink-2);
}

.home .pricing-features li > span {
  color: var(--accent-ink);
}

.home .pricing-badge-static {
  top: 20px;
  right: 20px;
  padding: 6px 10px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.14);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home .pricing-card .btn-primary,
.home .pricing-card .btn-secondary {
  width: 100%;
}

.home .pricing-card:not(.pricing-card-featured) .btn-primary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.home .pricing-card:not(.pricing-card-featured) .btn-primary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.home .pricing-text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.home .pricing-text-link:hover {
  color: var(--ink);
}

.home .plan-details {
  gap: 16px;
  margin-top: 16px;
}

.home .plan-detail-callout {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: none;
}

.home .plan-detail-callout strong {
  font-size: 15px;
  color: var(--ink);
}

#top .plan-detail-callout p {
  font-size: 14.5px;
  line-height: 1.65;
}

/* ── FAQ ────────────────────────────────────────────────────────── */

.home .faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 1.5px 12px no-repeat;
  transition: transform 0.25s;
}

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

.faq-list summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

#top .faq-list p {
  margin: -8px 0 24px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
}

/* ── Final CTA ──────────────────────────────────────────────────── */

.home main > section.final-cta {
  margin-top: var(--section-space);
  margin-bottom: var(--section-space);
  padding: 96px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(167, 139, 250, 0.16), transparent 70%),
    var(--surface);
  text-align: center;
}

#top .final-cta h2 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(36px, 4.6vw, 60px);
}

#top .final-cta > p {
  font-size: 17px;
  margin: 0;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* ── Footer ─────────────────────────────────────────────────────── */

.home .site-footer {
  padding: 72px max(var(--gutter), calc((100% - var(--container)) / 2)) 40px;
  border-top: 1px solid var(--line);
  background: none;
}

.home .site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  max-width: none;
  padding: 0;
}

.home .footer-brand {
  display: block;
}

.home .footer-brand p {
  max-width: 280px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
}

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

.footer-cols h3 {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.footer-cols a {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--ink);
}

.home .footer-copy {
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Demo modal ─────────────────────────────────────────────────── */

.home .modal-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.home .modal-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .home .site-header nav {
    gap: 20px;
  }

  .home .hero-bg img {
    height: 520px;
  }

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

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

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

@media (max-width: 900px) {
  .home {
    --section-space: 88px;
  }

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

  .home .hero-section,
  .home .cs-overview,
  .home .curation-section,
  .dd-layout,
  .home .copilot-section,
  .home .faq-section,
  .section-head--split,
  .home .site-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .section-head--split > .btn-secondary {
    justify-self: start;
  }

  .home .hero-section {
    padding-top: 120px;
  }

  .home .hero-stage figcaption {
    text-align: left;
  }

  .home .provider-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 72px;
  }

  .home .provider-strip p {
    max-width: none;
  }

  .provider-strip ul {
    justify-content: flex-start;
    gap: 12px 28px;
  }

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

  .home .tool-feature,
  .home .tool-feature.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 56px 0;
  }

  .home .tool-feature.reverse .tool-feature-visual {
    order: 0;
  }
}

@media (max-width: 640px) {
  .home {
    --gutter: 16px;
    --section-space: 72px;
  }

  .home .site-header {
    height: 60px;
  }

  .home .brand-wordmark {
    font-size: 18px;
  }

  .home .header-login {
    padding: 0 8px;
  }

  .home .header-register {
    padding: 0 12px;
  }

  .home .hero-section {
    padding-top: 104px;
  }

  #top .hero-copy {
    font-size: 17px;
  }

  .home .hero-actions > a {
    flex: 1 1 100%;
  }

  .home .hero-bg img {
    height: 440px;
  }

  .provider-strip li {
    font-size: 16px;
  }

  .home .realism-grid {
    gap: 10px;
  }

  .toolkit-grid,
  .home .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .landing-tool-overview {
    padding: 24px;
  }

  .home main > section.final-cta {
    padding: 64px 20px;
  }

  .final-cta-actions > a {
    flex: 1 1 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .tool-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home .realism-gallery-card img,
  .poster-play span {
    transition: none;
  }
}
