/* ==========================================================================
   Reliqra shared theme (2026-04-22)
   Used by subpages: privacy, support, story, videos, ebay-/whatnot-inventory-management
   Homepage has its own inline CSS because it's layout-heavy.
   ========================================================================== */

@font-face {
  font-family: 'Brandmark Montserrat';
  src: url('Brandmark-Montserrat.woff2') format('woff2'),
       url('Brandmark-Montserrat.woff')  format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-base:     #021a23;
  --bg-section:  #031d2e;
  --bg-elevated: #0a2e57;
  --ice-blue:    #59C8FF;
  --silver-blue: #C7DDF3;
  --soft-mist:   #EAF4FB;
  --text:        #EAF4FB;
  --text-muted:  #A9C0D6;
  --text-dim:    #6F879C;
  --border-soft: rgba(199, 221, 243, 0.10);
  --border-strong: rgba(199, 221, 243, 0.22);
  --accent-gradient: linear-gradient(135deg, #59C8FF 0%, #C7DDF3 100%);
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 12px 40px rgba(89,200,255,0.20);
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body.reliqra-shell {
  margin: 0;
  font-family: 'Urbanist', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-base);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.reliqra-shell a { color: inherit; text-decoration: none; }
.reliqra-shell img { display: block; max-width: 100%; height: auto; }
.reliqra-shell h1, .reliqra-shell h2, .reliqra-shell h3, .reliqra-shell h4 {
  margin: 0;
  font-family: 'Brandmark Montserrat', 'Urbanist', system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em; line-height: 1.2;
}
.reliqra-shell p { margin: 0; }

.reliqra-shell .shell { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Wordmark (Brandmark-Montserrat) */
.reliqra-wordmark {
  font-family: 'Brandmark Montserrat', 'Urbanist', sans-serif;
  font-weight: 300;
  letter-spacing: 0.32em;
  font-size: 22px;
  color: var(--text);
  text-transform: uppercase;
  user-select: none;
}
.reliqra-wordmark .q {
  font-weight: 300;
  background: var(--accent-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Buttons */
.reliqra-shell .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .2s, border-color .2s, background .2s;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: inherit; cursor: pointer;
}
.reliqra-shell .btn-primary {
  background: var(--accent-gradient);
  color: #021624;
  box-shadow: 0 0 0 1px rgba(89,200,255,0.30), var(--shadow-glow);
}
.reliqra-shell .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--ice-blue), 0 16px 44px rgba(89,200,255,0.30); }
.reliqra-shell .btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border-strong);
}
.reliqra-shell .btn-ghost:hover { border-color: var(--ice-blue); color: var(--ice-blue); }
.reliqra-shell .btn-small { padding: 10px 18px; font-size: 13px; }

/* ===== NAV ===== */
.reliqra-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(2, 22, 35, 0.80);
  border-bottom: 1px solid var(--border-soft);
}
.reliqra-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.reliqra-nav-brand { display: flex; align-items: center; gap: 14px; }
.reliqra-nav-brand-icon {
  width: 40px; height: 40px; border-radius: 11px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(89,200,255,0.25);
}
.reliqra-nav-links {
  display: none; align-items: center; gap: 32px;
  font-size: 14px; color: var(--text-muted);
}
.reliqra-nav-links a { padding: 8px 0; transition: color .2s; }
.reliqra-nav-links a:hover { color: var(--ice-blue); }
.reliqra-nav-cta { display: none; }
@media (min-width: 900px) {
  .reliqra-nav-links { display: inline-flex; }
  .reliqra-nav-cta { display: inline-flex; }
}

/* ===== Content container ===== */
.reliqra-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.reliqra-content .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ice-blue);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(89,200,255,0.10);
  border: 1px solid rgba(89,200,255,0.25);
  margin-bottom: 18px;
}
.reliqra-content .eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ice-blue); box-shadow: 0 0 8px var(--ice-blue);
}
.reliqra-content h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.reliqra-content h2 {
  font-size: 22px;
  margin: 38px 0 12px;
  color: var(--ice-blue);
}
.reliqra-content h3 {
  font-size: 18px;
  margin: 26px 0 10px;
}
.reliqra-content p, .reliqra-content li {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.reliqra-content ul, .reliqra-content ol { padding-left: 22px; margin: 0 0 18px; }
.reliqra-content li { margin-bottom: 6px; }
.reliqra-content a { color: var(--ice-blue); }
.reliqra-content a:hover { text-decoration: underline; }
.reliqra-content .subtitle {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 30px;
}
.reliqra-content .hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  margin: 22px 0 32px;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--border-soft);
}

/* Content cards used in privacy/support FAQ */
.reliqra-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 16px 0;
}
.reliqra-card strong { color: var(--text); display: block; font-size: 16px; margin-bottom: 8px; }
.reliqra-card p { margin: 0; font-size: 15px; }

.reliqra-card.contact {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(89,200,255,0.08), rgba(10,46,87,0.30));
}
.reliqra-card.contact a { font-size: 18px; font-weight: 600; color: var(--ice-blue); }

/* Badge used on some subpages */
.reliqra-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ice-blue);
  background: rgba(89,200,255,0.10);
  border: 1px solid rgba(89,200,255,0.25);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* ===== FOOTER ===== */
.reliqra-footer {
  padding: 72px 24px 40px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  background: rgba(0,0,0,0.25);
}
.reliqra-footer-inner { max-width: var(--maxw); margin: 0 auto; }
.reliqra-footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
  text-align: center;
}
@media (min-width: 780px) { .reliqra-footer-grid { grid-template-columns: 2fr 1fr 1fr; text-align: left; } }
.reliqra-footer-brand {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.reliqra-footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.reliqra-footer-tagline { font-size: 13px; color: var(--text-muted); max-width: 38ch; margin: 0 auto; }
@media (min-width: 780px) { .reliqra-footer-tagline { margin: 0; } }
.reliqra-footer-col h5 {
  font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 14px; font-weight: 600;
}
.reliqra-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.reliqra-footer-col a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.reliqra-footer-col a:hover { color: var(--ice-blue); }
.reliqra-footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  font-size: 12px; text-align: center;
}
@media (min-width: 780px) { .reliqra-footer-bottom { justify-content: space-between; text-align: left; } }
