/* ==========================================================================
   ReviveGuard — Premium light home
   Light green theme · low noise · high visualization
   Firehose-style rhythm & motion, 12commerce-style warmth.
   ========================================================================== */

:root {
  --bg: #F7FBF7;
  --surface: #FFFFFF;
  --ink: #0B2018;
  --body-c: #3F5449;
  --muted: #6E8177;
  --line: #E2ECE4;
  --line-2: #D3E3D7;

  --green: #17915B;
  --green-dark: #0F7448;
  --deep: #0A2E1F;
  --deep-2: #0D3B27;
  --on-deep: #EAF6EE;
  --on-deep-dim: #9DBBA9;
  --mint: #E9F6EE;
  --mint-2: #DFF2E6;
  --lime: #8FE7B2;
  --amber: #B07C10;
  --amber-bg: #FDF4E0;

  --font-d: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-b: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-m: "IBM Plex Mono", Consolas, monospace;

  --r: 14px;
  --r-lg: 18px;
  --max-w: 1380px;

  --sh-sm: 0 1px 2px rgba(10, 46, 31, 0.05), 0 6px 20px -8px rgba(10, 46, 31, 0.10);
  --sh-md: 0 2px 6px rgba(10, 46, 31, 0.05), 0 20px 50px -20px rgba(10, 46, 31, 0.18);
  --sh-lg: 0 30px 70px -25px rgba(10, 46, 31, 0.28);
}

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

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

body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--green);
  color: #fff;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

h1,
h2,
h3 {
  font-family: var(--font-d);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(42px, 5.4vw, 72px);
}

h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}

h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.lede {
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--body-c);
  max-width: 56ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink);
  box-shadow: var(--sh-sm);
}

.badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(23, 145, 91, 0.45);
  }

  55% {
    box-shadow: 0 0 0 8px rgba(23, 145, 91, 0);
  }
}

.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(23, 145, 91, 0.55);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(23, 145, 91, 0.6);
}

.btn-ghost {
  border: 1.5px solid var(--line-2);
  color: var(--ink);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-small {
  padding: 11px 22px;
  font-size: 14px;
}

.deep-band .btn-primary,
.plan.featured .btn-primary {
  background: var(--lime);
  color: var(--deep);
  box-shadow: none;
}

.deep-band .btn-primary:hover,
.plan.featured .btn-primary:hover {
  background: #A9F0C3;
}

.deep-band .btn-ghost {
  background: transparent;
  border-color: rgba(234, 246, 238, 0.35);
  color: var(--on-deep);
}

.deep-band .btn-ghost:hover {
  border-color: rgba(234, 246, 238, 0.7);
}

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Nav: floating pill header ---------- */
.nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
  background: transparent;
}

/* .nav > .container { padding: 0; } */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 66px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(10, 46, 31, 0.04), 0 14px 34px -16px rgba(10, 46, 31, 0.16);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(10, 46, 31, 0.12);
}

.logo .logo-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 550;
}

