/* secget.ru — secure file sharing & encrypted cloud */
:root {
  --bg: #0b0d12;
  --bg-elev: #11141c;
  --bg-soft: #161a24;
  --border: #232838;
  --border-strong: #2e3447;
  --text: #e7ecf3;
  --text-muted: #98a1b3;
  --text-dim: #6b7488;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(124, 92, 255, 0.14);
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.5), 0 10px 30px -10px rgba(0,0,0,0.4);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
}

[data-theme="light"] {
  --bg: #f7f8fb;
  --bg-elev: #ffffff;
  --bg-soft: #f1f3f9;
  --border: #e5e8f0;
  --border-strong: #d3d8e4;
  --text: #0b0d12;
  --text-muted: #4b5365;
  --text-dim: #6b7488;
  --accent: #5b3df5;
  --accent-2: #0ea5b7;
  --accent-soft: rgba(91, 61, 245, 0.10);
  --shadow-lg: 0 20px 40px -20px rgba(15, 23, 42, 0.18), 0 8px 24px -12px rgba(15,23,42,0.1);
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ambient bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(34, 211, 238, 0.08), transparent 60%);
  z-index: 0;
}
[data-theme="light"] body::before {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(91, 61, 245, 0.08), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(14, 165, 183, 0.05), transparent 60%);
}

main, header, footer { position: relative; z-index: 1; }

/* typography */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow svg { width: 14px; height: 14px; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
  gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; color: var(--text);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s, border-color .15s, box-shadow .15s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124,92,255,0.5);
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(124,92,255,0.6); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 42px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.lang-switch:hover {
  color: var(--text);
  border-color: var(--border-strong);
  text-decoration: none;
}

