:root{
  --ink:#0f172a; --muted:#64748b; --bg:#f8fafc;
  --brand:#4f46e5; --brand-2:#06b6d4; --accent:#16a34a;
  --card:#ffffff; --ring: rgba(79,70,229,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.section{padding:56px 0}
h1,h2,h3{line-height:1.2;margin:0 0 10px}

.site-header{position:sticky;top:0;z-index:50;background:linear-gradient(90deg,var(--brand),var(--brand-2));color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.logo{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--brand);display:grid;place-items:center;font-weight:800;box-shadow:0 0 0 4px rgba(255,255,255,.3)}
.logo.small{width:34px;height:34px;font-size:.9rem}
.brand-text h1{font-size:1.1rem;margin:0}
.brand-text .tag{margin:0;font-size:.85rem;opacity:.9}
.nav-toggle{display:none;background:transparent;border:0;cursor:pointer}
.nav-toggle .bars{display:block;width:26px;height:2px;background:#fff;position:relative}
.nav-toggle .bars::before,.nav-toggle .bars::after{content:"";position:absolute;left:0;width:26px;height:2px;background:#fff}
.nav-toggle .bars::before{top:-7px}.nav-toggle .bars::after{top:7px}
.primary-nav{display:flex;align-items:center;gap:14px}
.primary-nav a{color:#fff;padding:6px 8px;border-radius:8px}
.primary-nav a.btn{background:#fff;color:var(--brand);font-weight:600}
.primary-nav .nav-sep{width:1px;height:18px;background:rgba(255,255,255,.35);margin:0 6px}
.primary-nav .welcome{opacity:.95}
.cart-link{display:flex;align-items:center;gap:6px}
.chip{display:inline-grid;place-items:center;min-width:20px;height:20px;background:#fff;color:var(--brand);border-radius:999px;padding:0 6px;font-weight:700}

@media (max-width: 860px){
  .nav{align-items:flex-start;padding:10px 0}
  .nav-toggle{display:block}
  .primary-nav{position:absolute;left:0;right:0;top:70px;background:linear-gradient(90deg,var(--brand),var(--brand-2));flex-direction:column;align-items:flex-start;padding:10px 16px;display:none}
  .primary-nav.open{display:flex}
}

.hero{position:relative;min-height:54vh;display:grid;place-items:center;background:
  radial-gradient(800px 300px at 10% -10%, rgba(255,255,255,.35), transparent 50%),
  radial-gradient(800px 300px at 90% -10%, rgba(255,255,255,.35), transparent 50%),
  linear-gradient(120deg, rgba(6,182,212,.12), rgba(79,70,229,.08));
  overflow:hidden
}
.hero .wrap{text-align:center;padding:64px 0}
.hero h2{font-size:2.2rem;margin-bottom:10px}
.hero p{margin:8px auto 18px;max-width:700px;color:var(--muted)}
.hero .cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:10px 16px;border-radius:12px;font-weight:700;border:2px solid transparent;box-shadow:0 2px 8px rgba(16,185,129,.25)}
.btn.secondary{background:transparent;border-color:#fff}
.btn.small{padding:6px 10px;border-radius:8px}

.card{background:var(--card);border-radius:16px;box-shadow:0 1px 0 rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.06);padding:18px}
.grid{display:grid;gap:18px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:800px){.grid.cols-3,.grid.cols-2{grid-template-columns:1fr}}

.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}

.site-footer{margin-top:40px;background:#0b1220;color:#dbeafe}
.site-footer a{color:#a5b4fc}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;padding:26px 16px}
.site-footer .copy{text-align:center;padding:10px;color:#94a3b8;border-top:1px solid rgba(148,163,184,.2)}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr}}

.kbd{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;background:#eef2ff;border:1px solid var(--ring);padding:1px 6px;border-radius:6px}
.input, select, textarea{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;outline:none}
.input:focus, textarea:focus{box-shadow:0 0 0 4px var(--ring);border-color:transparent}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:700px){.form-row{grid-template-columns:1fr}}
label{display:block;margin:10px 0 6px;font-weight:600}
hr.sep{border:0;border-top:1px dashed #cbd5e1;margin:14px 0}
.badge{display:inline-block;background:#eef2ff;color:#3730a3;padding:4px 8px;border-radius:999px;font-weight:700;font-size:.8rem}
.prose p{margin:0 0 10px}
.prose h3{margin-top:18px}
.notice{background:#f0fdf4;border:1px solid #bbf7d0;padding:12px;border-radius:12px}
.warn{background:#fff7ed;border:1px solid #fed7aa}
