/* ============================================================
   LIQPOS Landing Page - landing.css
   Aesthetic: Refined dark-slate + emerald. Editorial hierarchy.
   System font with tight optical tracking. Zero CDN deps.
   ============================================================ */

/* ── Reset & Root ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --slate:        #050f10;
  --slate-800:    #0b2321;
  --slate-700:    #134e43;
  --slate-600:    #2f6b59;
  --emerald:      #047857;
  --emerald-mid:  #0b2321;
  --emerald-deep: #0b6048;
  --emerald-light:#10b981;
  --mint:         #bbf7d6;
  --mint-pale:    #f0fdf4;
  --white:        #ffffff;
  --ink:          #0b2321;
  --ink-muted:    #3f5c52;
  --surface:      #ffffff;
  --surface-alt:  #f5faf8;
  --border:       #dceae4;
  --border-dark:  rgba(255,255,255,0.08);

  /* Gradients */
  --hero-gradient:  linear-gradient(160deg,#050f10 0%,#0b2321 55%,#047857 100%);
  --brand-gradient: linear-gradient(150deg,#050f10 0%,#0b2321 40%,#047857 80%,#29e187 100%);

  /* Radius */
  --radius:    18px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.04);
  --shadow-md: 0 10px 30px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.18);
  --shadow-xl: 0 40px 80px rgba(15,23,42,.24);

  /* Layout */
  --maxw:   1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Transitions */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
}

/* ── Montserrat (self-hosted, OFL licence) ────────────────── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/montserrat-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing/fonts/montserrat-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landing/fonts/montserrat-700.woff2') format('woff2');
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
               Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Typography ───────────────────────────────────────────── */
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink-muted);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  display: block;
  margin-bottom: 0.75rem;
}

.eyebrow--light {
  color: var(--mint);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Section spacing ──────────────────────────────────────── */
section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section--light-alt {
  background: var(--surface-alt);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease-out),
              box-shadow 0.18s var(--ease-out),
              background-color 0.18s var(--ease-in-out),
              border-color 0.18s var(--ease-in-out),
              opacity 0.18s var(--ease-in-out);
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.btn-solid {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn-solid:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  box-shadow: 0 8px 24px rgba(4,120,87,0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  box-shadow: var(--shadow-sm);
}

/* Ghost on light background */
.btn-ghost--light {
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost--light:hover {
  background: var(--surface-alt);
  border-color: var(--slate-600);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.0625rem;
}

/* ── Sticky Nav ───────────────────────────────────────────── */
/* ONLY #site-header is sticky. No other element may be position:sticky or fixed. */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--slate);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.25s var(--ease-in-out);
}

#site-header.scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), var(--shadow-sm);
}

nav {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
  flex: 1;
  margin-inline-start: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-actions .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  min-height: 38px;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.nav-toggle:hover {
  border-color: rgba(255,255,255,0.5);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav menu */
#nav-menu {
  display: none;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem var(--gutter) 1.75rem;
}

#nav-menu.open {
  display: block;
}

.nav-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
}

.nav-menu-links a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s;
}

.nav-menu-links a:hover {
  color: var(--white);
}

.nav-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.nav-menu-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ── Desktop nav breakpoint ───────────────────────────────── */
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  #nav-menu {
    display: none !important;
  }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
  /* No extra top padding needed - nav is sticky and separate */
}

/* Atmospheric radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 30%, rgba(41,225,135,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(4,120,87,0.15) 0%, transparent 55%);
  pointer-events: none;
}

/* Subtle grain overlay for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
}

/* Accent underline on hero H1 last line */
.hero-copy h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero-copy .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
  align-items: center;
}

