:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #58635c;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --line: #dfe7df;
  --field: #176244;
  --field-dark: #0f392c;
  --red: #d94a42;
  --blue: #315fbd;
  --gold: #d89b2b;
  --shadow: 0 18px 52px rgba(14, 28, 21, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  transform: translateY(-140%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: rgba(13, 31, 24, .86);
  color: #fff;
  backdrop-filter: blur(10px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-link img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a,
.lang-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  color: rgba(255, 255, 255, .82);
}

.site-nav a:hover,
.lang-link:hover {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 112px clamp(20px, 5vw, 72px) clamp(48px, 9vh, 86px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 16, 13, .92), rgba(6, 16, 13, .56) 48%, rgba(6, 16, 13, .18)),
    linear-gradient(180deg, rgba(6, 16, 13, .18), rgba(6, 16, 13, .74)),
    url("assets/store-ja-pull-shot-ipad.jpg") center / cover no-repeat;
}

html[lang="en"] .hero {
  background:
    linear-gradient(90deg, rgba(6, 16, 13, .92), rgba(6, 16, 13, .56) 48%, rgba(6, 16, 13, .18)),
    linear-gradient(180deg, rgba(6, 16, 13, .18), rgba(6, 16, 13, .74)),
    url("assets/store-en-pull-shot-ipad.jpg") center / cover no-repeat;
}

.hero-copy {
  width: min(760px, 100%);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .52);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #ffe2a1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 8vw, 90px);
  line-height: .94;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 680;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero .store-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: .01em;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  background: #f4c15f;
  color: #1f2218;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.button.dark {
  background: var(--field-dark);
  color: #fff;
}

.section.store-section {
  padding-top: clamp(24px, 4vw, 46px);
  padding-bottom: clamp(24px, 4vw, 46px);
  background: #14271f;
}

.store-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 44px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 193, 95, .22), transparent 34%),
    linear-gradient(130deg, #0d3c2b, #176244 62%, #194d39);
  box-shadow: var(--shadow);
}

.store-callout-copy {
  max-width: 760px;
}

.store-eyebrow {
  margin: 0 0 10px;
  color: #f4c15f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}

.store-callout h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.store-callout-copy > p:not(.store-eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .82);
  font-weight: 650;
}

.store-value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.store-value-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 4px 11px;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 850;
}

.button.store-button,
.button.footer-store-button {
  flex: 0 0 auto;
  background: #f4c15f;
  color: #1f2218;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

.section {
  padding: clamp(48px, 8vw, 86px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background: #eaf1ec;
}

.section.dark {
  background: var(--field-dark);
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.dark .section-head p,
.dark .fineprint {
  color: rgba(255, 255, 255, .76);
}

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

.feature,
.policy-link {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(26, 44, 34, .06);
}

.feature strong,
.policy-link strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.feature p,
.policy-link p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.feature.accent-red {
  border-top: 4px solid var(--red);
}

.feature.accent-blue {
  border-top: 4px solid var(--blue);
}

.feature.accent-gold {
  border-top: 4px solid var(--gold);
}

.shot-grid {
  align-items: stretch;
}

.shot {
  overflow: hidden;
  border-radius: 8px;
  background: #101a15;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-left: 4px solid #66b583;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  padding: 10px 14px;
  font-weight: 760;
}

.page-hero {
  padding: 116px clamp(20px, 5vw, 72px) 54px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 57, 44, .96), rgba(22, 98, 68, .9)),
    url("assets/store-ja-home-ipad.jpg") center / cover no-repeat;
}

html[lang="en"] .page-hero {
  background:
    linear-gradient(120deg, rgba(15, 57, 44, .96), rgba(22, 98, 68, .9)),
    url("assets/store-en-home-ipad.jpg") center / cover no-repeat;
}

.page-hero.legal {
  min-height: 360px;
  display: grid;
  align-items: end;
}

.content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.legal-doc {
  display: grid;
  gap: 24px;
}

.legal-doc section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.legal-doc h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-doc p,
.legal-doc li {
  color: #39443d;
}

.legal-doc ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.disclosure-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.disclosure-list div {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.disclosure-list dt {
  color: var(--field-dark);
  font-weight: 900;
}

.disclosure-list dd {
  min-width: 0;
  margin: 0;
  color: #39443d;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 850;
}

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

.support-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.site-footer {
  display: grid;
  gap: 16px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #101712;
  color: rgba(255, 255, 255, .76);
}

.footer-store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: 24px;
}

.footer-store > div {
  display: grid;
  gap: 3px;
}

.footer-store strong {
  color: #fff;
  font-size: 18px;
}

.footer-store span {
  font-size: 13px;
  font-weight: 700;
}

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

.footer-links a {
  color: rgba(255, 255, 255, .86);
  font-weight: 800;
  text-decoration: none;
}

.fineprint {
  max-width: 840px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 780px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    background: #10231b;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a,
  .lang-link {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 74vh;
    padding-top: 42px;
    background-position: 62% center;
  }

  .store-callout,
  .footer-store {
    align-items: stretch;
    flex-direction: column;
  }

  .button.store-button,
  .button.footer-store-button {
    width: 100%;
  }

  .feature-grid,
  .shot-grid,
  .policy-grid,
  .rule-list {
    grid-template-columns: 1fr;
  }

  .disclosure-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .shot img {
    min-height: 190px;
  }
}
