/* =========================================================
   Donate Positive — Main Stylesheet
   Brand: Black #0d0d0d · Red #cc1c1c · White #ffffff
   ========================================================= */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --black:      #0d0d0d;
  --black-soft: #1a1a1a;
  --red:        #cc1c1c;
  --red-dark:   #a81515;
  --red-light:  #fef2f2;
  --white:      #ffffff;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-300:   #d1d5db;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --gray-700:   #374151;
  --gray-800:   #1f2937;
  --gray-900:   #111827;

  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12), 0 8px 20px rgba(0,0,0,.06);
  --transition: 180ms ease;
  --nav-h:      68px;
  --container:  1180px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 96px; }
.section--sm { padding-block: 64px; }
.section--lg { padding-block: 128px; }
.section--dark { background: var(--black); color: var(--white); }
.section--gray { background: var(--gray-50); }
.section--red  { background: var(--red); color: var(--white); }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 700; }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--red  h1,
.section--red  h2,
.section--red  h3 { color: var(--white); }

p { max-width: 68ch; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--gray-600); }
.section--dark .lead,
.section--red  .lead { color: rgba(255,255,255,.75); }

/* ── Section labels ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(204,28,28,.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(204,28,28,.45);
}
.btn--dark {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.btn--dark:hover { background: var(--gray-900); }

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-200);
}
.btn--outline:hover { border-color: var(--black); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn--lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn--sm { padding: 9px 18px; font-size: .875rem; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img.dp-logo { height: 32px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav__cta { margin-left: 12px; }

/* Sign-in button: text on desktop, icon only on mobile */
.nav__signin-icon { display: none; }
.nav__signin-text { display: inline; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--black-soft);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: var(--radius);
}
.nav__mobile .btn { margin-top: 8px; justify-content: center; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 96px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(204,28,28,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,28,28,.15);
  border: 1px solid rgba(204,28,28,.3);
  color: #f87171;
  font-size: .8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero__tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.5); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--red); }
.hero .lead { margin-bottom: 36px; color: rgba(255,255,255,.7); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__actions .btn { font-size: 1rem; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}
.hero__trust svg { width: 16px; height: 16px; color: #4ade80; flex-shrink: 0; }

.hero__visual {
  position: relative;
}
.hero__screen {
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
}
.hero__screen-bar {
  background: rgba(255,255,255,.05);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero__dot { width: 10px; height: 10px; border-radius: 50%; }
.hero__dot:nth-child(1) { background: #ff5f57; }
.hero__dot:nth-child(2) { background: #febc2e; }
.hero__dot:nth-child(3) { background: #28c840; }
.hero__screen-content { padding: 24px; }

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-block: 40px;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stats-bar__label {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ── Feature card grid ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}
.feature-card__icon {
  width: 44px; height: 44px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--red);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  color: var(--black);
}
.feature-card p {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 100%;
}

/* ── Feature list (full page) ────────────────────────────── */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--gray-300);
}
.feature-item__icon {
  width: 38px; height: 38px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.feature-item__icon svg { width: 18px; height: 18px; }
.feature-item__text h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.feature-item__text p {
  font-size: .875rem;
  color: var(--gray-500);
  max-width: 100%;
  line-height: 1.5;
}

/* ── Pricing cards ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card--featured {
  border-color: var(--red);
  background: var(--black);
  color: var(--white);
}
.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__period { color: var(--white); }
.pricing-card--featured .pricing-card__feature { color: rgba(255,255,255,.8); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--black);
}
.pricing-card__price {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--black);
}
.pricing-card__price sup {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 700;
}
.pricing-card__period {
  font-size: .9375rem;
  color: var(--gray-500);
  margin-top: 4px;
  margin-bottom: 8px;
}
.pricing-card__saving {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: .8125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.pricing-card--featured .pricing-card__saving {
  background: rgba(204,28,28,.2);
  color: #fca5a5;
}
.pricing-divider { border: none; border-top: 1px solid var(--gray-200); margin-block: 28px; }
.pricing-card--featured .pricing-divider { border-color: rgba(255,255,255,.15); }

.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--gray-600);
}
.pricing-card__feature svg {
  width: 18px; height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card--featured .pricing-card__feature svg { color: #4ade80; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── Comparison table ────────────────────────────────────── */
.comparison-note {
  text-align: center;
  font-size: .9375rem;
  color: var(--gray-500);
  margin-top: 32px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font);
}
.faq-btn svg {
  width: 20px; height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-btn svg { transform: rotate(45deg); color: var(--red); }
.faq-body {
  display: none;
  padding-bottom: 20px;
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 65ch;
}
.faq-item.open .faq-body { display: block; }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--black);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(204,28,28,.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,.65); margin-bottom: 32px; margin-inline: auto; }
.cta-banner__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Guarantee badge ─────────────────────────────────────── */
.guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--gray-500);
}
.guarantee svg { width: 18px; height: 18px; color: #16a34a; flex-shrink: 0; }

/* ── Step how-it-works ───────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step__num {
  width: 52px; height: 52px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  margin-inline: auto;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; color: var(--black); }
.step p { color: var(--gray-500); font-size: .9375rem; max-width: 28ch; margin-inline: auto; }

/* ── Demo section ────────────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.demo-screenshot {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-screenshot img { width: 100%; }
.demo-placeholder {
  background: var(--gray-100);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: .875rem;
  font-weight: 500;
}
.demo-placeholder svg { width: 32px; height: 32px; }

.video-placeholder {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: .9375rem;
  font-weight: 500;
}
.video-placeholder svg { width: 44px; height: 44px; }

/* ── Support form ────────────────────────────────────────── */
.support-form { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  font-size: .9375rem;
  font-family: var(--font);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,28,28,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-result {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9375rem;
  display: none;
}
.form-result--success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-result--error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ── Sign In / Customer portal ───────────────────────────── */
.signin-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 64px;
  background: var(--gray-50);
}
.signin-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}
.signin-card h1 { font-size: 1.75rem; margin-bottom: 6px; }
.signin-card .lead { font-size: .9375rem; margin-bottom: 28px; }

