:root {
  color-scheme: light;
  --ink: #1f2937;
  --muted: #6b7280;
  --faint: #9ca3af;
  --bg: #f8fafc;
  --surface: #ffffff;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --accent: #0f172a;
  --talk: #8cabd8;
  --inverse: #f8fafc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.03em; }
.nowrap { white-space: nowrap; }
a { color: #334155; }
a:hover { color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: var(--surface);
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  background: var(--bg);
}
.mark {
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  color: var(--inverse);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.22) 62%, rgba(15, 23, 42, 0.12) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.28));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 360px);
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 88px;
}
.kicker {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 650;
  color: #f8fafc;
}
.lead {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  color: #e2e8f0;
}
.warn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.12);
  box-shadow: var(--shadow-soft);
  color: #f8fafc;
  font-size: 13px;
}
.hero-actions { margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 650;
}
.btn-fill {
  background: #f8fafc;
  color: #0f172a;
  box-shadow: var(--shadow);
}
.btn-fill:hover { color: #0f172a; }

.iphone {
  width: min(100%, 320px);
  margin: 0 auto;
  aspect-ratio: 433 / 882;
  filter: drop-shadow(0 28px 48px rgba(2, 6, 23, 0.45));
}
.iphone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.4%;
  border-radius: 14%;
  background: #111827;
  box-shadow: inset 0 0 0 2px #334155;
}
.iphone-island {
  position: absolute;
  top: 3.4%;
  left: 50%;
  width: 34%;
  height: 4.2%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #020617;
  z-index: 2;
}
.iphone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12%;
  background: var(--talk);
}
.iphone-screen video,
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 28px;
  scroll-margin-top: 80px;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--ink);
  font-weight: 650;
}
.section-lead {
  margin: 0 0 40px;
  color: var(--muted);
  max-width: 36em;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.card {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: 20px;
  padding: 28px 26px 30px;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 650;
}
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 20px;
  height: 20px;
  stroke: #64748b;
  fill: none;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.moment {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--inverse);
}
.moment video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moment-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.62));
}
.moment-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
}
.moment-copy p {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.price-card {
  max-width: 560px;
}
.price-card .amount {
  display: block;
  margin: 8px 0 16px;
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.doc h1 {
  margin: 8px 0 20px;
  font-size: clamp(32px, 4vw, 44px);
}
.doc h2 {
  margin: 36px 0 10px;
  font-size: 20px;
}
.doc h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}
.doc .kicker { color: var(--muted); letter-spacing: 0.08em; }
.doc p, .doc li { color: #374151; }

.site-footer {
  padding: 36px 28px 56px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .iphone { width: min(72vw, 280px); }
  .grid { grid-template-columns: 1fr; }
  .site-header {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 14px 16px;
  }
  .section {
    padding: 72px 20px;
    scroll-margin-top: 72px;
  }
}