.nav-links a {
  color: var(--body-c);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
  background: var(--mint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-login {
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
}

.nav-login:hover {
  color: var(--ink);
}

.nav-actions .btn-primary {
  background: var(--deep);
  box-shadow: none;
  border-radius: 999px;
}

.nav-actions .btn-primary:hover {
  background: var(--green);
  transform: none;
  box-shadow: none;
}

.nav-actions .btn-primary .arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  transition: transform 0.2s ease;
}

.nav-actions .btn-primary:hover .arr {
  transform: translate(2px, -2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  max-width: var(--max-w);
  margin: 8px auto 0;
  padding: 10px 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 44px -18px rgba(10, 46, 31, 0.2);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu .btn {
  margin-top: 14px;
}

/* ==========================================================================
   Hero — split layout (copy left, product right)
   CraftCV-style balance: clear left story, layered product stage on right
   ========================================================================== */
.hero {
  padding: 40px 0 56px;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -100px -10% auto;
  height: 640px;
  background:
    radial-gradient(560px 380px at 82% 32%, rgba(143, 231, 178, 0.38), transparent 70%),
    radial-gradient(380px 280px at 12% 18%, rgba(23, 145, 91, 0.08), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 8px;
}

.hero .badge {
  margin-bottom: 18px;
  align-self: flex-start;
}

.hero h1 {
  max-width: 12.5ch;
  margin: 0 0 16px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-dark);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.04em;
  height: 0.14em;
  background: var(--lime);
  border-radius: 99px;
  z-index: -1;
}

.hero .lede {
  margin: 0 0 26px;
  max-width: 38ch;
  font-size: clamp(16px, 1.2vw, 17.5px);
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  padding: 9px 16px 9px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  align-self: flex-start;
}

.hero-faces {
  display: flex;
}

.hero-faces img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -9px;
  box-shadow: 0 1px 3px rgba(10, 46, 31, 0.12);
}

.hero-faces img:first-child {
  margin-left: 0;
}

.hero-trust p {
  font-size: 12.5px;
  color: var(--body-c);
  line-height: 1.35;
  text-align: left;
  margin: 0;
}

.hero-trust p strong {
  color: var(--ink);
  font-weight: 650;
}

.hero .cta-note {
  margin-top: 12px;
  text-align: left;
}

.hero-visual {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.hero-stage {
  position: relative;
  padding: 48px 36px 36px;
  isolation: isolate;
}

/* Concentric halo behind product (CraftCV-style depth, green) */
.hero-stage::before {
  content: "";
  position: absolute;
  width: min(520px, 92%);
  height: min(520px, 92%);
  right: -2%;
  top: 50%;
  transform: translateY(-52%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(143, 231, 178, 0.55) 0%,
      rgba(143, 231, 178, 0.28) 28%,
      rgba(143, 231, 178, 0.12) 48%,
      transparent 68%);
  box-shadow:
    0 0 0 28px rgba(143, 231, 178, 0.08),
    0 0 0 56px rgba(143, 231, 178, 0.04);
  z-index: 0;
  pointer-events: none;
}

.hero-stage .portal-frame {
  position: relative;
  z-index: 1;
}

.hero-stage .alert-card {
  z-index: 3;
}

.hero-person {
  position: absolute;
  left: -4px;
  bottom: 36px;
  z-index: 4;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--sh-md);
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-caption {
  margin: 0;
  padding: 0 12px 0 36px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  text-align: left;
}

.hero-visual-caption strong {
  color: var(--ink);
  font-weight: 650;
}

.portal-frame {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  text-align: left;
}

.pf-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #FCFEFC;
}

.pf-top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.pf-top .url {
  margin-left: 12px;
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.pf-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
}

.pf-main {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.pf-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.pf-status .pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}

.pf-status strong {
  font-family: var(--font-d);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 650;
}

.pf-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.pf-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
  margin-bottom: 10px;
}

.pf-chart i {
  flex: 1;
  background: linear-gradient(to top, var(--mint-2), var(--lime));
  border-radius: 4px 4px 2px 2px;
  min-height: 30%;
  transform-origin: bottom;
  animation: barGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pf-chart i:nth-child(odd) {
  background: linear-gradient(to top, var(--mint-2), #B9EFCB);
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
  }
}

.pf-chart-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 10.5px;
  color: var(--muted);
}

.pf-side {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FCFEFC;
}

.pf-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 13px 15px;
}

.pf-tile .tl {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 550;
}

.pf-tile .tv {
  font-family: var(--font-m);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.pf-tile .tv.ok {
  color: var(--green-dark);
}

/* Floating alert cards */
.alert-card {
  position: absolute;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--sh-md);
  padding: 13px 16px;
  text-align: left;
  max-width: 250px;
  z-index: 3;
  animation: cardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards, floatY 5.5s ease-in-out infinite;
}

.alert-card .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.alert-card .ic.ok {
  background: var(--mint);
  color: var(--green-dark);
}

.alert-card .ic.live {
  background: var(--mint);
  color: var(--green-dark);
}

.alert-card .ic.warn {
  background: var(--amber-bg);
  color: var(--amber);
}

.alert-card .at {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.alert-card .am {
  display: block;
  font-family: var(--font-m);
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
}

.alert-1 {
  top: 12px;
  left: 4px;
  animation-delay: 0.5s, 0.5s;
}

.alert-2 {
  top: 44px;
  right: 0;
  animation-delay: 1.1s, 1.1s;
}

.alert-3 {
  bottom: 28px;
  right: 16px;
  left: auto;
  animation-delay: 1.7s, 1.7s;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
}

@keyframes floatY {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -9px;
  }
}

