/* FosterPanel Dark Ops — from design-ref/DESIGN.md */

:root,
html.dark {
  color-scheme: dark;
  --fp-background: #111415;
  --fp-on-background: #e1e2e4;
  --fp-surface: #111415;
  --fp-surface-dim: #111415;
  --fp-surface-bright: #37393b;
  --fp-surface-container-lowest: #0c0f10;
  --fp-surface-container-low: #191c1e;
  --fp-surface-container: #1d2022;
  --fp-surface-container-high: #282a2c;
  --fp-surface-container-highest: #333537;
  --fp-surface-variant: #333537;
  --fp-on-surface: #e1e2e4;
  --fp-on-surface-variant: #bbcabf;
  --fp-outline: #86948a;
  --fp-outline-variant: #3c4a42;
  --fp-primary: #4edea3;
  --fp-on-primary: #003824;
  --fp-primary-container: #10b981;
  --fp-on-primary-container: #00422b;
  --fp-inverse-primary: #006c49;
  --fp-emerald-dark: #00684a;
  --fp-secondary: #bec6e0;
  --fp-error: #ffb4ab;
  --fp-error-container: #93000a;
  --fp-surface-border: rgba(248, 249, 251, 0.1);
  --fp-glass-bg: rgba(15, 23, 42, 0.8);
  --fp-card-glow: rgba(255, 255, 255, 0.03);
  --fp-foster-glow: rgba(16, 185, 129, 0.15);
  --fp-hero-mesh: radial-gradient(at 50% 0%, rgba(78, 222, 163, 0.15) 0px, transparent 50%);
  --fp-scrollbar: #475569;
}

html.light {
  color-scheme: light;
  --fp-background: #f8f9ff;
  --fp-on-background: #0b1c30;
  --fp-surface: #f8f9ff;
  --fp-surface-dim: #cbdbf5;
  --fp-surface-bright: #f8f9ff;
  --fp-surface-container-lowest: #ffffff;
  --fp-surface-container-low: #eff4ff;
  --fp-surface-container: #e5eeff;
  --fp-surface-container-high: #dce9ff;
  --fp-surface-container-highest: #d3e4fe;
  --fp-surface-variant: #d3e4fe;
  --fp-on-surface: #0b1c30;
  --fp-on-surface-variant: #3c4a42;
  --fp-outline: #6c7a71;
  --fp-outline-variant: #bbcabf;
  --fp-primary: #006c49;
  --fp-on-primary: #ffffff;
  --fp-primary-container: #10b981;
  --fp-on-primary-container: #00422b;
  --fp-inverse-primary: #4edea3;
  --fp-emerald-dark: #00684a;
  --fp-secondary: #565e74;
  --fp-error: #ba1a1a;
  --fp-error-container: #ffdad6;
  --fp-surface-border: rgba(11, 28, 48, 0.1);
  --fp-glass-bg: rgba(255, 255, 255, 0.78);
  --fp-card-glow: rgba(0, 108, 73, 0.03);
  --fp-foster-glow: rgba(16, 185, 129, 0.12);
  --fp-hero-mesh: radial-gradient(at 50% 0%, rgba(0, 108, 73, 0.12) 0px, transparent 50%);
  --fp-scrollbar: #bbcabf;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}

#features,
#protection,
#pricing,
#cut-cost,
.lp-scroll-anchor {
  scroll-margin-top: 0;
}

.lp-scroll-anchor {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 24px;
  background: var(--fp-background);
  color: var(--fp-on-surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--fp-primary);
  color: var(--fp-on-primary);
}

/* Themed scrollbars (Firefox + WebKit) */
* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--fp-primary) 45%, var(--fp-surface-border))
    var(--fp-surface-container-lowest);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--fp-surface-container-lowest);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--fp-primary) 40%, var(--fp-surface-border));
  border-radius: 999px;
  border: 2px solid var(--fp-surface-container-lowest);
}

*::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--fp-primary) 70%, var(--fp-surface-border));
}

*::-webkit-scrollbar-corner {
  background: var(--fp-surface-container-lowest);
}

html.light * {
  scrollbar-color: color-mix(in srgb, var(--fp-primary) 35%, #c5c9c4) #f3f4f2;
}

html.light *::-webkit-scrollbar-track {
  background: #f3f4f2;
}

html.light *::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--fp-primary) 35%, #c5c9c4);
  border-color: #f3f4f2;
}

