/* =============================================================
   NextIQ Solutions — Main Stylesheet
   Version 1.0 | Plain HTML/CSS/JS
   ============================================================= */

/* =====================
   1. CSS Custom Properties
   ===================== */
:root {
  /* Teal scale */
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  /* Slate scale */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semantic */
  --color-primary:       var(--teal-600);
  --color-primary-dark:  var(--teal-700);
  --color-primary-light: var(--teal-400);
  --color-secondary:     var(--slate-800);
  --color-accent:        #10b981;

  --color-text:         var(--slate-800);
  --color-text-muted:   var(--slate-500);
  --color-text-light:   var(--slate-400);

  --color-bg:       #ffffff;
  --color-bg-alt:   var(--slate-50);
  --color-bg-teal:  var(--teal-50);
  --color-bg-dark:  var(--slate-900);

  --color-border:      var(--slate-200);
  --color-border-dark: var(--slate-700);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width:          1200px;
  --container-padding:  1.5rem;
  --header-height:      72px;
  --spacing-section:    5rem;
  --spacing-section-sm: 3rem;

  /* Radii */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --t-fast:  150ms ease;
  --t-base:  250ms ease;
  --t-slow:  400ms ease;
}

/* =====================
   2. Reset & Base
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* =====================
   3. Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p { line-height: 1.75; color: var(--color-text-muted); }

/* =====================
   4. Layout
   ===================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section        { padding: var(--spacing-section) 0; }
.section--alt   { background: var(--color-bg-alt); }
.section--teal  { background: var(--color-bg-teal); }
.section--dark  { background: var(--color-bg-dark); color: #fff; }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p  { color: var(--slate-300); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--teal-300); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =====================
   5. Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all var(--t-base);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13,148,136,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--slate-800);
  color: #fff;
  border-color: var(--slate-800);
}
.btn--dark:hover {
  background: var(--slate-700);
  border-color: var(--slate-700);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--teal-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--sm  { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--lg  { padding: 1rem 2.25rem; font-size: 1rem; }

/* =====================
   6. Header & Nav
   ===================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--t-base);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--slate-900);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.header__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-400));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.nav-link:hover { color: var(--color-text); background: var(--slate-100); }
.nav-link.active { color: var(--color-primary); font-weight: 600; }
.nav-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: background var(--t-fast);
}
.header__menu-btn:hover { background: var(--slate-100); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.mobile-nav.open { display: block; }

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(2px);
}

.mobile-nav__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 290px;
  height: 100%;
  background: var(--color-bg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--slate-900);
}

.mobile-nav__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.mobile-nav__close:hover { background: var(--slate-100); color: var(--color-text); }

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.mobile-nav-link:hover { color: var(--color-primary); background: var(--teal-50); }

.mobile-nav__divider {
  height: 1px;
  background: var(--color-border);
  margin: 1rem 0;
}

.mobile-nav__ctas { display: flex; flex-direction: column; gap: 0.625rem; }

/* =====================
   7. Hero
   ===================== */
.hero {
  background: linear-gradient(150deg, var(--slate-900) 0%, var(--teal-900) 55%, var(--teal-700) 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--teal-200);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.125rem, 4.5vw, 3.375rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero__highlight { color: var(--teal-300); }

.hero__sub {
  color: var(--slate-300);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero__trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-400);
  font-size: 0.8125rem;
}

.hero__trust-dots { display: flex; gap: 0.375rem; }
.hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* Hero Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card-stack {
  position: relative;
  width: 340px;
}

.hero__app-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  color: #fff;
}

.hero__app-card--back {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 0;
}

.hero__app-card--front { position: relative; z-index: 1; }

.hero__card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-300);
  margin-bottom: 0.625rem;
}

.hero__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hero__card-sub {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.hero__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
}

.hero__status-pill {
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
}

.hero__status-pill--found   { background: rgba(20,184,166,0.25); color: var(--teal-300); }
.hero__status-pill--stored  { background: rgba(99,102,241,0.25); color: #a5b4fc; }
.hero__status-pill--claimed { background: rgba(245,158,11,0.25); color: #fcd34d; }

/* =====================
   8. Product Cards
   ===================== */
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-card__accent {
  height: 6px;
}
.product-card__accent--teal { background: linear-gradient(90deg, var(--teal-600), var(--teal-300)); }
.product-card__accent--purple { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

.product-card__body { padding: 2.25rem; flex: 1; display: flex; flex-direction: column; }

.product-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}
.product-card__badge--flagship { background: var(--teal-100); color: var(--teal-800); }
.product-card__badge--live     { background: #dcfce7; color: #166534; }

.product-card h3 { margin-bottom: 0.625rem; }
.product-card p  { margin-bottom: 1.5rem; flex: 1; }

.app-card-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.app-card-brand h3 {
  margin: 0;
}

.app-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.app-page-logo {
  width: 86px;
  height: 86px;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}

.product-card__features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.feature-item svg { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }

/* =====================
   9. Generic Card
   ===================== */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* =====================
   10. Workflow Stepper
   ===================== */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--teal-200), var(--teal-500));
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.workflow-step__num {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--t-base);
}

