:root {
  --tint: #1f3f9e;
  --on-tint: #fff;
  --done: #34c759;
  --ink: #000;
  --ink-2: #3c3c43;
  --ink-3: rgba(60, 60, 67, .6);
  --ground: #f3f6fc;
  --card: rgba(255, 255, 255, .62);
  --card-stroke: rgba(255, 255, 255, .9);
  --sep: rgba(0, 0, 0, .1);
  --sky:
    radial-gradient(70% 45% at 18% 8%, rgba(190, 214, 250, .9) 0%, rgba(190, 214, 250, 0) 70%),
    radial-gradient(55% 40% at 88% 30%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #a9c4ee 0%, #dbe7f9 42%, #f3f6fc 100%);
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  scroll-padding-top: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sf);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--tint); }
a:hover { color: #183380; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(243, 246, 252, .7);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 14px; padding: 8px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--tint); color: var(--on-tint); }
.btn-primary:hover { background: #183380; color: var(--on-tint); }
.btn-glass { background: rgba(255, 255, 255, .55); color: var(--tint); box-shadow: inset 0 0 0 1px var(--card-stroke); }
.btn svg { width: 18px; height: 18px; }
.note { font-size: 13px; color: var(--ink-3); }

/* Hero */
.hero { background: var(--sky); padding: 64px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: end; }
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 20px; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.hero .lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 30em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.hero .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); padding-bottom: 56px; margin: 0; list-style: none; padding-left: 0; }
.hero .meta li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tint); margin-right: 7px; vertical-align: 2px; }

.phones { display: flex; justify-content: center; align-items: flex-end; gap: 20px; }
.phone { width: 280px; border-radius: 44px; background: #0d0d0f; padding: 10px; box-shadow: 0 30px 60px rgba(30, 60, 120, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { border-radius: 35px; width: 100%; }
.phone.back { width: 230px; border-radius: 38px; margin-bottom: -120px; }
.phone.back img { border-radius: 30px; }
.phones .phone.front { margin-bottom: -140px; }

/* Sections */
.sec { padding: 88px 0; }
.sec h2 { font-size: 32px; line-height: 1.3; margin: 0 0 12px; letter-spacing: -.01em; }
.sec .sub { font-size: 17px; color: var(--ink-2); margin: 0 0 40px; max-width: 36em; }
.eyebrow { font-size: 13px; color: var(--tint); font-weight: 600; letter-spacing: .04em; margin: 0 0 10px; }
#how { padding-top: 200px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.step { padding: 24px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); color: #fff; font-weight: 700; font-family: var(--rounded); margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--done); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; margin-top: 14px; }
.chip svg { width: 14px; height: 14px; }

/* Input */
.dial { background: #fff; }
.dial .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.dial .sub { margin-bottom: 0; }
.pts { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.pt { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.pt .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--ground); display: flex; align-items: center; justify-content: center; color: var(--tint); }
.pt .ic svg { width: 22px; height: 22px; }
.pt strong { display: block; font-size: 16px; margin-bottom: 2px; }
.pt p { margin: 0; font-size: 15px; color: var(--ink-2); }
.stage { position: relative; background: var(--sky); border-radius: 26px; padding: 0 32px 40px; display: flex; justify-content: center; align-items: flex-end; gap: 24px; overflow: hidden; height: 600px; }
.stage .phone { width: 290px; margin-top: -80px; }
.stage .phone.small { width: 220px; border-radius: 38px; margin-bottom: -30px; }
.stage .phone.small img { border-radius: 30px; }
.stage .tag { position: absolute; bottom: 16px; left: 20px; font-size: 13px; color: var(--tint); background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 12px; font-weight: 600; z-index: 1; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); box-shadow: inset 0 0 0 1px var(--card-stroke), 0 10px 30px rgba(30, 60, 120, .08); border-radius: 26px; padding: 24px; backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card .shot { margin: 20px -8px -8px; border-radius: 18px; overflow: hidden; aspect-ratio: 402 / 560; background: #e6edf8; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.big .card { display: grid; grid-template-columns: 1fr 180px; gap: 20px; align-items: center; }
.big .card .shot { margin: 0; aspect-ratio: 402 / 874; border-radius: 22px; }
.settings { margin-top: 20px; padding: 24px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--card-stroke); }
.settings strong { display: block; margin-bottom: 4px; }

/* Privacy */
.privacy .card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.privacy .card h2 { font-size: 24px; }
.privacy p { margin: 0; color: var(--ink-2); }

/* Final CTA */
.cta-final { text-align: center; background: var(--sky); }
.cta-final h2 { font-size: 36px; }
.cta-final .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 10px 30px rgba(31, 63, 158, .3); }
.cta-final .sub { margin: 0 auto 28px; }
.cta-final .note { margin-top: 12px; }

/* Privacy policy page */
.policy .wrap { max-width: 720px; }
.policy-head { background: var(--sky); padding: 64px 0 40px; }
.policy h1 { font-size: 32px; line-height: 1.3; letter-spacing: -.01em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.lang-switch { margin: 16px 0 0; font-size: 14px; }
.policy-body { padding: 8px 0 56px; }
.policy-item { margin-top: 28px; }
.policy-item h2 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 0 8px 20px; }
.policy-item .card { padding: 16px 20px; }
.policy-item .card p { color: var(--ink); font-size: 17px; }
.policy .updated { margin: 24px 0 0 20px; }
.policy-en { background: #fff; padding-top: 64px; }
.policy-en .card { background: var(--ground); box-shadow: none; }
.nav a[aria-current="page"] { color: var(--tint); font-weight: 600; }

/* Footer */
.ftr { padding: 48px 0 64px; color: var(--ink-3); font-size: 13px; }
.ftr .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.ftr a { color: var(--ink-2); text-decoration: none; margin-right: 18px; }
.ftr a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero .meta { padding-bottom: 36px; }
  .phones .phone.front { margin-bottom: -110px; width: 240px; }
  .phone.back { display: none; }
  .features, .steps, .big { grid-template-columns: 1fr; }
  .big .card { grid-template-columns: 1fr 140px; }
  .privacy .card, .dial .wrap { grid-template-columns: 1fr; }
  .stage { height: 520px; padding: 0 20px 32px; }
  .stage .phone { width: 250px; margin-top: 0; }
  .stage .phone.small { display: none; }
  .sec { padding: 64px 0; }
  #how { padding-top: 200px; }
  .sec h2 { font-size: 26px; }
  .nav a.hide-sm { display: none; }
  .policy-head { padding: 48px 0 32px; }
  .policy h1 { font-size: 26px; }
}
