/* RF-HUB — friendly consumer design system */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;

  --text: #0F172A;
  --text-soft: #334155;
  --text-dim: #64748B;
  --text-mute: #94A3B8;

  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-soft: #DBEAFE;
  --primary-glow: rgba(37, 99, 235, 0.18);

  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-soft: #FFEDD5;

  --success: #16A34A;
  --success-soft: #DCFCE7;
  --warning: #F59E0B;
  --warning-soft: #FEF3C7;
  --danger: #DC2626;
  --danger-soft: #FEE2E2;

  --font-sans: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 40px -16px rgba(15, 23, 42, 0.18);
}

* { box-sizing: border-box; }

html {
  font-size: 15px;
  scroll-behavior: smooth;
}
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover { color: var(--primary-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 2rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-soft); }

code {
  background: var(--surface-soft);
  color: var(--text);
  padding: 0.12em 0.42em;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: "SF Mono", Consolas, Menlo, monospace;
}

img { max-width: 100%; height: auto; }

/* === Navbar === */
.navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 0.65rem 0;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text) !important;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative;
}

.nav-link.text-dark,
.nav-link {
  color: var(--text-soft) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: color 120ms ease, background-color 120ms ease;
}

.nav-link:hover,
.nav-link.text-dark:hover {
  color: var(--primary) !important;
  background: var(--primary-soft);
  text-decoration: none;
}

.navbar-toggler { border-color: var(--border) !important; }

/* === Footer === */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border) !important;
  color: var(--text-dim) !important;
  padding: 2rem 0;
  margin-top: 5rem;
}
.footer a { color: var(--text-soft); }

/* === Buttons === */
.btn {
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.15rem;
  border-width: 1.5px;
  transition: transform 80ms ease, box-shadow 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.btn-secondary, .btn-outline-secondary {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-soft);
}
.btn-secondary:hover, .btn-outline-secondary:hover {
  background: var(--surface-soft);
  border-color: var(--text-dim);
  color: var(--text);
}

.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.btn-outline-danger {
  border: 1.5px solid var(--danger);
  color: var(--danger);
  background: transparent;
}
.btn-outline-danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.btn-link { color: var(--primary); }

/* === Forms === */
.form-control, .form-select,
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], textarea, select {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-family: inherit;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-control::placeholder,
input::placeholder, textarea::placeholder { color: var(--text-mute); }
.form-control:focus, input:focus, textarea:focus, select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow) !important;
  outline: none;
}
.form-label { color: var(--text); font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-check-input { background-color: var(--surface); border-color: var(--border-strong); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-label { color: var(--text-soft); }
.text-muted { color: var(--text-dim) !important; }

/* === Cards === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.card-body { padding: 1.5rem; }
.card-title { color: var(--text); font-weight: 700; }

/* === Tables === */
.table {
  color: var(--text) !important;
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: var(--surface-soft) !important;
  --bs-table-striped-color: var(--text) !important;
  --bs-table-hover-bg: var(--primary-soft) !important;
  --bs-table-border-color: var(--border) !important;
}
.table th {
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* === Alerts === */
.alert {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.alert-success { border-color: var(--success); background: var(--success-soft); color: #15803D; }
.alert-danger  { border-color: var(--danger);  background: var(--danger-soft);  color: #991B1B; }
.alert-info    { border-color: var(--primary); background: var(--primary-soft); color: #1E40AF; }

/* === Badges === */
.badge.bg-success   { background: var(--success-soft) !important; color: #15803D; border: 1px solid var(--success); }
.badge.bg-secondary { background: var(--surface-soft) !important; color: var(--text-soft); border: 1px solid var(--border); }

/* === Hero === */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 90% -20%, rgba(249, 115, 22, 0.12), transparent 55%),
    radial-gradient(900px 600px at -10% 60%, rgba(37, 99, 235, 0.10), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
}
.hero-inner { position: relative; max-width: 640px; }

/* === Hero Visual: signal waves + device === */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}

.hero-visual-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Concentric signal waves */
.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  animation: wave-pulse 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.wave.w-1 { width: 100%; height: 100%; animation-delay: 0s;   }
.wave.w-2 { width: 100%; height: 100%; animation-delay: 1s;   }
.wave.w-3 { width: 100%; height: 100%; animation-delay: 2s;   }
.wave.w-4 { width: 100%; height: 100%; animation-delay: 3s;   }

@keyframes wave-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.18); opacity: 0;   border-color: var(--primary); }
  10%  { opacity: 0.55; }
  60%  { border-color: var(--accent); }
  100% { transform: translate(-50%, -50%) scale(1.05); opacity: 0;   border-color: var(--accent); }
}


/* Real product photo in center — vertical orientation */
.device-photo {
  position: relative;
  z-index: 2;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.28))
          drop-shadow(0 4px 8px rgba(15, 23, 42, 0.18));
  animation: device-float 6s ease-in-out infinite;
}
.device-photo img {
  height: 100%;
  width: auto;
  max-height: 480px;
  display: block;
}

/* Glow behind device — suggests active radio */
.hero-visual-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 999px;
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
  50%      { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes device-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-0.4deg); }
}

/* Orbiting brand chips — placed on a constant radius from circle center */
.orbit-chip {
  position: absolute;
  padding: 0.4rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: chip-ping 4s ease-in-out infinite;
  z-index: 3;
  transition: none;
}