/* ── Blog ────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.blog-card__thumb {
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__body { padding: 24px; }
.blog-card__cat {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: 8px;
}
.blog-card h3 { font-size: 1.0625rem; color: var(--black); margin-bottom: 8px; line-height: 1.4; }
.blog-card p  { font-size: .9rem; color: var(--gray-500); max-width: 100%; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: .8125rem;
  color: var(--gray-400);
}

/* ── Single blog post ────────────────────────────────────── */

.post-hero {
	background: var(--black);
	padding-top: calc(var(--nav-h) + 56px);
	padding-bottom: 56px;
}

.post-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .8125rem;
	color: rgba(255,255,255,.4);
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.post-breadcrumb a { color: rgba(255,255,255,.5); transition: color .18s; }
.post-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.post-breadcrumb span:last-child { color: rgba(255,255,255,.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 32ch; }

.post-cat-badge {
	display: inline-block;
	background: rgba(204,28,28,.2);
	color: #fca5a5;
	border: 1px solid rgba(204,28,28,.3);
	font-size: .75rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: .07em;
	margin-bottom: 16px;
	text-decoration: none;
}
.post-cat-badge:hover { background: rgba(204,28,28,.3); }

.post-title {
	color: var(--white);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -.025em;
	max-width: 22ch;
	margin: 0 0 20px;
}

.post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: rgba(255,255,255,.5);
	font-size: .875rem;
}
.post-meta__item { display: inline-flex; align-items: center; gap: 5px; }
.post-meta__item svg { width: 15px; height: 15px; flex-shrink: 0; }
.post-meta__dot { color: rgba(255,255,255,.25); }

.post-body { padding-block: 56px; background: var(--white); }
.post-body__inner { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: 24px; }