.workflow-step:hover .workflow-step__num {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.workflow-step__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.workflow-step__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* =====================
   11. Stat / Metric Cards
   ===================== */
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.stat-card__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* =====================
   12. FAQ Accordion
   ===================== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open {
  border-color: var(--teal-300);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--color-primary); }
.faq-item.open .faq-question { color: var(--color-primary); }
.faq-question:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: transform var(--t-base), color var(--t-fast);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--color-primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* =====================
   13. Contact Form
   ===================== */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-required { color: var(--color-primary); margin-left: 0.125rem; }

.form-control {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.form-control::placeholder { color: var(--slate-400); }

textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

/* =====================
   14. Testimonials
   ===================== */
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card__author { display: flex; align-items: center; gap: 0.875rem; }

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name { font-size: 0.875rem; font-weight: 700; color: var(--color-text); }
.testimonial-card__role { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.1rem; }

/* =====================
   15. CTA Banner
   ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 60%, var(--teal-400) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 32px 32px;
}

.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.125rem; max-width: 500px; margin: 0 auto 2.5rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* =====================
   16. Security Section
   ===================== */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.security-item {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.security-item:hover { border-color: var(--teal-200); box-shadow: var(--shadow-md); }

.security-item__icon {
  width: 44px;
  height: 44px;
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.security-item__title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.375rem; }
.security-item__desc  { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }

/* =====================
   17. App Store Buttons
   ===================== */
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--slate-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--slate-700);
  transition: all var(--t-base);
  text-decoration: none;
}
.app-btn:hover {
  background: var(--slate-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.app-btn__icon { flex-shrink: 0; }
.app-btn__text-small { font-size: 0.6875rem; opacity: 0.75; display: block; line-height: 1; margin-bottom: 3px; }
.app-btn__text-large { font-size: 1.0625rem; font-weight: 700; display: block; line-height: 1; }
.app-btn--white {
  background: #fff;
  color: var(--slate-900);
  border-color: rgba(255,255,255,0.5);
}
.app-btn--white:hover { background: var(--slate-100); }

/* =====================
   18. Phase / Pilot Cards
   ===================== */
.phase-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.phase-card__num {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--teal-600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.phase-card__duration {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--teal-50);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.875rem;
}

/* =====================
   19. Rating Cards (4Mo)
   ===================== */
.rating-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--t-base);
}
.rating-card:hover {
  border-color: var(--teal-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rating-card__emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.rating-card__title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.5rem; }
.rating-card__desc  { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

/* =====================
   20. Phone Mockup
   ===================== */
.phone-wrap {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: flex-start;
}

.phone-mockup {
  background: var(--slate-800);
  border: 3px solid var(--slate-600);
  border-radius: 2.5rem;
  padding: 2.5rem 1rem 1.5rem;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: var(--slate-600);
  border-radius: 3px;
}

.phone-screen {
  background: linear-gradient(160deg, var(--slate-900), #1a0533);
  border-radius: 1.25rem;
  padding: 0.875rem;
  flex: 1;
}

.phone-screen-bar {
  height: 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.phone-screen-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.625rem;
  background: rgba(255,255,255,0.06);
  border-radius: 0.625rem;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-text-block {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
.phone-text-block--short { width: 50%; }

/* Real screenshot stack (no device frame) */
.hero-phone-stack {
  position: relative;
  width: 420px;
  height: 520px;
  margin: 0 auto;
}

.hero-phone-stack::before,
.hero-phone-stack::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}

.hero-phone-stack::before {
  width: 180px;
  height: 180px;
  top: 40px;
  right: 20px;
  background: rgba(167,139,250,0.28);
}

.hero-phone-stack::after {
  width: 150px;
  height: 150px;
  bottom: 60px;
  left: 20px;
  background: rgba(45,212,191,0.2);
}

.theme-4mo .hero-phone-stack::before { background: rgba(167,139,250,0.34); }
.theme-4mo .hero-phone-stack::after  { background: rgba(124,58,237,0.22); }
.theme-foundnow .hero-phone-stack::before { background: rgba(45,212,191,0.3); }
.theme-foundnow .hero-phone-stack::after  { background: rgba(13,148,136,0.25); }

.hero-phone-stack__item {
  position: absolute;
  transform-origin: center center;
}

.hero-phone-stack__item--one {
  left: 14px;
  bottom: 24px;
  transform: rotate(-8deg);
  z-index: 2;
  animation: hero-float-a 7s ease-in-out infinite;
}

.hero-phone-stack__item--two {
  right: 14px;
  top: 12px;
  transform: rotate(8deg);
  z-index: 3;
  animation: hero-float-b 8s ease-in-out infinite;
}

.hero-phone-shot {
  width: 200px;
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: 0.8rem;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.45);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.hero-phone-stack__item:hover .hero-phone-shot {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.55);
}

@keyframes hero-float-a {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-10px); }
}

@keyframes hero-float-b {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-12px); }
}

