:root {
  --ink: #2c2925;
  --muted: #746c62;
  --paper: #fffaf1;
  --card: #fffdf9;
  --line: #eadfce;
  --gold: #c9a15a;
  --gold-dark: #8a6228;
  --terracotta: #ad654b;
  --shadow: 0 28px 70px rgba(63, 45, 27, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 2%, rgba(227, 237, 220, .9), transparent 26%), linear-gradient(180deg, #fffaf2 0%, #fffdf9 42%, #f5ecdd 100%);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  line-height: 1.75;
}

a { color: inherit; }

.download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 6vw, 96px);
}

.download-brand img { display: block; width: 138px; height: auto; }

.download-home-link {
  color: var(--muted);
  font: 700 13px/1.4 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  text-decoration: none;
}

.download-home-link span { color: var(--gold-dark); font-size: 16px; }

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(42px, 8vw, 128px);
  max-width: 1280px;
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) clamp(22px, 6vw, 96px) clamp(74px, 10vw, 142px);
}

.download-kicker, .section-label {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font: 700 11px/1.4 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.download-copy h1, .install-section h2, .download-assurance h2 { margin: 0; letter-spacing: -.045em; line-height: 1.13; }

.download-copy h1 { font-size: clamp(48px, 6.1vw, 82px); }

.download-copy h1 em { color: var(--terracotta); font-style: normal; }

.download-lead { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); }