/* Tiny "antenna dot" on each chip — pulses on signal received */
.orbit-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(-50%);
  opacity: 0;
  box-shadow: 0 0 0 0 var(--primary);
  animation: dot-flash 4s ease-in-out infinite;
}
/* Right-side chips: dot on the LEFT edge (facing device) */
.orbit-chip.c-2::after,
.orbit-chip.c-4::after,
.orbit-chip.c-6::after,
.orbit-chip.c-8::after { left: -3px; }
/* Left-side chips: dot on the RIGHT edge (facing device) */
.orbit-chip.c-1::after,
.orbit-chip.c-3::after,
.orbit-chip.c-5::after,
.orbit-chip.c-7::after { right: -3px; }
/* Chip positions: centers placed on radius R≈65% around stage center.
   Angles avoid the top and bottom (where the device extends out of the stage).
   left/right pairs at 50°/20°/-20°/-50° from horizontal, mirrored. */
.orbit-chip.c-1 { left: 8.2%;   top: 0.2%;   animation-delay: 0s;   }  /* upper-left top  (Nexa) */
.orbit-chip.c-2 { left: 91.8%;  top: 0.2%;   animation-delay: 0.5s; }  /* upper-right top (Oregon) */
.orbit-chip.c-3 { left: -11.1%; top: 27.8%;  animation-delay: 1.0s; }  /* left upper      (Telldus) */
.orbit-chip.c-4 { left: 111.1%; top: 27.8%;  animation-delay: 1.5s; }  /* right upper     (Sonoff) */
.orbit-chip.c-5 { left: -11.1%; top: 72.2%;  animation-delay: 2.0s; }  /* left lower      (Bofu) */
.orbit-chip.c-6 { left: 111.1%; top: 72.2%;  animation-delay: 2.5s; }  /* right lower     (Clas Ohlsson) */
.orbit-chip.c-7 { left: 8.2%;   top: 99.8%;  animation-delay: 3.0s; }  /* lower-left      (Kjell & Co) */
.orbit-chip.c-8 { left: 91.8%;  top: 99.8%;  animation-delay: 3.5s; }  /* lower-right     (Rusta) */

@keyframes chip-ping {
  0%, 70%, 100% {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translate(-50%, -50%);
  }
  78% {
    background: var(--primary-soft);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow), var(--shadow);
    transform: translate(-50%, -50%) translateY(-3px);
    color: var(--primary-hover);
  }
}
@keyframes dot-flash {
  0%, 65%, 100% { opacity: 0; box-shadow: 0 0 0 0 var(--primary-glow); }
  72%           { opacity: 1; box-shadow: 0 0 0 0 var(--primary); }
  85%           { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--text);
}
.hero-title em {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  box-shadow: 0 8px 18px -6px rgba(249, 115, 22, 0.55);
  transition: transform 120ms ease, box-shadow 200ms ease, background-color 120ms ease;
}
.btn-pill:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(249, 115, 22, 0.6);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.55rem;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* === Brands === */
.brands {
  padding: 2.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 600;
}
.brand-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.brand {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem;
  background: var(--surface-soft);
  color: var(--text-soft);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.brand:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
  transform: translateY(-1px);
}

/* === Sections === */
.section { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section.section-soft { background: var(--surface); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  background: var(--accent-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.section-intro { max-width: 60ch; margin-bottom: 2.5rem; }
.section-intro p { font-size: 1.1rem; color: var(--text-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-soft);
}

.feature-card h3 { font-size: 1.15rem; margin: 0.65rem 0 0.4rem; color: var(--text); }
.feature-card p { color: var(--text-soft); font-size: 0.98rem; margin: 0; }
.feature-card p + p { margin-top: 0.65rem; }

.feature-emoji {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  background: var(--primary-soft);
  color: var(--primary);
}
.feature-emoji.warm { background: var(--accent-soft); color: var(--accent); }
.feature-emoji.green { background: var(--success-soft); color: var(--success); }

.feature-logo {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.feature-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

.badge-soon {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), #1E40AF);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 2rem auto 0;
  max-width: 880px;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #FFFFFF; margin-top: 0; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0.5rem auto 1.75rem; }

/* === Knowledge Base === */
.kb-hero {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.kb-hero h1 { margin-bottom: 0.5rem; }
.kb-hero .lead { color: var(--text-soft); font-size: 1.1rem; max-width: 60ch; }

.kb-search { display: flex; gap: 0.5rem; max-width: 520px; margin-top: 1.5rem; }
.kb-search input[type="search"] { flex: 1; }

.kb-section { margin-bottom: 2.5rem; }
.kb-section h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  margin-top: 0;
}

.kb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }

.kb-list a {
  display: block;
  padding: 1.15rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 140ms ease, border-color 120ms ease;
}
.kb-list a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-soft);
}
.kb-list-title { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.2rem; color: var(--text); }
.kb-list-excerpt { display: block; color: var(--text-soft); font-size: 0.96rem; }

.kb-chip {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
}

/* === KB Article === */
.kb-article { max-width: 760px; margin: 2rem auto 4rem; padding: 0 1.25rem; }

.kb-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.kb-breadcrumb a { color: var(--text-soft); text-decoration: none; }
.kb-breadcrumb a:hover { color: var(--primary); }
.kb-breadcrumb span[aria-hidden] { margin: 0 0.5rem; color: var(--text-mute); }

.kb-article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.kb-meta {
  display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.kb-article-body { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.kb-article-body h3 { margin-top: 2.5rem; }
.kb-article-body h4 { margin-top: 1.75rem; font-size: 1.1rem; font-weight: 600; }
.kb-article-body p,
.kb-article-body li { color: var(--text); }

.kb-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: block;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.kb-article-body strong { color: var(--text); font-weight: 700; }
.kb-article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* === Auth card === */
.auth-card {
  max-width: 420px;
  margin: 4rem auto;
  padding: 2.5rem 2.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 1.65rem; margin-bottom: 0.4rem; }
.auth-card .text-muted { color: var(--text-dim) !important; margin-bottom: 1.5rem; font-size: 0.95rem; }

/* === Utility === */
hr { border-color: var(--border); opacity: 1; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
