/* ============================================================
   QuiteSimpleODK Marketing Site
   v1.0 — May 2026
   ============================================================ */

/* ----- DESIGN TOKENS ----- */
:root {
  /* Brand */
  --ink: #0B1B3B;
  --ink-2: #1E2A4A;
  --indigo: #4F46E5;
  --indigo-dark: #3730A3;
  --indigo-light: #EEF2FF;
  --lime: #84CC16;
  --lime-dark: #65A30D;
  --lime-light: #ECFCCB;

  /* Neutrals */
  --bone: #FAFAF7;
  --white: #FFFFFF;
  --slate: #475569;
  --slate-light: #94A3B8;
  --line: #E2E8F0;
  --line-soft: #F1F5F9;

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Geometry */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11, 27, 59, 0.04);
  --shadow: 0 4px 16px rgba(11, 27, 59, 0.06);
  --shadow-md: 0 8px 32px rgba(11, 27, 59, 0.08);
  --shadow-lg: 0 24px 64px rgba(11, 27, 59, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 500ms;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: 0; background: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
p { line-height: 1.65; color: var(--slate); }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1rem;
}
.text-ink { color: var(--ink); }
.text-slate { color: var(--slate); }
.text-indigo { color: var(--indigo); }
.text-lime { color: var(--lime); }

/* Highlights — used for the lime accent inside headings */
.accent {
  color: var(--indigo);
  position: relative;
}
.accent-lime {
  color: var(--lime-dark);
  position: relative;
  white-space: nowrap;
}
.accent-lime::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 28%;
  background: var(--lime);
  opacity: 0.35;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}

/* ----- LAYOUT ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .section-lg { padding: 80px 0; }
}

/* ----- HEADER ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 247, 0.95);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo img { height: 36px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink-2);
  position: relative;
  transition: color var(--t-fast);
}
.nav-link:hover { color: var(--indigo); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    transform: translateY(-110%);
    transition: transform var(--t-base) var(--ease);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: 600;
  }
  .nav-link.active::after { display: none; }
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 16px;
  }
  .nav-toggle { display: flex; }
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--indigo);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}
.btn-accent {
  background: var(--indigo);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}
.btn-link {
  padding: 8px 0;
  color: var(--indigo);
  font-weight: 600;
  border: 0;
  background: transparent;
}
.btn-link:hover { gap: 12px; }
.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  padding: 96px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  width: 1000px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.12) 0%, transparent 60%);
  filter: blur(40px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 200px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.18) 0%, transparent 60%);
  filter: blur(40px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 27, 59, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 27, 59, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.6) 0%, transparent 70%);
  z-index: -1;
}
.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge span.badge-chip {
  background: var(--lime-light);
  color: var(--lime-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 24px; }
.hero p.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--slate);
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--slate);
}
.hero-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg { width: 16px; height: 16px; color: var(--lime-dark); }

/* Hero product visual */
.hero-visual {
  margin-top: 64px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.08) 0%, transparent 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}
.hero-visual-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ----- LOGO STRIP ----- */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.logos-label {
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.7;
}
.logos-row img {
  height: 32px;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity var(--t-base), filter var(--t-base);
}
.logos-row img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ----- SECTION HEADER ----- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head p {
  font-size: 1.1rem;
  margin-top: 16px;
}
.section-head--left { text-align: left; margin: 0 0 48px; }

/* ----- FEATURE GRID ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--indigo-light);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.95rem; }

/* Alternating accent variant */
.feature-card:nth-child(3n+2) .feature-icon {
  background: var(--lime-light);
  color: var(--lime-dark);
}

/* ----- 2-COLUMN ROW ----- */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.row--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .row { grid-template-columns: 1fr; gap: 40px; }
  .row--reverse > :first-child { order: 0; }
}
.row-feature-list {
  margin-top: 24px;
}
.row-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-2);
  font-weight: 500;
}
.row-feature-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--lime-dark);
  margin-top: 1px;
}

