/* =======================================================================
   Elite SMM — Promotional site stylesheet
   Plain CSS, no build step. Design tokens as CSS custom properties;
   dark mode via [data-theme="dark"] or prefers-color-scheme fallback.
   ======================================================================= */

:root {
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-elevated: #ffffff;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  --color-text: #0f172a;
  --color-text-muted: #55607a;
  --color-text-subtle: #8590a8;

  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-foreground: #ffffff;
  --color-accent: #7c3aed;

  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-danger: #dc2626;

  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);

  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.04);
  --shadow-md: 0 4px 16px -4px rgb(15 23 42 / 0.08), 0 2px 6px -2px rgb(15 23 42 / 0.04);
  --shadow-lg: 0 20px 40px -12px rgb(15 23 42 / 0.14);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0a0c12;
    --color-surface: #11141c;
    --color-surface-elevated: #161a24;
    --color-border: #232838;
    --color-border-strong: #2f3547;
    --color-text: #f1f5f9;
    --color-text-muted: #a1a9bd;
    --color-text-subtle: #707893;
    --color-primary: #6366f1;
    --color-primary-hover: #818cf8;
    --color-accent: #a78bfa;
    --brand-gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(167, 139, 250, 0.16) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px -4px rgb(0 0 0 / 0.4), 0 2px 6px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 20px 40px -12px rgb(0 0 0 / 0.5);
  }
}

:root[data-theme="dark"] {
  --color-bg: #0a0c12;
  --color-surface: #11141c;
  --color-surface-elevated: #161a24;
  --color-border: #232838;
  --color-border-strong: #2f3547;
  --color-text: #f1f5f9;
  --color-text-muted: #a1a9bd;
  --color-text-subtle: #707893;
  --color-primary: #6366f1;
  --color-primary-hover: #818cf8;
  --color-accent: #a78bfa;
  --brand-gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(167, 139, 250, 0.16) 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px -4px rgb(0 0 0 / 0.4), 0 2px 6px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 20px 40px -12px rgb(0 0 0 / 0.5);
}

/* ---------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .2s ease, color .2s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
::selection { background: var(--color-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -3rem; z-index: 100;
  background: var(--color-primary); color: #fff; padding: .6rem 1rem; border-radius: .5rem;
  transition: top .15s ease;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------- */
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.container-prose { max-width: 48rem; margin: 0 auto; }

