/* ═══════════════════════════════════════════════════════════════════════════
   Talvio — Design System
   Linear-inspired dark theme
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Background layers */
  --bg-base:     #09090b;
  --bg-surface:  #111113;
  --bg-elevated: #18181b;

  /* Borders */
  --border:      #1e1e20;
  --border-mid:  #27272a;

  /* Text */
  --text-primary:   #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted:     #71717a;
  --text-faint:     #3f3f46;

  /* Accent — violet */
  --accent:       #8b5cf6;
  --accent-dark:  #7c3aed;
  --accent-dim:   rgba(139, 92, 246, 0.12);
  --accent-glow:  rgba(139, 92, 246, 0.25);

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --error:   #ef4444;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text-primary); }

/* ── Landing body resets nav sticky position ──── */
.landing-body {}

/* ═══════════════════════════════════════════════ NAV */
.ln-nav {
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ln-nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 28px; height: 68px;
  display: flex; align-items: center; gap: 32px;
}
.ln-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 26px; font-weight: 800; color: var(--text-primary);
  letter-spacing: -0.5px; flex-shrink: 0;
}
.ln-logo:hover { color: var(--text-primary); }
.ln-nav-links {
  display: flex; gap: 4px; flex: 1;
}
.ln-nav-links a {
  font-size: 14px; color: var(--text-muted); padding: 6px 12px;
  border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s;
}
.ln-nav-links a:hover { color: var(--text-primary); background: var(--bg-surface); }
.ln-nav-cta {
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ln-nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* ═══════════════════════════════════════════════ ALERT BAR */
.ln-alert-bar {
  background: #431407; border-bottom: 1px solid #7c2d12;
  color: #fb923c; font-size: 13px; text-align: center;
  padding: 10px 24px;
}

/* ═══════════════════════════════════════════════ BUTTONS */
.ln-btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; transition: background 0.15s;
  text-decoration: none;
}
.ln-btn-primary:hover { background: var(--accent-dark); color: #fff; }
.ln-btn-primary .ln-arrow { transition: transform 0.15s; }
.ln-btn-primary:hover .ln-arrow { transform: translateX(3px); }

.ln-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-secondary);
  font-size: 15px; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid); cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
}
.ln-btn-ghost:hover {
  border-color: var(--text-muted); color: var(--text-primary);
  background: var(--bg-surface);
}

