/* ═══════════════════════════════════════════════════════════════
   THEMED REDESIGN — Dark header/footer matching accent palette,
   new UI sections, premium academic design.
   Name: MLA Format Generator
   ═══════════════════════════════════════════════════════════════ */

/* ── HEADER — dark themed, sticky, glassmorphism ──────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-top: 0;
  padding-top: 0;
}
.nav-shell {
  width: 100%;
  max-width: 100%;
  min-height: 64px;
  padding: 0 clamp(20px, 3vw, 48px);
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(108,99,255,0.12);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(28,32,53,0.98) 0%, rgba(40,36,80,0.98) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 4px 32px rgba(0,0,0,0.18), 0 1px 0 rgba(108,99,255,0.08) inset;
  position: relative;
  overflow: visible;
}
.nav-shell::before,
.nav-shell::after {
  display: none;
}
.brand {
  min-width: 0;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  white-space: normal;
  color: #fff;
  position: relative;
  z-index: 2;
}
.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(108,99,255,0.3);
  border: 1px solid rgba(255,255,255,0.12);
}
.brand-name {
  line-height: 1.25;
  overflow-wrap: anywhere;
  color: #fff;
  letter-spacing: -0.025em;
}
.article-body {
  overflow-wrap: anywhere;
}

/* Nav links — dark themed header */
.site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255,255,255,0.65);
  transition: color .2s, background .2s;
}
.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(108,99,255,0.15);
  box-shadow: none;
}
.site-header .nav-links a::before {
  display: none;
}
.menu-button {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.site-header .menu-button:hover,
.site-header .menu-button[aria-expanded="true"] {
  background: rgba(108,99,255,0.2);
  border-color: rgba(108,99,255,0.3);
  color: #fff;
}
.pill {
  background: rgba(44,184,169,0.18);
  color: #5ef5e0;
  border: 1px solid rgba(44,184,169,0.3);
}

/* ── HERO — ultra-compact, tool-first ─────────────────────── */
.hero-compact {
  padding: 14px 0 4px;
}
.hero-compact h1 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4.2vw, 48px);
}
.hero-compact .eyebrow {
  margin-bottom: 6px;
}
.hero-subtitle {
  max-width: 580px;
  margin: 0 auto 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
}
/* Header CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #6c63ff, #5046d6);
  color: #fff !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(108,99,255,0.3);
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #5b52f0, #4840c8);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(108,99,255,0.4);
}
.site-header .nav-links a.nav-cta {
  color: #fff;
  background: linear-gradient(135deg, #6c63ff, #5046d6);
}
.site-header .nav-links a.nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #5b52f0, #4840c8);
}
.site-header .nav-links a.nav-cta::before {
  display: none;
}
/* Active nav indicator */
.site-header .nav-links a.active-link {
  color: #fff;
  position: relative;
}
.site-header .nav-links a.active-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, #6c63ff, #2cb8a9);
  border-radius: 2px;
}

/* ── TRUST STRIP — badges below hero ──────────────────────── */
.trust-strip {
  padding: 6px 0 4px;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(108,99,255,0.1);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.trust-badge:hover {
  border-color: rgba(108,99,255,0.25);
  box-shadow: 0 4px 16px rgba(108,99,255,0.08);
  transform: translateY(-1px);
}
.trust-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
}
.trust-badge .badge-icon svg {
  width: 15px;
  height: 15px;
}
.trust-badge .badge-icon.green {
  background: rgba(44,184,169,0.12);
  color: #2cb8a9;
}
.trust-badge .badge-icon.purple {
  background: rgba(108,99,255,0.1);
  color: #6c63ff;
}
.trust-badge .badge-icon.gold {
  background: rgba(232,167,72,0.12);
  color: #d4942e;
}
.trust-badge .badge-icon.blue {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
}

/* ── CONTENT HERO — intro text below tool ─────────────────── */
.content-hero {
  padding: 36px 0 8px;
  text-align: center;
}
.content-hero .intro {
  max-width: 660px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── PRODUCT VISUAL ───────────────────────────────────────── */
.product-visual {
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid #e5e9f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.05);
}
.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
}
.product-visual figcaption {
  padding: 18px 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  background: #fafbfe;
  border-top: 1px solid #f0f2f8;
}

