:root {
  --fg: #2d2d2d;
  --fg-soft: #555;
  --fg-mute: #888;
  --bg: #fff;
  --bg-soft: #f6f6f6;
  --line: #e5e5e5;
  --accent: #2d2d2d;
  --accent-fg: #fff;
  --warn-bg: #fff8e6;
  --warn-line: #f0d97a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.7; }

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 56px 24px 64px;
  margin: 0 -20px;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.88)),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.avatar-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin: 0 auto 28px;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center 35%;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--fg-mute);
  margin: 0 0 20px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.4;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-sub {
  color: var(--fg-soft);
  margin: 0 0 32px;
  font-size: 15px;
}

/* ---------- CTA Button ---------- */
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 18px 48px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.05em;
  transition: transform 0.1s ease, opacity 0.15s ease;
  min-width: 240px;
}
.cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.cta-wrap {
  text-align: center;
  margin: 28px 0;
}

.note {
  font-size: 13px;
  color: var(--fg-mute);
  margin: 14px 0 0;
}

/* ---------- Sections ---------- */
.block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.block:last-of-type { border-bottom: none; }

.block h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.block p {
  margin: 0 0 14px;
  color: var(--fg-soft);
}

/* ---------- Benefits / Creed ---------- */
.benefits, .creed-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: item;
}
.benefits li, .creed-list li {
  position: relative;
  padding: 18px 0 18px 44px;
  border-top: 1px solid var(--line);
  counter-increment: item;
}
.benefits li:last-child, .creed-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.benefits li::before, .creed-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 600;
  font-feature-settings: "tnum";
}
.benefits strong, .creed-list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.benefits span, .creed-list span {
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- iPhone box ---------- */
.iphone-box {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 24px;
  margin: 24px 0 0;
}
.iphone-title {
  font-weight: 700;
  margin: 0 0 6px !important;
  color: var(--fg) !important;
}
.steps {
  padding-left: 22px;
  margin: 16px 0;
}
.steps li {
  margin: 0 0 14px;
  color: var(--fg-soft);
}
.copy-url {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  margin: 8px 0 0;
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--fg);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
}
.warning {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-line);
  padding: 12px 14px;
  font-size: 13px;
  margin: 16px 0 0 !important;
  color: var(--fg) !important;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 72px 0;
}
.final-cta h2 {
  font-size: 24px;
  margin: 0 0 28px;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 32px 20px 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-mute);
}
footer p { margin: 4px 0; }
footer a { color: var(--fg-mute); }

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .hero { padding: 44px 16px 52px; }
  .hero h1 { font-size: 30px; }
  .avatar-wrap { width: 132px; height: 132px; margin-bottom: 22px; }
  .cta { padding: 16px 32px; font-size: 16px; min-width: 200px; width: 100%; max-width: 320px; }
  .block { padding: 44px 0; }
  .block h2 { font-size: 20px; }
  .iphone-box { padding: 20px; }
  .final-cta { padding: 56px 0; }
}
