:root {
  --navy: #17213a;
  --navy-soft: #253252;
  --coral: #ef5d78;
  --coral-dark: #cb365b;
  --blue: #47b8e7;
  --aqua: #75d9d3;
  --yellow: #ffd267;
  --paper: #fffdfb;
  --sky: #eef9ff;
  --lavender: #f2efff;
  --ink: #17213a;
  --muted: #5d6880;
  --line: rgba(23, 33, 58, 0.12);
  --shadow: 0 24px 70px rgba(41, 73, 117, 0.16);
  --radius-lg: 34px;
  --radius-md: 22px;
  --shell: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "Meiryo", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--navy);
  transform: translateY(-160%);
  border-radius: 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 33, 58, 0.08);
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--shell);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(23, 33, 58, 0.16);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 800;
}

.main-nav > a:not(.nav-cta) {
  transition: color 0.2s ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--coral-dark);
}

.nav-cta {
  padding: 10px 17px;
  color: white;
  background: var(--navy);
  border-radius: 12px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.64) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.64) 1px, transparent 1px),
    linear-gradient(135deg, #ecf9ff 0%, #fff9f7 52%, #f3efff 100%);
  background-size: 38px 38px, 38px 38px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -6vw -280px;
  height: 430px;
  background: var(--paper);
  transform: rotate(-4deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-inline: auto;
  padding: 82px 0 150px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 76px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.74;
}

.hero-orb-one {
  width: 340px;
  height: 340px;
  top: 70px;
  right: -90px;
  background: rgba(117, 217, 211, 0.34);
}

.hero-orb-two {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: 100px;
  background: rgba(239, 93, 120, 0.18);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.eyebrow span,
.section-kicker {
  display: inline-block;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.eyebrow span {
  padding: 7px 11px;
  border: 1px solid rgba(203, 54, 91, 0.2);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 74px);
  line-height: 1.18;
  letter-spacing: -0.06em;
}

.hero h1 em {
  position: relative;
  color: var(--coral-dark);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6px;
  bottom: 4px;
  left: -6px;
  height: 16px;
  background: var(--yellow);
  transform: rotate(-1.5deg);
  border-radius: 4px;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.65vw, 20px);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 56px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: white;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(23, 33, 58, 0.24);
}

.button-primary small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
}

.button-primary strong {
  display: block;
  font-size: 15px;
}

.button-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: white;
  border-radius: 8px;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.release-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-stats {
  max-width: 560px;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding: 20px 16px 0 0;
}

.hero-stats div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.hero-visual {
  min-width: 0;
}

.hero-card {
  position: relative;
  width: min(430px, 90%);
  margin-inline: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24px -24px -24px 24px;
  background: var(--aqua);
  border-radius: 38px;
  opacity: 0.48;
}

.hero-card > img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 28px;
}

.hero-ribbon {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: -20px;
  padding: 9px 18px;
  color: white;
  background: var(--coral);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(203, 54, 91, 0.26);
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 160px;
  padding: 13px 15px;
  display: grid;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 33, 58, 0.08);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(23, 33, 58, 0.16);
  transform: rotate(-1.5deg);
}

.floating-card strong {
  font-size: 14px;
}

.floating-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.floating-card-left {
  left: -64px;
  bottom: 100px;
}

.floating-card-right {
  right: -62px;
  top: 150px;
}

.trust-strip {
  position: relative;
  z-index: 4;
  padding: 12px 0 46px;
  background: var(--paper);
}

.trust-grid {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(47, 77, 111, 0.08);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.trust-grid b {
  margin-right: 6px;
  color: var(--coral-dark);
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2,
.modes-copy > h2,
.learned-copy h2,
.gallery-heading h2,
.price-copy h2,
.faq-intro h2 {
  margin: 8px 0 14px;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.24;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 30px 26px;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(23, 33, 58, 0.13);
}

.feature-card-coral {
  background: #fff0f2;
}

.feature-card-blue {
  background: #eaf8ff;
}

.feature-card-yellow {
  background: #fff8dd;
}

.feature-card-navy {
  color: white;
  background: var(--navy);
}

.feature-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(23, 33, 58, 0.15);
  font-size: 46px;
  font-weight: 950;
}

.feature-card-navy .feature-number {
  color: rgba(255, 255, 255, 0.16);
}

.feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 62px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--coral);
  border-radius: 15px;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(203, 54, 91, 0.22);
}

.feature-card-blue .feature-icon {
  background: var(--blue);
}

.feature-card-yellow .feature-icon {
  color: var(--navy);
  background: var(--yellow);
}