.section { padding: 5rem 0; }
.section-tight { padding-top: 4rem; padding-bottom: 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } .section-tight { padding-top: 5rem; } }
.section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.grid-narrow { max-width: 48rem; margin: 0 auto; width: 100%; }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-subtle { color: var(--color-text-subtle); font-size: .875rem; }
.text-primary { color: var(--color-primary); }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--color-text-muted); }
.bg-soft { position: absolute; inset: 0; background: var(--brand-gradient-soft); pointer-events: none; }
.text-gradient { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------------
   Badge / buttons
   ------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px;
  padding: .3rem .8rem; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  background: var(--brand-gradient-soft); color: var(--color-primary);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; font-weight: 600; white-space: nowrap;
  transition: all .2s ease; border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-md { padding: .7rem 1.35rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn-primary { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--color-surface-elevated); color: var(--color-text); border-color: var(--color-border); }
.btn-secondary:hover { border-color: var(--color-border-strong); background: var(--color-surface); }
.btn-outline { border-color: var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost { color: var(--color-text-muted); }
.btn-ghost:hover { color: var(--color-primary); }
.btn-block { width: 100%; }
.cta-btn-white { background: #fff; color: var(--color-primary); border: none; box-shadow: none; }
.cta-btn-white:hover { background: rgba(255,255,255,.9); }
.cta-btn-ghost-white { color: #fff; }
.cta-btn-ghost-white:hover { color: rgba(255,255,255,.8); }

.btn-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; justify-content: center; } }

/* ---------------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(10px);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 640px) { .site-header-inner { height: 4.5rem; } }

.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: .6rem; background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-sm);
}
.logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--color-text); }

.primary-nav { display: none; align-items: center; gap: .15rem; }
@media (min-width: 1024px) { .primary-nav { display: flex; } }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  border-radius: 999px; padding: .5rem .7rem; font-size: .875rem; font-weight: 500;
  color: var(--color-text-muted);
}
.nav-link:hover, .nav-link.active { background: var(--color-surface); color: var(--color-text); }
.nav-dropdown { position: relative; }
.nav-dropdown-btn svg { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-dropdown-panel {
  position: absolute; left: 0; top: 100%; width: 17rem; padding-top: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-dropdown-panel::before { content: ""; display: block; }
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown.is-open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-panel > .nav-dropdown-item:first-child { margin-top: 0; }
.nav-dropdown-panel {
  display: flex; flex-direction: column; gap: .25rem;
}
.nav-dropdown-item {
  display: flex; flex-direction: column; gap: .1rem; border-radius: .8rem; padding: .6rem .8rem;
  background: var(--color-surface-elevated); border: 1px solid var(--color-border);
}
.nav-dropdown-item + .nav-dropdown-item { border-top: none; margin-top: -1px; }
.nav-dropdown-panel { border-radius: 1rem; box-shadow: var(--shadow-lg); overflow: hidden; padding: .4rem; background: var(--color-surface-elevated); border: 1px solid var(--color-border); }
.nav-dropdown-item { background: transparent; border: none; border-radius: .7rem; }
.nav-dropdown-item:hover { background: var(--color-surface); }
.nav-dropdown-item span { font-size: .875rem; font-weight: 600; color: var(--color-text); }
.nav-dropdown-item small { font-size: .75rem; color: var(--color-text-subtle); }

.site-header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-text); border-color: var(--color-border-strong); }
.login-link { display: none; padding: .6rem 1rem; font-size: .875rem; font-weight: 600; color: var(--color-text-muted); border-radius: 999px; }
.login-link:hover { color: var(--color-text); }
@media (min-width: 640px) { .login-link { display: inline-flex; } .header-register { display: inline-flex; } }
.header-register { display: none; }
.mobile-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-text);
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s ease;
}
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: 85%; max-width: 22rem;
  background: var(--color-surface-elevated); box-shadow: var(--shadow-lg);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem;
  transform: translateX(100%); transition: transform .25s ease-out;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; font-weight: 600; color: var(--color-text-muted); }
.mobile-nav-head-actions { display: flex; align-items: center; gap: .5rem; }
.mobile-close-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-text);
}
.mobile-nav-links { display: flex; flex-direction: column; gap: .25rem; flex: 1; overflow-y: auto; }
.mobile-nav-links a { border-radius: .8rem; padding: .8rem .75rem; font-size: 1rem; font-weight: 500; color: var(--color-text); }
.mobile-nav-links a:hover { background: var(--color-surface); }
.mobile-nav-footer { display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid var(--color-border); padding-top: 1.25rem; }

/* ---------------------------------------------------------------------
   Hero / page hero
   ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; display: grid; gap: 3rem; padding: 5rem 0; align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; padding: 7rem 0; gap: 2.5rem; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-copy h1 { font-size: 2.5rem; line-height: 1.1; }
@media (min-width: 640px) { .hero-copy h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-copy h1 { font-size: 3.75rem; } }
.hero-copy p.hero-desc { max-width: 34rem; font-size: 1.125rem; line-height: 1.65; color: var(--color-text-muted); }
.hero-blob { position: absolute; top: -8rem; right: -4rem; width: 34rem; height: 34rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 10%, transparent); filter: blur(80px); pointer-events: none; }

.hero-visual { position: relative; margin: 0 auto; width: 100%; max-width: 28rem; }
.hero-visual-card { border-radius: 1.5rem; border: 1px solid var(--color-border); background: var(--color-surface-elevated); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.hero-visual-topbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
.hero-visual-dots { display: flex; gap: .4rem; }
.hero-visual-dots span { width: .6rem; height: .6rem; border-radius: 50%; }
.hero-visual-dots span:nth-child(1) { background: color-mix(in srgb, var(--color-danger) 70%, transparent); }
.hero-visual-dots span:nth-child(2) { background: color-mix(in srgb, var(--color-warning) 70%, transparent); }
.hero-visual-dots span:nth-child(3) { background: color-mix(in srgb, var(--color-success) 70%, transparent); }
.hero-visual-label { font-size: .75rem; font-weight: 500; color: var(--color-text-subtle); }
.hero-visual-grid { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hero-visual-tile { display: flex; flex-direction: column; gap: .75rem; border-radius: .8rem; border: 1px solid var(--color-border); background: var(--color-surface); padding: 1rem; }
.hero-visual-tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: .5rem; color: #fff; }
.hero-visual-tile span.name { font-size: .75rem; font-weight: 600; color: var(--color-text); }
.hero-visual-bar { height: .35rem; border-radius: 999px; background: var(--color-border); }
.hero-visual-bar.short { width: 65%; }
.hero-visual-footer { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; border-radius: .8rem; background: var(--brand-gradient-soft); padding: 1rem; }
.hero-visual-footer-bars { display: flex; flex-direction: column; gap: .4rem; }
.hero-visual-footer-bars span { height: .5rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 25%, transparent); }
.hero-visual-footer-bars span:first-child { width: 6rem; }
.hero-visual-footer-bars span:last-child { width: 4rem; background: color-mix(in srgb, var(--color-primary) 18%, transparent); }
.hero-visual-footer-mark { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-sm); }

.platform-strip { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); padding: 2.5rem 0; }
.platform-strip-label { margin-bottom: 1.5rem; text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--color-text-subtle); }
.platform-strip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3rem; }
.platform-strip-item { display: flex; align-items: center; gap: .6rem; color: var(--color-text-muted); font-size: .875rem; font-weight: 600; }

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.page-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding: 4rem 0; text-align: center; }
@media (min-width: 640px) { .page-hero-inner { padding: 6rem 0; } }
.page-hero-inner h1 { font-size: 2.25rem; max-width: 44rem; }
@media (min-width: 640px) { .page-hero-inner h1 { font-size: 3rem; } }
.page-hero-desc { max-width: 40rem; font-size: 1.125rem; color: var(--color-text-muted); }
.hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; color: #fff; box-shadow: var(--shadow-md); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .875rem; color: var(--color-text-subtle); }
.breadcrumbs svg { width: 14px; height: 14px; }
.breadcrumbs a:hover { color: var(--color-text); }
.breadcrumbs [aria-current="page"] { font-weight: 600; color: var(--color-text); }

/* ---------------------------------------------------------------------
   Section heading
   ------------------------------------------------------------------- */
.section-heading { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3.5rem; }
.section-heading-center { align-items: center; text-align: center; }
.section-heading-left { align-items: flex-start; text-align: left; }
.section-heading h2 { font-size: 1.75rem; max-width: 40rem; }
@media (min-width: 640px) { .section-heading h2 { font-size: 2.1rem; } }
.section-heading h2 svg { width: 18px; height: 18px; vertical-align: -2px; margin-right: .4rem; color: var(--color-primary); }
.section-heading p { max-width: 40rem; font-size: 1.05rem; color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   Cards
   ------------------------------------------------------------------- */
.card { border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-elevated); box-shadow: var(--shadow-sm); }
.card > h3 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.card > p { font-size: .9rem; color: var(--color-text-muted); line-height: 1.55; }
.grid-3 > .card, .grid-4 > .card, .grid-2.grid-narrow > .card:not(.service-card):not(.platform-card) { padding: 1.5rem; }

.feature-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: box-shadow .2s ease; }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .8rem; background: var(--brand-gradient-soft); color: var(--color-primary); }

