@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;600;700&family=Orbitron:wght@500;600;700&display=swap');

/* Design tokens live in design-system.css; component layout begins below. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

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

[hidden] {
  display: none !important;
}

/* Reusable text utilities. */
.u-nowrap {
  white-space: nowrap;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

p,
li,
dd {
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

h1 {
  line-height: 1.2;
}

h2,
h3 {
  line-height: 1.3;
}

h4 {
  line-height: 1.4;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 80px;
  height: auto;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav .nav-cta {
  border-radius: 999px;
  background: var(--primary);
  color: var(--accent-ink);
  padding: 9px 18px;
}

.menu-button {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-button[aria-expanded='true'] span {
  position: absolute;
  top: 50%;
  left: 50%;
}

.menu-button[aria-expanded='true'] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}

.menu-button[aria-expanded='true'] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(880px, calc(100svh));
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(transparent, var(--page) 30%);
  content: '';
}
.hero__wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, var(--page) 0%, color-mix(in srgb, var(--page) 60%, transparent) 40%, transparent 50%);
}

.hero__inner {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1fr 0.6fr;
  align-items: center;
  gap: 24px;
  padding-block: 72px 100px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: var(--primary);
  content: '';
}

.eyebrow--center {
  justify-content: center;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
}

.hero h1 span,
.hero h1 em {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--accent-ink);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--primary) 25%, transparent);
}

.hero__visual {
  position: relative;
  min-height: 640px;
}
.proof-strip {
  position: relative;
  z-index: 4;
}

/* Keep the transition tight below the hero. */
.proof-strip {
  margin-top: 0;
  margin-bottom: 24px;
}

.proof-strip__inner {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.proof-item {
  min-width: 0;
  min-height: 122px;
  padding: clamp(18px, 2.5vw, 25px) clamp(16px, 2.2vw, 24px);
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(16px, 2.1vw, 24px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.proof-item span span.u-nowrap {
  display: inline;
}

.section {
  position: relative;
  padding-block: 96px;
}

.section--soft {
  background: var(--page-2);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 54px;
}

.section-heading > div .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading > p {
  width: 100%;
  max-width: none;
}

.eyebrow--center::after {
  width: 34px;
  height: 1px;
  background: var(--primary);
  content: '';
}

.section-copy-break {
  display: inline;
}

.product-lineup {
  background: var(--page-2);
}

.product-group + .product-group {
  margin-top: 56px;
}

.product-group__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.product-group__heading h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.product-list {
  display: grid;
  gap: 18px;
}

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

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

.product-list--three .button {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--accent-ink);
}

.product-card {
  display: grid;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  text-align: center;
}

.product-card img {
  width: min(100%, 360px);
  margin-bottom: 12px;
  object-fit: contain;
  filter: drop-shadow(0 4px 26px var(--shadow-image));
}

.product-card h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.3;
}

.product-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.product-card .button {
  width: min(100%, 220px);
  min-height: 48px;
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
}

.worry-card {
  display: flex;
  min-width: 0;
  min-height: 2em;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px clamp(16px, 2.2vw, 24px);
  background: var(--surface);
}

.worry-card > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.worry-card::before {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  content: '✓';
  font-weight: 900;
}

.solution-banner {
  position: relative;
  display: grid;
  overflow: visible;
  min-height: 420px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, var(--surface-solid)), var(--surface-solid));
}

.solution-banner__copy {
  z-index: 2;
  padding: clamp(24px, 4vw, 56px);
}

.solution-banner h3 {
  font-size: clamp(30px, 4vw, 52px);
}

.solution-banner__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.solution-banner img {
  max-width: none;
}

.solution-characters {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}

.solution-character {
  position: absolute;
  bottom: -4%;
  height: 112%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 26px var(--shadow-image));
}

.solution-character--sakura {
  z-index: 1;
  left: -2%;
  width: 52%;
}

.solution-character--chacha {
  z-index: 1;
  right: -2%;
  width: 54%;
}

.solution-character--lei {
  z-index: 3;
  left: 50%;
  bottom: -7%;
  width: 55%;
  transform: translateX(-50%);
}

.feature-stack {
  display: grid;
  gap: 48px;
}

.feature {
  display: grid;
  overflow: hidden;
  min-height: 0;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature:nth-child(even) .feature__media {
  order: 2;
}

.feature__media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  background: var(--media-surface);
}

.feature__media img,
.feature__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(32px, 5vw, 68px);
}

.feature__number {
  margin-bottom: 14px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.feature h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3.2vw, 40px);
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
}

.game-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--surface);
}

.game-card:first-child {
  grid-row: span 2;
  min-height: 702px;
}