/* ── FEATURES SECTION — 3 column cards ────────────────────── */
.features-section {
  padding: 56px 0;
  position: relative;
}
.features-section .section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6c63ff;
  margin-bottom: 12px;
}
.features-section .section-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 auto 12px;
  max-width: 640px;
}
.features-section .section-subtitle {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(37,42,70,0.04);
  backdrop-filter: blur(10px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:nth-child(1)::before {
  background: linear-gradient(90deg, #6c63ff, #8b7ff5);
}
.feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, #2cb8a9, #4dd9c9);
}
.feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, #e8a748, #f0c060);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108,99,255,0.1);
  border-color: rgba(108,99,255,0.15);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(108,99,255,0.25);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-icon.purple {
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(108,99,255,0.06));
  color: #6c63ff;
}
.feature-icon.teal {
  background: linear-gradient(135deg, rgba(44,184,169,0.12), rgba(44,184,169,0.06));
  color: #2cb8a9;
}
.feature-icon.gold {
  background: linear-gradient(135deg, rgba(232,167,72,0.12), rgba(232,167,72,0.06));
  color: #d4942e;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ── HOW IT WORKS — 3 numbered steps ──────────────────────── */
.how-it-works-section {
  padding: 56px 0;
  position: relative;
}
.how-it-works-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f8f9fd 0%, #f0f2f9 100%);
  border-top: 1px solid #e8ecf4;
  border-bottom: 1px solid #e8ecf4;
  z-index: -1;
}
.how-it-works-section .section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2cb8a9;
  margin-bottom: 12px;
}
.how-it-works-section .section-title {
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 auto 48px;
  max-width: 560px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
/* Connecting line between steps */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg, #6c63ff, #2cb8a9);
  opacity: 0.2;
  border-radius: 2px;
}
.step-card {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.step-card:nth-child(1) .step-number {
  background: linear-gradient(135deg, #6c63ff, #5046d6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(108,99,255,0.3);
}
.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, #2cb8a9, #1f9a8e);
  color: #fff;
  box-shadow: 0 6px 20px rgba(44,184,169,0.3);
}
.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, #e8a748, #d4942e);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232,167,72,0.3);
}
.step-card h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.step-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  max-width: 300px;
  margin-inline: auto;
}

/* ── SOURCE TYPES — grid of source cards ──────────────────── */
.source-types-section {
  padding: 56px 0;
}
.source-types-section .section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6c63ff;
  margin-bottom: 12px;
}
.source-types-section .section-title {
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 auto 48px;
  max-width: 560px;
}
.source-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.source-type-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(108,99,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.source-type-card:hover {
  border-color: rgba(108,99,255,0.18);
  box-shadow: 0 6px 24px rgba(108,99,255,0.06);
  transform: translateY(-2px);
}
.source-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
}
.source-type-icon svg {
  width: 20px;
  height: 20px;
}
.source-type-icon.purple { background: rgba(108,99,255,0.1); color: #6c63ff; }
.source-type-icon.teal { background: rgba(44,184,169,0.1); color: #2cb8a9; }
.source-type-icon.gold { background: rgba(232,167,72,0.1); color: #d4942e; }
.source-type-icon.rose { background: rgba(255,107,138,0.1); color: #ff6b8a; }
.source-type-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.source-type-icon.indigo { background: rgba(99,102,241,0.1); color: #6366f1; }

.source-type-info h3 {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -.015em;
  margin: 0 0 4px;
  color: var(--ink);
}
.source-type-info p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ── WHY TRUST US — dark card section ─────────────────────── */
.why-trust-section {
  padding: 56px 0;
}
.why-trust-card {
  padding: 56px 48px;
  background: linear-gradient(145deg, #1c2035 0%, #282450 40%, #1e2240 100%);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(28,32,53,0.2);
  position: relative;
  overflow: hidden;
}
.why-trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(108,99,255,0.14), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(44,184,169,0.08), transparent 50%);
  pointer-events: none;
}
.why-trust-header {
  position: relative;
  margin-bottom: 40px;
}
.why-trust-header .section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2cb8a9;
  margin-bottom: 12px;
}
.why-trust-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  max-width: 420px;
}
.why-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  position: relative;
}
.why-trust-item h3 {
  font-size: 16px;
  font-weight: 650;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-trust-item h3 .wt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}
.why-trust-item h3 .wt-icon svg {
  width: 16px;
  height: 16px;
}
.why-trust-item h3 .wt-icon.purple {
  background: rgba(108,99,255,0.2);
  color: #a5a0ff;
}
.why-trust-item h3 .wt-icon.teal {
  background: rgba(44,184,169,0.2);
  color: #5ef5e0;
}
.why-trust-item h3 .wt-icon.gold {
  background: rgba(232,167,72,0.2);
  color: #f0c060;
}
.why-trust-item h3 .wt-icon.rose {
  background: rgba(255,107,138,0.2);
  color: #ff9db4;
}
.why-trust-item p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin: 0;
  padding-left: 42px;
}