.feature-card-navy .feature-icon {
  color: var(--navy);
  background: var(--aqua);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-card-navy p {
  color: rgba(255, 255, 255, 0.72);
}

.section-modes {
  overflow: hidden;
  background: var(--sky);
}

.modes-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 96px;
}

.phone-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: var(--aqua);
  border-radius: 50%;
  opacity: 0.25;
}

.phone-shell {
  position: relative;
  width: 294px;
  padding: 12px;
  background: #10172b;
  border: 3px solid #3d4861;
  border-radius: 47px;
  box-shadow: 0 32px 80px rgba(23, 33, 58, 0.3);
  transform: rotate(-3deg);
}

.phone-shell img {
  width: 100%;
  border-radius: 35px;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 82px;
  height: 21px;
  background: #0a1020;
  transform: translateX(-50%);
  border-radius: 20px;
}

.stage-note {
  position: absolute;
  z-index: 3;
  padding: 11px 15px;
  color: white;
  background: var(--coral);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(23, 33, 58, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.note-one {
  top: 150px;
  right: 2%;
  transform: rotate(3deg);
}

.note-two {
  bottom: 175px;
  left: 0;
  color: var(--navy);
  background: var(--yellow);
  transform: rotate(-3deg);
}

.modes-copy > h2 {
  margin-bottom: 34px;
}

.mode-list {
  display: grid;
  gap: 12px;
}

.mode-item {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 17px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 33, 58, 0.08);
  border-radius: 17px;
}

.mode-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 950;
}

.mode-badge-coral {
  background: var(--coral);
}

.mode-badge-purple {
  background: #8a69d8;
}

.mode-badge-blue {
  background: var(--blue);
}

.mode-badge-green {
  background: #52b788;
}

.mode-item h3 {
  margin: 0 0 3px;
  font-size: 18px;
}

.mode-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-learned {
  background: var(--paper);
}

.learned-panel {
  min-height: 640px;
  padding: 70px 8% 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 72px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(117, 217, 211, 0.32), transparent 32%),
    var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.learned-copy {
  align-self: center;
  padding-bottom: 70px;
}

.learned-copy .section-kicker {
  color: var(--aqua);
}

.learned-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.learned-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.learned-copy li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--yellow);
  font-weight: 900;
}

.learned-screen {
  width: min(310px, 100%);
  justify-self: center;
  padding: 10px 10px 0;
  background: white;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -10px 45px rgba(0, 0, 0, 0.22);
}

.learned-screen img {
  border-radius: 29px 29px 0 0;
}

.section-rewards {
  background:
    linear-gradient(rgba(255, 255, 255, 0.68) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.68) 1px, transparent 1px),
    var(--lavender);
  background-size: 34px 34px;
}

.reward-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  align-items: stretch;
  gap: 18px;
}

.reward-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: white;
  background: var(--navy);
  border: 0;
  border-radius: 25px;
  box-shadow: 0 18px 52px rgba(23, 33, 58, 0.15);
  cursor: zoom-in;
}

.reward-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.reward-card:hover img {
  transform: scale(1.035);
}

.reward-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 18, 36, 0.94));
}

.reward-card > span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: grid;
  text-align: left;
  font-size: 17px;
  font-weight: 900;
}