.game-card h3 {
  position: relative;
  z-index: 2;
  font-size: 30px;
  overflow-wrap: anywhere;
}

.game-card p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.game-card img {
  width: 100%;
  max-height: 410px;
  margin-top: 22px;
  object-fit: contain;
}

.game-card__media-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.game-card__media-list .game-placeholder {
  margin-top: 0;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.character-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.character-card--lei {
  --card-accent: #52e3ff;
}

.character-card--sakura {
  --card-accent: #ff4e9f;
}

.character-card--chacha {
  --card-accent: #60dd2a;
}

.character-card__image {
  position: relative;
  display: grid;
  overflow: hidden;
  height: 420px;
  padding-top: 24px;
  place-items: end center;
  background:
    linear-gradient(transparent 65%, color-mix(in srgb, var(--surface-solid) 75%, transparent)),
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--card-accent) 28%, transparent), transparent 55%);
}

.character-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.48);
  transform-origin: center top;
}

.character-card__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent, var(--surface-solid));
  content: '';
  pointer-events: none;
}

.character-card__body {
  padding: 26px;
}

.character-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}
.voice-actor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 18px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 32%, var(--line));
  border-radius: 12px;
  padding: 8px;
  background: color-mix(in srgb, var(--card-accent) 7%, transparent);
}

.voice-actor img {
  width: 52px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.voice-actor p {
  margin: 0;
}

.voice-actor span,
.voice-actor strong {
  display: block;
}

.voice-actor span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.voice-actor strong {
  color: var(--card-accent);
  font-size: 15px;
}

.character-card__models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.character-card__models-label {
  font-weight: 600;
}

.character-card__model-tag {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--card-accent) 58%, var(--line));
  border-radius: 4px;
  padding: 4px 6px 2px;
  background: var(--card-accent);
  color: #FFF;
  font-size: 0.9em;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
.character-card__model-tag.--h6 {
  background: color-mix(in srgb, var(--card-accent) 8%, transparent);
  color: var(--card-accent);
  font-size: 0.9em;
}

.game__target-models {
  --card-accent: var(--primary);
  margin-top: 12px;
}

.game__target-models .character-card__model-tag--lei {
  --card-accent: #52e3ff;
}

.game__target-models .character-card__model-tag--sakura {
  --card-accent: #ff4e9f;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  margin-top: 48px;
}

.activity-grid figure {
  min-width: 0;
  margin: 0;
}

.activity-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.activity-grid figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.activity-placeholder {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent 58%),
    repeating-linear-gradient(135deg, var(--media-pattern) 0 10px, transparent 10px 20px),
    var(--surface-solid);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.activity-placeholder iframe,
.media-card__thumbnail iframe {
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-placeholder {
  width: 100%;
}

.trust-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
}

.trust-layout h2 {
  font-size: clamp(34px, 4.5vw, 58px);
}

.trust-copy {
  align-self: stretch;
  width: fit-content;
  max-width: none;
  margin-bottom: 18px;
}

.trust-copy > p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.brand-logos {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 0 -20px 34px;
}

.brand-logos img:first-child {
  width: min(240px, 40%);
}

.brand-logos img:last-child {
  width: min(200px, 32%);
  max-height: 86px;
}

.media-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.media-card__thumbnail {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent), transparent 55%),
    repeating-linear-gradient(135deg, var(--media-pattern) 0 10px, transparent 10px 20px),
    var(--surface-solid);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.media-card__thumbnail[href] {
  text-decoration: none;
}

.media-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card__body {
  padding: 24px;
}

.media-card__body > p {
  margin-bottom: 10px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.media-card__body h3 {
  margin-bottom: 16px;
  font-size: clamp(18px, 2vw, 23px);
}

.media-card__body > span {
  color: var(--muted);
  font-size: 13px;
}

.qa-list {
  display: grid;
  gap: 14px;
}

.qa-list .qa-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.qa-list .qa-question {
  position: relative;
  margin: 0;
  padding: 24px 60px 24px 26px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-icon {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}
.qa-answer {
  display: block;
  overflow: visible;
  opacity: 1;
  transition: none;
}

.qa-answer > div {
  overflow: visible;
  min-height: auto;
}

.qa-list .qa-item p {
  margin: 0;
  padding: 0 26px 26px 62px;
  color: var(--muted);
}

.diagnosis {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.diagnosis__header {
  padding: 44px 44px 24px;
  text-align: center;
}

.diagnosis__header h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4.4vw, 54px);
}

.diagnosis__header > p:not(.eyebrow) {
  color: var(--muted);
}

.diagnosis__body {
  min-height: 320px;
  padding: 28px 44px 48px;
}

.diagnosis__question {
  margin-bottom: 28px;
  font-size: clamp(24px, 3vw, 36px);
  text-align: center;
}

.diagnosis__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 720px;
  margin-inline: auto;
}