html.light *::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--fp-primary) 55%, #c5c9c4);
}

html.light *::-webkit-scrollbar-corner {
  background: #f3f4f2;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  user-select: none;
}

/* Typography — panel parity */
.font-label-sm {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.font-label-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.04em;
}

.font-cta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.font-caption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0.1em;
}

.text-headline-xl {
  font-family: Inter, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .text-headline-xl {
    font-size: 64px;
    line-height: 72px;
  }
}

.text-headline-lg {
  font-family: Inter, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -0.01em;
}

.text-body-md {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.text-body-sm {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.text-muted {
  color: var(--fp-on-surface-variant);
}

.text-primary {
  color: var(--fp-primary);
}

/* Full-bleed chrome (Vercel-style edge padding) */
.lp-shell {
  width: 100%;
  margin-inline: 0;
  padding-inline: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .lp-shell {
    padding-inline: 32px;
  }
}

@media (min-width: 1200px) {
  .lp-shell {
    padding-inline: 40px;
  }
}

/* Content sections stay centered; chrome uses .lp-shell */
.lp-container {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .lp-container {
    width: min(1280px, calc(100% - 96px));
  }
}

.lp-section {
  padding: 96px 0;
}

.lp-pattern {
  position: relative;
  isolation: isolate;
  /* Keep visible so hash scroll-margin works (overflow:hidden breaks it) */
  overflow: visible;
  background-color: var(--fp-background);
}

.lp-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgb(78 222 163 / 0.09), transparent 60%),
    linear-gradient(rgb(78 222 163 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(78 222 163 / 0.045) 1px, transparent 1px);
  background-size:
    100% 100%,
    48px 48px,
    48px 48px;
  background-position: center top, center center, center center;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 78%);
}

html.light .lp-pattern::before {
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgb(0 108 73 / 0.08), transparent 60%),
    linear-gradient(rgb(0 108 73 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 108 73 / 0.05) 1px, transparent 1px);
}

.lp-pattern > * {
  position: relative;
  z-index: 1;
}

.lp-section-head {
  margin-bottom: 64px;
}

.lp-section-head.center {
  text-align: center;
}

.lp-section-head.center p {
  margin: 16px auto 0;
  max-width: 36rem;
}

.lp-section-head.center p.lp-pricing-compare {
  max-width: 42rem;
  line-height: 1.65;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: 64px;
  height: auto;
  background: var(--fp-glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fp-surface-border);
}

.lp-nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fp-on-surface);
  flex-shrink: 0;
}

.lp-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.lp-brand-text {
  line-height: 1;
}

.lp-nav-links {
  display: none;
  align-items: center;
  gap: 22px;
}

.lp-nav-links a {
  color: var(--fp-on-surface-variant);
  line-height: 1;
  transition: color 0.2s ease;
}

.lp-nav-links a:hover,
.lp-nav-links a.is-active {
  color: var(--fp-primary);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lp-nav-why {
  white-space: nowrap;
}

.lp-nav-toggle {
  display: inline-flex;
}

.lp-nav-drawer {
  display: none;
  border-top: 1px solid var(--fp-surface-border);
  background: var(--fp-glass-bg);
  backdrop-filter: blur(16px);
  padding: 12px 20px 20px;
}

.lp-nav-drawer.is-open,
.lp-nav-drawer:not([hidden]) {
  display: block;
}

.lp-nav-drawer[hidden] {
  display: none !important;
}

.lp-nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-nav-drawer-links a:not(.btn) {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  border-radius: 0.5rem;
  color: var(--fp-on-surface-variant);
  font-size: 13px;
}

.lp-nav-drawer-links a:not(.btn):hover,
.lp-nav-drawer-links a:not(.btn).is-active {
  color: var(--fp-primary);
  background: color-mix(in srgb, var(--fp-primary) 8%, transparent);
}

.lp-nav-drawer-links .btn {
  margin-top: 8px;
  justify-content: center;
  width: 100%;
}

.lp-nav-drawer-links .btn-primary,
.lp-nav-drawer-links .btn-primary:hover,
.lp-nav-drawer-links .btn-primary:focus-visible {
  color: var(--fp-on-primary);
  background: var(--fp-primary);
  background-image: none;
}

body.lp-nav-open {
  overflow: hidden;
}

@media (min-width: 860px) {
  .lp-nav-links {
    display: flex;
  }

  .lp-nav-toggle,
  .lp-nav-drawer {
    display: none !important;
  }
}

@media (max-width: 859px) {
  .hide-md {
    display: none !important;
  }

  .lp-nav-cta {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 400px) {
  .lp-brand-text {
    display: none;
  }

  .lp-nav-cta {
    font-size: 11px;
    padding-inline: 0.75rem;
  }
}

/* Buttons — panel style (font-label-sm + rounded) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  padding: 0.5rem 1.35rem;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  transition: background 0.15s ease, filter 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--fp-primary);
  color: var(--fp-on-primary);
}

.btn-primary:hover {
  filter: brightness(0.95);
}

html.dark .btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--fp-surface);
  color: var(--fp-on-surface);
  border-color: var(--fp-outline-variant);
}

html.dark .btn-secondary {
  background: transparent;
  border-color: var(--fp-surface-border);
  color: var(--fp-on-surface);
}

.btn-secondary:hover {
  background: var(--fp-surface-container);
}

.btn-inverse {
  background: var(--fp-on-surface);
  color: var(--fp-background);
}

.btn-inverse:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  background: transparent;
  color: var(--fp-on-surface-variant);
  padding: 0.45rem;
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--fp-on-surface);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.65rem 1.5rem;
}

.btn-xl {
  padding: 0.85rem 2rem;
}

/* Hero */
.lp-main {
  padding-top: 64px;
}

.lp-hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.5rem 0 1.25rem;
  overflow: hidden;
  background-image: var(--fp-hero-mesh);
}

.lp-hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  height: 100%;
  max-height: 100dvh;
}

