/* AVIS — typography-first, wide section rhythm */

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

:root {
  --bg: #ffffff;
  --ink: #0f0f0f;
  --brand: #1e5cef;
  --brand-hover: #1854d9;
  --muted: rgba(15, 15, 15, 0.55);
  --radius-btn: 10px;
  --radius-bar: 16px;
  --radius-tile: 1.5rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Motion spec: 120px–200px between sections */
  --section-y: clamp(7.5rem, 12vw, 12.5rem);
  --gutter-x: clamp(1.5rem, 5vw, 5rem);
}

html.lenis,
html.lenis body {
  height: auto;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

@media (pointer: fine) {
  body.is-cursor-ready {
    cursor: none;
  }
}

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

/* —— Scroll to top (xuất hiện khi scroll xuống) —— */
.scroll-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(22%, env(safe-area-inset-bottom, 0px) + 5rem);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    visibility 0.35s;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.scroll-to-top:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 15, 15, 0.1);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .scroll-to-top {
    bottom: max(18%, env(safe-area-inset-bottom, 0px) + 4.5rem);
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* —— Custom cursor —— */
.custom-cursor {
  display: none;
  position: fixed;
  z-index: 9999;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  opacity: 0.35;
  transition:
    width 0.2s,
    height 0.2s,
    margin 0.2s,
    opacity 0.2s,
    background 0.2s,
    border-radius 0.2s;
}

@media (pointer: fine) {
  body.is-cursor-ready .custom-cursor {
    display: block;
  }

  .custom-cursor.is-pointer {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(15, 15, 15, 0.35);
    opacity: 0.9;
  }

  .custom-cursor.is-magnetic {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 50%;
    background: rgba(30, 92, 239, 0.12);
    border: 1px solid rgba(30, 92, 239, 0.35);
    opacity: 1;
  }
}

/* —— Top bar —— */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1rem var(--gutter-x) 0;
  pointer-events: none;
}

.glass-bar {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-bar);
  /* White glass — tối giản shadow */
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(26px) saturate(1.65);
  -webkit-backdrop-filter: blur(26px) saturate(1.65);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 0 rgba(15, 15, 15, 0.04);
}

.logo {
  height: 2rem;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo {
    height: 2.25rem;
  }
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.nav-tabs label {
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-btn);
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(15, 15, 15, 0.06);
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.nav-tabs label:hover {
  background: rgba(15, 15, 15, 0.1);
}

body:has(#tab-api:checked) label[for="tab-api"] {
  background: var(--ink);
  color: var(--bg);
}

body:has(#tab-studio:checked) label[for="tab-studio"] {
  background: var(--ink);
  color: var(--bg);
}

body:has(#tab-api:checked) label[for="tab-studio"] {
  background: rgba(15, 15, 15, 0.06);
  color: var(--ink);
}

body:has(#tab-api:checked) label[for="tab-studio"]:hover {
  background: rgba(15, 15, 15, 0.1);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6.5rem var(--gutter-x) 3rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #e8f0ff 0%, #f5f7fa 45%, #dde8ff 100%);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.42) 45%,
      rgba(255, 255, 255, 0.95) 100%
    ),
    linear-gradient(to top, rgba(255, 255, 255, 0.88) 0%, transparent 55%);
}

/* —— Creative Studio hero: overlay nhẹ kiểu Apple showcase + glass card —— */
@keyframes hero-video-reveal {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-glass-card {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.988);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-line-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero--studio {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: clamp(5.5rem, 12vh, 8rem) var(--gutter-x) clamp(3.5rem, 8vh, 5rem);
  text-align: center;
}

.hero--studio .hero__bg--studio {
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%);
}

.hero--studio .hero__video-shell--studio {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--studio .hero__video-shell--studio .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.06);
  animation: hero-video-reveal 2.15s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero--studio .hero__video-shell--studio .hero__video {
    animation: none;
    opacity: 1;
    transform: scale(1.02);
  }
}

.hero--studio .hero__shade--studio {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 32%,
    transparent 58%,
    rgba(255, 255, 255, 0.38) 86%,
    rgba(255, 255, 255, 0.68) 100%
  );
}

.hero--studio .hero__grain--studio {
  display: none;
}