.diagnosis__answers button {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: color-mix(in srgb, var(--primary) 8%, var(--surface-solid));
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.diagnosis__result {
  text-align: center;
}

.diagnosis__result strong {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.3;
}

.diagnosis__result button {
  margin-top: 20px;
}

.diagnosis-result__product {
  display: grid;
  max-width: 640px;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 18px auto 0;
}

.diagnosis-result__product img {
  width: 100%;
  max-width: 280px;
  height: 180px;
  margin-inline: auto;
  object-fit: contain;
}

.diagnosis-result__product .button {
  width: min(100%, 220px);
  margin: 0 auto;
}

.diagnosis-result__h6 {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px auto 0;
  text-align: left;
}

.diagnosis-result__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: color-mix(in srgb, var(--primary) 6%, var(--surface-solid));
  text-align: center;
}

.diagnosis-result__card img {
  width: 100%;
  height: 150px;
  margin-bottom: 14px;
  object-fit: contain;
}

.diagnosis-result__card h4 {
  margin-bottom: 4px;
  font-size: 20px;
}

.diagnosis-result__card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.diagnosis-result__card .button {
  width: 100%;
  margin-top: auto;
}

.diagnosis-result__normal {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 24px auto 0;
}

.diagnosis-result__normal img {
  width: min(240px, 100%);
  height: 80px;
  object-fit: contain;
}

.diagnosis-result__normal p {
  margin-bottom: 0;
  color: var(--muted);
}

.diagnosis-result__normal .button {
  width: min(100%, 360px);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 130px;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 30%),
    radial-gradient(circle at 85% 50%, color-mix(in srgb, var(--secondary) 18%, transparent), transparent 30%);
  content: '';
}

.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
}


.final-cta__lead {
  width: 100%;
  max-width: none;
}

.product-lineup--final {
  margin-top: 58px;
  background: transparent;
  text-align: left;
}

.product-lineup--final .product-group {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 42px);
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
}

.product-lineup--final .product-group + .product-group {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 34px 100px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.sticky-cta {
  position: fixed;
  z-index: 24;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px;
  background: color-mix(in srgb, var(--page) 84%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.sticky-cta a {
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Primary hero refinements */
.hero--primary {
  min-height: min(800px, calc(100svh));
  background-image: url('../assets/images/hero-passenger-lei06.webp');
  background-position: left 44% top -30dvw;
  background-size: 140% auto;
  background-repeat: no-repeat;
}

.hero--primary .hero__inner {
  min-height: 790px;
  grid-template-columns: 1fr 0.6fr;
  align-items: end;
  padding-block: clamp(250px, 31vh, 330px) 76px;
}

.hero--primary .hero__copy {
  position: relative;
  z-index: 4;
  max-width: 620px;
}

.hero__visual--products {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.product-slider {
  position: relative;
  width: min(600px, 100%);
  min-height: 340px;
}

.product-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: center;
  margin: 0;
  opacity: 0;
  transform: translateX(22px) scale(0.98);
  transition: opacity 520ms ease, transform 520ms ease;
}

.product-slide[hidden] {
  display: none;
}

.product-slide.is-active {
  opacity: 1;
  transform: none;
}

.product-device__image {
  width: min(500px, 100%);
  height: 280px;
  min-height: 0;
  margin: auto;
  object-fit: contain;
}

.product-slide figcaption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  text-align: center;
  text-shadow: 0 1px 0 var(--page), 0 0 10px var(--page);
}

.product-slide figcaption strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
}

.product-slide figcaption span {
  color: var(--ink);
  font-size: 13px;
}

.product-slider__controls {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(600px, 100%);
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}

.product-slider__controls button {
  width: 9px;
  height: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: width 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.product-slider__controls button.is-active {
  width: 28px;
  border-color: var(--primary);
  border-radius: 999px;
  background: var(--primary);
}

/* Activity media and character adjustments */
.activity-grid--featured .activity-placeholder {
  overflow: hidden;
}

.activity-grid--featured img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.diagnosis__progress {
  overflow: hidden;
  width: min(560px, 100%);
  height: 4px;
  margin: 0 auto 34px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface-solid));
}

.diagnosis__progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 16px color-mix(in srgb, var(--primary) 55%, transparent);
  transition: width 420ms ease;
}