.lp-hero-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
  flex: 0 0 auto;
}

.lp-hero-shot-wrap {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 32px));
  margin: 1.5rem auto 0;
  flex: 0 1 auto;
  max-height: min(42dvh, 420px);
}

.lp-hero-shot-wrap .lp-browser {
  max-height: inherit;
}

.lp-hero-shot-wrap .lp-shot {
  max-height: min(36dvh, 360px);
  aspect-ratio: auto;
}

.lp-hero-shot-wrap .lp-shot-img {
  max-height: min(36dvh, 360px);
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--fp-surface-border);
  background: var(--fp-card-glow);
  color: var(--fp-on-surface-variant);
  text-transform: uppercase;
}

.lp-typing {
  min-height: 1.6em;
  margin: 20px auto 0;
  max-width: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--fp-primary);
  font-weight: 600;
  font-size: 16px;
}

.lp-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--fp-primary);
  animation: lp-blink 1s steps(1) infinite;
}

@keyframes lp-blink {
  50% {
    opacity: 0;
  }
}

.lp-hero-lead {
  margin: 24px auto 0;
  max-width: 36rem;
  color: var(--fp-on-surface-variant);
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.lp-hero-shot-wrap::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: rgb(78 222 163 / 0.12);
  filter: blur(100px);
  z-index: -1;
  border-radius: 999px;
}

.lp-browser {
  border-radius: 0.75rem;
  border: 1px solid var(--fp-surface-border);
  background: color-mix(in srgb, var(--fp-surface-container) 50%, transparent);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: perspective(1200px) rotateX(8deg);
  transition: transform 0.7s ease;
}

.lp-browser:hover {
  transform: perspective(1200px) rotateX(0deg);
}

.lp-browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--fp-surface-container-high);
  border-bottom: 1px solid var(--fp-surface-border);
}

.lp-browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fp-surface-variant);
}

.lp-browser-dot:nth-child(1) {
  background: var(--fp-error-container);
}

.lp-browser-dot:nth-child(3) {
  background: var(--fp-primary-container);
}

.lp-shot {
  margin: 0;
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 1440 / 900;
  background: var(--fp-surface-container-lowest);
  overflow: hidden;
}

.lp-shot:focus-visible {
  outline: 2px solid var(--fp-primary);
  outline-offset: 3px;
}

.lp-shot-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.lp-shot-dark {
  display: none;
}

html.dark .lp-shot-lite {
  display: none;
}

html.dark .lp-shot-dark {
  display: block;
}

html.light .lp-shot-lite {
  display: block;
}

html.light .lp-shot-dark {
  display: none;
}

.lp-shot-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 0.375rem;
  border: 1px solid var(--fp-surface-border);
  background: var(--fp-glass-bg);
  backdrop-filter: blur(8px);
  color: var(--fp-on-surface);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.lp-shot-expand .material-symbols-outlined {
  font-size: 16px;
}