/* Image-like card for row visuals */
.row-visual {
  background: linear-gradient(135deg, var(--indigo-light) 0%, var(--lime-light) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- STATS ----- */
.stats {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
  filter: blur(40px);
}
.stats::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
  filter: blur(40px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--white) 0%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ----- TESTIMONIAL ----- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 8px; left: 24px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--indigo-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-quote {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--lime-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--slate);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ----- PRICING ----- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}
.toggle-switch {
  position: relative;
  width: 56px;
  height: 32px;
  background: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t-base);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--t-base) var(--ease);
}
.toggle-switch.annual::after {
  transform: translateX(24px);
}
.toggle-switch.annual {
  background: var(--indigo);
}
.toggle-label {
  font-weight: 600;
  color: var(--ink);
  user-select: none;
  cursor: pointer;
}
.toggle-label.active { color: var(--ink); }
.toggle-label.inactive { color: var(--slate-light); }
.toggle-chip {
  display: inline-block;
  margin-left: 8px;
  background: var(--lime-light);
  color: var(--lime-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card--featured {
  border: 2px solid var(--indigo);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.04) 0%, transparent 100%);
}
.price-card--featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  margin-bottom: 8px;
}
.price-tagline {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 24px;
  min-height: 40px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.price-value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-period {
  font-size: 0.9rem;
  color: var(--slate);
}
.price-note {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 24px;
  min-height: 18px;
}
.price-cta {
  margin-bottom: 32px;
}
.price-cta .btn { width: 100%; }
.price-features {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.price-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--lime-dark);
  margin-top: 2px;
}

/* ----- FAQ ----- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base), transform var(--t-base);
}
.faq-icon svg {
  width: 14px; height: 14px;
  transition: transform var(--t-base) var(--ease);
}
.faq-item.open .faq-icon {
  background: var(--indigo);
  color: var(--white);
}
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
}
.faq-a-inner {
  padding: 0 0 22px 0;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ----- TABS ----- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.tab {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate);
  background: var(--white);
  transition: all var(--t-fast);
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ----- CTA BAND ----- */
.cta-band {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(132, 204, 22, 0.25) 0%, transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: var(--lime);
  color: var(--ink);
}
.cta-band .btn-primary:hover {
  background: var(--lime-dark);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.4);
}
.cta-band .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-band .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ----- FOOTER ----- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: var(--lime); }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--t-fast);
}
.footer-social a:hover { background: var(--indigo); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }

/* ----- PAGE HEADER (interior pages) ----- */
.page-hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ----- COOKIE BANNER ----- */
.cookie-banner {
  position: fixed;
  left: 24px; right: 24px;
  bottom: 24px;
  background: var(--ink);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 1000;
  max-width: 720px;
  margin: 0 auto;
  transform: translateY(120%);
  transition: transform var(--t-slow) var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  flex: 1;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.cookie-banner p a { color: var(--lime); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-actions .btn { padding: 8px 16px; font-size: 0.85rem; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* ----- COMPARISON TABLE ----- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.compare-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:hover td { background: var(--line-soft); }
.compare-yes { color: var(--lime-dark); font-weight: 700; }
.compare-no { color: var(--slate-light); }
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ----- BADGE ----- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-indigo {
  background: var(--indigo-light);
  color: var(--indigo);
}
.badge-lime {
  background: var(--lime-light);
  color: var(--lime-dark);
}

/* ----- CASE STUDY CARDS ----- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-card-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.case-card-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(132, 204, 22, 0.25) 0%, transparent 60%);
}
.case-card-cover img {
  position: relative;
  z-index: 1;
  max-height: 60px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.case-card-cover--2 {
  background: linear-gradient(135deg, #065F46 0%, var(--lime-dark) 100%);
}
.case-card-cover--3 {
  background: linear-gradient(135deg, var(--indigo) 0%, #1E40AF 100%);
}
.case-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.case-card .case-meta {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 12px;
}
.case-card p { font-size: 0.95rem; flex: 1; }
.case-card-stats {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.case-card-stat { flex: 1; min-width: 80px; }
.case-card-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: block;
}
.case-card-stat-label {
  font-size: 0.78rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----- FORM ----- */
.form-grid {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* ----- TEAM CARDS ----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform var(--t-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--lime-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.88rem; color: var(--indigo); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 0.88rem; color: var(--slate); line-height: 1.55; }

/* ----- REVEAL ON SCROLL ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- UTILS ----- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-6 { margin-top: 24px; }
.mt-10 { margin-top: 40px; }
.gap-3 { gap: 12px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.full-width { width: 100%; }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