.diagnosis [data-step].is-entering,
.diagnosis__result.is-entering {
  animation: diagnosis-enter 480ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes diagnosis-enter {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 6px;
    left: 6px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 8px 16px 16px;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
    overflow: visible;
  }

  .site-nav::before,
  .site-nav::after {
    position: absolute;
    right: 24px;
    width: 0;
    height: 0;
    border-style: solid;
    content: '';
  }

  .site-nav::before {
    top: -11px;
    border-width: 0 11px 11px;
    border-color: transparent transparent var(--line);
  }

  .site-nav::after {
    top: -10px;
    right: 25px;
    border-width: 0 10px 10px;
    border-color: transparent transparent var(--surface-solid);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav a:not(:first-of-type, .nav-cta) {
    border-top: 1px solid var(--line);
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero__visual {
    min-height: 590px;
  }

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

  .proof-item:nth-child(3) {
    border-left: 0;
  }

  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .trust-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .solution-banner__copy {
    padding-bottom: 36px;
  }

  .solution-characters {
    min-height: 70vw;
  }

  .feature:nth-child(even) .feature__media {
    order: initial;
  }

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

  .game-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 520px;
  }

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

  .character-card {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
  }

  .character-card__image {
    height: 360px;
    padding-top: 28px;
  }
}

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

  .game-card,
  .game-card:first-child {
    min-height: auto;
  }

  .game-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {

  .site-nav::before,
  .site-nav::after {
    right: 18px;
  }

  .site-nav::after {
    right: 19px;
  }
  
  .hero .eyebrow::before {
    display: none;
  }

  body {
    font-size: 15px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }
  .site-header__inner {
    min-height: 60px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__visual {
    min-height: 470px;
  }
  .proof-strip {
    margin-top: -18px;
  }

  .proof-strip__inner {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 0;
    padding: 18px 20px;
  }

  .proof-item strong {
    font-size: clamp(17px, 5vw, 21px);
  }

  .proof-item span {
    font-size: 13px;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .solution-banner__copy {
    padding-bottom: 20px;
  }

  .feature {
    min-height: auto;
  }

  .feature__media {
    min-height: 0;
  }

  .feature__copy {
    padding: 28px 24px 34px;
  }

  .game-card,
  .game-card:first-child {
    min-height: auto;
  }

  .character-card {
    display: block;
  }

  .character-card__image {
    height: 390px;
    padding-top: 28px;
  }

  .character-card__image img {
    transform: scale(1.1);
  }

  .product-list--two,
  .product-list--three,
  .media-card-list {
    grid-template-columns: 1fr;
  }

  .product-group__heading {
    display: block;
  }

  .solution-banner {
    min-height: auto;
  }

  .solution-characters {
    min-height: 60vw;
  }

  .diagnosis__header,
  .diagnosis__body {
    padding-right: 22px;
    padding-left: 22px;
  }

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

  .diagnosis-result__product {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .diagnosis-result__product img {
    height: 150px;
  }

  .diagnosis-result__h6 {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .diagnosis-result__card img {
    height: 140px;
  }

  .sticky-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: center;
  }

  .sticky-cta a {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .hero--primary {
    min-height: auto;
    background-color: var(--page);
    background-position: 44% -170px;
    background-size: auto 780px;
    background-repeat: no-repeat;
  }

  .hero--primary .hero__wash {
    background: linear-gradient(180deg, color-mix(in srgb, var(--page) 3%, transparent) 0, color-mix(in srgb, var(--page) 12%, transparent) 190px, color-mix(in srgb, var(--page) 88%, transparent) 400px, var(--page) 660px);
  }

  .hero--primary .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 370px 64px;
  }

  .hero--primary .hero__copy {
    max-width: 100%;
  }
  .hero__visual--products {
    min-height: 400px;
    width: min(600px, 100%);
    margin-inline: auto;
  }

  .product-slider {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .hero--primary {
    background-position: 44% -120px;
    background-size: auto 560px;
  }

  .hero--primary .hero__wash {
    background: linear-gradient(180deg, color-mix(in srgb, var(--page) 4%, transparent) 0, color-mix(in srgb, var(--page) 20%, transparent) 150px, color-mix(in srgb, var(--page) 92%, transparent) 300px, var(--page) 500px);
  }

  .hero--primary .hero__inner {
    padding-block: 280px 42px;
  }
  .hero--primary h1 {
    font-size: clamp(30px, 8.5vw, 48px);
  }

  .hero__visual--products {
    min-height: 270px;
  }

  .product-slider {
    min-height: 220px;
  }

  .product-device__image {
    height: 180px;
  }

  .product-slide figcaption {
    position: relative;
    z-index: 4;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .product-slide figcaption strong {
    font-size: 20px;
  }

  .product-slider__controls {
    margin-top: 10px;
  }

  .proof-strip {
    margin-top: 0;
  }

  .voice-actor img {
    width: 58px;
    height: 70px;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
