/* Xirvy Marketing Website — Design System & Layout */

:root {
  --volt: #0F766E;
  --volt-bright: #115E59;
  --volt-dark: #134E4A;
  --volt-light: #CCFBF1;
  --volt-wash: #F0FDFA;
  --ion: #F59E0B;
  --ink: #102A2A;
  --ink-soft: #274340;
  --muted: #5E706D;
  --bg: #FFFFFF;
  --bg-soft: #F4FAF8;
  --card: #FFFFFF;
  --border: rgba(16, 42, 42, 0.10);
  --border-strong: rgba(15, 118, 110, 0.24);
  --shadow: 0 4px 24px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 20px 60px rgba(19, 78, 74, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --max-width: 1180px;
  --nav-height: 76px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --transition: 0.22s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .decor-spark,
  .decor-aurora,
  .hero::before,
  .hero-glow {
    animation: none !important;
  }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--volt);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--volt-dark); }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--volt);
  color: #fff;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.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;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 0.85rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Showcase-inspired decoration system */
.section-decor {
  position: relative;
  overflow: hidden;
}

.section-decor > .container {
  position: relative;
  z-index: 1;
}

.decor-aurora,
.decor-dots,
.decor-waves,
.decor-spark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.decor-aurora {
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 45% 55% at 12% 40%, rgba(15, 118, 110, 0.45), transparent 60%),
    radial-gradient(ellipse 40% 50% at 88% 55%, rgba(245, 158, 11, 0.28), transparent 58%),
    radial-gradient(ellipse 35% 40% at 70% 15%, rgba(20, 184, 166, 0.22), transparent 55%);
  filter: blur(8px);
}

.section-decor.hero .decor-aurora,
.section-decor.product-hero .decor-aurora,
.section-decor.toolkit .decor-aurora,
.section-decor.storefront-section .decor-aurora,
.section-decor.capability-section .decor-aurora {
  background:
    radial-gradient(ellipse 50% 45% at 90% 15%, rgba(245, 158, 11, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 50% at 8% 75%, rgba(15, 118, 110, 0.14), transparent 55%);
  filter: blur(4px);
  opacity: 0.9;
}

.decor-dots {
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 15%, transparent 72%);
}

.section-decor.hero .decor-dots,
.section-decor.product-hero .decor-dots,
.section-decor.toolkit .decor-dots,
.section-decor.workflow .decor-dots,
.section-decor.storefront-section .decor-dots,
.section-decor.capability-section .decor-dots {
  opacity: 0.35;
  background-image: radial-gradient(rgba(15, 118, 110, 0.28) 1.1px, transparent 1.1px);
  background-size: 32px 32px;
}

.decor-waves {
  width: min(420px, 55vw);
  height: auto;
  opacity: 0.55;
  bottom: -2%;
  right: -2%;
}

.decor-waves--left {
  right: auto;
  left: -4%;
  bottom: 8%;
  transform: scaleX(-1);
  opacity: 0.4;
}

.decor-spark {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.85);
  animation: sparkPulse 3.6s ease-in-out infinite;
}

.decor-spark--a { top: 14%; left: 8%; animation-delay: 0s; }
.decor-spark--b { top: 22%; right: 12%; width: 14px; height: 14px; color: #F59E0B; animation-delay: 1.2s; }
.decor-spark--c { bottom: 18%; left: 18%; width: 12px; height: 12px; color: #14B8A6; animation-delay: 2s; }

@keyframes sparkPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

.text-gradient {
  background: linear-gradient(115deg, #0F766E 0%, #14B8A6 45%, #F59E0B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark-band .text-gradient,
.cta-band .text-gradient {
  background: linear-gradient(115deg, #99F6E4 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon-badge,
.offer-icon,
.feature-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--volt-light);
  color: var(--volt);
  border: 1.5px solid rgba(15, 118, 110, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.06);
}

.offer-icon { margin-bottom: 1.1rem; }
.offer-icon svg,
.icon-badge svg { width: 22px; height: 22px; }

.dark-band .feature-tile-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.28);
  color: #CCFBF1;
  border: 1.5px solid rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.dark-band .feature-tile-icon svg { width: 20px; height: 20px; }


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--volt);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.28);
}

.btn-primary:hover {
  background: var(--volt-bright);
  color: #fff;
}