/* hero */
.hero {
  padding: 90px 0 70px;
  text-align: center;
}
.hero h1 { max-width: 880px; margin-left: auto; margin-right: auto; }
.hero .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 680px; margin: 0 auto 32px;
  color: var(--text-muted);
}
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.hero-bullet { color: var(--text-dim); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; }
.hero-bullet svg { width: 16px; height: 16px; color: var(--accent-2); flex: 0 0 16px; }
.hero-bullets { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* mock surface */
.hero-mock {
  margin: 56px auto 0;
  max-width: 980px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-mock::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(180deg, rgba(124,92,255,0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.mock-toolbar { display: flex; gap: 6px; padding: 6px 8px 14px; }
.mock-toolbar span { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-soft); }
.mock-body {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  text-align: left;
}
.mock-side { display: flex; flex-direction: column; gap: 6px; }
.mock-side-item {
  padding: 8px 12px; border-radius: 8px;
  color: var(--text-muted); font-size: 0.88rem;
  display: flex; align-items: center; gap: 10px;
}
.mock-side-item.active { background: var(--accent-soft); color: var(--text); }
.mock-side-item svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--accent); }
.mock-file svg { width: 16px; height: 16px; flex: 0 0 16px; }
.mock-files { display: flex; flex-direction: column; gap: 8px; }
.mock-file {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
}
.mock-file .lock { color: var(--accent-2); }
.mock-file .meta { margin-left: auto; color: var(--text-dim); font-size: 0.8rem; }
@media (max-width: 720px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { flex-direction: row; overflow-x: auto; }
}

/* sections */
section { padding: 80px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

/* feature grid */
.features {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .15s, transform .2s;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon span, .feature-icon { font-weight: 700; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: 0.93rem; margin: 0; }

/* pricing */
.pricing-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1080px; margin: 0 auto;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--grad); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan h3 { margin-bottom: 6px; }
.plan .price {
  font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em;
  margin: 14px 0 4px; color: var(--text);
}
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--text-dim); }
.plan .desc { font-size: 0.93rem; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan ul li {
  font-size: 0.92rem; color: var(--text);
  display: flex; align-items: flex-start; gap: 10px;
}
.plan ul li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px;
  background: var(--accent-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='%237c5cff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='%237c5cff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat;
  background-color: var(--accent);
  border-radius: 4px;
}

/* security strip */
.strip {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-row {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}
.strip-item {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.strip-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* CTA */
.cta-card {
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.cta-card h2 { margin-bottom: 12px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 56px 0 32px;
  background: var(--bg-elev);
}
.footer-grid {
  display: grid; gap: 30px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: 0.85rem;
}

/* page header */
.page-hero {
  padding: 80px 0 50px;
  text-align: center;
}
.page-hero h1 { max-width: 800px; margin-left: auto; margin-right: auto; }
.page-hero p { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

/* prose */
.prose {
  max-width: 760px; margin: 0 auto;
  font-size: 1rem; line-height: 1.75;
}
.prose h2 { margin-top: 50px; font-size: 1.5rem; }
.prose h3 { margin-top: 36px; font-size: 1.15rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose .toc {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 40px;
}
.prose .toc h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 12px; font-weight: 600; }
.prose .toc ol { columns: 2; column-gap: 30px; padding-left: 18px; margin: 0; }
.prose .toc li { margin-bottom: 6px; break-inside: avoid; }
.prose .toc a { color: var(--text); font-size: 0.92rem; }
.prose .meta { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 24px; }

/* auth */
.auth-wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  color: var(--text); margin-bottom: 6px;
}
.input {
  width: 100%; padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: none;
  border: 1px solid;
}
.alert.show { display: block; }
.alert-error { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.alert-info { background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.25); color: var(--accent-2); }
[data-theme="light"] .alert-error { color: #b91c1c; }
[data-theme="light"] .alert-info { color: #0e7490; }

.auth-foot { text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--text-muted); }
.disabled-link {
  pointer-events: none;
  opacity: 0.62;
  cursor: not-allowed;
}
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0; color: var(--text-dim); font-size: 0.82rem;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* code input */
.code-input {
  display: flex; gap: 8px; justify-content: space-between;
  margin: 22px 0;
}
.code-input input {
  width: 100%; max-width: 54px;
  aspect-ratio: 1;
  text-align: center;
  font-size: 1.4rem; font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-mono);
}
.code-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* files page */
.files-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 40px 0 80px;
}
@media (max-width: 820px) {
  .files-layout { grid-template-columns: 1fr; }
}
.side-nav {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  height: fit-content;
}
.side-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.92rem; cursor: pointer;
}
.side-nav-item.active { background: var(--accent-soft); color: var(--text); }
.side-nav-item:hover { color: var(--text); }
.side-nav-item svg { width: 18px; height: 18px; flex: 0 0 18px; }

.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  transition: border-color .15s, background .15s;
  cursor: pointer;
  background: var(--bg-elev);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone h2 { font-size: 1.4rem; margin-bottom: 8px; }
.dropzone p { font-size: 0.95rem; margin-bottom: 18px; }
.dropzone-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.dropzone-icon svg { width: 30px; height: 30px; }
.modal-icon svg { width: 28px; height: 28px; }

.file-grid {
  margin-top: 26px;
  display: grid; gap: 10px;
}
.file-row {
  display: grid;
  grid-template-columns: 36px 1fr 120px 100px 40px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
}
.file-row .name { font-weight: 500; color: var(--text); }
.file-row .meta { color: var(--text-dim); font-size: 0.85rem; }
.file-row .icon { color: var(--accent-2); display: flex; }
.file-row .icon svg { width: 22px; height: 22px; }
.file-row .meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--accent-2); }
@media (max-width: 640px) {
  .file-row { grid-template-columns: 32px 1fr auto; }
  .file-row .meta:nth-of-type(2) { display: none; }
}

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}
.faq-q::after {
  content: "+"; font-size: 1.4rem; color: var(--text-dim); transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 22px;
  transition: max-height .3s, padding .3s;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 20px; }

/* status */
.status-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  color: var(--text);
  margin-bottom: 32px;
}
.status-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  flex: 0 0 auto;
}
.status-banner h3 { margin: 0; font-size: 1.1rem; }
.status-banner p { margin: 0; font-size: 0.9rem; }

.status-list { display: flex; flex-direction: column; gap: 8px; max-width: 820px; margin: 0 auto; }
.status-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
}
.status-tag {
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(34, 197, 94, 0.12); color: var(--success);
  letter-spacing: 0.02em;
}

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 420px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal-icon {
  width: 56px; height: 56px; border-radius: 16px;
  margin: 0 auto 16px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal h3 { margin-bottom: 10px; }
.modal p { font-size: 0.95rem; margin-bottom: 22px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* utilities */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

/* mobile nav */
.menu-toggle { display: none; }
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    gap: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
}
@media (max-width: 560px) {
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { padding: 8px 12px; font-size: 0.86rem; }
  .nav { gap: 8px; padding: 12px 16px; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }
  .container { padding: 0 18px; }
  .auth-card { padding: 30px 22px; }
  .cta-card { padding: 40px 24px; }
}
