:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --surface-2: #eceaf6;
  --ink: #17152b;
  --muted: #5b5873;
  --line: #dcd9ea;
  --indigo: #3b3486;
  --indigo-deep: #221d57;
  --coral: #f06a4f;
  --coral-soft: #ffe3dc;
  --ok: #1f8a5b;
  --on-dark: #f3f1ff;
  --on-dark-muted: #b9b4e0;
  --radius: 22px;
  --max: 1040px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100e1f;
    --surface: #1a1730;
    --surface-2: #221f3d;
    --ink: #f3f1ff;
    --muted: #b1adcf;
    --line: #2e2a4d;
    --indigo: #a59cff;
    --coral-soft: #3a1f22;
    --ok: #5fd39c;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}
a { color: var(--indigo); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.nobr { display: inline-block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

/* Header */
.site-header { padding: 16px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 800; font-size: 19px; }
.nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.nav a { color: inherit; text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 520px) { .hide-sm { display: none; } }

/* Hero */
.hero { background: radial-gradient(120% 90% at 85% 10%, #4b42a8 0%, var(--indigo-deep) 55%, #15123a 100%); color: var(--on-dark); padding-bottom: 64px; overflow: hidden; }
.hero a { color: var(--on-dark); }
.hero-inner { display: grid; gap: 40px; align-items: center; padding-top: 28px; }
@media (min-width: 880px) { .hero-inner { grid-template-columns: 1.1fr .9fr; padding-top: 48px; } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .04em; background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 999px; }
h1 { font-size: clamp(30px, 6.4vw, 50px); line-height: 1.35; margin: 16px 0 18px; font-weight: 800; letter-spacing: -.01em; }
h1 em { font-style: normal; color: #ffb4a3; }
.lede { color: var(--on-dark-muted); font-size: 17px; margin: 0 0 26px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 17px; border: 0; cursor: pointer; }
.btn-primary { background: var(--coral); color: #fff !important; box-shadow: 0 8px 24px rgba(240,106,79,.35); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { color: inherit; padding-left: 4px; padding-right: 4px; text-decoration: underline; font-weight: 600; }
.note { font-size: 14px; color: var(--on-dark-muted); margin-top: 14px; }


/* Sections */
section { padding: 64px 0; }
h2 { font-size: clamp(24px, 4.6vw, 34px); line-height: 1.4; margin: 0 0 12px; font-weight: 800; }
.section-lede { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.features { display: grid; gap: 16px; }
@media (min-width: 800px) { .features { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.badge { width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2); color: var(--indigo); display: grid; place-items: center; }
.badge svg { width: 24px; height: 24px; }


/* Plans */
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 5px; color: var(--ok); }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Hero phone and screen gallery */
.btn-soon { background: rgba(255,255,255,.14); color: var(--on-dark); border: 1px solid rgba(255,255,255,.3); cursor: default; }
.hero-phone { margin: 0 auto; width: min(300px, 72vw); }
.hero-phone img, .shots img { display: block; width: 100%; height: auto; border-radius: 34px; border: 8px solid #0b0b0f; box-shadow: 0 24px 60px rgba(0,0,0,.35); background: #0b0b0f; }
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 20px; max-width: calc(var(--max) + 48px); margin: 0 auto; }
.shots figure { margin: 0; flex: 0 0 min(240px, 64vw); scroll-snap-align: center; }
.shots figcaption { font-size: 15px; font-weight: 700; text-align: center; margin-top: 12px; }
.tint { background: var(--surface-2); }
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan-plus { border: 2px solid var(--coral); }
.plan .label { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.plan-plus .label { color: var(--coral); }
.plan .checks { margin: 0; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Legal pages */
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: clamp(26px, 5vw, 36px); margin: 8px 0 24px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.doc th { width: 34%; background: var(--surface-2); font-weight: 700; }
@media (max-width: 560px) { .doc th, .doc td { display: block; width: 100%; } .doc th { border-bottom: 0; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
.site-footer a { color: inherit; }
.doc h3 { font-size: 16px; margin: 20px 0 4px; }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 16px 0 8px; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
