html { scroll-behavior: smooth; }

.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 22px;
}

section[id], #main, #download { scroll-margin-top: 92px; }
.accent { color: var(--red); }
.dot { color: var(--red-pressed); }

.button, .action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  touch-action: manipulation;
}

.button {
  border-radius: 999px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.store-button {
  min-height: 60px;
  padding-inline: 16px;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: #281b1a;
  box-shadow: 0 8px 20px rgba(40, 27, 26, 0.16);
}

.store-button:hover {
  background: #452c29;
  box-shadow: 0 12px 26px rgba(40, 27, 26, 0.2);
  transform: translateY(-2px);
}

.store-button:active { transform: scale(0.98); }
.store-button svg { flex: none; width: 24px; height: 26px; }

.store-label {
  display: grid;
  gap: 3px;
  line-height: 1.1;
  white-space: nowrap;
}

.store-label small { font-size: 10px; opacity: 0.82; }
.store-label strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }

.hero-actions .store-button { min-width: 186px; }

.action-link {
  padding-inline: 4px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
}

.action-link:hover { color: var(--red-deep); }
.action-link svg { flex: none; width: 20px; height: 20px; }

.nav {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 243, 0.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.brand, .footer-brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 32px; }

.nav-links, .nav-actions {
  display: flex;
  align-items: center;
}

.nav-links { gap: 28px; }
.nav-actions { flex: none; gap: 10px; }