.reward-card > span b {
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.section-characters {
  background: var(--paper);
}

.character-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.character-card {
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 28px;
}

.character-koharu {
  background: #fff0f3;
}

.character-aoi {
  background: #eaf6ff;
}

.character-image {
  min-height: 520px;
}

.character-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.character-copy {
  padding: 42px 34px;
  align-self: end;
}

.character-tag {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
}

.character-aoi .character-tag {
  color: #267fa7;
}

.character-copy h3 {
  margin: 4px 0 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.character-copy p {
  color: var(--muted);
  font-size: 13px;
}

.character-copy blockquote {
  margin: 24px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.section-gallery {
  overflow: hidden;
  background: var(--sky);
}

.gallery-heading {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.gallery-heading h2 {
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border: 0;
  border-radius: 13px;
  cursor: pointer;
}

.screen-track {
  padding: 10px max(20px, calc((100vw - 1160px) / 2)) 32px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 270px;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--coral) transparent;
}

.screen-card {
  margin: 0;
  padding: 9px 9px 18px;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 31px;
  box-shadow: 0 18px 50px rgba(23, 33, 58, 0.12);
}

.screen-card img {
  width: 100%;
  border-radius: 23px;
}

.screen-card figcaption {
  padding: 15px 9px 0;
  display: grid;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.screen-card figcaption b {
  color: var(--coral-dark);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.section-price {
  background: var(--paper);
}

.price-panel {
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 80px;
  background: #fff6de;
  border: 1px solid rgba(161, 113, 26, 0.12);
  border-radius: var(--radius-lg);
}

.price-copy p {
  color: var(--muted);
}

.price-note {
  margin-top: 28px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}

.price-note > span {
  align-self: start;
  padding: 3px 8px;
  color: white;
  background: var(--coral);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}

.price-note p {
  margin: 0;
  font-size: 13px;
}

.download-card {
  padding: 36px 28px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: white;
  border-radius: 25px;
  box-shadow: 0 18px 50px rgba(90, 65, 17, 0.12);
}

.download-card > img {
  width: 106px;
  height: 106px;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(23, 33, 58, 0.2);
}

.download-card h3 {
  margin: 19px 0 0;
  font-size: 22px;
}

.download-card > p {
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.download-card > small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.section-faq {
  background: var(--sky);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 11px;
}

.faq-list details {
  padding: 20px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-list summary {
  padding-right: 28px;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--coral-dark);
  font-size: 22px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 12px 0 0;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.closing-cta {
  padding: 70px 0;
  color: white;
  background: var(--coral-dark);
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing-inner span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.closing-inner h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.04em;
}

.closing-inner p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.button-light {
  flex: 0 0 auto;
  color: var(--navy);
  background: white;
  box-shadow: 0 14px 34px rgba(74, 14, 36, 0.24);
}

.site-footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #10182c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  align-items: start;
  gap: 50px;
  font-size: 12px;
}

.brand-footer {
  color: white;
}

.footer-brand p {
  max-width: 340px;
  margin: 14px 0 0;
}

.site-footer nav {
  display: grid;
  gap: 9px;
}

.site-footer nav a:hover {
  color: white;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 6px;
}

.lightbox {
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(10, 16, 32, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox img {
  max-height: calc(100vh - 28px);
  margin-inline: auto;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  color: white;
  background: rgba(16, 24, 44, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  font-size: 26px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-nav {
    gap: 15px;
  }

  .hero-inner {
    gap: 36px;
  }

  .floating-card-right {
    right: -28px;
  }

  .floating-card-left {
    left: -28px;
  }

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

  .modes-layout {
    gap: 42px;
  }

  .learned-panel {
    padding-inline: 6%;
    gap: 38px;
  }

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

  .character-image {
    min-height: 390px;
    max-height: 390px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 620px);
    --radius-lg: 25px;
  }

  .site-header {
    background: rgba(255, 253, 251, 0.96);
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto;
    padding: 24px 20px 34px;
    display: none;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(23, 33, 58, 0.16);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-cta {
    margin-top: 14px;
    padding: 13px 16px;
    text-align: center;
    border: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 55px 0 90px;
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-stats {
    margin-inline: auto;
  }

  .hero-card {
    width: min(390px, 86%);
  }

  .floating-card {
    min-width: 136px;
  }

  .floating-card-left {
    left: -24px;
    bottom: 70px;
  }

  .floating-card-right {
    right: -24px;
    top: 120px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .section {
    padding: 78px 0;
  }

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

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

  .feature-card {
    min-height: 270px;
  }

  .feature-icon {
    margin-bottom: 42px;
  }

  .modes-layout,
  .learned-panel,
  .price-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .modes-layout {
    gap: 58px;
  }

  .phone-stage {
    min-height: 620px;
  }

  .phone-shell {
    width: 268px;
  }

  .learned-panel {
    padding: 52px 26px 0;
  }

  .learned-copy {
    padding-bottom: 0;
  }

  .learned-screen {
    width: 270px;
  }

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

  .reward-card-large {
    grid-column: 1 / -1;
  }

  .reward-card img {
    min-height: 410px;
  }

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

  .gallery-heading {
    align-items: center;
  }

  .screen-track {
    grid-auto-columns: 235px;
  }

  .price-panel {
    padding: 50px 26px;
    gap: 40px;
  }

  .faq-layout {
    gap: 30px;
  }

  .faq-intro {
    position: static;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats div {
    padding-right: 8px;
  }

  .hero-stats div + div {
    padding-left: 10px;
  }

  .hero-stats dt {
    font-size: 21px;
  }

  .floating-card {
    min-width: 120px;
    padding: 10px 11px;
  }

  .floating-card-left {
    left: -18px;
  }

  .floating-card-right {
    right: -18px;
  }

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

  .mode-item {
    grid-template-columns: 52px 1fr;
  }

  .mode-badge {
    width: 50px;
    height: 50px;
  }

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

  .reward-card-large {
    grid-column: auto;
  }

  .character-image {
    min-height: 420px;
    max-height: 420px;
  }

  .character-copy {
    padding: 30px 24px;
  }

  .gallery-controls {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