.lp-shot:hover .lp-shot-expand,
.lp-shot:focus-visible .lp-shot-expand {
  opacity: 1;
}

/* Lightbox */
.lp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lp-lightbox[hidden] {
  display: none !important;
}

.lp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.82);
  backdrop-filter: blur(8px);
}

.lp-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-lightbox-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  border-radius: 0.75rem;
  border: 1px solid var(--fp-surface-border);
  background: var(--fp-surface-container-lowest);
}

.lp-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-lightbox-bar p {
  margin: 0;
  color: var(--fp-on-surface-variant);
}

body.lp-lightbox-open {
  overflow: hidden;
}

/* Trust / provider carousel */
.lp-trust {
  border-block: 1px solid var(--fp-surface-border);
  background: var(--fp-surface-container-lowest);
  padding: 56px 0 52px;
  overflow: hidden;
  width: 100%;
}

.lp-trust-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fp-on-surface-variant);
  margin: 0 auto 36px;
  opacity: 0.85;
}

.lp-carousel {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.lp-carousel-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 72px;
  padding-block: 12px;
  padding-inline: 48px;
  animation: lp-carousel-scroll 40s linear infinite;
  will-change: transform;
}

.lp-carousel:hover .lp-carousel-track {
  animation-play-state: paused;
}

.lp-carousel-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  min-width: 160px;
  opacity: 0.78;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.lp-carousel-item:hover {
  opacity: 1;
  filter: none;
}

.lp-carousel-item img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

html.dark .lp-carousel-item img {
  filter: brightness(1.08);
}

html.dark .lp-carousel-item:hover {
  filter: none;
}

html.dark .lp-carousel-item:hover img {
  filter: none;
}

@keyframes lp-carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* 4 identical sets → shift by 1/4 of track */
    transform: translateX(-25%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-carousel {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .lp-carousel-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 40px 64px;
  }

  .lp-carousel-item[aria-hidden="true"] {
    display: none;
  }
}

/* Core cards */
.lp-core-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .lp-core-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-core-card {
  border: 1px solid var(--fp-surface-border);
  background: var(--fp-surface-container);
  border-radius: 0.75rem;
  padding: 32px;
  backdrop-filter: blur(12px);
  background-image: linear-gradient(var(--fp-card-glow), var(--fp-card-glow));
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lp-core-card:hover {
  border-color: rgba(78, 222, 163, 0.3);
  box-shadow: inset 0 0 20px rgba(78, 222, 163, 0.1);
}

.lp-core-card .icon {
  display: block;
  color: var(--fp-primary);
  font-size: 32px;
  margin-bottom: 24px;
}

.lp-core-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.lp-core-card p {
  margin: 0;
  color: var(--fp-on-surface-variant);
  font-size: 14px;
  line-height: 20px;
}

.lp-core-card .lp-shot {
  margin-top: 20px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--fp-surface-border);
}

/* Bento */
.lp-bento-band {
  background: var(--fp-surface-container-lowest);
  border-block: 1px solid var(--fp-surface-border);
}

.lp-bento-band.lp-pattern {
  /* Keep band tone; pattern layers via ::before */
  background-color: var(--fp-surface-container-lowest);
}

.lp-bento {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .lp-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-bento-card {
  border: 1px solid var(--fp-surface-border);
  background: var(--fp-surface);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lp-bento-card .copy {
  padding: 32px;
  border-bottom: 1px solid var(--fp-surface-border);
}

.lp-bento-card .copy h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.lp-bento-card .copy p {
  margin: 0;
  color: var(--fp-on-surface-variant);
  font-size: 14px;
  line-height: 20px;
}

.lp-bento-card .media {
  flex: 1;
  padding: 24px;
  background: var(--fp-surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-bento-card .lp-shot {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--fp-surface-border);
  transition: transform 0.5s ease;
}

.lp-bento-card:hover .lp-shot {
  transform: scale(1.02);
}

/* Advanced protection split */
.lp-protect-band {
  border-bottom: 1px solid var(--fp-surface-border);
}

.lp-protect {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .lp-protect {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
  }
}

.lp-protect-copy .lp-eyebrow {
  margin-bottom: 16px;
}

.lp-protect-copy h2 {
  margin: 0 0 16px;
}

.lp-protect-copy > .text-muted {
  margin: 0 0 28px;
  max-width: 34rem;
  line-height: 1.65;
}

.lp-protect-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lp-protect-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fp-on-surface);
}

.lp-protect-points .material-symbols-outlined {
  font-size: 18px;
  color: var(--fp-primary);
}

.lp-protect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-protect-media .lp-shot {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--fp-surface-border);
  box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--fp-primary) 35%, transparent);
}

