/* Home-only presentation: shared account and legal pages keep their own theme. */
body.landing-page {
  color-scheme: light;
  --text: #111;
  --muted: #777;
  --line: #ddd;
  background: #fff;
  color: #111;
}
.landing-page .home {
  width: min(1120px, calc(100% - 96px));
  min-height: calc(100svh - 130px);
  margin: 0 auto;
  padding: 86px 0 24px;
  overflow: visible;
}
.landing-page .home-hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 24px;
  text-align: left;
}
.landing-page .hero-copy { padding: 0 0 24px 0; }
.landing-page .home-hero h1 {
  max-width: none;
  margin: 0;
  color: #111;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  font-stretch: normal;
  font-style: normal;
  transform: none;
  text-wrap: balance;
  word-break: normal;
}
.landing-page .home-hero h1 span { display: block; margin-top: 18px; }
.landing-page .home-hero h1 span:first-child { margin-top: 0; }
.landing-page .hero-visual { display: flex; align-items: center; justify-content: center; min-width: 0; }
.landing-page .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(680px, calc(100svh - 185px));
  object-fit: contain;
}
.landing-page .download-badges { justify-content: flex-start; gap: 10px; margin-top: 40px; }
.landing-page .store-badge { width: 132px; height: 44px; filter: none; transition: transform .15s ease; }
.landing-page a.store-badge:hover { transform: translateY(-2px); }
.landing-page .site-footer { color: #777; padding-bottom: 24px; }
.landing-page .language-select { color: #555; background: #fff; border-color: #ddd; }
@media (min-width: 1200px) {
  html[lang="en"] .landing-page .home-hero h1 span { white-space: nowrap; }
}
@media (max-width: 900px) {
  .landing-page .home { width: calc(100% - 48px); padding-top: 90px; }
  .landing-page .home-hero { grid-template-columns: 1.1fr 1fr; gap: 8px; }
  .landing-page .hero-copy { padding-left: 0; }
  .landing-page .home-hero h1 { font-size: clamp(28px, 4vw, 38px); }
  .landing-page .store-badge { width: 125px; height: 42px; }
}
@media (max-width: 620px) {
  .landing-page .home { min-height: auto; width: calc(100% - 40px); padding: 110px 0 24px; }
  .landing-page .home-hero { grid-template-columns: 1fr; gap: 24px; }
  .landing-page .hero-copy { text-align: center; padding: 0; }
  .landing-page .home-hero h1 { font-size: clamp(29px, 7vw, 40px); line-height: 1.35; }
  .landing-page .home-hero h1 span { margin-top: 10px; }
  .landing-page .download-badges { justify-content: center; gap: 8px; margin-top: 36px; }
  .landing-page .store-badge { width: min(28vw, 145px); height: 44px; }
  .landing-page .store-badge-status { font-size: 13px; }
  .landing-page .hero-visual img { max-height: none; width: min(100%, 430px); }
}
.landing-page .brand-logo { filter: brightness(0); }

@media (min-width: 901px) {
  .landing-page .site-footer { width: min(1040px, calc(100% - 96px)); }
}
/* Bring the visual toward the headline without cropping the phone. */
@media (min-width: 901px) {
  .landing-page .home { width: min(1000px, calc(100% - 96px)); }
  .landing-page .home-hero { grid-template-columns: 1.35fr 1fr; gap: 0; }
  .landing-page .hero-visual { transform: translateX(-28px); }
}
.landing-page .store-badge img { filter: invert(1); }
.landing-page .store-badge-coming-soon img { filter: invert(1) brightness(.38); }
.landing-page .store-badge-status {
  font-size: 12px;
  font-weight: 400;
  text-shadow: none;
}
@media (min-width: 901px) {
  html:is([lang="ko"], [lang="ja"]) .landing-page .home-hero h1 span {
    white-space: nowrap;
  }
}
@media (max-width: 620px) {
  .landing-page .store-badge-status { font-size: 11px; }
}

/* Small creator link centered above the footer. Reserve room below the hero. */
.landing-page .home { padding-bottom: 52px; }
.landing-page .creator-credit {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 1;
  transform: translateX(-50%);
  color: #888;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.landing-page .creator-credit:hover { color: #555; }
.landing-page .creator-credit:focus-visible {
  outline: 2px solid #888;
  outline-offset: 4px;
  border-radius: 2px;
}
