:root {
  --ink: #1b1530;
  --muted: #625b78;
  --line: #e7e3f0;
  --bg: #fbfaff;
  --card: #ffffff;
  --brand: #5b21b6;
  --brand-2: #7c3aed;
  --deep: #1e1b4b;
  --sun: #fbbf24;
  --sky: #bfdbfe;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eeeaf7; --muted: #a9a2bd; --line: #2c2645; --bg: #120f22; --card: #1a1630; --brand: #a78bfa; --brand-2: #c4b5fd; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); font-size: 15px; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 10px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.lang { display: flex; gap: 2px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.links + .lang { margin-left: 0; }
.lang a { padding: 4px 11px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.lang a[aria-current] { background: var(--brand); color: #fff; }

.hero { background: radial-gradient(1200px 500px at 85% -10%, #c4b5fd55, transparent 60%), radial-gradient(900px 500px at -10% 20%, #fde68a33, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.07; letter-spacing: -0.025em; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 12px; background: #0f0d1a; color: #fff; border-radius: 14px; padding: 10px 18px 10px 14px; }
.badge svg { width: 28px; height: 28px; }
.badge b { display: block; font-size: 16px; line-height: 1.2; }
.badge small { display: block; font-size: 12px; opacity: .75; }

.phone { justify-self: center; width: 280px; aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0f0d1a; padding: 12px; box-shadow: 0 40px 80px -30px #4c1d9580, 0 0 0 1px #ffffff14 inset; transform: rotate(3deg); }
.screen { height: 100%; border-radius: 32px; background: #f6f4fb; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.s-head { display: flex; align-items: center; gap: 8px; color: #1b1530; }
.s-head img { border-radius: 8px; }
.s-hero { background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff; border-radius: 16px; padding: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 14px; }
.s-hero span { background: var(--sun); color: #2e1b6b; font-weight: 800; font-size: 11px; border-radius: 6px; padding: 1px 6px; }
.s-card { background: #fff; border-radius: 14px; padding: 12px; display: flex; gap: 10px; box-shadow: 0 1px 0 #e7e3f0; }
.s-card i { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); flex: none; }
.s-card i.b { background: var(--sky); }
.s-card i.c { background: #c4b5fd; }
.s-card div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.s-card b { height: 10px; width: 70%; background: #d9d3e8; border-radius: 5px; }
.s-card em { height: 7px; width: 95%; background: #ece8f4; border-radius: 4px; }
.s-card em.short { width: 55%; }

.sec { padding-top: 64px; padding-bottom: 8px; }
.h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); margin: 24px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card ol { margin: 8px 0 0; padding-left: 20px; }
.card ol li { margin: 6px 0; }
.ic { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps h3 { margin: 4px 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.ethics { background: linear-gradient(135deg, #4c1d95, #1e1b4b); color: #fff; border-radius: 24px; padding: 32px; }
.ethics h2 { margin: 0 0 8px; }
.ethics p { margin: 0; opacity: .9; max-width: 760px; }

.doc { max-width: 780px; padding-top: 48px; padding-bottom: 32px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 20px; margin: 30px 0 6px; }
.doc h2.part { font-size: 26px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink); }
.note { margin-top: 36px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--muted); font-size: 15px; }

.foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.foot-links a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--brand); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .phone { display: none; }
  .grid, .steps, .grid.two { grid-template-columns: 1fr; }
  .links { display: none; }
  body { font-size: 16px; }
}
