/* Homepage visual polish — loaded only from index.html */

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(1.6rem, 4.5vw, 3.6rem);
  padding: clamp(2rem, 4.5vw, 3.4rem) 0 clamp(2.4rem, 5vw, 3.8rem);
  align-items: end;
}

.hero-copy {
  gap: 0.95rem;
  padding-bottom: 0.35rem;
}

.hero .kicker {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--ink-soft) 82%, var(--electric));
  margin-bottom: 0.15rem;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5.2vw, 4.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 0.15rem;
}

.hero .lede {
  font-size: 1.05rem;
  line-height: 1.58;
  max-width: 42ch;
  margin: 0;
}

.aperture {
  aspect-ratio: 16 / 10.4;
}

.aperture img {
  object-position: 18% 46%;
  filter: saturate(0.9) contrast(1.08) brightness(1.1);
}

.aperture::before {
  background:
    linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--void) 16%, transparent) 100%),
    radial-gradient(55% 60% at 86% 18%, color-mix(in srgb, var(--magenta) 8%, transparent), transparent 64%);
}

.aperture::after {
  inset: 12px;
  border-color: color-mix(in srgb, var(--aqua) 22%, transparent);
}

.aperture-meta {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--ink) 88%, var(--aqua));
}

.chapter {
  padding: clamp(3.6rem, 7.2vw, 6.8rem) 0;
}

.hero + .chapter {
  padding-top: clamp(2.2rem, 4.5vw, 3.6rem);
}

.chapter .kicker {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--ink-soft) 78%, var(--electric));
  margin-bottom: 0.7rem;
}

.chapter h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.032em;
  max-width: 18ch;
}

.chapter .lede {
  font-size: 1.06rem;
  line-height: 1.62;
  max-width: 54ch;
  margin-top: 0.85rem;
}

.chapter-cinema {
  background:
    radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--magenta) 10%, transparent), transparent 52%),
    linear-gradient(180deg, color-mix(in srgb, var(--plum) 35%, var(--void)), var(--void));
}

.split {
  gap: clamp(1.8rem, 5vw, 4.4rem);
  align-items: center;
}

.fail-list {
  margin-top: 1.6rem;
}

.fail-list li {
  padding: 0.95rem 0;
}

.grade::after {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--plum) 22%, transparent));
}

.grade img {
  filter: saturate(0.86) contrast(1.05) brightness(0.96);
}

.industry {
  padding: 8rem 1.15rem 1.15rem;
  border-color: color-mix(in srgb, var(--ink) 8%, transparent);
  background-size: cover;
}

.industry:nth-child(1) { background-position: 50% 40%; }
.industry:nth-child(2) { background-position: 62% 40%; }
.industry:nth-child(3) { background-position: 42% 38%; }
.industry:nth-child(4) { background-position: 50% 45%; }
.industry:nth-child(5) { background-position: 48% 36%; }
.industry:nth-child(6) { background-position: 42% 34%; }
.industry:nth-child(7) { background-position: 50% 32%; }
.industry:nth-child(8) { background-position: 46% 38%; }
.industry:nth-child(9) { background-position: 58% 40%; }
.industry:nth-child(10) { background-position: 28% 42%; }
.industry:nth-child(11) { background-position: 50% 38%; }

.industry h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.step {
  min-height: 8.6rem;
  padding: 0.95rem;
  background: color-mix(in srgb, var(--plum) 62%, var(--void));
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: color-mix(in srgb, var(--electric) 45%, var(--line));
}

.portal-stage {
  overflow: hidden;
}

.portal-chip {
  border-color: color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
}

.portal-chip:nth-child(2) { left: 3%; }
.portal-chip:nth-child(3) { right: 3%; }

.workflow {
  max-width: 100%;
}

.swatch:nth-child(1) { background: #5a2a7a !important; }
.swatch:nth-child(2) { background: #8c4dff !important; }
.swatch:nth-child(3) { background: #d94fd5 !important; }
.swatch:nth-child(4) { background: #39d6d0 !important; }

.feat h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.18;
  margin-bottom: 0.35rem;
}

.feat p {
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 38ch;
}

.feature-orchestra {
  gap: 1.15rem 1.5rem;
  margin-top: 2.1rem;
}

.outcome {
  padding: 1.25rem 1.4rem 1.25rem 0;
}

.outcome strong {
  font-size: 1.28rem;
  line-height: 1.2;
}

.outcome p {
  margin: 0;
  max-width: 42ch;
  line-height: 1.55;
}

.compare-col {
  padding: 1.4rem 1.25rem;
}

.compare-col:last-child {
  box-shadow: none;
}

.price-card {
  padding: 1.45rem 1.3rem 1.5rem;
  background: color-mix(in srgb, var(--plum) 55%, var(--void));
  border: 1px solid var(--line);
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--void) 45%, transparent);
}

.price-card.recommended {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--aqua) 34%, transparent);
  background:
    radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--aqua) 12%, transparent), transparent 58%),
    color-mix(in srgb, var(--plum) 62%, var(--void));
}

