:root {
  --cream: #f8f1e3;
  --cream-deep: #efe4d0;
  --ink: #2c3a42;
  --muted: #546e7a;
  --accent: #455a64;
  --orange: #ff9800;
  --line: rgba(69, 90, 100, 0.18);
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 48px 24px 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 152, 0, 0.14), transparent 55%),
    linear-gradient(135deg, #f8f1e3 0%, #efe4d0 42%, #d7e0e4 100%);
  animation: heroWash 12s ease-in-out infinite alternate;
}

@keyframes heroWash {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  animation: riseIn 0.9s ease both;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(44, 58, 66, 0.16);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.tagline {
  margin: 0 0 28px;
  max-width: 28em;
  font-size: 1.05rem;
  color: var(--muted);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.store-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.25s ease;
}

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

.store-link img {
  height: 48px;
  width: auto;
  display: block;
}

.hero-visual {
  justify-self: center;
  animation: riseIn 1.05s ease 0.12s both;
}

.hero-visual img {
  display: block;
  width: min(320px, 72vw);
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 24px 60px rgba(44, 58, 66, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px 24px 72px;
}

.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.feature-text h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feature-text p {
  margin: 0;
  color: var(--muted);
  max-width: 34em;
}

.feature-shot {
  margin: 0;
  justify-self: center;
}

.feature-shot img {
  display: block;
  width: min(280px, 70vw);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 40px rgba(44, 58, 66, 0.14);
}

.cta {
  margin-top: 24px;
  padding: 48px 24px;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(69, 90, 100, 0.1), transparent 55%),
    var(--cream-deep);
  border-radius: 28px;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
}

.cta p {
  margin: 0 0 22px;
  color: var(--muted);
}

.cta .store-buttons {
  justify-content: center;
}

footer {
  padding: 28px 24px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  background: #f3ebe0;
}

footer nav a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

footer nav a:hover {
  text-decoration: underline;
}

.footer-note {
  margin: 16px 0 0;
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .app-icon {
    width: 64px;
    height: 64px;
  }

  .store-link img {
    height: 54px;
  }

  .hero-visual img {
    width: min(360px, 100%);
  }

  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 72px 0;
  }

  .feature-reverse .feature-text {
    order: 2;
  }

  .feature-reverse .feature-shot {
    order: 1;
  }

  .feature-shot img {
    width: min(300px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-copy,
  .hero-visual,
  .store-link {
    animation: none;
    transition: none;
  }
}