/* Pricing */
.lp-pricing {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .lp-pricing {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

.lp-plan {
  position: relative;
  border: 1px solid var(--fp-surface-border);
  background: var(--fp-surface-container);
  border-radius: 0.75rem;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(12px);
}

.lp-plan.is-popular {
  border: 2px solid var(--fp-primary);
  box-shadow: 0 0 30px rgba(78, 222, 163, 0.15);
  transform: scale(1.03);
  z-index: 1;
}

.lp-plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--fp-primary);
  color: var(--fp-on-primary);
  padding: 4px 8px;
  border-radius: 0 0.65rem 0 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lp-plan-name {
  margin: 0;
  text-transform: uppercase;
  color: var(--fp-on-surface-variant);
}

.lp-plan.is-popular .lp-plan-name {
  color: var(--fp-primary);
}

.lp-plan-price {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--fp-on-surface-variant);
}

.lp-plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.lp-plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--fp-on-surface-variant);
}

.lp-plan li.is-off {
  color: color-mix(in srgb, var(--fp-on-surface-variant) 70%, transparent);
}

.lp-plan li .material-symbols-outlined {
  font-size: 16px;
  margin-top: 2px;
}

.lp-plan li.is-on .material-symbols-outlined {
  color: var(--fp-primary);
}

.lp-plan li.is-off .material-symbols-outlined {
  color: var(--fp-error);
}

/* Plan comparison (same rows as panel Billing) */
.lp-compare {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--fp-surface-border);
  border-radius: 0.75rem;
  background: var(--fp-surface-container-lowest);
}

.lp-compare-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--fp-surface-border);
}

.lp-compare-head h3 {
  margin: 0;
}

.lp-compare-head p {
  margin: 6px 0 0;
}

.lp-compare-scroll {
  overflow-x: auto;
}

.lp-compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.lp-compare-table thead tr {
  border-bottom: 1px solid var(--fp-surface-border);
  background: color-mix(in srgb, var(--fp-surface) 70%, transparent);
}

.lp-compare-table th,
.lp-compare-table td {
  padding: 14px 16px;
  vertical-align: top;
}

.lp-compare-table thead th {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fp-on-surface-variant);
}

.lp-compare-table thead th:first-child,
.lp-compare-table tbody th {
  padding-left: 24px;
}

.lp-compare-table tbody th {
  font-weight: 500;
  color: var(--fp-on-surface);
  text-align: left;
}

.lp-compare-table tbody tr {
  border-bottom: 1px solid var(--fp-surface-border);
}

.lp-compare-table tbody tr:last-child {
  border-bottom: 0;
}

.lp-compare-label {
  display: block;
}

.lp-compare-hint {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--fp-on-surface-variant);
}

.lp-compare-table td {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
}

.lp-compare-table td.is-on {
  color: var(--fp-on-surface);
}

.lp-compare-table td.is-off {
  color: color-mix(in srgb, var(--fp-on-surface-variant) 60%, transparent);
}

.lp-compare-check {
  font-size: 18px;
  color: var(--fp-primary);
  vertical-align: middle;
}

.lp-compare-x {
  font-size: 18px;
  color: var(--fp-error);
  vertical-align: middle;
}

@media (min-width: 900px) {
  .lp-compare-table thead th:nth-child(4) {
    color: var(--fp-primary);
  }

  .lp-compare-table thead th:nth-child(4),
  .lp-compare-table tbody td:nth-child(4) {
    background: color-mix(in srgb, var(--fp-primary) 5%, transparent);
  }
}


/* Cost-cut roadmap */
.lp-cut-band {
  border-top: 1px solid var(--fp-surface-border);
  background: var(--fp-surface-container-lowest);
}

.lp-cut-band.lp-pattern {
  background-color: var(--fp-surface-container-lowest);
}

.lp-cut-band .lp-section-head .lp-eyebrow {
  margin-bottom: 16px;
}

.lp-roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 800px) {
  .lp-roadmap {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }
}

.lp-roadmap-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 20px;
  border-radius: 0.75rem;
  border: 1px solid var(--fp-surface-border);
  background: color-mix(in srgb, var(--fp-surface-container) 70%, transparent);
}