.step-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--brand-gradient); color: #fff; font-weight: 700; font-size: .875rem; }

.platform-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.platform-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.platform-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: .8rem; color: #fff; }
.platform-card h3 { display: flex; align-items: center; gap: .3rem; }
.platform-card h3 svg { width: 15px; height: 15px; color: var(--color-text-subtle); }
.platform-card:hover h3 svg { color: var(--color-primary); }

.service-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; transition: border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); box-shadow: var(--shadow-sm); }
.service-card h3 { font-size: .9rem; }
.service-card p { font-size: .875rem; }
.service-card svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-text-subtle); }
.service-card:hover svg { color: var(--color-primary); }

.pricing-card { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
.pricing-card-highlighted { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); box-shadow: var(--shadow-lg); }
.pricing-card-head h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.pricing-card-head p { font-size: .9rem; color: var(--color-text-muted); }
.pricing-features { display: flex; flex-direction: column; gap: .6rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: var(--color-text-muted); }
.pricing-features svg { width: 16px; height: 16px; margin-top: .1rem; flex-shrink: 0; color: var(--color-primary); }

.blog-grid { }
.blog-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: .8rem; background: var(--brand-gradient-soft); font-size: 2.5rem; font-weight: 700; color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.blog-card-body { display: flex; flex-direction: column; gap: .6rem; }
.blog-card-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--color-primary); }
.blog-card h3 { font-size: 1.1rem; }
.blog-card p { font-size: .9rem; color: var(--color-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--color-text-subtle); margin-top: auto; }
@media (min-width: 640px) {
  .blog-card-featured { grid-column: span 2; flex-direction: row; align-items: center; gap: 2rem; }
  .blog-card-featured .blog-card-thumb { width: 40%; flex-shrink: 0; font-size: 3.5rem; }
  .blog-card-featured h3 { font-size: 1.4rem; }
}
.empty-panel { border-radius: var(--radius-md); border: 1px dashed var(--color-border); padding: 3rem; text-align: center; color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   Info panels / lists
   ------------------------------------------------------------------- */
.info-panel { display: flex; flex-direction: column; gap: .75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-elevated); padding: 1.5rem; }
.info-panel h3 { font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.info-panel-head { display: flex; align-items: center; gap: .5rem; }
.info-panel-head svg { color: var(--color-primary); }
.info-panel-head h3 { margin: 0; }

.dot-list li { position: relative; padding-left: 1.1rem; font-size: .875rem; color: var(--color-text-muted); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .3rem; height: .3rem; border-radius: 999px; background: var(--color-primary); }
.dot-list.two-col { display: grid; gap: .5rem; }
@media (min-width: 640px) { .dot-list.two-col { grid-template-columns: 1fr 1fr; } }

.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: var(--color-text-muted); padding: .25rem 0; }
.check-list svg { width: 16px; height: 16px; margin-top: .15rem; flex-shrink: 0; color: var(--color-primary); }