.download-actions { margin-top: 34px; }

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-width: min(100%, 365px);
  padding: 15px 18px 15px 23px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 18px 32px rgba(44, 41, 37, .2);
  color: #fff;
  font: 700 15px/1.3 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.download-button:hover, .download-button:focus-visible { transform: translateY(-2px); background: #151311; }

.download-button b { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 19px; }

.download-actions p { margin: 14px 0 0 4px; color: var(--muted); font: 12px/1.5 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }
.download-actions i { display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px; border-radius: 50%; background: var(--gold); }

.download-facts { display: flex; gap: 42px; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.download-facts div { display: grid; gap: 2px; }
.download-facts dt { color: var(--muted); font: 11px/1.4 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }
.download-facts dd { margin: 0; font-size: 14px; }

.download-visual { position: relative; display: grid; min-height: 510px; place-items: center; }
.visual-aura { position: absolute; width: min(90%, 470px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, #fbefce 38%, rgba(218, 228, 210, .65) 70%, transparent 71%); }
.phone-shell { position: relative; z-index: 1; width: min(70%, 290px); padding: 10px; border: 8px solid #2e2a27; border-radius: 43px; background: #2e2a27; box-shadow: 0 32px 48px rgba(46, 37, 28, .26); transform: rotate(5deg); }
.phone-speaker { position: absolute; z-index: 2; top: 18px; left: 50%; width: 56px; height: 5px; border-radius: 9px; background: #5c5550; transform: translateX(-50%); }
.phone-screen { min-height: 500px; overflow: hidden; padding: 62px 24px 28px; border-radius: 30px; background: radial-gradient(circle at 80% 18%, rgba(255,255,255,.95), transparent 19%), linear-gradient(160deg, #fffaf1, #f1e3c9); text-align: center; }
.phone-screen > p { margin: 0; color: var(--gold-dark); font: 700 9px/1.4 system-ui, sans-serif; letter-spacing: .18em; }
.app-icon { display: grid; width: 92px; height: 92px; margin: 56px auto 16px; place-items: center; border: 1px solid rgba(125, 90, 35, .16); border-radius: 28px; background: linear-gradient(135deg, #f8d681, #e9b856); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 24px rgba(125,90,35,.16); color: #615a53; font-size: 58px; line-height: 1; }
.phone-screen h2 { margin: 0; font-size: 26px; letter-spacing: .02em; }
.phone-screen > span { color: var(--muted); font-size: 12px; }
.bead-ring { position: relative; width: 150px; height: 150px; margin: 58px auto 0; border: 1px dashed rgba(125, 90, 35, .32); border-radius: 50%; }
.bead-ring-image { position: absolute; width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(62, 42, 25, .24)); }
.bead-ring-image.bead-a { top: -17px; left: 57px; }.bead-ring-image.bead-b { top: 13px; right: 5px; }.bead-ring-image.bead-c { right: 4px; bottom: 13px; }.bead-ring-image.bead-d { bottom: -16px; left: 57px; }.bead-ring-image.bead-e { bottom: 13px; left: 4px; }.bead-ring-image.bead-f { top: 13px; left: 5px; }.bead-ring-image.bead-g { top: 52px; left: 57px; }
.visual-note { position: absolute; right: -2%; bottom: 6%; z-index: 2; padding: 13px 17px; border: 1px solid rgba(185,144,72,.26); border-radius: 12px; background: rgba(255,253,249,.88); box-shadow: 0 12px 24px rgba(65,42,22,.08); color: var(--muted); font: 11px/1.55 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }.visual-note span { color: var(--terracotta); font-size: 17px; }

.install-section { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 8vw, 110px) clamp(22px, 6vw, 96px); border-top: 1px solid rgba(185,144,72,.18); }
.install-section h2 { font-size: clamp(34px, 4vw, 56px); }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.install-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 17px; min-height: 180px; padding: 30px 28px 24px 0; border-bottom: 1px solid var(--line); }.install-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.install-steps strong { color: var(--terracotta); font: 700 12px/1.4 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }.install-steps h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.45; }.install-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.download-assurance { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; max-width: 1090px; margin: 0 auto clamp(70px, 9vw, 116px); padding: 34px clamp(25px, 5vw, 52px); border: 1px solid rgba(185,144,72,.34); border-radius: 26px; background: linear-gradient(125deg, #fffdf8, #f4e8d1); box-shadow: var(--shadow); }.assurance-mark { display: grid; width: 74px; height: 74px; place-items: center; border-radius: 23px; background: #f0c46b; color: #62594e; font-size: 47px; line-height: 1; }.download-assurance .section-label { margin-bottom: 7px; }.download-assurance h2 { font-size: clamp(26px, 3vw, 36px); }.download-assurance p:not(.section-label) { margin: 7px 0 0; color: var(--muted); font-size: 14px; }.download-assurance > a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--gold-dark); font: 700 14px/1.4 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; text-decoration: none; white-space: nowrap; }.download-assurance > a span { font-size: 18px; }

.download-footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px clamp(22px, 6vw, 96px); border-top: 1px solid rgba(185,144,72,.18); color: var(--muted); font: 12px/1.4 "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }.download-footer a { text-decoration: none; }

@media (max-width: 860px) { .download-hero { grid-template-columns: 1fr; gap: 26px; min-height: auto; }.download-visual { min-height: 430px; order: -1; }.phone-shell { width: min(66%, 270px); }.phone-screen { min-height: 450px; }.visual-note { right: 5%; }.install-steps { grid-template-columns: 1fr; }.install-steps li, .install-steps li + li { min-height: auto; padding: 25px 0; border-left: 0; }.download-assurance { margin-left: 22px; margin-right: 22px; grid-template-columns: auto 1fr; }.download-assurance > a { grid-column: 2; }.download-facts { gap: 24px; } }
@media (max-width: 520px) { .download-header { padding-top: 17px; padding-bottom: 17px; }.download-brand img { width: 116px; }.download-home-link { font-size: 12px; }.download-copy h1 { font-size: 48px; }.download-visual { min-height: 390px; }.phone-shell { width: 220px; border-radius: 34px; }.phone-screen { min-height: 375px; padding-top: 48px; }.app-icon { width: 74px; height: 74px; margin-top: 33px; font-size: 47px; }.bead-ring { margin-top: 37px; transform: scale(.82); }.visual-note { bottom: 0; right: 0; }.download-assurance { gap: 17px; padding: 25px; }.assurance-mark { width: 58px; height: 58px; border-radius: 18px; font-size: 38px; }.download-assurance > a { grid-column: 1 / -1; }.download-facts { flex-direction: column; gap: 12px; }.download-button { width: 100%; gap: 12px; }.download-footer { padding-top: 23px; padding-bottom: 23px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.download-button { transition: none; } }