.btn-static,
.btn[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.btn-static:hover,
.btn[aria-disabled="true"]:hover {
  transform: none;
}

.btn-primary.btn-static:hover,
.btn-primary[aria-disabled="true"]:hover {
  background: var(--volt);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--volt);
  color: var(--volt);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: var(--ink);
  line-height: 0;
}

.logo:hover { color: var(--ink); }

.logo-mark-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.logo-wordmark {
  display: block;
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.logo-wordmark .wm-spark {
  fill: #F59E0B;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo:hover {
  color: #fff;
}

.logo-word { color: var(--ink); }

.site-footer .logo-word { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: var(--nav-height);
}

.nav .logo {
  grid-column: 2;
  justify-self: center;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9375rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--volt);
}

.nav-cta {
  display: none;
}

.nav-balance {
  grid-column: 1;
  width: 44px;
  height: 44px;
  justify-self: start;
}

.nav-toggle {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
  pointer-events: none;
}

.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  grid-template-rows: 1fr;
  align-items: center;
  flex-shrink: 0;
  height: var(--nav-height);
  padding: 0 1.5rem;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.nav-mobile-header .logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.nav-close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  border-radius: 8px;
}

.nav-close:hover { color: var(--volt); }

.nav-close svg {
  width: 28px;
  height: 28px;
}

.nav-mobile-spacer {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  justify-self: start;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem 1.75rem 1.5rem;
  gap: 0.15rem;
  overflow-y: auto;
}

.nav-mobile-links a {
  display: block;
  padding: 1rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-mobile-links a:hover,
.nav-mobile-links a.active {
  color: var(--volt);
}

.nav-mobile-footer {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--volt-wash) 100%);
}

.nav-mobile-cta {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.28);
}

body.nav-open {
  overflow: hidden;
}

/* The drawer can't open without JS, so stack the links into the header instead */
@media (max-width: 899px) {
  html:not(.js) .site-header {
    height: auto;
  }

  html:not(.js) .nav {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0.85rem 0;
    row-gap: 0.6rem;
  }

  html:not(.js) .nav .logo {
    grid-column: 1;
  }

  html:not(.js) .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-column: 1;
    gap: 0.6rem 1.25rem;
  }

  html:not(.js) .nav-toggle,
  html:not(.js) .nav-balance,
  html:not(.js) .nav-mobile {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile { transition: none; }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .nav .logo {
    justify-self: auto;
  }

  .nav-links {
    display: flex;
    margin-left: auto;
    margin-right: 1.25rem;
  }

  .nav-cta { display: inline-flex; }
  .nav-toggle,
  .nav-balance { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(245, 158, 11, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(15, 118, 110, 0.12), transparent 50%),
    linear-gradient(165deg, #F0FDFA 0%, #FFFFFF 48%, #F4FAF8 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  animation: heroDrift 28s linear infinite;
}

@keyframes heroDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-48px); }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-trial {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--volt-wash);
  color: var(--volt-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-trial-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--volt);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin-bottom: 1.1rem;
  max-width: 16ch;
}

.hero-content > p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.35), transparent 70%);
  filter: blur(20px);
  top: 10%;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.phone-frame {
  position: relative;
  width: min(280px, 100%);
  background: var(--ink);
  border-radius: 28px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  animation: heroRise 0.9s ease both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: heroRise 0.7s ease both;
}

.phone-notch {
  width: 96px;
  height: 8px;
  background: #1A3D3A;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
}

.phone-header {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  padding: 0.65rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.phone-product {
  padding: 1rem;
}

.phone-product-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--volt-light), #CCFBF1);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.phone-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-product h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.phone-product .price {
  font-weight: 700;
  color: var(--volt);
  margin-bottom: 0.75rem;
}

.tier-widget {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.tier-widget-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.65rem;
  background: var(--volt-light);
  color: var(--volt-dark);
}

.tier-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

.tier-row.active {
  background: var(--volt);
  color: #fff;
  font-weight: 700;
}

.tier-badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.tier-row:not(.active) .tier-badge {
  background: var(--volt-light);
  color: var(--volt);
}

@media (min-width: 900px) {
  .hero { padding: 5.5rem 0 6rem; }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

/* Trust strip */
.trust {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.trust-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--volt);
  flex-shrink: 0;
}

/* Stats */
.stats {
  padding: 3.5rem 0;
  background: var(--bg-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--volt);
  line-height: 1.1;
}