/* ═══════════════════════════════════════════════ HERO */
.ln-hero {
  max-width: 1120px; margin: 0 auto;
  padding: 80px 28px 60px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.ln-hero-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 100px; padding: 5px 14px;
  margin-bottom: 24px;
}
.ln-hero-h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -2px; color: var(--text-primary);
  margin-bottom: 20px;
}
.ln-gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 50%, #818cf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ln-hero-sub {
  font-size: 17px; line-height: 1.7; color: var(--text-muted);
  max-width: 480px; margin-bottom: 36px;
}
.ln-hero-ctas {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.ln-hero-proof {
  font-size: 12px; color: var(--text-faint); letter-spacing: 0.2px;
}

/* Dashboard screenshot frame */
.ln-hero-visual { position: relative; }
.ln-screen-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border), 0 24px 80px rgba(0,0,0,0.6),
              0 0 120px rgba(139,92,246,0.06);
}
.ln-screen-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.ln-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-mid); flex-shrink: 0;
}
.ln-screen-title {
  font-size: 10px; color: var(--text-faint);
  letter-spacing: 0.1px; flex: 1; text-align: center;
}
.ln-screen-tabs {
  display: flex; gap: 0;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.ln-stab {
  font-size: 11px; font-weight: 500; color: var(--text-faint);
  padding: 4px 12px; border-radius: var(--radius-sm);
  cursor: default;
}
.ln-stab-active {
  color: var(--text-primary); background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.ln-treemap-svg { display: block; width: 100%; }

/* ═══════════════════════════════════════════════ SECTIONS */
.ln-section { padding: 0; }
.ln-section-inner {
  max-width: 1120px; margin: 0 auto; padding: 96px 28px;
}
.ln-section-label {
  font-size: 16px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.ln-section-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1.5px; color: var(--text-primary);
  margin-bottom: 64px;
}

/* ═══════════════════════════════════════════════ HOW IT WORKS */
.ln-steps {
  display: flex; gap: 0; align-items: flex-start;
}
.ln-step {
  flex: 1;
  display: flex; gap: 20px;
}
.ln-step-num {
  font-size: 32px; font-weight: 800; color: var(--border-mid);
  letter-spacing: -1px; flex-shrink: 0; line-height: 1;
  margin-top: 2px;
}
.ln-step-body h3 {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 8px;
}
.ln-step-body p {
  font-size: 14px; color: var(--text-muted); line-height: 1.65;
}
.ln-step-divider {
  width: 1px; background: var(--border); flex-shrink: 0;
  margin: 4px 40px 0; height: 48px;
}

/* ═══════════════════════════════════════════════ FEATURE ROWS */
.ln-features {
  border-top: 1px solid var(--border);
}
.ln-feature-row {
  max-width: 1120px; margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.ln-feature-row--rev { grid-template-columns: 1.2fr 1fr; }
.ln-feature-row--rev .ln-feature-text { order: 2; }
.ln-feature-row--rev .ln-feature-screen { order: 1; }

.ln-feature-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.ln-feature-h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800; line-height: 1.2; letter-spacing: -1px;
  color: var(--text-primary); margin-bottom: 16px;
}
.ln-feature-p {
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 24px;
}
.ln-feature-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ln-feature-tags span {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  background: var(--bg-surface); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 100px;
}
.ln-feature-screen {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.ln-feature-screen svg { display: block; width: 100%; }

/* Photo variant — wide image (tooltip screenshot etc.) */
.ln-feature-screen--photo {
  height: 360px;
  overflow: hidden;
}
.ln-feature-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Narrow-image rows: let the photo column shrink to natural width */
.ln-feature-row--narrow .ln-feature-screen {
  width: auto;
  align-self: start;
}
.ln-feature-row--narrow {
  grid-template-columns: 1fr auto;
  align-items: start;
}
.ln-feature-row--narrow .ln-feature-photo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
.ln-feature-row--narrow .ln-feature-screen--photo {
  height: auto;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-radius: var(--radius);
}

/* ═══════════════════════════════════════════════ TRUST */
.ln-trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.ln-trust-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.ln-trust-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.ln-trust-item:last-child { border-right: none; }
.ln-trust-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--accent-dim); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.ln-trust-item strong {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
}
.ln-trust-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════ PRICING */
.ln-pricing {}
.ln-price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 720px;
}
.ln-price-grid--3 {
  grid-template-columns: 1fr 1fr 1fr; max-width: 1020px;
}
.ln-price-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; background: var(--bg-surface);
  position: relative;
}
.ln-price-card--featured {
  border-color: var(--accent);
  background: #0e0b18;
  box-shadow: 0 0 0 1px rgba(139,92,246,0.2),
              0 16px 48px rgba(139,92,246,0.08);
}
.ln-price-featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.ln-price-featured-badge--demo {
  background: #0d9488;
}
.ln-price-tier {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 12px;
}
.ln-price-amount {
  font-size: 48px; font-weight: 800; color: var(--text-primary);
  letter-spacing: -2px; margin-bottom: 8px; line-height: 1;
}
.ln-price-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
  margin-bottom: 24px;
}
.ln-price-divider {
  height: 1px; background: var(--border); margin-bottom: 24px;
}
.ln-price-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.ln-included, .ln-excluded {
  font-size: 13px; display: flex; align-items: center; gap: 10px;
}
.ln-included { color: var(--text-secondary); }
.ln-excluded  { color: var(--text-faint); }
.ln-included::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34,197,94,0.15); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ln-excluded::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-elevated); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.5l5 5M6.5 1.5l-5 5' stroke='%233f3f46' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ln-price-btn {
  display: block; text-align: center; padding: 13px 24px;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.ln-price-btn--free {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border-mid);
}
.ln-price-btn--free:hover {
  background: var(--bg-elevated); color: var(--text-primary);
  border-color: var(--text-faint);
}
.ln-price-btn--demo {
  background: #0d9488; color: #fff; border: 1px solid transparent;
}
.ln-price-btn--demo:hover { background: #0f766e; color: #fff; }
.ln-price-btn--primary {
  background: var(--accent); color: #fff; border: 1px solid transparent;
}
.ln-price-btn--primary:hover { background: var(--accent-dark); color: #fff; }
.ln-price-note {
  text-align: center; font-size: 12px; color: var(--text-faint);
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════ FAQ */
.ln-faq { border-top: 1px solid var(--border); }
.ln-faq-inner {}
.ln-faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px;
}
.ln-faq-item h3 {
  font-size: 19px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.ln-faq-item p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════ FINAL CTA */
.ln-final-cta {
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 50% at 50% 100%,
              rgba(139,92,246,0.08) 0%, transparent 70%);
}
.ln-final-cta-inner { text-align: center; }
.ln-final-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.15; letter-spacing: -1.5px;
  color: var(--text-primary); margin-bottom: 16px;
}
.ln-final-sub {
  font-size: 16px; color: var(--text-muted); margin-bottom: 36px;
}
.ln-final-cta .ln-hero-ctas { justify-content: center; }

/* ═══════════════════════════════════════════════ FOOTER */
.ln-footer {
  border-top: 1px solid var(--border); padding: 32px 0;
}
.ln-footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ln-footer-left { display: flex; flex-direction: column; gap: 8px; }
.ln-footer-legal {
  font-size: 11px; color: var(--text-faint); max-width: 520px;
}
.ln-footer-right a {
  font-size: 13px; color: var(--text-muted);
}
.ln-footer-right a:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════════ UPLOAD PAGE */
.upload-page {
  background: var(--bg-base);
  min-height: 100vh;
}

/* Reuse nav styles */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 28px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 26px; font-weight: 800; color: var(--text-primary);
  letter-spacing: -0.5px;
}
.logo:hover { color: var(--text-primary); }

