:root {
  color-scheme: light;
  --background: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.84);
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius: 24px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 113, 227, 0.10), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 247, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.nav-inner {
  width: min(1080px, calc(100% - 40px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--accent); }

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 570px;
  display: grid;
  place-items: center;
  padding: 96px 0 88px;
  text-align: center;
}

.hero-content { max-width: 780px; }

.app-mark {
  width: 78px;
  height: 78px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #26a7ff, #0065d1);
  box-shadow: 0 18px 38px rgba(0, 113, 227, 0.25);
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
}

.page-hero {
  max-width: 820px;
  padding: 88px 0 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 8vw, 5.3rem);
  font-weight: 750;
}

.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }

.lead {
  margin: 0 auto 32px;
  color: var(--secondary);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.65;
}

.page-hero .lead { margin-left: 0; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.section { padding: 60px 0; }

.section + .section { border-top: 1px solid var(--line); }

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.section-heading p,
.muted {
  margin-top: 0;
  color: var(--secondary);
}

.section-heading p { font-size: 1.08rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--secondary); }
.card p + p { margin-top: 12px; }

.card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-link:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.09); }

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e8f3ff;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 52px;
  padding: 0 0 26px 68px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -5px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f3ff;
  color: var(--accent);
  font-weight: 700;
}

.steps strong { display: block; margin-bottom: 3px; }

.faq { display: grid; gap: 12px; }

details {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 0 22px;
  background: var(--surface);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.035);
}

summary {
  padding: 20px 34px 20px 0;
  font-weight: 650;
  cursor: pointer;
}

details p { margin: 0 0 20px; color: var(--secondary); }

.callout {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #087ce8, #0061c9);
  color: #fff;
  box-shadow: 0 18px 46px rgba(0, 113, 227, 0.22);
}

.callout h2 { margin-bottom: 12px; }
.callout p { max-width: 720px; margin: 0 0 24px; color: rgba(255,255,255,.85); }
.callout .button { background: #fff; color: var(--accent); }

.legal-card { padding: clamp(26px, 5vw, 52px); }
.legal-card h2 { margin: 46px 0 12px; font-size: 1.55rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 25px 0 7px; font-size: 1.05rem; letter-spacing: -0.015em; }
.legal-card p, .legal-card li { color: #424245; }
.legal-card ul, .legal-card ol { padding-left: 1.4em; }
.legal-card li + li { margin-top: 7px; }

.meta {
  margin: 0;
  color: var(--secondary);
  font-size: .9rem;
}

.mail {
  color: var(--accent);
  font-weight: 650;
  overflow-wrap: anywhere;
}

footer {
  width: min(1080px, calc(100% - 40px));
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--secondary);
  font-size: 0.78rem;
}

footer a { color: var(--secondary); text-decoration: none; }
footer a:hover { color: var(--accent); }

:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.35); outline-offset: 3px; }

@media (max-width: 780px) {
  .nav-inner { width: min(100% - 28px, 1080px); gap: 16px; }
  .nav-links { gap: 18px; }
  main, footer { width: min(100% - 28px, 1080px); }
  .hero { min-height: 500px; padding: 72px 0 58px; }
  .page-hero { padding: 64px 0 40px; }
  .section { padding: 46px 0; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}

@media (max-width: 560px) {
  .nav-inner { align-items: flex-start; flex-direction: column; gap: 7px; padding: 10px 0; }
  .nav-links { width: 100%; padding-bottom: 2px; }
  html { scroll-padding-top: 104px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
