:root {
  --bg: #faf9f6;
  --card: #ffffff;
  --ink: #15131f;
  --muted: #5d5a6b;
  --line: #e7e4ee;
  --brand: #5b4cf0;
  --brand-dark: #3a2ac4;
  --mint: #19b98f;
  --soft: #f1effd;
  --radius: 18px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 249, 246, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cfcadd; }
.nav .btn { height: 40px; padding: 0 16px; color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); background: var(--soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 18px 0 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Queue mock */
.queue { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 24px 60px -30px rgba(58, 42, 196, 0.35); }
.queue-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.queue-head strong { font-size: 15px; }
.chip { font-size: 12px; font-weight: 700; color: var(--mint); background: #e6f8f2; padding: 4px 10px; border-radius: 999px; }
.slot { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.thumb { width: 46px; height: 58px; border-radius: 10px; }
.t1 { background: linear-gradient(160deg, #ffd9a8, #f59e5b); }
.t2 { background: linear-gradient(160deg, #c8f1e4, #3cc69b); }
.t3 { background: linear-gradient(160deg, #dcd6ff, #7d6ef7); }
.t4 { background: linear-gradient(160deg, #ffd0dc, #f0708f); }
.slot b { display: block; font-size: 14px; }
.slot span { font-size: 13px; color: var(--muted); }
.time { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--soft); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.alt .card { background: var(--bg); }
.card h3 { margin: 12px 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; }
.step h3 { margin: 12px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.perm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .perm { grid-template-columns: 1fr; } }
.perm ul { margin: 0; padding-left: 20px; color: var(--muted); }
.perm li { margin: 6px 0; }
.perm h3 { margin: 0 0 8px; font-size: 17px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; }
.final .sub { margin-left: auto; margin-right: auto; }
.final .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }
.disclaimer { width: 100%; font-size: 13px; }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #34313f; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