.upload-main {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 24px;
  min-height: calc(100vh - 58px);
}
.upload-card {
  background: var(--bg-surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 48px 44px; width: 100%; max-width: 560px;
  text-align: center; position: relative;
}
.upload-icon { font-size: 40px; margin-bottom: 20px; display: none; }
.upload-h1 {
  font-size: 26px; font-weight: 800; color: var(--text-primary);
  letter-spacing: -0.6px; margin-bottom: 12px; line-height: 1.2;
}
.upload-sub {
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 24px;
}

/* Alert */
.alert {
  background: #1c1400; border: 1px solid #78350f;
  color: #fbbf24; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 20px; text-align: left;
}
.alert-err {
  background: #1c0a0a; border-color: #7f1d1d; color: #fca5a5;
}

/* Drop zone */
.drop-zone {
  border: 1.5px dashed var(--border-mid); border-radius: var(--radius);
  padding: 40px 20px; cursor: pointer; position: relative;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 16px;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--accent); background: var(--accent-dim);
}
.drop-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%;
}
.drop-content, .drop-selected {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.drop-icon { font-size: 28px; }
.drop-text { font-size: 14px; color: var(--text-primary); }
.drop-text strong { color: var(--text-primary); }
.drop-hint { font-size: 12px; color: var(--text-muted); }

/* Roster guide — mini spreadsheet */
.roster-guide {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: left;
}
.roster-guide-label {
  font-size: 13px; color: var(--text-primary); font-weight: 600;
  margin-bottom: 12px;
}
.roster-table-wrap { overflow-x: auto; margin-bottom: 10px; }
.roster-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px;
}
.roster-table th {
  text-align: left; padding: 6px 10px;
  color: var(--text-secondary); font-weight: 600;
  background: rgba(139,92,246,0.08);
  border-bottom: 2px solid #71717a;
  white-space: nowrap;
}
.roster-table td {
  padding: 6px 10px; color: var(--text-primary);
  border-bottom: 1px solid #52525b;
}
.roster-table tr:last-child td { border-bottom: none; }
.roster-row-fade td { color: var(--text-muted); font-style: italic; }
.col-required {
  font-size: 10px; font-weight: 600; letter-spacing: 0.4px;
  color: #a78bfa; background: rgba(139,92,246,0.15);
  padding: 1px 5px; border-radius: 3px; margin-left: 4px;
  vertical-align: middle;
}
.col-optional {
  font-size: 10px; font-weight: 500; letter-spacing: 0.4px;
  color: var(--text-muted); background: var(--bg-surface);
  padding: 1px 5px; border-radius: 3px; margin-left: 4px;
  vertical-align: middle;
}
.roster-guide-note {
  font-size: 12px; color: var(--text-muted);
}

.format-tip {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 20px; line-height: 1.6;
}

/* Buttons for upload page */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: background 0.15s; text-decoration: none;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-large  { font-size: 16px; padding: 14px 32px; }
.btn-full   { width: 100%; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text-secondary);
  font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-mid); cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--text-faint); color: var(--text-primary);
  background: var(--bg-elevated);
}
.btn-secondary.btn-large { font-size: 16px; padding: 14px 30px; }

