:root {
  --cream: #fbf6ed;
  --paper: #fffdf8;
  --ink: #173f51;
  --body: #405b58;
  --green: #176b52;
  --green-dark: #0d513d;
  --green-soft: #dfeee5;
  --gold: #e6bd58;
  --line: #d8e3dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px max(24px, calc((100vw - 1120px) / 2));
  color: white;
  background: linear-gradient(120deg, #06b6d4, #3b82f6);
}
.site-header a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; }
.brand img { width: 32px; height: 32px; padding: 2px; border-radius: 50%; background: #fff; object-fit: cover; }
.header-links { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.language-link { padding: 4px 12px; border: 1px solid #ffffffa8; border-radius: 999px; }
.language-link:hover { background: #ffffff1f; }

main { max-width: 1120px; margin: auto; padding: 54px 28px 0; }
.app-title { display: flex; align-items: center; gap: 23px; }
.app-title img { width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 10px 30px #123b3024; }
.eyebrow { margin: 0 0 4px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
h1, h2, h3 { color: var(--ink); }
h1 { margin: 0; font-size: clamp(31px, 5vw, 46px); line-height: 1.15; letter-spacing: .015em; }
h2 { margin: 0 0 16px; font-size: clamp(25px, 3.3vw, 34px); line-height: 1.45; }
h3 { margin: 0 0 8px; font-size: 18px; }
p { margin: 0 0 16px; }

.hero-copy { max-width: 800px; margin: 30px 0 34px; }
.hero-copy h2 { margin-bottom: 12px; }
.hero-copy p { max-width: 720px; color: #58706c; }
.hero-graphic {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 45px #173f5117;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chips span { padding: 6px 14px; border-radius: 999px; color: var(--green-dark); background: var(--green-soft); font-size: 12px; font-weight: 700; }

.section { margin-top: 88px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.section-heading .number {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #9ebdaf;
  border-radius: 50%;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.section-heading h2 { margin: 0; font-size: 25px; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; max-width: 920px; margin: 0 auto; }
.shot { margin: 0; }
.shot-preview { display: block; overflow: hidden; width: 100%; max-width: 180px; margin: 0 auto; border-radius: 13px; background: #f3efe7; box-shadow: 0 10px 24px #173f5115; }
.shot-preview img { display: block; width: 100%; height: auto; transition: transform .2s; }
.shot-preview:hover img { transform: scale(1.015); }
.shot figcaption { padding-top: 12px; color: var(--ink); font-size: 13px; font-weight: 800; }
.shot figcaption span { display: block; margin-top: 2px; color: #6a7e79; font-size: 11px; font-weight: 400; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.feature-card strong { display: block; margin-bottom: 6px; color: var(--gold); font-size: 28px; line-height: 1; }
.feature-card p { margin: 0; color: #637671; font-size: 14px; }

.howto-panel { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 55px; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.howto-panel h2 { margin-bottom: 10px; }
.howto-panel p:last-child { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.steps li::before { content: counter(step); color: var(--green); font-weight: 800; }

.faq { padding: 7px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
details { padding: 19px 0; border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 800; }
details p { margin: 11px 0 0; color: #647773; font-size: 14px; }

.cta { margin-top: 78px; padding: 46px 24px; border-radius: 26px; text-align: center; background: #dfeee5; }
.cta h2 { font-size: 27px; }
.google-play-link { display: inline-block; border-radius: 12px; line-height: 0; transition: transform .2s, filter .2s; }
.google-play-link:hover { transform: translateY(-2px); filter: brightness(1.05); }
.google-play-link img { display: block; width: min(250px, 74vw); height: auto; }
.note { margin: 10px 0 0; color: #5e736d; font-size: 12px; }

footer { margin-top: 70px; padding: 31px 24px; color: #60736f; background: #e8efe9; text-align: center; font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 16px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 780px) {
  main { padding: 34px 20px 0; }
  .app-title { gap: 16px; }
  .app-title img { width: 72px; height: 72px; border-radius: 19px; }
  .hero-copy { margin-top: 26px; }
  .hero-graphic { border-radius: 14px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; max-width: 400px; }
  .feature-grid { grid-template-columns: 1fr; }
  .howto-panel { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .section { margin-top: 58px; }
  .section-heading h2 { font-size: 21px; }
  .site-header { padding: 14px 20px; }
  .brand { font-size: 15px; }
  .header-links { gap: 12px; font-size: 11px; }
}

@media (max-width: 430px) {
  .brand span { display: none; }
  .header-links a:first-child { display: none; }
  .gallery { gap: 24px 10px; }
  .shot figcaption { font-size: 12px; }
  .faq { padding: 6px 20px; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .google-play-link, .shot-preview img { transition: none; }
}
