:root {
  --bg: #ffffff;
  --soft: #f6f8fc;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --violet: #7c3aed;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -24px rgba(37, 99, 235, .35);
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--violet); }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav { display: none; gap: 30px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .94rem; }
.nav a:hover { color: var(--blue); }
@media (min-width: 860px) { .nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 600; font-size: .95rem; border: 0; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(124, 58, 237, .6); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { color: var(--blue); border-color: #c7d2fe; }
.btn-small { padding: 8px 16px; font-size: .88rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(800px 400px at 90% 0%, rgba(124, 58, 237, .10), transparent 60%), radial-gradient(700px 380px at 0% 20%, rgba(37, 99, 235, .10), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); opacity: .55; }
.hero-inner { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 96px 0 110px; } .hero-inner { grid-template-columns: 1.25fr 1fr; gap: 60px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #c7d2fe; background: #eef2ff; color: #3730a3; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 18px; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }

.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #f87171; } .dot.y { background: #fbbf24; } .dot.g { background: #34d399; }
.panel-title { margin-left: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.panel-body { padding: 10px 16px 16px; }
.panel-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; color: var(--ink-2); }
.panel-row:last-child { border-bottom: 0; }
.tag { flex: 0 0 auto; min-width: 92px; text-align: center; font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-violet { background: #ede9fe; color: #6d28d9; }
.tag-green { background: #dcfce7; color: #15803d; }
.tag-amber { background: #fef3c7; color: #b45309; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 100px 0; } }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.sub { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow-light { color: #c7d2fe; }
.split { display: grid; gap: 24px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.prose p, .prose li { color: var(--ink-2); }

.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #eff6ff, #f5f3ff); border: 1px solid #e0e7ff; margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: #c7d2fe; box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-n { display: inline-block; font-family: var(--display); font-weight: 800; font-size: .85rem; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 8px; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

.band { display: grid; gap: 28px; padding: 40px 28px; border-radius: 24px; background: radial-gradient(600px 300px at 100% 0%, rgba(124, 58, 237, .45), transparent 60%), #0f172a; color: #cbd5e1; }
@media (min-width: 960px) { .band { grid-template-columns: 1fr 1.4fr; gap: 56px; padding: 56px; } }
.band h2 { color: #fff; }
.band-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .band-list { grid-template-columns: repeat(2, 1fr); } }
.band-list li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 18px; }
.band-list strong { display: block; color: #fff; font-family: var(--display); margin-bottom: 4px; }
.band-list span { font-size: .92rem; color: #94a3b8; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 14px 16px 14px 48px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad) center/12px no-repeat; }
.checks li::after { content: ""; position: absolute; left: 22px; top: 21px; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

.contact-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink-2); box-shadow: var(--shadow); overflow-wrap: anywhere; transition: border-color .2s, transform .2s; }
.contact-item:hover { color: var(--ink-2); border-color: #c7d2fe; transform: translateY(-2px); }
.contact-item p, .contact-item address { margin: 0; font-size: .95rem; }

/* Legal pages */
.page { padding-top: 56px; }
.prose-page { max-width: 780px; }
.prose-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose-page h2 { font-size: 1.3rem; margin-top: 2em; }
.prose-page ul { padding-left: 1.2em; }
.prose-page li { margin-bottom: .45em; }
.muted { color: var(--muted); }

/* Footer */
.site-footer { background: #0b1220; color: #94a3b8; padding: 60px 0 26px; font-size: .92rem; }
.site-footer a { color: #c7d2fe; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1.3fr 1.2fr 1fr; } }
.brand-footer { color: #fff; margin-bottom: 10px; }
.brand-footer:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.footer-h { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; font-weight: 600; }
.site-footer .muted { color: #94a3b8; }
.site-footer address strong { color: #e2e8f0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #64748b; }
.footer-bottom p { margin: 0; }

/* Never let a grid or flex child force the page wider than the phone screen. */
html, body { overflow-x: hidden; }
.hero-inner, .split, .cards, .steps, .contact-grid, .footer-grid, .band, .band-list { grid-template-columns: minmax(0, 1fr); }
.hero-inner > *, .split > *, .band > * { min-width: 0; }
h1, h2 { overflow-wrap: anywhere; }
@media (min-width: 640px) { .cards, .contact-grid, .band-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-grid { grid-template-columns: 1.2fr 1.3fr 1.2fr 1fr; } }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.25fr 1fr; } .split { grid-template-columns: 1fr 1.3fr; } .band { grid-template-columns: 1fr 1.4fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .header-row .btn-small { display: none; } }