.stat-item .stat-label {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Offers */
.offers {
  padding: 5rem 0;
}

.offers-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.offer-icon svg { width: 22px; height: 22px; }

.offer-card h3 { margin-bottom: 0.5rem; }

.offer-card p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 700px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
  .offers-grid .offer-card:nth-child(4),
  .offers-grid .offer-card:nth-child(5) {
    grid-column: span 1;
  }
  .offers-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .offers-grid .offer-card:nth-child(1),
  .offers-grid .offer-card:nth-child(2),
  .offers-grid .offer-card:nth-child(3) {
    grid-column: span 2;
  }
  .offers-grid .offer-card:nth-child(4),
  .offers-grid .offer-card:nth-child(5) {
    grid-column: span 3;
  }
}

/* Toolkit */
.toolkit {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--volt-wash) 100%);
}

.toolkit-grid {
  display: grid;
  gap: 1.25rem;
}

.toolkit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.toolkit-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.toolkit-card p {
  color: var(--muted);
  font-size: 0.975rem;
}

.toolkit-visual {
  margin-top: 1.25rem;
  min-height: 88px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.mini-tier-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mini-tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 650;
}

.mini-tier.active {
  background: var(--volt);
  color: #fff;
  border-color: var(--volt);
}

.swatch-row {
  display: flex;
  gap: 0.5rem;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}

.checkout-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--volt-light);
  color: var(--volt-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
}

.checkout-pill svg { width: 18px; height: 18px; }

@media (min-width: 768px) {
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .toolkit-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Workflow */
.workflow {
  padding: 5rem 0;
}

.steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--volt);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 { margin-bottom: 0.45rem; }

.step p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* Dark band */
.dark-band {
  padding: 5rem 0;
  background: linear-gradient(145deg, var(--ink) 0%, #1A3D3A 55%, var(--volt-dark) 100%);
  color: #fff;
}

.dark-band h2,
.dark-band h3 { color: #fff; }

.dark-band .section-lead { color: rgba(255, 255, 255, 0.72); }

.features-grid {
  display: grid;
  gap: 1rem;
}

.feature-tile {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.feature-tile p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.925rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Pricing */
.pricing {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  margin: -1.5rem auto 2.5rem;
  max-width: 560px;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-card.featured {
  border-color: var(--volt);
  box-shadow: 0 12px 40px rgba(15, 118, 110, 0.16);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.25rem;
  background: var(--volt);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 1.1rem;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card .cap {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  flex: 1;
}

.pricing-card .btn { width: 100%; margin-top: auto; }

@media (min-width: 700px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* FAQ */
.faq {
  padding: 5rem 0;
}

.faq-grid {
  display: grid;
  gap: 2.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--volt);
  font-weight: 500;
}

.faq-item[open] summary::after { content: '−'; }

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* CTA band */
.cta-band {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(245, 158, 11, 0.35), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--volt-dark) 100%);
  color: #fff;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
}

.cta-inner .btn-group {
  justify-content: center;
}

.cta-band .highlight {
  background: linear-gradient(115deg, #99F6E4 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.925rem;
  max-width: 28ch;
  line-height: 1.65;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.925rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* Reveal motion */
/* Hidden state is gated on .js so sections stay visible if the script never runs */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 520px;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: heroRise 0.35s ease both;
}

.cookie-banner h2 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cookie-banner a {
  font-weight: 650;
}

.cookie-prefs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cookie-option {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.cookie-option input {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--volt);
  flex-shrink: 0;
}

.cookie-option strong {
  color: var(--ink);
}

.cookie-option-locked {
  cursor: default;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cookie-actions .btn-primary {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.cookie-actions-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
}

.cookie-action-quiet {
  background: none;
  border: none;
  padding: 0.2rem 0;
  margin: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: transparent;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.cookie-action-quiet:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* Footer cookie-settings trigger styled as a link */
.footer-col button.link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  font-size: 0.925rem;
  text-align: left;
}

.footer-col button.link-btn:hover { color: #fff; }

/* Inline button styled as a text link (e.g. Cookie settings within prose) */
button.inline-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--volt);
  text-decoration: underline;
  cursor: pointer;
}

button.inline-link:hover { color: var(--volt-dark); }

@media (min-width: 640px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    margin: 0;
  }
}