.nav-links a {
  padding-block: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover { color: var(--red-deep); }

.nav-actions .store-button {
  width: 140px;
  min-height: 46px;
  padding-inline: 12px;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(40, 27, 26, 0.1);
}

.nav-actions svg { width: 18px; height: 18px; }
.nav-actions .store-label { gap: 2px; }
.nav-actions .store-label small { font-size: 9px; }
.nav-actions .store-label strong { font-size: 14px; }

.nav-download {
  display: none;
  padding-inline: 18px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 4px 12px rgba(169, 43, 50, 0.16);
  font-size: 14px;
}

.nav-download:hover { background: var(--red-pressed); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(130% 100% at 88% -10%, #fff0e1 0%, transparent 46%),
    linear-gradient(var(--cream), var(--blush));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 40px;
  padding-block: 62px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-deep);
  background: var(--white);
  box-shadow: var(--card-shadow);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow b { color: var(--cocoa); font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); }

.hero-description {
  max-width: 31ch;
  margin-block: 20px 30px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 34%, var(--white), #f9d9d3 66%, #f7cbc6);
}

.device {
  position: relative;
  width: min(288px, 78%);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  background: #281b1a;
  box-shadow: 0 34px 80px rgba(56, 39, 37, 0.24);
  transition: transform 0.35s var(--ease);
}

.device img {
  width: 100%;
  height: auto;
  border-radius: 35px;
  background: var(--cream);
}

.device-welcome { transform: rotate(3deg); }
.device:hover { transform: translateY(-6px); }

.kana-tile {
  position: absolute;
  z-index: 1;
  display: grid;
  width: var(--tile-size);
  height: var(--tile-size);
  place-items: center;
  border-radius: 16px;
  color: var(--cocoa);
  background: var(--white);
  box-shadow: 0 14px 26px rgba(56, 39, 37, 0.14);
  font-family: "Kiko Japanese", "Hiragino Sans", sans-serif;
  font-weight: 800;
}

.tile-first { --tile-size: 62px; top: 8%; left: 2%; font-size: 30px; color: var(--red-deep); }
.tile-second { --tile-size: 54px; top: 26%; right: 0; font-size: 26px; color: var(--red); }
.tile-third { --tile-size: 50px; bottom: 20%; left: 0; font-size: 24px; }
.tile-fourth { --tile-size: 46px; bottom: 6%; right: 8%; font-size: 22px; color: var(--red-deep); }

.float { animation: float 5s ease-in-out; }
.tile-second, .tile-third { animation-delay: 0.3s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.band { padding-block: 74px; }
.band-peek { background: linear-gradient(var(--blush), var(--cream)); }
.band-how { background: linear-gradient(var(--cream), var(--blush)); }
.band-journey { background: linear-gradient(var(--cream-deep), var(--cream)); }

.section-heading {
  max-width: 690px;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading h2 { font-size: clamp(30px, 4.6vw, 44px); }

.section-heading p:not(.section-label) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.section-label {
  margin-bottom: 12px;
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.split-reverse .split-media { order: 1; }
.split-media { display: grid; place-items: center; }
.split-copy h2 { font-size: clamp(28px, 4.2vw, 40px); }

.split-copy p {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.tick {
  flex: none;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 14px;
}

.tick-gold { color: var(--cocoa); background: var(--gold); }

.culture-card {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 380px;
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: var(--cocoa);
}

.culture-background, .culture-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.culture-background { object-fit: cover; }

.culture-card::after {
  background: linear-gradient(105deg, rgba(42, 23, 20, 0.9), rgba(42, 23, 20, 0.68) 50%, rgba(42, 23, 20, 0.14));
  content: "";
}

.culture-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 20px;
  padding: 46px 44px;
}

.culture-inner h2 {
  max-width: 17ch;
  color: var(--white);
  font-size: clamp(28px, 4.2vw, 42px);
}

.culture-inner p {
  max-width: 40ch;
  margin-top: 16px;
  color: var(--cream);
  font-size: 18px;
  line-height: 1.55;
}

.culture-mascot {
  justify-self: center;
  width: min(192px, 66%);
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.32));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-block: 0;
  list-style: none;
}

.step {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: var(--red);
  font: 700 22px/1 var(--display-font);
}

.step:nth-child(2) .step-number { color: var(--cocoa); background: var(--gold); }
.step:nth-child(3) .step-number { background: var(--cocoa); }
.step h3 { font-size: 21px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.value-band {
  padding: 54px 40px;
  border-radius: 34px;
  background: radial-gradient(120% 150% at 12% 0%, #752a32, #3b2223 70%);
}

.value-band h2, .final h2 { color: var(--white); }

.value-band h2 {
  max-width: 19ch;
  font-size: clamp(26px, 3.8vw, 40px);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.highlights h3 { color: var(--white); font-size: clamp(26px, 3.8vw, 48px); }
.highlights h3 span { color: #ffb5b5; }
.highlights p { margin-top: 8px; color: #f4d5cc; font-size: 15px; line-height: 1.5; }

.scene-card {
  position: relative;
  width: min(440px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
}

.scene-card img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }

.scene-card figcaption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--cocoa);
  background: var(--cream);
  font: 600 14px/1.2 var(--display-font);
}

.faq { max-width: 760px; }

.faq details {
  margin-bottom: 12px;
  padding: 4px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  color: var(--cocoa);
  font: 600 17px/1.4 var(--display-font);
  list-style: none;
  cursor: pointer;
}

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

.faq summary span {
  flex: none;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--red-deep);
  background: var(--cream-deep);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.final {
  background: linear-gradient(#722c33, #3a2021);
  text-align: center;
}

.final h2 { max-width: 17ch; margin-inline: auto; font-size: clamp(30px, 5vw, 50px); }

.final p {
  max-width: 40ch;
  margin: 18px auto 30px;
  color: #f4d5cc;
  font-size: 18px;
  line-height: 1.55;
}

.final .hero-actions { align-items: center; }
.final .store-button { border-color: var(--white); color: var(--cocoa); background: var(--white); }
.final .store-button:hover { background: var(--cream); }
.final .action-link { color: #f4d5cc; }
.final .action-link:hover { color: var(--white); }

.final-mascot {
  width: 150px;
  height: auto;
  margin: 34px auto 0;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.site-footer { padding-block: 40px; color: #e7c4bb; background: #2c1c1b; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
}

.footer-brand img { width: auto; height: 30px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #e7c4bb;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { width: 100%; font-size: 14px; }
.final :focus-visible, .site-footer :focus-visible { outline-color: #ffb5b5; }

.analytics-slot { width: 100%; }
.analytics-slot button {
  padding: 8px 12px;
  border: 1px solid #e7c4bb;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.analytics-slot p { margin-top: 8px; font-size: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 44px 56px;
    text-align: center;
  }

  .hero h1 { font-size: clamp(40px, 6.6vw, 60px); }
  .hero-description { margin-inline: auto; }
  .hero-actions { align-items: center; }
  .hero-visual { width: min(470px, 100%); justify-self: center; }

  .split { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .split-reverse .split-media { order: -1; }
  .split-copy p { margin-inline: auto; }
  .checks { width: fit-content; margin-inline: auto; text-align: left; }

  .culture-inner { grid-template-columns: 1fr; padding: 40px 26px; text-align: center; }
  .culture-inner h2, .culture-inner p { margin-inline: auto; }
  .culture-mascot { order: -1; }
  .culture-card::after { background: linear-gradient(transparent, rgba(42, 23, 20, 0.97)); }

  .steps, .highlights { grid-template-columns: 1fr; }
  .value-band { text-align: center; }
  .value-band h2 { margin-inline: auto; }
}

@media (max-width: 720px) {
  .nav-inner { height: 68px; }
  .nav-links, .nav-actions .store-button { display: none; }
  .nav-download { display: inline-flex; }
}

@media (max-width: 560px) {
  .hero-grid { gap: 30px; padding-block: 36px 44px; }
  .hero h1 { font-size: clamp(30px, 9.8vw, 48px); }
  .eyebrow { margin-bottom: 18px; padding: 8px 12px; font-size: 12px; }
  .hero-description { margin-block: 18px 24px; font-size: 17px; }
  .store-button { min-height: 56px; padding-inline: 8px; gap: 6px; }
  .store-button svg { width: 20px; height: 24px; }
  .store-label small { font-size: 9px; }
  .store-label strong { font-size: 14px; }

  .hero-visual { width: min(360px, 100%); }
  .device { width: min(258px, 74%); }
  .device-hero { width: min(248px, 72%); animation: none; }

  .kana-tile { border-radius: 13px; font-size: 23px; }
  .tile-first { --tile-size: 44px; top: 12%; left: 0; }
  .tile-second { --tile-size: 44px; top: 28%; }
  .tile-third { --tile-size: 40px; left: 2%; }
  .tile-fourth { --tile-size: 38px; right: 4%; }

  .band { padding-block: 54px; }
  .value-band { padding: 38px 24px; border-radius: 26px; }
  .site-footer { padding-block: 32px; }
  .footer-inner, .footer-links { justify-content: center; text-align: center; }
  .footer-links { gap: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .button, .device, .faq summary span { transition: none; }
  .store-button:hover, .store-button:active, .device:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