.price {
  font-size: clamp(2.4rem, 4vw, 2.85rem);
}

.future-band {
  border: 1px solid var(--line);
  border-style: solid;
  min-height: 0;
  padding: 1.25rem 1.2rem;
  background: color-mix(in srgb, var(--plum) 40%, transparent);
}

.faq summary {
  font-size: 1.18rem;
  line-height: 1.25;
  padding: 0.15rem 0;
}

.faq p {
  line-height: 1.6;
  max-width: 58ch;
}

.capture {
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.cta-stage img {
  min-height: 22rem;
  object-position: 48% 58%;
  filter: saturate(0.9) contrast(1.06) brightness(1.02);
}

#capture h2 {
  max-width: 18ch;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.audience-list li {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--plum) 50%, transparent);
}

.notice {
  margin: 1.6rem 0 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--aqua) 35%, var(--line));
  background: color-mix(in srgb, var(--plum) 55%, var(--void));
  max-width: 52ch;
}

.notice strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 560;
  line-height: 1.3;
  color: var(--ink);
}

.rel-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin: 2rem 0 0.8rem;
}

.rel-panel {
  background: color-mix(in srgb, var(--plum) 58%, var(--void));
  border: 1px solid var(--line);
  padding: 0.7rem 0.7rem 1.05rem;
}

.rel-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0.85rem;
  filter: saturate(0.88) contrast(1.05);
}

.rel-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.35rem;
}

.rel-panel h3,
.rel-hub strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0 0 0.35rem;
}

.rel-panel p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.rel-hub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--aqua) 28%, var(--line));
  background:
    radial-gradient(80% 70% at 50% 40%, color-mix(in srgb, var(--magenta) 16%, transparent), transparent 70%),
    color-mix(in srgb, var(--plum) 70%, var(--void));
  padding: 1.2rem 0.8rem;
  position: relative;
}

.rel-hub span,
.rel-hub em {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rel-guest {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 2rem;
}

.how-steps {
  list-style: none;
  margin: 0 0 2.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.how-steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.how-steps span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--aqua);
  padding-top: 0.3rem;
}

.how-steps h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.how-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.roles article {
  border: 1px solid var(--line);
  padding: 1rem 1.05rem 1.15rem;
  background: color-mix(in srgb, var(--plum) 48%, var(--void));
}

.roles span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.45rem;
}

.roles h3 {
  font-size: 1.12rem;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.roles p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.lanes article {
  border-top: 1px solid color-mix(in srgb, var(--aqua) 30%, var(--line));
  padding-top: 0.9rem;
}

.lanes h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.lanes p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.benefit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.benefit-split h3 {
  font-size: 1.45rem;
  margin: 0 0 0.8rem;
}

.benefit-split ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-split li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}

.plan-note {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin-top: 0.2rem;
}

.wl-visual img,
.portal-stage img,
.feat-visual img {
  box-shadow: 0 18px 50px color-mix(in srgb, var(--void) 55%, transparent);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 1.4rem;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(2.05rem, 8.2vw, 3.05rem);
    line-height: 1.12;
  }

  .hero .lede,
  .chapter .lede {
    max-width: 42ch;
  }

  .aperture {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .aperture img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  .cta-stage img {
    min-height: 16rem;
    object-position: 50% 48%;
  }

  .chapter h2 {
    max-width: 16ch;
  }

  .industry {
    padding-top: 6.4rem;
    background-position: 50% 30%;
  }

  .rel-stage {
    grid-template-columns: 1fr;
  }

  .how-steps,
  .roles,
  .lanes,
  .benefit-split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --media-gutter: 0.75rem;
  }

  .how-steps,
  .roles,
  .lanes,
  .benefit-split {
    grid-template-columns: 1fr;
  }

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

  .chapter {
    padding: clamp(2.4rem, 8vw, 4rem) 0;
    scroll-margin-top: calc(var(--header-height) + 1.15rem);
  }

  .hero-grid {
    gap: 1.35rem;
    padding-bottom: 1.55rem;
  }

  .hero + .chapter {
    padding-top: 2rem;
  }

  .aperture,
  .split .grade {
    width: calc(100% + 2 * (var(--gutter) - var(--media-gutter)));
    max-width: none;
    margin-inline: calc(var(--media-gutter) - var(--gutter));
  }

  .split {
    gap: 1.35rem;
  }

  .split .grade {
    overflow: visible;
    height: auto;
  }

  .split .grade img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .audience-list {
    margin-top: 1.45rem;
  }
}
