/* ==========================================================================
   VideoBank AI — design system
   A light, minimal SaaS-marketplace theme with a dark gradient hero.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --surface: #ffffff;
  --surface-2: #f3f3f8;
  --border: #e8e8f0;
  --border-strong: #d7d7e2;

  /* text */
  --text: #0f0f14;
  --text-2: #3a3a44;
  --muted: #6b6f7a;

  /* brand */
  --brand: #6d5dfc;
  --brand-2: #a855f7;
  --brand-ink: #5848e6;
  --brand-soft: #efecfe;
  --grad: linear-gradient(135deg, #6d5dfc 0%, #a855f7 100%);

  /* state */
  --ok: #15a05a;
  --ok-soft: #e7f6ee;
  --warn: #c77700;
  --err: #d92d3b;
  --err-soft: #fdecee;

  /* shape */
  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 20px;
  --ring: 0 0 0 3px rgba(109, 93, 252, .28);
  --shadow-sm: 0 1px 2px rgba(15, 15, 20, .05);
  --shadow: 0 2px 6px rgba(15, 15, 20, .05), 0 12px 32px rgba(15, 15, 20, .07);
  --shadow-lg: 0 8px 24px rgba(15, 15, 20, .08), 0 30px 60px rgba(15, 15, 20, .12);

  --maxw: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-ink);
  background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  --bbg: var(--surface); --bfg: var(--text); --bbd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
  padding: 12px 20px; border-radius: 10px; border: 1px solid var(--bbd);
  background: var(--bbg); color: var(--bfg);
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, opacity .15s;
  white-space: nowrap; user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary {
  --bbg: var(--grad); --bfg: #fff; --bbd: transparent;
  box-shadow: 0 6px 18px rgba(109, 93, 252, .32);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(109, 93, 252, .42); }