@media (max-width: 1200px) {
  .hero-phone-stack {
    width: 360px;
    height: 460px;
  }
  .hero-phone-shot {
    width: 172px;
    max-width: 172px;
  }
}

@media (max-width: 480px) {
  .hero-phone-shot {
    width: 156px;
    max-width: 156px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-stack__item {
    animation: none !important;
  }
}

/* =====================
   21. Page Hero (Subpages)
   ===================== */
.page-hero {
  background: linear-gradient(150deg, var(--slate-900) 0%, var(--teal-900) 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 36px 36px;
}

.page-hero__inner { position: relative; z-index: 1; }
.page-hero__split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p  { color: var(--slate-300); font-size: 1.125rem; max-width: 600px; }

.page-hero--purple {
  background: linear-gradient(150deg, #0f0524 0%, #2d1157 55%, #1a0533 100%);
}

/* =====================
   22. Breadcrumb
   ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--teal-400); }
.breadcrumb a:hover { color: var(--teal-300); }

/* =====================
   23. Prose (Privacy/Terms)
   ===================== */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; margin-bottom: 0.625rem; }
.prose p  { margin-bottom: 1.125rem; color: var(--color-text-muted); }

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose ul li { color: var(--color-text-muted); margin-bottom: 0.5rem; font-size: 0.9375rem; }

.prose a { color: var(--color-primary); text-decoration: underline; }
.prose a:hover { color: var(--color-primary-dark); }

/* =====================
   24. Persona Cards
   ===================== */
.persona-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all var(--t-base);
}
.persona-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow-md); }

.persona-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.persona-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.persona-card__desc  { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 1rem; }

.persona-card__benefits { display: flex; flex-direction: column; gap: 0.375rem; }
.persona-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.persona-benefit svg { color: var(--color-primary); flex-shrink: 0; margin-top: 1px; }

/* =====================
   25. Values / About
   ===================== */
.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--t-base);
}
.value-card:hover { border-color: var(--teal-200); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin: 0 auto 1.25rem;
}

/* =====================
   26. Footer
   ===================== */
.footer { background: var(--slate-900); }

.footer__top {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--slate-800);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.0625rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.footer__logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.8125rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer__link {
  font-size: 0.875rem;
  color: var(--slate-400);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--teal-400); }

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy { font-size: 0.8125rem; color: var(--slate-500); }

.footer__legal { display: flex; gap: 1.5rem; }

/* =====================
   27. Animations
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-d1 { transition-delay: 0.1s; }
.fade-in-d2 { transition-delay: 0.2s; }
.fade-in-d3 { transition-delay: 0.3s; }
.fade-in-d4 { transition-delay: 0.4s; }

/* =====================
   28. Utilities
   ===================== */