.callout-list { display: flex; flex-direction: column; gap: .6rem; }
.callout-list li { border-radius: .8rem; border: 1px solid var(--color-border); background: var(--color-surface-elevated); padding: 1rem; font-size: .875rem; color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   FAQ accordion (native <details>/<summary> — works without JS)
   ------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-elevated); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; font-size: .95rem; font-weight: 600; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-text-subtle); transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--color-primary); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { font-size: .9rem; line-height: 1.6; color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   CTA section
   ------------------------------------------------------------------- */
.cta-section { padding: 5rem 0; }
@media (min-width: 640px) { .cta-section { padding: 7rem 0; } }
.cta-box { border-radius: var(--radius-lg); background: var(--brand-gradient); padding: 3rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 640px) { .cta-box { padding: 4rem 4rem; } }
.cta-box::before {
  content: ""; position: absolute; inset: 0; opacity: .2; pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, white 0, transparent 35%), radial-gradient(circle at 80% 80%, white 0, transparent 35%);
}
.cta-box-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-box-inner h2 { font-size: 1.9rem; color: #fff; max-width: 34rem; }
@media (min-width: 640px) { .cta-box-inner h2 { font-size: 2.25rem; } }
.cta-box-inner p { max-width: 30rem; color: rgba(255,255,255,.88); }

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-surface); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand { grid-column: span 2; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .footer-brand { grid-column: span 1; } }
.footer-brand p { max-width: 22rem; font-size: .875rem; line-height: 1.6; color: var(--color-text-muted); }
.footer-note { font-size: .75rem; color: var(--color-text-subtle); }
.footer-note a { color: var(--color-primary); font-weight: 500; }
.footer-note a:hover { text-decoration: underline; }
.footer-col h3 { font-size: .875rem; margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { font-size: .875rem; color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-text); }
.footer-bottom { border-top: 1px solid var(--color-border); }
.footer-bottom-inner { display: flex; flex-direction: column-reverse; align-items: center; gap: 1rem; padding: 1.5rem 0; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }
.footer-bottom-inner p { font-size: .75rem; color: var(--color-text-subtle); }
.footer-bottom-links { display: flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 600; }
.footer-bottom-links a:hover { text-decoration: underline; }
.footer-bottom-links span { color: var(--color-border-strong); }

/* ---------------------------------------------------------------------
   Prose (blog articles & legal pages)
   ------------------------------------------------------------------- */
.prose { max-width: 100%; color: var(--color-text-muted); font-size: 1rem; line-height: 1.75; }
.prose h2 { color: var(--color-text); font-size: 1.4rem; margin: 2.2rem 0 1rem; }
.prose h3 { color: var(--color-text); font-size: 1.15rem; margin: 1.8rem 0 .8rem; }
.prose p { margin: 1rem 0; }
.prose ul, .prose ol { margin: 1rem 0; padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--color-text-subtle); }
.prose a { color: var(--color-primary); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--color-text); font-weight: 600; }
.prose code { background: var(--color-surface); border-radius: .3rem; padding: .1rem .4rem; font-size: .85em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--color-border); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--color-surface); color: var(--color-text); font-weight: 600; }
.prose h2:first-child { margin-top: 0; }