.btn-ghost { --bbg: transparent; --bbd: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-light { --bbg: rgba(255,255,255,.12); --bfg: #fff; --bbd: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn { position: relative; }
.btn .spinner { display: none; }
.btn.is-loading { color: transparent; cursor: progress; }
.btn.is-loading .btn-label { visibility: hidden; }
.btn.is-loading .spinner {
  display: inline-block; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: var(--header-h); display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.brand .brand-ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px;
  overflow: hidden; background: var(--surface);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; padding: 7px 12px; cursor: pointer; transition: .15s;
}
.lang-switch button.active { background: var(--grad); color: #fff; }
.lang-switch button:not(.active):hover { color: var(--text); background: var(--surface-2); }

.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(168, 85, 247, .55), transparent 60%),
    radial-gradient(800px 520px at 92% 0%, rgba(45, 212, 191, .35), transparent 55%),
    radial-gradient(700px 700px at 70% 120%, rgba(109, 93, 252, .5), transparent 60%),
    #0b0b12;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(#000, transparent 75%);
  -webkit-mask-image: linear-gradient(#000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; padding: 96px 0 110px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
.hero .lead { color: rgba(255,255,255,.78); font-size: clamp(17px, 2.2vw, 21px); max-width: 60ch; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.9); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hero-pill b { font-weight: 700; }

/* search bar in hero */
.hero-search {
  display: flex; gap: 8px; max-width: 560px; margin: 34px auto 0;
  background: rgba(255,255,255,.96); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1 1 auto; min-width: 0; border: 0; background: transparent;
  padding: 12px 14px; font-size: 16px; color: var(--text); outline: none;
}
.hero-search input::placeholder { color: var(--muted); }

.hero-note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.6); }
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- catalog ---------- */
.toolbar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  justify-content: space-between; margin-bottom: 28px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.search-mini { position: relative; }
.search-mini input {
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 14px 10px 38px;
  font-size: 14px; width: 230px; max-width: 100%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6f7a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center;
}
.search-mini input:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.thumb {
  position: relative; aspect-ratio: 16 / 10; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 16px 16px; opacity: .6;
}
.thumb .play {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px); display: grid; place-items: center; transition: .18s; color: #fff;
}
.card:hover .thumb .play { transform: scale(1.08); background: rgba(255,255,255,.34); }
.thumb .play svg { width: 22px; height: 22px; margin-left: 3px; }
.badge {
  position: absolute; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 8px; border-radius: 7px; backdrop-filter: blur(4px);
}
.badge-dur { right: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; }
.badge-res { left: 10px; top: 10px; background: rgba(255,255,255,.92); color: #0b0b12; }
.thumb--1 { background: linear-gradient(135deg, #6d5dfc, #a855f7); }
.thumb--2 { background: linear-gradient(135deg, #0ea5e9, #2dd4bf); }
.thumb--3 { background: linear-gradient(135deg, #f43f5e, #f59e0b); }
.thumb--4 { background: linear-gradient(135deg, #1e293b, #475569); }
.thumb--5 { background: linear-gradient(135deg, #10b981, #84cc16); }
.thumb--6 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.thumb--7 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.thumb--8 { background: linear-gradient(135deg, #0f766e, #0ea5e9); }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 600; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.creator { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); display: inline-block; }
.price { font-weight: 800; font-size: 16px; }
.catalog-more { text-align: center; margin-top: 40px; }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

/* ---------- steps / how it works ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.panel { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.panel h3 { font-size: 24px; }
.panel > p { color: var(--muted); margin-top: 10px; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: 9px; font-weight: 700; font-size: 14px;
  display: grid; place-items: center; background: var(--grad); color: #fff;
}
.step-b { font-weight: 600; }
.step-b + span { color: var(--muted); }

/* ---------- feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand-ink);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------- invite-only band ---------- */
.band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
  padding: 56px; text-align: center;
  background: radial-gradient(700px 360px at 80% -20%, rgba(45,212,191,.4), transparent 60%), var(--grad);
  box-shadow: var(--shadow-lg);
}
.band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.band p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 56ch; margin: 14px auto 0; }
.band .hero-cta { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0 20px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 18px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 56px 0 32px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-2); font-size: 15px; }
.footer-grid a:hover { color: var(--brand-ink); }
.footer-about { max-width: 320px; }
.footer-about p { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; color: var(--muted); font-size: 14px;
}
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-2); }
.socials a:hover { color: var(--brand-ink); border-color: var(--brand); }
.socials svg { width: 18px; height: 18px; }

/* ---------- modal (preview) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,10,18,.6); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; width: 100%; max-width: 720px; background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  animation: pop .2s ease;
}
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal-thumb { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; }
.modal-thumb .play { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; color: #fff; }
.modal-thumb .play svg { width: 28px; height: 28px; margin-left: 4px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.modal-close:hover { background: rgba(0,0,0,.65); }
.modal-body { padding: 22px 24px 26px; }
.modal-body .card-cat { margin-bottom: 6px; }
.modal-body h3 { font-size: 22px; }
.modal-body .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.modal-locked { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }

/* ---------- auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(168,85,247,.6), transparent 60%),
    radial-gradient(600px 500px at 90% 100%, rgba(45,212,191,.4), transparent 60%),
    #0b0b12;
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
}
.auth-aside .brand { color: #fff; position: relative; z-index: 1; }
.auth-aside .brand .brand-ai { -webkit-text-fill-color: #fff; color: #fff; background: none; }
.aside-body { position: relative; z-index: 1; }
.aside-body h2 { font-size: 32px; font-weight: 800; max-width: 16ch; }
.aside-body p { color: rgba(255,255,255,.78); font-size: 17px; margin-top: 16px; max-width: 42ch; }
.aside-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.9); }
.aside-list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.aside-list .tick svg { width: 13px; height: 13px; color: #34d399; }
.aside-foot { position: relative; z-index: 1; color: rgba(255,255,255,.6); font-size: 14px; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.auth-card .brand-sm { display: none; }
.auth-card h1 { font-size: 27px; }
.auth-card .sub { color: var(--muted); margin-top: 8px; }

/* form alert */
.form-alert {
  display: none; gap: 10px; align-items: flex-start; margin-bottom: 18px;
  background: var(--err-soft); border: 1px solid #f5c2c7; color: #a01722;
  padding: 12px 14px; border-radius: 11px; font-size: 14.5px;
}
.form-alert.show { display: flex; }
.form-alert svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }

form .field { margin-bottom: 18px; }
.label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.label .opt { color: var(--muted); font-weight: 400; }
.input-wrap { position: relative; }
.input {
  width: 100%; font-size: 15px; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); transition: .15s;
}
.input::placeholder { color: #9aa0ab; }
.input:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.input.has-toggle { padding-right: 46px; }
.field.invalid .input { border-color: var(--err); }
.field.invalid .input:focus { box-shadow: 0 0 0 3px rgba(217,45,59,.18); }
.field.valid .input { border-color: var(--ok); }

.toggle-pw {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
}
.toggle-pw:hover { color: var(--text); background: var(--surface-2); }
.toggle-pw svg { width: 19px; height: 19px; }

.error-text { display: none; color: var(--err); font-size: 13px; margin-top: 6px; }
.field.invalid .error-text { display: block; }
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* password strength */
.meter { display: flex; gap: 6px; margin-top: 10px; }
.meter span { height: 5px; flex: 1; border-radius: 3px; background: var(--surface-2); transition: background .2s; }
.meter.s1 span:nth-child(1) { background: var(--err); }
.meter.s2 span:nth-child(-n+2) { background: var(--warn); }
.meter.s3 span:nth-child(-n+3) { background: #eab308; }
.meter.s4 span { background: var(--ok); }
.meter-label { font-size: 12.5px; margin-top: 6px; color: var(--muted); }
.reqs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.reqs li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); transition: color .15s; }
.reqs li .rc { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex: none; }
.reqs li .rc svg { width: 9px; height: 9px; opacity: 0; }
.reqs li.met { color: var(--ok); }
.reqs li.met .rc { background: var(--ok); border-color: var(--ok); }
.reqs li.met .rc svg { opacity: 1; color: #fff; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.checkbox a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }

.row-between { display: flex; justify-content: space-between; align-items: center; }
.link { color: var(--brand-ink); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.legal-note {
  margin-top: 20px; font-size: 13px; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; display: flex; gap: 10px;
}
.legal-note svg { flex: none; width: 17px; height: 17px; color: var(--brand-ink); margin-top: 1px; }

/* simple 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.error-page .code { font-size: clamp(72px, 16vw, 140px); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: 26px; margin-top: 12px; }
.error-page p { color: var(--muted); margin-top: 12px; max-width: 46ch; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card .brand-sm { display: inline-flex; }
  .cols-2 { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .header-actions .btn-signup, .header-actions .btn-login { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; color: var(--text);
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .mobile-menu {
    display: none; border-bottom: 1px solid var(--border); background: var(--surface); padding: 16px 0;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu .container { display: grid; gap: 6px; }
  .mobile-menu a { padding: 12px 8px; border-radius: 10px; color: var(--text-2); font-weight: 500; }
  .mobile-menu a:hover { background: var(--surface-2); }
  .mobile-menu .btn { margin-top: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .band { padding: 40px 22px; }
  .panel { padding: 26px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
.nav-toggle { display: none; }
@media (max-width: 820px) { .nav-toggle { display: grid; } }
