:root {
  color-scheme: light;
  --bg: #f4e4d3;
  --bg-2: #f8efe6;
  --panel: rgba(255, 248, 240, 0.78);
  --panel-strong: #2b1b12;
  --text: #24160f;
  --muted: rgba(36, 22, 15, 0.66);
  --accent: #b86b2c;
  --accent-2: #1f7a5a;
  --line: rgba(36, 22, 15, 0.12);
  --shadow: 0 24px 60px rgba(73, 41, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 38%),
    linear-gradient(135deg, #f9f2e8 0%, var(--bg) 42%, #f6d9c7 100%);
}

body[data-lang="en"] {
  font-family: Inter, "SF Pro Text", "Segoe UI", sans-serif;
}

.page-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero__media {
  position: relative;
  min-height: 480px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(43, 27, 18, 0.22), rgba(43, 27, 18, 0.48));
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 8, 4, 0.32)),
    radial-gradient(circle at center, transparent 45%, rgba(15, 8, 4, 0.2) 100%);
}

.hero__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(31, 122, 90, 0.82);
  backdrop-filter: blur(14px);
}

.hero__content {
  border-radius: 36px;
  padding: 28px;
  background: rgba(255, 251, 246, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow,
.section__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

h1,
h2,
h3,
p,
dd,
dt,
li,
figcaption {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
  max-width: 8.5ch;
}

.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 52ch;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(36, 22, 15, 0.08);
}

.lang-switch__button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.lang-switch__button:hover {
  transform: translateY(-1px);
}

.lang-switch__button.is-active {
  background: var(--panel-strong);
  color: white;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 18px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(36, 22, 15, 0.1);
  box-shadow: 0 14px 28px rgba(73, 41, 17, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(73, 41, 17, 0.16);
}

.store-badge--apple {
  background: linear-gradient(180deg, #171717, #050505);
  color: white;
}

.store-badge--play {
  background: linear-gradient(180deg, #ffffff, #f8f3ed);
  color: var(--text);
}

.store-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.store-badge--apple .store-badge__icon {
  background: rgba(255, 255, 255, 0.1);
}

.store-badge--play .store-badge__icon {
  background: linear-gradient(135deg, rgba(31, 122, 90, 0.16), rgba(184, 107, 44, 0.12));
}

.store-badge__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.store-badge__copy small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.72;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.store-badge__copy strong {
  font-size: 1.02rem;
  font-weight: 800;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta--primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #8e501e);
  box-shadow: 0 14px 28px rgba(184, 107, 44, 0.26);
}

.cta--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 22, 15, 0.1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats div {
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(36, 22, 15, 0.08);
}

.stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stats dd {
  font-size: 1.05rem;
  font-weight: 800;
}

.section {
  margin-top: 28px;
  border-radius: 32px;
  padding: 28px;
  background: rgba(255, 250, 244, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.section__header h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}

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

.shot-card {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(36, 22, 15, 0.08);
  box-shadow: 0 16px 40px rgba(73, 41, 17, 0.12);
  display: flex;
  flex-direction: column;
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.shot-card--wide {
  grid-row: span 2;
}

.shot-card--wide img {
  width: 100%;
  height: auto;
}

.shot-card figcaption {
  padding: 12px 14px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

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

.feature-card {
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 22, 15, 0.08);
}

.feature-card__index {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), #8f5320);
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.feature-card p,
.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.75;
}

.section--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  border-radius: 28px;
  padding: 26px;
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid rgba(36, 22, 15, 0.08);
}

.panel h2 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  margin-bottom: 14px;
}

.panel--accent {
  background: linear-gradient(160deg, rgba(43, 27, 18, 0.96), rgba(36, 22, 15, 0.9));
  color: white;
}

.panel--accent .section__eyebrow,
.panel--accent p,
.panel--accent li {
  color: rgba(255, 255, 255, 0.76);
}

.steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  font-weight: 700;
}

body[data-lang="en"] .page-shell {
  letter-spacing: 0.01em;
}

@media (max-width: 1080px) {
  .hero,
  .section--split,
  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-card--wide {
    grid-row: auto;
  }

  .hero__media {
    min-height: 340px;
  }

}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1280px);
    padding-top: 10px;
  }

  .hero__content,
  .section,
  .panel {
    padding: 18px;
    border-radius: 24px;
  }

  .topbar {
    flex-direction: column;
  }

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

  .store-badge {
    width: 100%;
  }
}