/* ---------- Stats counters ---------- */
.stats {
  padding: 76px 0 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: var(--r);
  padding: 28px 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.stat:nth-child(even) {
  background: var(--surface);
  border-color: var(--line-2);
}

.stat .num {
  font-family: var(--font-d);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat .num .suf {
  font-size: 0.55em;
  color: var(--green-dark);
  font-weight: 650;
}

.stat .lbl {
  font-size: 13.5px;
  color: var(--body-c);
  margin-top: 10px;
  line-height: 1.45;
}

/* ==========================================================================
   Deep green statement band
   ========================================================================== */
.deep-band {
  background: radial-gradient(900px 500px at 80% -10%, rgba(143, 231, 178, 0.12), transparent 60%), linear-gradient(160deg, var(--deep-2), var(--deep));
  border-radius: var(--r-lg);
  color: var(--on-deep);
  overflow: hidden;
  position: relative;
}

.band-wrap {
  padding: 64px 0;
}

.deep-band .inner {
  padding: 72px 64px;
}

.deep-band h2 {
  color: #fff;
  max-width: 22ch;
}

.deep-band .kicker {
  color: var(--lime);
}
.deep-band .inner > p {
  color: var(--on-deep-dim);
}

.quiet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.quiet-card {
  background: rgba(234, 246, 238, 0.06);
  border: 1px solid rgba(234, 246, 238, 0.14);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.quiet-card:hover {
  background: rgba(234, 246, 238, 0.1);
  transform: translateY(-4px);
}

.quiet-card .qi {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(143, 231, 178, 0.15);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.quiet-card h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 17px;
}

.quiet-card p {
  font-size: 14px;
  color: var(--on-deep-dim);
  line-height: 1.55;
}

/* ==========================================================================
   Flip cards — what we handle
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head .lede {
  margin: 0 auto;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flip {
  perspective: 1400px;
  min-height: 320px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip:hover .flip-inner,
.flip.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.flip-front {
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
}

.flip-front .fi {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.flip-front h3 {
  margin-bottom: 10px;
}

.flip-front p {
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.flip-front .hint {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flip-back {
  background: linear-gradient(165deg, var(--deep-2), var(--deep));
  color: var(--on-deep);
  transform: rotateY(180deg);
  border: 1px solid var(--deep);
}

.flip-back .fb-title {
  font-size: 11.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 16px;
}

.flip-back .log-line {
  font-family: var(--font-m);
  font-size: 11.5px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(234, 246, 238, 0.15);
  display: flex;
  gap: 10px;
}

.flip-back .log-line:last-of-type {
  border-bottom: none;
}

.flip-back .log-line .lt {
  color: var(--on-deep-dim);
  flex-shrink: 0;
}

.flip-back .log-line .ok {
  color: var(--lime);
}

.flip-back .fb-note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: var(--on-deep-dim);
}

/* ==========================================================================
   Portal tabs
   ========================================================================== */
.tabs-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--body-c);
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.tab-btn.active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.tab-panels {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.tab-panel {
  display: none;
  animation: panelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-panel.active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.panel-frame {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #FCFEFC;
}

.panel-head strong {
  font-family: var(--font-d);
  font-size: 15px;
  color: var(--ink);
  font-weight: 650;
}

.panel-head .k {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-frame table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.panel-frame td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--body-c);
}

.panel-frame tr:last-child td {
  border-bottom: none;
}

.panel-frame td:first-child {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.panel-frame .pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 650;
  padding: 4px 12px;
  border-radius: 999px;
}

.panel-frame .pill.ok {
  background: var(--mint);
  color: var(--green-dark);
}

.panel-frame .pill.warn {
  background: var(--amber-bg);
  color: var(--amber);
}

.panel-caption {
  text-align: center;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.panel-caption a {
  color: var(--green-dark);
  font-weight: 600;
  border-bottom: 1.5px solid var(--lime);
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.step-card:nth-child(1) .step-dot {
  background: var(--mint);
  color: var(--green-dark);
}

.step-card:nth-child(2) .step-dot {
  background: #FDF0D3;
  color: var(--amber);
}

.step-card:nth-child(3) .step-dot {
  background: var(--deep);
  color: var(--lime);
}

.step-card h3 {
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14.5px;
  line-height: 1.6;
}

.step-card .step-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: 5px 13px;
  font-weight: 600;
}

/* ==========================================================================
   Two paths — audience routing
   ========================================================================== */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.path-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.path-card.alumni {
  background: linear-gradient(165deg, #F2FBF5, var(--mint));
  border-color: var(--mint-2);
}

.path-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.path-card.alumni .path-tag {
  background: var(--deep);
  color: var(--lime);
}

.path-card.new .path-tag {
  background: var(--mint);
  color: var(--green-dark);
}

.path-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.path-card .path-sub {
  font-size: 14px;
  color: var(--body-c);
  margin-bottom: 24px;
}

.mini-steps {
  flex: 1;
  margin-bottom: 26px;
}

.mini-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 11px 0;
  font-size: 14px;
  color: var(--body-c);
  border-bottom: 1px dashed var(--line);
}

.mini-steps li:last-child {
  border-bottom: none;
}

.mini-steps .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.path-card .path-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
}

.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: none;
}

.compare thead th {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  background: #FCFEFC;
  border-bottom: 1px solid var(--line-2);
}

.compare thead th.rg {
  background: var(--deep);
  color: #fff;
}

.compare tbody th {
  font-weight: 550;
  color: var(--body-c);
  font-size: 13.5px;
}

.compare td.rg {
  background: var(--mint);
  color: var(--ink);
  font-weight: 600;
}

.compare td .y {
  color: var(--green-dark);
  font-weight: 700;
  margin-right: 6px;
}

.compare td .n-mark {
  color: #C0392B;
  font-weight: 600;
  margin-right: 6px;
}

.compare td.dim {
  color: var(--muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.quote .stars {
  color: #E8A93D;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.quote>p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body-c);
  flex: 1;
}

.quote .who {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
}

.quote .who img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mint-2);
}

.quote .who .meta {
  min-width: 0;
}

.quote .who strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 650;
}

.quote .who .role {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.quote .who .tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 650;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ==========================================================================
   Human band — origin
   ========================================================================== */
.human-band {
  background: linear-gradient(150deg, var(--deep-2), var(--deep));
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  color: var(--on-deep);
}

.human-band .hb-text {
  padding: 64px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.human-band .kicker {
  color: var(--lime);
}

.human-band h2 {
  color: #fff;
  margin-bottom: 18px;
  max-width: 18ch;
}

.human-band p {
  color: var(--on-deep-dim);
  font-size: 16px;
  max-width: 50ch;
  margin-bottom: 14px;
}

.human-band .hb-cta {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.human-band .hb-photo {
  position: relative;
  min-height: 380px;
}

.human-band .hb-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.human-band .hb-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--deep) 0%, transparent 34%);
}

.hb-chip {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 2;
  background: rgba(10, 46, 31, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(143, 231, 178, 0.3);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hb-chip .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2.2s infinite;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.plan .plan-name {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 680;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.plan .plan-for {
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px 0 22px;
  min-height: 42px;
}

.plan .plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.plan .plan-price .amt {
  font-family: var(--font-d);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.plan .plan-price .per {
  font-size: 13px;
  color: var(--muted);
}

.plan .plan-extra {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.plan ul {
  flex: 1;
  margin-bottom: 26px;
}

.plan ul li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
  color: var(--body-c);
}

.plan ul li .ck {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
}

.plan .fail-line {
  background: var(--mint);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 26px;
  line-height: 1.5;
}

.plan .fail-line strong {
  color: var(--green-dark);
}

.plan .btn {
  width: 100%;
}

.plan.featured {
  background: linear-gradient(165deg, var(--deep-2), var(--deep));
  border-color: var(--deep);
  color: var(--on-deep);
  box-shadow: var(--sh-lg);
  transform: translateY(-10px);
}

.plan.featured:hover {
  transform: translateY(-15px);
}

.plan.featured .plan-name,
.plan.featured .plan-price .amt {
  color: #fff;
}

.plan.featured .plan-for,
.plan.featured .plan-price .per,
.plan.featured .plan-extra {
  color: var(--on-deep-dim);
}

.plan.featured ul li {
  color: var(--on-deep);
}

.plan.featured ul li .ck {
  color: var(--lime);
}

.plan.featured .fail-line {
  background: rgba(143, 231, 178, 0.12);
  color: var(--on-deep);
}

.plan.featured .fail-line strong {
  color: var(--lime);
}

.plan-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-size: 13.5px;
  color: var(--muted);
}

.pricing-note a {
  color: var(--green-dark);
  font-weight: 600;
  border-bottom: 1.5px solid var(--lime);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item.open {
  box-shadow: var(--sh-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 20px 26px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.faq-q .indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-q .indicator {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--body-c);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-band {
  background: radial-gradient(700px 400px at 70% 0%, rgba(143, 231, 178, 0.14), transparent 60%), linear-gradient(160deg, var(--deep-2), var(--deep));
  border-radius: 16px;
  padding: 84px 64px;
  text-align: center;
  color: var(--on-deep);
  position: relative;
  overflow: hidden;
}

.final-band h2 {
  color: #fff;
  max-width: 20ch;
  margin: 0 auto 18px;
}

.final-band .lede {
  color: var(--on-deep-dim);
  margin: 0 auto 36px;
}

.final-band .hero-ctas {
  justify-content: center;
}

.final-trust {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px 30px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--on-deep-dim);
}

.final-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.final-trust span::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
}

/* ---------- Footer — enclosed card matching header shape (static, not sticky) ---------- */
.footer {
  position: static;
  padding: 28px 20px 40px;
  border-top: none;
  background: transparent;
}
.footer > .container {
  padding: 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px 40px 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(10, 46, 31, 0.04), 0 14px 34px -16px rgba(10, 46, 31, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer .logo {
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.65;
}

.footer h6 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a {
  color: var(--body-c);
}

.footer-col a:hover {
  color: var(--green-dark);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .alert-card,
  .pf-chart i,
  .badge .pulse,
  .pf-status .pulse,
  .hb-chip .pulse {
    animation: none;
  }

  .flip-inner {
    transition: none;
  }
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.mobile-cta-bar.show {
  transform: none;
}

.mobile-cta-bar .btn {
  width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
    align-items: center;
  }

  .hero h1 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero .cta-note {
    text-align: center;
  }

  .hero .badge {
    align-self: center;
  }

  .hero-trust {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }

  .hero-visual {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    gap: 14px;
  }

  .hero-stage {
    padding: 40px 20px 28px;
  }

  .hero-person {
    left: 12px;
    right: auto;
    bottom: 12px;
    width: 86px;
    height: 86px;
  }

  .hero-visual-caption {
    padding: 0 8px;
    text-align: center;
  }

  .alert-1 {
    left: 4px;
    top: 8px;
  }

  .alert-2 {
    right: 4px;
  }

  .alert-3 {
    left: auto;
    right: 8px;
    bottom: 20px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .plan.featured {
    transform: none;
    order: -1;
  }

  .plan.featured:hover {
    transform: translateY(-5px);
  }

  .human-band {
    grid-template-columns: 1fr;
  }

  .human-band .hb-photo {
    min-height: 300px;
    order: -1;
  }

  .human-band .hb-photo::after {
    background: linear-gradient(to top, var(--deep) 0%, transparent 40%);
  }
}

@media (max-width: 860px) {

  .nav-links,
  .nav-actions .btn,
  .nav-login {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .band-wrap {
    padding: 44px 0;
  }

  .deep-band .inner {
    padding: 52px 30px;
  }

  .quiet-cards {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .paths {
    grid-template-columns: 1fr;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .pf-body {
    grid-template-columns: 1fr;
  }

  .pf-main {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding: 32px 0 28px;
  }

  .hero-visual {
    margin-top: 4px;
  }

  .hero-stage {
    padding: 12px 0 8px;
  }

  .hero-stage::before {
    width: 70%;
    height: 70%;
    right: 15%;
    opacity: 0.7;
  }

  .hero-person {
    display: none;
  }

  .hero-visual-caption {
    text-align: center;
    padding: 0;
  }

  .hero-trust {
    max-width: 100%;
  }

  .hero-trust p {
    font-size: 12.5px;
  }

  .alert-card {
    position: static;
    max-width: none;
    margin-top: 10px;
    animation: cardIn 0.7s backwards;
  }

  .human-band .hb-text {
    padding: 44px 28px;
  }

  .final-band {
    padding: 60px 28px;
  }

  .footer {
    padding: 20px 16px 36px;
  }
  .footer-inner {
    padding: 36px 24px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .mobile-cta-bar {
    display: block;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .flip-grid {
    grid-template-columns: 1fr;
  }

  .flip {
    min-height: 300px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer {
    padding-bottom: 96px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    padding: 28px 20px 22px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}