.hero-trust {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.hero-image-wrap {
  position: relative;
}

/* Hero screenshot: white panel for contrast on the dark gradient background */
.hero-image-wrap .screenshot-frame {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.625rem;
  width: 100%;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Decorative card glow behind hero image */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius) + 12px);
  background: radial-gradient(ellipse, rgba(4,120,87,0.25) 0%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

/* ── Empties & Deposits Section ───────────────────────────── */
.empties-section {
  background: var(--surface);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-row--reverse .feature-row-image {
  order: 0;
}

.feature-row--reverse .feature-row-copy {
  order: 1;
}

@media (min-width: 860px) {
  .feature-row--reverse .feature-row-image {
    order: -1;
  }

  .feature-row--reverse .feature-row-copy {
    order: 0;
  }
}

.feature-row-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screenshot frame: light panel with border + shadow so UI is readable on any background */
.feature-row-image .screenshot-frame {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 0.75rem;
  width: 100%;
}

.feature-row-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.feature-row-copy h2 {
  color: var(--ink);
  margin-bottom: 1rem;
}

.feature-row-copy p {
  margin-bottom: 1.5rem;
}

/* Bullet list with CSS check glyphs */
.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.feature-bullets li::before {
  content: '';
  display: inline-flex;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--mint-pale);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='%23047857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  margin-top: 1px;
}

/* ── Feature Grid ─────────────────────────────────────────── */
.features-section {
  background: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header h2 {
  color: var(--ink);
  margin-bottom: 0.875rem;
}

.section-header p {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.375rem;
}

/* Card icon glyphs - SVG data URIs per card, inline via nth-child */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease-out),
              box-shadow 0.22s var(--ease-out),
              border-color 0.22s var(--ease-in-out);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(4,120,87,0.2);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(4, 120, 87, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  font-size: 1.375rem;
  color: var(--emerald-deep);
  line-height: 1;
  flex-shrink: 0;
}

.feature-card h3 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── Feature Detail (inventory / reports) ─────────────────── */
.feature-detail {
  background: var(--surface);
}

.feature-detail.alt {
  background: var(--surface-alt);
}

/* ── Audience Section ─────────────────────────────────────── */
.audience-section {
  background: var(--surface-alt);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.375rem;
  margin-top: 0;
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.audience-card h3 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-section {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(41,225,135,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 90%, rgba(4,120,87,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pricing-inner .eyebrow--light {
  margin-bottom: 0.75rem;
}

.pricing-inner h2 {
  color: var(--white);
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  margin-inline: auto;
  padding: 2.5rem 2rem;
  text-align: left;
}

.trial-badge {
  display: inline-block;
  background: var(--mint);
  color: var(--emerald-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.price-display {
  margin-bottom: 0.5rem;
}

#price-amount {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

#card-note {
  font-size: 0.875rem;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 0;
  min-height: 1.2em;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-block: 1.25rem;
}

.pricing-one-price {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* ── Skeleton shimmer ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    #e2e8f0 25%,
    #f1f5f9 50%,
    #e2e8f0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
  color: transparent !important;
  min-height: 1em;
  min-width: 6ch;
  display: inline-block;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  background: var(--surface);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details.faq-item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

details.faq-item[open] {
  border-color: rgba(4,120,87,0.3);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.4;
  list-style: none;
  transition: color 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%23047857' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  transform: rotate(180deg);
}

details.faq-item summary:hover {
  color: var(--emerald);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--brand-gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(41,225,135,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
}

.cta-band-inner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-band-inner p {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  margin-bottom: 2rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  align-items: center;
}

/* ── Footer ───────────────────────────────────────────────── */
/* Three-zone layout: logo left | links centre | copyright+contact right */
footer {
  background: var(--slate);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* Three-column grid on wider screens */
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
  }
}

/* LEFT: logo only */
.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

/* CENTRE: links */
.footer-center {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.35rem;
  list-style: none;
  justify-content: center;
}

@media (max-width: 719px) {
  .footer-links {
    justify-content: flex-start;
  }
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--mint);
}

/* RIGHT: copyright + contact stacked, right-aligned */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .footer-right {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  white-space: nowrap;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}

.footer-contact a:hover {
  color: var(--mint);
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger siblings inside reveal containers */
.hero-copy > .reveal:nth-child(1) { transition-delay: 0s; }
.hero-copy > .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-copy > .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-copy > .reveal:nth-child(4) { transition-delay: 0.24s; }

.hero-image-wrap.reveal { transition-delay: 0.12s; }

.feature-grid .reveal:nth-child(1) { transition-delay: 0s; }
.feature-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.feature-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.feature-grid .reveal:nth-child(6) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(7) { transition-delay: 0.16s; }
.feature-grid .reveal:nth-child(8) { transition-delay: 0.24s; }

.feature-bullets .reveal:nth-child(1) { transition-delay: 0.08s; }
.feature-bullets .reveal:nth-child(2) { transition-delay: 0.16s; }
.feature-bullets .reveal:nth-child(3) { transition-delay: 0.24s; }

.faq-list .reveal:nth-child(1)  { transition-delay: 0s; }
.faq-list .reveal:nth-child(2)  { transition-delay: 0.06s; }
.faq-list .reveal:nth-child(3)  { transition-delay: 0.12s; }
.faq-list .reveal:nth-child(4)  { transition-delay: 0.18s; }
.faq-list .reveal:nth-child(5)  { transition-delay: 0.24s; }
.faq-list .reveal:nth-child(6)  { transition-delay: 0.30s; }
.faq-list .reveal:nth-child(7)  { transition-delay: 0.06s; }
.faq-list .reveal:nth-child(8)  { transition-delay: 0.12s; }
.faq-list .reveal:nth-child(9)  { transition-delay: 0.18s; }
.faq-list .reveal:nth-child(10) { transition-delay: 0.24s; }
.faq-list .reveal:nth-child(11) { transition-delay: 0.30s; }
.faq-list .reveal:nth-child(12) { transition-delay: 0.06s; }
.faq-list .reveal:nth-child(13) { transition-delay: 0.12s; }

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .skeleton {
    animation: none;
  }
}

/* ── Images ───────────────────────────────────────────────── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Utility ──────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Lightbox trigger button ──────────────────────────────── */
/* Wraps each product screenshot. Transparent button chrome,
   inherits the frame layout, zoom cursor cues the interaction. */
.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  position: relative;
  /* Ensure focus ring is visible inside the white screenshot frame */
  outline-offset: 3px;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--emerald);
}

/* Badge: small expand-icon shown on hover / focus */
.lightbox-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(15, 23, 42, 0.65);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.18s var(--ease-in-out);
  pointer-events: none;
}

.lightbox-badge svg {
  width: 16px;
  height: 16px;
  display: block;
}

.lightbox-trigger:hover .lightbox-badge,
.lightbox-trigger:focus-visible .lightbox-badge {
  opacity: 1;
}

/* ── Lightbox overlay ─────────────────────────────────────── */
/* Single full-screen overlay; display toggled via .is-open class.
   Starts invisible (opacity 0, scale down) then transitions in. */
#lightbox-overlay {
  display: none;           /* hidden until opened */
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  /* When shown, flex layout centres the image */
}

#lightbox-overlay.is-open {
  display: flex;
}

/* Fade + subtle scale-up animation on open */
#lightbox-overlay .lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

#lightbox-overlay.is-open .lightbox-content {
  opacity: 1;
  transform: scale(1);
}

#lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

/* Close button - positioned top-right of the content box.
   Minimum 48px touch target, always reachable. */
#lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.375rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s var(--ease-in-out),
              border-color 0.18s var(--ease-in-out),
              transform 0.18s var(--ease-out);
  flex-shrink: 0;
}

#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  transform: scale(1.1);
}

#lightbox-close:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* On very small screens push the close button inside the image area */
@media (max-width: 480px) {
  #lightbox-close {
    top: 8px;
    right: 8px;
  }
}

/* ── Lightbox: body scroll lock ───────────────────────────── */
body.lightbox-open {
  overflow: hidden;
}

/* ── Lightbox: reduced-motion overrides ──────────────────── */
/* The global reduced-motion rule collapses all transitions to 0.001ms,
   which already covers the overlay. Nothing extra needed here. */

/* Blog ─────────────────────────────────────────────────────── */

/* ── Blog main: default light surface ───────────────────────── */
.blog-main {
  background: var(--surface);
  min-height: calc(100vh - 72px);
}

/* ── Blog article page: tinted background so the card sits elevated ── */
.blog-main--article {
  background: var(--surface-alt);
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.blog-breadcrumb {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding-block: 0.75rem;
}

.blog-breadcrumb nav {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 0;
  display: block;
}

.blog-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.25rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-muted);
  align-items: center;
}

.blog-breadcrumb ol li + li::before {
  content: '›';
  padding-inline-end: 0.25rem;
  color: var(--ink-muted);
}

.blog-breadcrumb a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.15s;
}

.blog-breadcrumb a:hover {
  color: var(--emerald-light);
}

/* ── Article card wrap: outer spacing on tinted background ──────── */
.blog-article-wrap {
  padding-inline: var(--gutter);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* ── Article layout: raised white card with shadow ──────────────── */
.blog-article {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.blog-article h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article-body p {
  color: var(--ink);
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article-body h2 {
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 700;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body h3::before {
  content: '\25B8';
  color: var(--emerald);
  font-size: 0.85em;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Blog index section ──────────────────────────────────────── */
.blog-index-section {
  background: var(--surface-alt);
  min-height: calc(100vh - 72px);
}

/* Hero band: brand gradient matching the site's hero/pricing/CTA surfaces */
.blog-index-hero {
  background: var(--brand-gradient);
  position: relative;
  overflow: hidden;
}

/* Atmospheric radial glow — same treatment as .hero */
.blog-index-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(41,225,135,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(4,120,87,0.15) 0%, transparent 55%);
  pointer-events: none;
}

.blog-index-hero .container {
  position: relative;
  z-index: 1;
}

.blog-index-header {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

/* Headings and text inside the gradient hero must be white */
.blog-index-header h1 {
  color: var(--white);
}

.blog-index-intro {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.65;
}

/* Cards section: sits below the gradient band on the light surface */
.blog-cards-section {
  background: var(--surface-alt);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* ── Blog card ───────────────────────────────────────────────── */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card .blog-card-title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.blog-card .blog-card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.blog-card .blog-card-title a:hover {
  color: var(--emerald);
}

.blog-card .post-date {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.blog-card .blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.blog-card .read-article-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--emerald);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  transition: color 0.15s, gap 0.15s;
}

.blog-card .read-article-link:hover {
  color: var(--emerald-light);
  gap: 0.55rem;
}

/* Blog card grid: single column on mobile, two columns on wider screens */
.blog-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Article CTA band ────────────────────────────────────────── */
.article-cta {
  background: var(--brand-gradient);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(41,225,135,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.article-cta-inner {
  position: relative;
  z-index: 1;
}

.article-cta h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
}

.article-cta-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.875rem;
  margin-bottom: 0 !important;
}

/* End Blog ──────────────────────────────────────────────────── */