.post-featured-image { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-featured-image img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.post-tag { background: var(--gray-100); color: var(--gray-600); font-size: .8125rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; text-decoration: none; transition: background .18s, color .18s; }
.post-tag:hover { background: var(--red-light); color: var(--red); }

.post-nav { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-200); flex-wrap: wrap; }
.post-nav__back { display: inline-flex; align-items: center; gap: 7px; font-size: .9375rem; color: var(--gray-500); text-decoration: none; transition: color .18s; white-space: nowrap; }
.post-nav__back svg { width: 16px; height: 16px; }
.post-nav__back:hover { color: var(--black); }
.post-nav__pager { display: flex; gap: 20px; flex-wrap: wrap; }
.post-nav__link { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; max-width: 200px; }
.post-nav__link--next { align-items: flex-end; }
.post-nav__label { font-size: .75rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; }
.post-nav__title { font-size: .875rem; font-weight: 600; color: var(--gray-700); line-height: 1.4; }
.post-nav__link:hover .post-nav__title { color: var(--black); }

.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--black); border-radius: var(--radius-lg); padding: 28px 32px; margin-top: 48px; }
.post-cta__heading { font-size: 1.0625rem; font-weight: 800; color: var(--white); margin: 0 0 4px; }
.post-cta__sub { font-size: .875rem; color: rgba(255,255,255,.6); margin: 0; max-width: 100%; }
.post-cta .btn { flex-shrink: 0; white-space: nowrap; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose p  { margin-bottom: 18px; color: var(--gray-700); font-size: 1.0625rem; line-height: 1.8; }
.prose ul, .prose ol { margin-bottom: 18px; padding-left: 24px; }
.prose li { margin-bottom: 6px; color: var(--gray-700); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-dark); }
.prose strong { color: var(--black); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--red);
  padding-left: 20px;
  margin-block: 28px;
  color: var(--gray-600);
  font-style: italic;
}
.prose code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
  font-family: monospace;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.65);
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p {
  font-size: .9375rem;
  max-width: 30ch;
  margin-top: 16px;
  margin-bottom: 24px;
}
.footer__col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: .875rem;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer__bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ── Misc components ─────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin-block: 48px; }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .8125rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge--red { background: var(--red-light); color: var(--red); }
.badge--green { background: #f0fdf4; color: #15803d; }

/* ── Page headers (inner pages) ──────────────────────────── */
.page-hero {
  background: var(--black);
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.65); }

/* ── Checklist style ─────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--gray-600);
}
.check-list li svg {
  width: 18px; height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Resources doc card ──────────────────────────────────── */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}
.doc-card:hover { box-shadow: var(--shadow); border-color: var(--gray-300); }
.doc-card__icon {
  width: 40px; height: 40px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.doc-card__icon svg { width: 20px; height: 20px; }
.doc-card h4 { font-size: .9375rem; color: var(--black); margin-bottom: 2px; }
.doc-card p  { font-size: .875rem; color: var(--gray-500); max-width: 100%; line-height: 1.5; }

/* ── Responsive ──────────────────────────────────────────── */
/* ── Responsive grid utilities ──────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media ( max-width: 1024px ) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner    { grid-template-columns: 1fr; }
  .hero__visual   { max-width: 540px; margin-inline: auto; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .demo-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step p { max-width: 100%; }
}

@media ( max-width: 768px ) {
  :root { --nav-h: 60px; }
  .section { padding-block: 64px; }
  .section--lg { padding-block: 80px; }

  .nav__links { display: none; }
  /* On mobile: hide Get Started CTA (mobile dropdown has its own), show burger */
  .nav__cta .btn { display: none; }
  .nav__signin-text { display: none; }
  .nav__signin-icon { display: flex; align-items: center; }
  .nav__burger { display: flex; }

  /* Blog post */
  .post-hero  { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 36px; }
  .post-body  { padding-block: 36px; }
  .post-cta   { flex-direction: column; align-items: flex-start; }
  .post-cta .btn { width: 100%; justify-content: center; }
  .post-nav__pager { flex-direction: column; }

  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; }
  .hero h1 { font-size: 2.4rem; }

  .features-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .doc-grid      { grid-template-columns: 1fr; }

  .cta-banner { padding: 40px 24px; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner .btn { width: 100%; justify-content: center; max-width: 320px; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; max-width: 320px; }

  .page-hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }

  .pricing-card { padding: 28px; }

  .two-col   { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
}

@media ( max-width: 480px ) {
  .three-col { grid-template-columns: 1fr; }
  .container { padding-inline: 16px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .signin-card { padding: 32px 24px; }
}