.hero--studio .hero__inner--studio {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 42rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(28px) saturate(1.75);
  -webkit-backdrop-filter: blur(28px) saturate(1.75);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  animation: hero-glass-card 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.08s both;
}

.hero--studio .hero__inner--studio > * {
  animation: hero-line-in 0.85s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

.hero--studio .hero__inner--studio > *:nth-child(1) {
  animation-delay: 0.34s;
}

.hero--studio .hero__inner--studio > *:nth-child(2) {
  animation-delay: 0.44s;
}

.hero--studio .hero__inner--studio > *:nth-child(3) {
  animation-delay: 0.53s;
}

.hero--studio .hero__inner--studio > *:nth-child(4) {
  animation-delay: 0.61s;
}

.hero--studio .hero__inner--studio > *:nth-child(5) {
  animation-delay: 0.7s;
}

@media (prefers-reduced-motion: reduce) {
  .hero--studio .hero__inner--studio,
  .hero--studio .hero__inner--studio > * {
    animation: none;
  }
}

.kicker--studio {
  color: rgba(15, 15, 15, 0.48);
  letter-spacing: 0.22em;
}

.hero-title--studio {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.5rem, 8.5vw, 5.25rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.038em;
  color: rgba(15, 15, 15, 0.92);
}

.lead--studio {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.55;
  color: rgba(15, 15, 15, 0.64);
  font-weight: 400;
}

.hero--studio .chips--hero-studio {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero--studio .chip--hero-studio {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(15, 15, 15, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__actions--studio {
  justify-content: center;
  margin-top: 1.75rem;
}

.hero--studio .btn--primary--hero {
  box-shadow: none;
}

.hero--studio .btn--primary--hero:hover {
  box-shadow: none;
}

.hero__inner:not(.hero__inner--studio) {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.kicker {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  margin: 1.75rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
  color: rgba(15, 15, 15, 0.78);
}

@media (min-width: 768px) {
  .lead {
    font-size: 1.2rem;
  }
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.magnetic {
  position: relative;
}

.magnetic-inner {
  display: inline-block;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 12px 40px rgba(30, 92, 239, 0.22);
}

.btn--primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.btn--ghost {
  background: transparent;
  color: rgba(15, 15, 15, 0.75);
  border: 2px solid transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-inline: 0.25rem;
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--brand);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(15, 15, 15, 0.18);
}

.btn--outline:hover {
  background: rgba(15, 15, 15, 0.04);
}

.sep {
  color: rgba(15, 15, 15, 0.2);
  user-select: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chip {
  border-radius: var(--radius-btn);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 15, 15, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.panel {
  display: none;
}

body:has(#tab-studio:checked) .panel--studio,
body:has(#tab-api:checked) .panel--api {
  display: block;
}

/* —— Sections —— */
.section {
  padding: var(--section-y) var(--gutter-x);
  border-top: 1px solid rgba(15, 15, 15, 0.06);
}

.section--reel {
  border-top: none;
}

.section--soft {
  background: rgba(15, 15, 15, 0.02);
}

.section--inv {
  background: var(--ink);
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.06);
}

.section--border {
  border-top: 1px solid rgba(15, 15, 15, 0.06);
}

.section--cta {
  padding-bottom: calc(var(--section-y) * 0.85);
}

.section__wide {
  max-width: 1600px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.4);
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-title--on-dark {
  color: #fff;
  max-width: 20ch;
}

.section-sub {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.section-head--split {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .section-head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-lead {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-lead--block {
  margin-top: 1.25rem;
  max-width: 40rem;
}

/* Reel */
.reel-frame {
  border-radius: 2rem;
  border: 1px solid rgba(15, 15, 15, 0.1);
  overflow: hidden;
  background: rgba(15, 15, 15, 0.03);
  box-shadow: 0 24px 80px rgba(15, 15, 15, 0.06);
}

.reel-aspect {
  aspect-ratio: 16 / 9;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mosaic (Higgsfield-style asymmetric) */
.mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .mosaic--studio {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 1.25rem;
  }

  .mosaic__tile--a {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    min-height: 280px;
  }

  .mosaic__tile--b {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    min-height: 200px;
  }

  .mosaic__tile--c {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    min-height: 200px;
  }

  .mosaic__tile--d {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
    min-height: 200px;
  }

  .mosaic__tile--e {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    min-height: 200px;
  }

  .mosaic__tile--f {
    grid-column: 2 / 5;
    grid-row: 3 / 5;
    min-height: 280px;
  }
}

.mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-tile);
  background: rgba(15, 15, 15, 0.03);
  box-shadow: 0 8px 32px rgba(15, 15, 15, 0.05);
  min-height: 180px;
}

.mosaic__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 92, 239, 0.1), transparent 55%, rgba(15, 15, 15, 0.04));
  pointer-events: none;
}

.mosaic__body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem;
}

@media (min-width: 768px) {
  .mosaic__body {
    padding: 2rem 2rem;
  }
}

.tile-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.tile-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.tile-dur {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Workflows */
.workflow-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.workflow-card {
  border-radius: var(--radius-tile);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.tile-tag--on-dark {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.25em;
}

.workflow-title {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.workflow-meta {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.glass-inv {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Steps */
.steps-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  border-top: 1px solid rgba(15, 15, 15, 0.1);
  padding-top: 2rem;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(15, 15, 15, 0.04);
  color: var(--brand);
  margin-bottom: 1.5rem;
}

.step-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.step-desc {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(15, 15, 15, 0.65);
  line-height: 1.55;
}

/* Outcomes */
.outcome-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .outcome-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.outcome-card {
  border-radius: var(--radius-tile);
  background: var(--bg);
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(15, 15, 15, 0.06);
}

.outcome-stat {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Quotes */
.quote-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .quote--offset {
    margin-top: 3rem;
  }
}

.quote {
  margin: 0;
  max-width: 36rem;
}

.quote-text {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.quote-text p {
  margin: 0;
}

.quote-cap {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.quote-cap--first {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Model grid */
.model-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .model-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.model-card {
  border-radius: var(--radius-tile);
  border: 1px solid rgba(15, 15, 15, 0.08);
  background: var(--bg);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(15, 15, 15, 0.05);
  min-height: 120px;
}

.model-card--more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-style: dashed;
  background: rgba(15, 15, 15, 0.02);
  min-height: 140px;
}

.model-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.model-name {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.model-more-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.model-more-sub {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(15, 15, 15, 0.4);
}

/* Why */
.why-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  border-radius: var(--radius-tile);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Pricing */
.pricing-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  border-radius: 2rem;
  border: 1px solid rgba(15, 15, 15, 0.1);
  padding: 2.5rem;
  background: var(--bg);
  box-shadow: 0 8px 32px rgba(15, 15, 15, 0.05);
}

.pricing-card--brand {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 20px 60px rgba(30, 92, 239, 0.25);
}

.pricing-tier {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card--brand .pricing-tier {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-price {
  margin: 1rem 0 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-price--lg {
  font-size: 2.5rem;
}

.pricing-note {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(15, 15, 15, 0.7);
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.35);
}

.pricing-list--on-brand li {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-list--on-brand li::before {
  background: rgba(255, 255, 255, 0.5);
}

/* CTA */
.cta-box {
  border-radius: 2.5rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  max-width: 1600px;
  margin: 0 auto;
}

.cta-box--narrow {
  max-width: 960px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 20px 60px rgba(30, 92, 239, 0.25);
}

.cta-box--neutral {
  background: rgba(15, 15, 15, 0.03);
  border: 1px solid rgba(15, 15, 15, 0.1);
}

.cta-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-title--dark {
  color: var(--ink);
  max-width: 22ch;
}

.cta-sub {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.55;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn--on-brand {
  background: #fff;
  color: var(--brand);
  border: 2px solid #fff;
}

.btn--on-brand:hover {
  background: rgba(255, 255, 255, 0.92);
}

.trust-line {
  margin: 1.5rem 0 0;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(15, 15, 15, 0.7);
}

footer {
  text-align: center;
  padding: 3rem var(--gutter-x);
  font-size: 0.875rem;
  color: rgba(15, 15, 15, 0.45);
  border-top: 1px solid rgba(15, 15, 15, 0.06);
}

/* Parallax: transform updated via JS */
.parallax {
  will-change: transform;
}