.lp-roadmap-index {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fp-primary) 45%, var(--fp-outline-variant));
  background: color-mix(in srgb, var(--fp-primary) 12%, var(--fp-surface-container-low));
  color: var(--fp-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.lp-roadmap-body h3 {
  margin: 0.2rem 0 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fp-on-surface);
  letter-spacing: -0.01em;
}

.lp-roadmap-body p {
  margin: 0;
  color: var(--fp-on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lp-cut-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

/* CTA band */
.lp-cta-band {
  text-align: center;
  padding: 112px 0 120px;
  border-top: 1px solid var(--fp-surface-border);
  background: var(--fp-surface-container-lowest);
}

.lp-cta-band.lp-pattern {
  background-color: var(--fp-surface-container-lowest);
}

.lp-cta-inner {
  max-width: 40rem;
  margin-inline: auto;
}

.lp-cta-band .lp-eyebrow {
  margin-bottom: 20px;
}

.lp-cta-band h2 {
  margin: 0 0 16px;
}

.lp-cta-lead {
  margin: 0 auto 36px;
  max-width: 34rem;
  color: var(--fp-on-surface-variant);
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.lp-cta-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  color: var(--fp-on-surface-variant);
}

.lp-cta-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lp-cta-meta .material-symbols-outlined {
  font-size: 18px;
  color: var(--fp-primary);
}

/* Footer */
.lp-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--fp-surface-border);
  padding: 80px 0 0;
  background-color: color-mix(in srgb, var(--fp-surface-container-lowest) 55%, #000);
}

.lp-footer.lp-pattern {
  background-color: color-mix(in srgb, var(--fp-surface-container-lowest) 55%, #000);
}

html.light .lp-footer,
html.light .lp-footer.lp-pattern {
  background-color: color-mix(in srgb, var(--fp-surface-container-low) 70%, #c5d0e0);
}

.lp-footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.lp-footer-grid {
  display: grid;
  gap: 48px 40px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
}

@media (min-width: 640px) {
  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .lp-footer-grid {
    grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(0, 1fr));
    gap: 48px 56px;
    align-items: start;
  }
}

.lp-footer-brand-col {
  max-width: 22rem;
}

@media (min-width: 640px) and (max-width: 959px) {
  .lp-footer-brand-col {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
}

.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fp-on-surface);
}

.lp-footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.lp-footer-tagline {
  margin: 0 0 22px;
  color: var(--fp-on-surface-variant);
  font-size: 15px;
  line-height: 1.55;
}

.lp-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 12px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--fp-primary) 28%, var(--fp-surface-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--fp-primary) 8%, transparent);
  color: var(--fp-on-surface);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lp-footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fp-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fp-primary) 22%, transparent);
}

.lp-footer-col h4 {
  margin: 0 0 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fp-on-surface);
}

.lp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lp-footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fp-on-surface-variant);
  font-size: 14.5px;
  line-height: 1.35;
  transition: color 0.15s ease, transform 0.15s ease;
}

.lp-footer-col a:hover {
  color: var(--fp-primary);
  transform: translateX(2px);
}

.lp-footer-mail .material-symbols-outlined {
  font-size: 18px;
  color: var(--fp-primary);
}

.lp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--fp-surface-border);
}

.lp-footer-bottom p {
  margin: 0;
  color: var(--fp-on-surface-variant);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.9;
}

.lp-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.lp-footer-bottom-links a {
  color: var(--fp-on-surface-variant);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.lp-footer-bottom-links a:hover {
  color: var(--fp-primary);
}

.lp-hero-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 22px auto 0;
  color: var(--fp-on-surface-variant);
  font-size: 13px;
  line-height: 1.4;
}

.lp-hero-stars {
  color: var(--fp-primary);
  letter-spacing: 1px;
  font-size: 14px;
}

.lp-hero-rating strong {
  color: var(--fp-on-surface);
  font-weight: 700;
}

.lp-footer-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--fp-on-surface-variant);
  font-size: 13px;
}

.lp-footer-stars {
  color: var(--fp-primary);
  letter-spacing: 1px;
}

.lp-faq-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--fp-surface-border);
  background-color: var(--fp-surface-container-lowest);
}

.lp-faq-band.lp-pattern {
  background-color: var(--fp-surface-container-lowest);
}

.lp-faq-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgb(78 222 163 / 0.12), transparent 58%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgb(78 222 163 / 0.06), transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 85%, rgb(78 222 163 / 0.05), transparent 50%);
}