/* ── GUIDE SECTION — professional card-based content ──────── */
.guide-section {
  position: relative;
  margin-top: 0;
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #f8f9fd 0%, #f0f2f9 100%);
  border-top: 1px solid #e5e9f2;
}
.guide-section::before,
.guide-section::after {
  display: none;
}
.guide-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.guide-intro h2 {
  margin-bottom: 14px;
  font-weight: 650;
  letter-spacing: -.035em;
  color: var(--ink);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.guide-intro p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}
.guide-content h2 {
  margin: 48px 0 18px;
  padding: 20px 24px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.3;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e5e9f2;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.025);
  position: relative;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.guide-content h2:first-child {
  margin-top: 0;
}
.guide-content h2::before {
  display: none;
}
.guide-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #3a3f58;
  margin: 30px 0 14px;
  padding-left: 14px;
  position: relative;
  border-left: 3px solid;
  border-image: linear-gradient(to bottom, var(--accent), #2cb8a9) 1;
}
.guide-content p,
.guide-content li {
  font-size: 16px;
  line-height: 1.9;
  color: #5a6478;
  margin-bottom: 14px;
}
.guide-content ul {
  padding-left: 24px;
  margin: 14px 0 22px;
}
.guide-content ul li {
  padding-left: 4px;
  margin-bottom: 8px;
}
.guide-content ul li::marker {
  color: var(--accent);
}
.guide-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(108,99,255,0.2);
  transition: border-color .2s;
}
.guide-content a:hover {
  border-bottom-color: var(--accent);
}

/* ── FAQ SECTION ──────────────────────────────────────────── */
.faq-section {
  padding: 64px 0 72px;
}
.faq-header {
  max-width: 600px;
  margin-bottom: 32px;
  position: relative;
}
.faq-header h2 {
  margin: 0 0 8px;
}
.faq-header::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #2cb8a9);
}

/* ── CTA SECTION — dark card before footer ──────────────── */
.cta-section {
  padding: 32px 0 64px;
}
.cta-card {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(145deg, #1c2035 0%, #282450 40%, #1e2240 100%);
  border-radius: 24px;
  box-shadow:
    0 24px 64px rgba(28,32,53,0.25),
    0 0 0 1px rgba(108,99,255,0.08) inset;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(108,99,255,0.14), transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(44,184,169,0.08), transparent 50%);
  pointer-events: none;
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  position: relative;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.cta-card p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}
.cta-btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(108,99,255,0.35);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(108,99,255,0.45);
}