.text-center  { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-white   { color: #fff; }
.text-muted   { color: var(--color-text-muted); }
.text-sm      { font-size: 0.875rem; }
.text-lg      { font-size: 1.125rem; }
.font-bold    { font-weight: 700; }

.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 660px; }
.max-w-lg { max-width: 820px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.tag--teal   { background: var(--teal-100); color: var(--teal-700); }
.tag--green  { background: #dcfce7; color: #166534; }
.tag--purple { background: #ede9fe; color: #7c3aed; }
.tag--amber  { background: #fef3c7; color: #92400e; }

/* =====================
   29. FoundNow App Showcase
   ===================== */
.app-showcase {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}

.app-showcase__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.app-showcase__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.app-showcase__desc {
  font-size: 0.9375rem;
}

.app-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.875rem;
}

.app-shot {
  margin: 0;
  padding: 0.625rem;
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.app-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 23 / 50;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.app-shot figcaption {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-align: center;
}

/* =====================
   30. Responsive
   ===================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .app-showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .workflow {
    grid-template-columns: 1fr;
  }
  .workflow::before { display: none; }
  .workflow-step {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    padding: 0;
  }
  .workflow-step__num { margin-bottom: 0; flex-shrink: 0; }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 3rem;
    --container-padding: 1.125rem;
  }

  .header__nav { display: none; }
  .header__actions .btn--primary { display: none; }
  .header__menu-btn { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .rating-criteria { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .hero__inner { grid-template-columns: 1fr; }
  .page-hero__split { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { min-width: 220px; }

  .phone-wrap { flex-direction: column; align-items: center; }

  .app-showcase { padding: 1.25rem; }
  .app-showcase__grid { gap: 0.75rem; }
  .app-showcase__title { font-size: 1.125rem; }
}

@media (max-width: 480px) {
  .app-btn { width: 100%; }
  .app-showcase__grid { grid-template-columns: 1fr; }
  .app-card-logo { width: 50px; height: 50px; }
  .app-page-logo { width: 72px; height: 72px; }
}

/* =====================
   Article Pages
   ===================== */

/* Per-article theme vars — teal defaults, overridden per page */
:root {
  --article-tag-bg:         var(--teal-100);
  --article-tag-color:      var(--teal-700);
  --article-callout-bg:     var(--color-bg-teal);
  --article-callout-accent: var(--color-primary);
  --article-code-bg:        var(--teal-50);
  --article-code-color:     var(--teal-700);
  --article-code-border:    var(--teal-100);
  --article-accent:         var(--color-primary);
}

.article-wrap { max-width: 780px; margin: 0 auto; }

.article-cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}
.article-tag {
  display: inline-flex;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--article-tag-bg);
  color: var(--article-tag-color);
}
.article-meta__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.article-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-border);
  display: inline-block;
}

/* Prose */
.prose h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 2.75rem 0 0.875rem;
  line-height: 1.3;
}
.prose h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 1.875rem 0 0.625rem;
}
.prose p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prose li { font-size: 1rem; line-height: 1.75; color: var(--color-text); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  background: var(--article-code-bg);
  color: var(--article-code-color);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  border: 1px solid var(--article-code-border);
}
.prose strong { font-weight: 700; color: var(--color-text); }
.prose em { font-style: italic; }
.prose a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose hr { border: none; border-top: 1px solid var(--color-border); margin: 2.5rem 0; }

/* Callout box */
.callout {
  background: var(--article-callout-bg);
  border-left: 4px solid var(--article-callout-accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.callout p { margin: 0; font-size: 0.9375rem; color: var(--color-text); }
.callout strong { color: var(--article-callout-accent); }

/* Lesson cards */
.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.lesson-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.375rem;
}
.lesson-card__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--article-accent);
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.lesson-card__text { font-size: 0.9rem; font-weight: 600; color: var(--color-text); line-height: 1.45; }

/* Article footer nav */
.article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.article-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s;
}
.article-nav__back:hover { gap: 0.65rem; }

/* Legal notice banner (POPIA) */
.legal-notice {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: #713f12;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* AI article: verdict cards */
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 2rem; }
.verdict-card { border-radius: var(--radius-xl); padding: 1.25rem 1.375rem; }
.verdict-card--keep { background: #f0fdf4; border: 1px solid #bbf7d0; }
.verdict-card--drop { background: #fff7ed; border: 1px solid #fed7aa; }
.verdict-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}
.verdict-card--keep .verdict-card__label { color: #16a34a; }
.verdict-card--drop .verdict-card__label { color: #ea580c; }
.verdict-card ul { margin: 0; padding-left: 1rem; display: flex; flex-direction: column; gap: 0.375rem; }
.verdict-card li { font-size: 0.875rem; color: var(--color-text); line-height: 1.5; }

/* Startup SA article: reality cards */
.reality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 2rem; }
.reality-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.375rem;
}
.reality-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--article-accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.reality-card__heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.reality-card__text { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

/* POPIA article: principle cards */
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 2rem; }
.principle-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.375rem;
  border-top: 3px solid var(--article-accent);
}
.principle-card__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--article-accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.principle-card__heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.principle-card__text { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; }

/* POPIA article: checklist */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin: 1.5rem 0 2rem; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}
.checklist-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

@media (max-width: 640px) {
  .lesson-grid,
  .verdict-grid,
  .reality-grid,
  .principle-grid,
  .checklist { grid-template-columns: 1fr; }
  .article-cover { aspect-ratio: 16 / 9; border-radius: var(--radius-xl); }
}