.callout-warning {
  display: flex; gap: .75rem; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--color-warning) 35%, transparent);
  background: color-mix(in srgb, var(--color-warning) 10%, transparent); padding: 1rem 1.2rem; font-size: .875rem; color: var(--color-text-muted); margin-bottom: 1.5rem;
}
.callout-warning svg { flex-shrink: 0; color: var(--color-warning); margin-top: .1rem; }

/* ---------------------------------------------------------------------
   Blog article layout
   ------------------------------------------------------------------- */
.article-head { border-bottom: 1px solid var(--color-border); background: var(--color-surface); padding: 3rem 0; }
@media (min-width: 640px) { .article-head { padding: 4rem 0; } }
.article-head-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.article-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--color-primary); }
.article-head h1 { font-size: 2rem; max-width: 46rem; margin-top: .6rem; }
@media (min-width: 640px) { .article-head h1 { font-size: 2.5rem; } }
.article-head p { max-width: 40rem; font-size: 1.1rem; color: var(--color-text-muted); margin-top: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; font-size: .875rem; color: var(--color-text-subtle); }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta svg { width: 15px; height: 15px; }

.article-body { padding: 3.5rem 0; }
@media (min-width: 640px) { .article-body { padding: 5rem 0; } }
.article-layout { display: grid; gap: 3rem; grid-template-columns: 1fr; max-width: 48rem; margin: 0 auto; }

.post-nav { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); padding: 2.5rem 0; }
.post-nav-inner { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 48rem; margin: 0 auto; }
@media (min-width: 640px) { .post-nav-inner { grid-template-columns: 1fr 1fr; } }
.post-nav-link { display: flex; flex-direction: column; gap: .3rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface-elevated); padding: 1.2rem; }
.post-nav-link:hover span.title { color: var(--color-primary); }
.post-nav-link.next { text-align: right; align-items: flex-end; }
.post-nav-eyebrow { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-subtle); }
.post-nav-eyebrow svg { width: 14px; height: 14px; }
.post-nav-link span.title { font-weight: 600; color: var(--color-text); }

/* ---------------------------------------------------------------------
   Campaign layout
   ------------------------------------------------------------------- */
.campaign-header { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.campaign-header-inner { display: flex; align-items: center; justify-content: space-between; }
.campaign-footer { border-top: 1px solid var(--color-border); padding: 1.5rem 0; }
.campaign-footer-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; font-size: .75rem; color: var(--color-text-subtle); }
@media (min-width: 640px) { .campaign-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.campaign-footer-links { display: flex; align-items: center; gap: 1rem; }
.campaign-footer-links a:hover { color: var(--color-text); }
.campaign-hero { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 640px) { .campaign-hero { padding: 7rem 0; } }
.campaign-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.campaign-hero-inner h1 { max-width: 36rem; font-size: 2.25rem; }
@media (min-width: 640px) { .campaign-hero-inner h1 { font-size: 3rem; } }
.campaign-hero-inner p.sub { max-width: 34rem; font-size: 1.1rem; color: var(--color-text-muted); }
.campaign-benefits { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); padding: 3rem 0; }
.campaign-benefits .grid { max-width: 42rem; margin: 0 auto; }
.campaign-benefit { display: flex; align-items: flex-start; gap: .6rem; padding: 1rem; font-size: .875rem; color: var(--color-text-muted); }
.campaign-benefit svg { width: 16px; height: 16px; margin-top: .15rem; flex-shrink: 0; color: var(--color-primary); }
.campaign-faq { padding: 3.5rem 0; }
@media (min-width: 640px) { .campaign-faq { padding: 5rem 0; } }
.campaign-faq-inner { max-width: 40rem; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.campaign-faq-inner h2 { text-align: center; font-size: 1.6rem; }

/* ---------------------------------------------------------------------
   404 page
   ------------------------------------------------------------------- */
.notfound-wrap { display: flex; min-height: 70vh; align-items: center; justify-content: center; padding: 4rem 0; }
.notfound-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.notfound-icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: var(--radius-md); background: var(--brand-gradient-soft); color: var(--color-primary); }
.notfound-eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--color-text-subtle); }
.notfound-inner h1 { font-size: 2rem; margin-top: .3rem; }
.notfound-inner p { max-width: 26rem; color: var(--color-text-muted); }
.notfound-header { border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