html.light .lp-faq-band::after {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgb(0 108 73 / 0.1), transparent 58%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgb(0 108 73 / 0.05), transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 85%, rgb(0 108 73 / 0.04), transparent 50%);
}

.lp-faq-band > * {
  position: relative;
  z-index: 1;
}

.lp-faq {
  display: grid;
  gap: 12px;
  max-width: 46rem;
  margin: 0 auto;
}

.lp-faq-item {
  border: 1px solid var(--fp-surface-border);
  border-radius: 0.75rem;
  background: var(--fp-surface);
  padding: 4px 18px;
}

.lp-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  color: var(--fp-on-surface);
}

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

.lp-faq-item p {
  margin: 0 0 16px;
  color: var(--fp-on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
}

.lp-faq-more {
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
}

.lp-faq-more a {
  color: var(--fp-primary);
}

.lp-faq-more a:hover {
  text-decoration: underline;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 640px) {
  .hide-sm {
    display: none !important;
  }

  .lp-plan.is-popular {
    transform: none;
  }

  .lp-section {
    padding: 64px 0;
  }

  .lp-section-head {
    margin-bottom: 36px;
  }

  .lp-roadmap-step {
    grid-template-columns: 2.5rem 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .lp-roadmap-index {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 11px;
  }

  .lp-cut-cta {
    margin-top: 36px;
  }

  .lp-cut-cta .btn-lg {
    width: 100%;
    max-width: 20rem;
  }

  .text-headline-lg {
    font-size: 28px;
    line-height: 34px;
  }

  .lp-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    justify-content: flex-start;
    padding: 5rem 0 2.5rem;
  }

  .lp-hero-canvas-wrap {
    max-height: none;
  }

  .lp-hero-shot-wrap {
    max-height: none;
    margin-top: 1.75rem;
    width: min(860px, calc(100% - 24px));
  }

  .lp-hero-shot-wrap .lp-shot,
  .lp-hero-shot-wrap .lp-shot-img {
    max-height: none;
  }

  .lp-typing {
    margin: 14px 0 18px;
  }

  .lp-hero-lead {
    margin-bottom: 24px;
  }

  .lp-hero-cta {
    gap: 10px;
  }

  .lp-hero-cta .btn-xl {
    padding: 0.7rem 1.25rem;
    width: 100%;
    max-width: 20rem;
  }

  .lp-carousel-track {
    gap: 40px;
  }

  .lp-carousel-item {
    min-width: 120px;
    height: 56px;
  }

  .lp-core-card,
  .lp-bento-card .copy,
  .lp-plan {
    padding: 22px;
  }

  .lp-bento-card .media {
    padding: 16px;
  }

  .lp-protect {
    gap: 28px;
  }

  .lp-protect-copy > .text-muted {
    margin-bottom: 22px;
  }

  .lp-protect-points {
    margin-bottom: 24px;
  }

  .lp-protect-actions .btn {
    width: 100%;
    max-width: 20rem;
  }

  .lp-cta-band {
    padding: 72px 0 80px;
  }

  .lp-cta-actions .btn-xl {
    width: 100%;
    max-width: 20rem;
  }

  .lp-footer {
    padding-top: 56px;
  }

  .lp-footer-mail {
    word-break: break-word;
  }

  .lp-compare-scroll {
    position: relative;
  }

  .lp-compare-scroll::after {
    content: "Swipe to compare →";
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--fp-on-surface-variant);
  }

  .lp-lightbox {
    padding: 12px;
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .lp-plan.is-popular {
    transform: none;
  }

  .lp-pricing {
    grid-template-columns: 1fr 1fr;
  }

  .lp-hero {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    padding: 5.25rem 0 2rem;
  }

  .lp-hero-shot-wrap {
    max-height: min(40dvh, 380px);
  }
}

@media (max-width: 480px) {
  .text-headline-xl {
    font-size: 32px;
    line-height: 38px;
  }

  .text-headline-lg {
    font-size: 26px;
    line-height: 32px;
  }

  .lp-shell {
    padding-inline: 16px;
  }

  .lp-container {
    width: min(1280px, calc(100% - 24px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .lp-browser,
  .lp-bento-card .lp-shot {
    transition: none;
  }

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

  .lp-browser {
    transform: none;
  }

  .lp-typing-cursor {
    animation: none;
  }
}