/* ── FOOTER — dark themed, matching header ────────────────── */
.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  border: 0;
  background: linear-gradient(165deg, #1c2035 0%, #252850 50%, #1e2240 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(108,99,255,0.08), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(44,184,169,0.05), transparent 45%);
  pointer-events: none;
}
.site-footer::after {
  display: none;
}
.footer-shell {
  position: relative;
  z-index: 1;
  padding: 56px clamp(24px, 4vw, 48px) 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  max-width: 1240px;
  margin-inline: auto;
}
.footer-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 4vw, 48px);
  right: clamp(24px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.25), rgba(44,184,169,0.2), transparent);
}
.footer-grid {
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.site-footer .brand {
  color: #fff;
  font-size: 20px;
  max-width: 320px;
}
.site-footer .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 12px rgba(108,99,255,0.2);
}
.footer-brand p {
  margin: 16px 0 20px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.8;
}
.footer-tag {
  padding: 7px 14px;
  color: #5ef5e0;
  border: 1px solid rgba(44,184,169,0.3);
  border-radius: 99px;
  background: rgba(44,184,169,0.12);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-heading {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  margin: 10px 0 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-links {
  gap: 4px;
  align-items: flex-start;
}
.footer-links a {
  margin-left: 0;
  padding: 6px 0;
  color: rgba(255,255,255,0.65);
  border-radius: 0;
  line-height: 1.5;
  font-size: 14px;
  transition: color .2s;
  position: relative;
}
.footer-links a:hover {
  color: #a5a0ff;
  background: transparent;
  transform: none;
}
.footer-links a::after {
  display: none;
}
.footer-bottom {
  align-items: center;
  margin-top: 36px;
  padding-top: 22px;
  color: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p {
  max-width: 510px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover {
  color: #a5a0ff;
}

/* ── CONTACT / ARTICLE PAGES ──────────────────────────────── */
.article-shell {
  position: relative;
}
.article-header .eyebrow {
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(44,184,169,0.05));
  border: 1px solid rgba(108,99,255,0.12);
  color: var(--accent);
  font-weight: 600;
}
.article-body h2 {
  position: relative;
  padding-left: 16px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), #2cb8a9);
}
.article-body p {
  line-height: 1.85;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1050px) {
  .nav-shell {
    gap: 14px;
  }
  .site-header .nav-links {
    gap: 2px;
  }
  .site-header .nav-links a {
    padding-inline: 9px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid::before {
    display: none;
  }
  .source-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .site-header {
    top: 0;
    margin-top: 0;
  }
  .nav-shell {
    min-height: 58px;
    padding: 0 16px;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  /* Mobile nav - dark themed */
  .nav-links.open {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    border-top-color: rgba(255,255,255,0.1);
  }
  .site-header .nav-links a {
    font-size: 13px;
    padding: 9px 11px;
    color: rgba(255,255,255,0.65);
  }
  .hero-compact {
    padding: 14px 0 8px;
  }
  .hero-compact h1 {
    font-size: 32px;
  }
  .content-hero {
    padding: 32px 0 8px;
  }
  .content-hero .intro {
    font-size: 15px;
  }
  .product-visual {
    margin-top: 28px;
    border-radius: 16px;
  }
  .product-visual figcaption {
    padding: 14px 18px;
    font-size: 13px;
  }
  .trust-badges {
    gap: 8px;
  }
  .trust-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  .trust-badge .badge-icon {
    width: 22px;
    height: 22px;
  }
  .trust-badge .badge-icon svg {
    width: 13px;
    height: 13px;
  }
  .features-section,
  .how-it-works-section,
  .source-types-section,
  .why-trust-section {
    padding: 48px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    padding: 24px 22px;
    border-radius: 16px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps-grid::before {
    display: none;
  }
  .source-types-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .why-trust-card {
    padding: 36px 24px;
    border-radius: 22px;
  }
  .why-trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-section {
    margin-top: 0;
    padding: 48px 0 56px;
  }
  .guide-intro {
    padding: 24px 22px;
    border-radius: 14px;
    margin-bottom: 28px;
  }
  .guide-content h2 {
    font-size: 22px;
    padding: 16px 18px;
    margin-top: 36px;
    border-radius: 12px;
  }
  .guide-content h3 {
    font-size: 18px;
  }
  .faq-section {
    padding: 48px 0 56px;
  }
  .cta-section {
    padding: 24px 0 48px;
  }
  .cta-card {
    padding: 48px 24px;
    border-radius: 20px;
  }
  .cta-card h2 {
    font-size: 26px;
  }
  .cta-card p {
    font-size: 15px;
  }
  .cta-btn {
    min-height: 48px;
    padding: 12px 28px;
    font-size: 15px;
  }
  .site-footer {
    padding-top: 0;
  }
  .footer-shell {
    padding: 40px 20px 24px;
  }
  .footer-grid {
    gap: 28px 22px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-bottom {
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 14px;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .nav-shell {
    gap: 8px;
  }
  .brand-name {
    max-width: 166px;
  }
  .hero-compact h1 {
    font-size: 28px;
  }
  .cta-card {
    padding: 40px 20px;
    border-radius: 18px;
  }
  .footer-shell {
    padding-inline: 18px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-shell {
    background: #1c2035;
    backdrop-filter: none;
  }
  .guide-intro {
    background: #fff;
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .nav-shell {
    background: #1a1d30;
    border-bottom-color: #555;
  }
  .site-footer {
    background: #1a1d30;
  }
  .footer-links a,
  .footer-brand p {
    color: rgba(255,255,255,0.8);
  }
  .footer-heading {
    color: rgba(255,255,255,0.6);
  }
}
@media print {
  .product-visual,
  .cta-section,
  .features-section,
  .how-it-works-section,
  .source-types-section,
  .why-trust-section,
  .trust-strip {
    display: none !important;
  }
}