/* Upload tier notice (free preview banner) */
.upload-tier-notice {
  background: #0e0b18; border: 1px solid rgba(139,92,246,0.3);
  color: #c4b5fd; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; margin: -12px 0 20px; text-align: left;
}
.upload-tier-notice a { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* Auth form fields (login + set-password pages) */
.auth-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.auth-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.auth-input {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-surface);
  color: var(--text-primary); font-size: 15px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.auth-input:focus { outline: none; border-color: var(--accent); }
.auth-input--readonly { color: var(--text-muted); cursor: default; }

/* Logout link in account page header */
.acct-logout-btn {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  padding: 4px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.acct-logout-btn:hover { color: var(--text-primary); border-color: var(--text-muted); }

.upload-reassurance {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center; margin-top: 24px;
  font-size: 13px; color: var(--text-muted);
}

/* Processing overlay */
.processing-overlay {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: rgba(9,9,11,0.95);
  display: flex; align-items: center; justify-content: center;
}
.processing-inner { text-align: center; }
.processing-title {
  font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px;
}
.processing-sub { font-size: 13px; color: var(--text-muted); }
.spinner {
  width: 40px; height: 40px; margin: 0 auto 20px;
  border: 3px solid var(--border-mid);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════ PAYWALL PAGE */
.paywall-card { max-width: 600px; }
.paywall-features {
  display: flex; flex-direction: column; gap: 12px;
  margin: 24px 0 28px; text-align: left;
}
.paywall-feature {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg-elevated); border-radius: var(--radius-sm);
  padding: 14px 16px; border: 1px solid var(--border);
}
.paywall-feature--locked { opacity: .65; }
.pf-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.paywall-feature strong {
  display: block; margin-bottom: 2px; color: var(--text-primary);
  font-size: 14px;
}
.paywall-feature p { font-size: 13px; color: var(--text-muted); margin: 0; }
.price-note { font-size: 12px; color: var(--text-faint); margin-top: 12px; text-align: center; }

/* ═══════════════════════════════════════════════ ACCOUNT PAGE */
.account-main { padding-top: 32px; }
.account-card { max-width: 520px; }

.nav-back-link {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  margin-left: auto;
}
.nav-back-link:hover { color: var(--text-primary); }

/* Status pill */
.acct-status-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.acct-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid currentColor;
}
.acct-status--ok    { color: #4ade80; }
.acct-status--amber { color: #fbbf24; }
.acct-status--red   { color: #f87171; }
.acct-expiry-date   { font-size: 13px; color: var(--text-muted); }

/* Sections */
.acct-section { margin-bottom: 24px; }
.acct-section-title {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  margin: 0 0 6px; letter-spacing: -0.2px;
}
.acct-section-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
  margin: 0 0 14px;
}
.acct-divider {
  height: 1px; background: var(--border); margin: 24px 0;
}

/* Renew button */
.acct-renew-btn { font-size: 15px; }
.acct-renew-note {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.5; margin-top: 10px;
}

/* Email row */
.acct-email-row { display: flex; gap: 8px; }
.acct-email-input {
  flex: 1; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; color: var(--text-primary);
  font-size: 14px; outline: none; transition: border-color .15s;
}
.acct-email-input:focus { border-color: var(--accent); }
.acct-email-input::placeholder { color: var(--text-faint); }
.acct-email-btn {
  flex-shrink: 0; padding: 10px 18px; font-size: 14px;
}
.acct-email-feedback {
  font-size: 13px; margin-top: 8px; line-height: 1.4;
}
/* Contact textarea */
.acct-msg-input {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; color: var(--text-primary);
  font-size: 14px; font-family: inherit; line-height: 1.5; outline: none;
  resize: vertical; transition: border-color .15s;
}
.acct-msg-input:focus { border-color: var(--accent); }
.acct-msg-input::placeholder { color: var(--text-faint); }

/* Metadata grid */
.acct-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.acct-meta-item {
  display: flex; flex-direction: column; gap: 2px;
}
.acct-meta-label {
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-faint);
}
.acct-meta-value {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
}
.acct-meta-fname {
  font-size: 12px; font-weight: 400; color: var(--text-muted);
  word-break: break-all;
}

/* ═══════════════════════════════════════════════ ERROR PAGE */
.error-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px; text-align: center;
}
.error-code { font-size: 72px; font-weight: 800; color: var(--border-mid); letter-spacing: -4px; }
.error-msg { font-size: 16px; color: var(--text-muted); margin: 16px 0 32px; max-width: 400px; }

/* ═══════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 1000px) {
  .ln-hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 48px; }
  .ln-hero-h1 { font-size: 40px; }
  .ln-feature-row { grid-template-columns: 1fr; gap: 40px; }
  .ln-feature-row--rev .ln-feature-text { order: 1; }
  .ln-feature-row--rev .ln-feature-screen { order: 2; }
  .ln-trust-grid { grid-template-columns: 1fr 1fr; }
  .ln-trust-item:nth-child(2) { border-right: none; }
  .ln