:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --text: #141824;
  --muted: #5b6275;
  --line: #e1e4ee;
  --accent: #5b4bff;
  --accent-2: #00b3a4;
  --accent-ink: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 24, 36, .07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e16;
    --surface: #131826;
    --surface-2: #1a2132;
    --text: #e9ecf5;
    --muted: #9aa3b8;
    --line: #242c40;
    --accent: #7c6dff;
    --accent-2: #2fd3c4;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .06em; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0;
}
nav.menu { display: flex; gap: 22px; font-size: 15px; }
nav.menu a { color: var(--muted); }
nav.menu a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { nav.menu { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* hero */
.hero { padding: 80px 20px 56px; text-align: center; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.hero h1 { font-size: clamp(28px, 7.4vw, 58px); line-height: 1.08; margin: 22px 0 16px; letter-spacing: -.02em; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--muted); }

section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 10px; letter-spacing: -.01em; text-align: center; }
section p.sub { color: var(--muted); text-align: center; margin: 0 auto 36px; max-width: 620px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.icon svg { width: 22px; height: 22px; }

/* pricing */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--accent); }
.price-card .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.price-card .period { font-weight: 650; color: var(--muted); }
.price-card .price { font-size: 36px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.02em; }
.price-card .per { color: var(--muted); font-size: 14px; min-height: 22px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; font-size: 15px; }
.price-card li { padding: 4px 0 4px 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }
.price-card .btn { margin-top: auto; }
.pay-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* locations */
.locs { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.loc { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; }
.loc .flag { width: 30px; height: 20px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px var(--line); }

/* steps */
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
.apps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* cta band */
.band {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2)));
  color: #fff; border-radius: 24px; padding: 44px 28px; text-align: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .85); margin: 0 auto 24px; max-width: 520px; }
.band .btn { background: #fff; color: #1c1840; }

/* footer */
footer.bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.bottom a { color: var(--muted); }

/* legal pages */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 20px; }
.doc h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 6px; letter-spacing: -.01em; }
.doc .meta { color: var(--muted); margin-bottom: 30px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ol, .doc ul { padding-left: 22px; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
