/* ============================================================
   JurisDeed — Bottom-Funnel Webpager
   Fintech-style B2B SaaS aesthetic on JurisDeed brand
   ============================================================ */

:root {
  /* Brand */
  --indigo:       #131836;
  --indigo-light: #1e2548;
  --deep-navy:    #0b0f24;
  --gold:         #d4bd8a;
  --gold-dark:    #a8915f;
  --gold-light:   #efe6d2;

  /* Neutrals */
  --ink:          #0f172a;
  --slate:        #475569;
  --slate-light:  #64748b;
  --blue-gray:    #94a3b8;
  --line:         #e2e8f0;
  --line-soft:    #eef2f6;
  --bg:           #ffffff;
  --bg-soft:      #f8f9fb;
  --cream:        #f8f7f2;

  /* Type scale (clamped, responsive) */
  --t-h1: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  --t-h2: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
  --t-h3: clamp(1.25rem, 1.2vw + 0.8rem, 1.5rem);
  --t-h4: 1.0625rem;
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-tiny: 0.75rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 14px 40px rgba(212, 189, 138, 0.32);
  --shadow-indigo: 0 14px 40px rgba(19, 24, 54, 0.20);

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(1rem, 2.5vw, 1.5rem);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
a { color: var(--indigo); text-decoration: none; transition: color 160ms ease; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: 'Lato', sans-serif; color: var(--indigo); margin: 0; line-height: 1.15; letter-spacing: -0.012em; }
h1 { font-weight: 900; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }
p { margin: 0; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 0.875rem clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 1.05rem;
  color: var(--indigo); letter-spacing: -0.01em;
}
.logo:hover { color: var(--indigo); }
.topnav { display: flex; align-items: center; justify-content: center; gap: 1.8rem; }
.topnav a {
  font-size: var(--t-small); font-weight: 500;
  color: var(--slate);
}
.topnav a:hover { color: var(--indigo); }
.topcta { display: flex; align-items: center; gap: 0.6rem; }

@media (max-width: 860px) {
  .topnav { display: none; }
  .topbar { grid-template-columns: auto 1fr; }
  .topcta .btn-ghost { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.625rem 1.1rem;
  font-size: var(--t-small); font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--indigo-light); color: #fff; box-shadow: var(--shadow-md); }
.btn-secondary {
  background: #fff; color: var(--indigo);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--gold-dark); color: var(--indigo); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { color: var(--indigo); }
.btn-lg { padding: 0.8rem 1.35rem; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad);
}
.section-narrow { max-width: 820px; }
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-eyebrow.gold { color: var(--gold); }
.section-h {
  font-size: var(--t-h2);
  max-width: 30ch;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 62ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.section-sub-light { font-size: 1.05rem; color: var(--blue-gray); max-width: 62ch; line-height: 1.6; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0f24 0%, #131836 65%, #161d44 100%);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 1;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--pad) clamp(4rem, 7vw, 6rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  font-size: var(--t-tiny);
  font-weight: 500;
  color: var(--gold);
  background: rgba(212, 189, 138, 0.10);
  border: 1px solid rgba(212, 189, 138, 0.25);
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.hero-h {
  font-size: var(--t-h1);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero-h .accent { color: var(--gold); }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero .btn-primary { background: var(--gold); color: var(--indigo); }
.hero .btn-primary:hover { background: var(--gold-light); color: var(--indigo); }
.hero .btn-secondary {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-proof {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.proof-item { min-width: 0; }
.proof-num {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.proof-label {
  font-size: var(--t-tiny);
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.4;
  max-width: 22ch;
}
.proof-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.10); }

@media (max-width: 760px) {
  .hero-proof {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }
  .proof-divider { display: none; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 2.25rem var(--pad);
  text-align: center;
}
.trust-label {
  font-size: var(--t-tiny);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 1rem;
}
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  max-width: var(--maxw); margin: 0 auto;
}
.trust-pill {
  padding: 0.4rem 0.85rem;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ============================================================
   PROBLEM / OUTCOME SECTION
   ============================================================ */
.problem { background: var(--bg); }
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 1000px) {
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .outcome-grid { grid-template-columns: 1fr; }
}
.outcome-card {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.outcome-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.outcome-num {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.outcome-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
}
.outcome-card p {
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.55;
}

/* ============================================================
   THE ECOSYSTEM
   ============================================================ */
.ecosystem { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.pillar:hover {
  transform: translateY(-3px);
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
}
.pillar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.pillar-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--indigo); color: var(--gold);
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 0.95rem;
  border-radius: 50%;
}
.pillar-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  background: var(--cream);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
}
.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.pillar-by {
  font-size: var(--t-tiny);
  color: var(--blue-gray);
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}
.pillar-desc {
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.pillar-pts {
  list-style: none; padding: 0; margin: 0;
  font-size: var(--t-small);
  color: var(--ink);
}
.pillar-pts li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.1rem;
  border-top: 1px solid var(--line-soft);
}
.pillar-pts li:first-child { border-top: 0; padding-top: 0.5rem; }
.pillar-pts li::before {
  content: ""; position: absolute; left: 0; top: 0.62rem;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}
.pillar-pts li:first-child::before { top: 0.85rem; }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.features { background: var(--bg); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feat {
  display: flex; gap: 0.85rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 220ms ease, background-color 220ms ease;
}
.feat:hover { border-color: var(--gold); background: var(--cream); }
.feat-icon {
  flex: 0 0 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--indigo); color: var(--gold);
  border-radius: var(--r-sm);
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 1rem;
  line-height: 1;
}
.feat h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.25rem;
}
.feat p {
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.5;
}
.pro-only {
  display: inline-block;
  font-size: 0.65rem; font-weight: 600;
  color: var(--gold-dark);
  background: var(--cream);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.3rem;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 2.5rem;
}
.bt-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: transparent;
  border: 0;
  color: var(--slate);
  font-size: var(--t-small);
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.bt-btn.active {
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.bt-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  background: var(--gold);
  color: var(--indigo);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  display: flex; flex-direction: column;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.plan-featured {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-indigo);
}
.plan-featured h3 { color: var(--gold); }
.plan-featured .plan-head p { color: rgba(255, 255, 255, 0.72); }
.plan-featured .plan-price,
.plan-featured .plan-currency,
.plan-featured .plan-amount { color: #fff; }
.plan-featured .plan-period,
.plan-featured .plan-billed { color: rgba(255, 255, 255, 0.65); }
.plan-featured .plan-feats { color: rgba(255, 255, 255, 0.86); }
.plan-featured .plan-feats li { border-color: rgba(255, 255, 255, 0.10); }
.plan-featured .plan-feats strong { color: var(--gold); }
.plan-featured .btn-primary { background: var(--gold); color: var(--indigo); }
.plan-featured .btn-primary:hover { background: var(--gold-light); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  background: var(--gold);
  color: var(--indigo);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
}
.plan-head { margin-bottom: 1.25rem; }
.plan-head h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.plan-head p { font-size: var(--t-small); color: var(--slate); line-height: 1.5; }
.plan-price {
  display: flex; align-items: baseline; gap: 0.15rem;
  font-family: 'Lato', sans-serif;
  margin-bottom: 0.3rem;
  color: var(--indigo);
}
.plan-currency { font-size: 1.5rem; font-weight: 700; }
.plan-amount {
  font-size: 2.85rem; font-weight: 900; letter-spacing: -0.02em;
  line-height: 1;
}
.plan-period {
  font-size: 0.95rem; font-weight: 500;
  color: var(--slate);
  margin-left: 0.25rem;
}
.plan-billed {
  font-size: var(--t-tiny);
  color: var(--blue-gray);
  margin-bottom: 1.25rem;
}
.plan .btn { margin-bottom: 1.5rem; }
.plan-feats {
  list-style: none; padding: 0; margin: 0;
  font-size: var(--t-small);
  color: var(--ink);
  flex: 1;
}
.plan-feats li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line-soft);
}
.plan-feats li:first-child { border-top: 0; }
.plan-feats strong { color: var(--indigo); font-weight: 700; }

.pricing-foot {
  margin-top: 2rem;
  text-align: center;
  font-size: var(--t-small);
  color: var(--slate);
}
.pricing-foot a { color: var(--indigo); border-bottom: 1px solid var(--gold); }

/* ============================================================
   TRANSACTIONAL
   ============================================================ */
.transactional { background: var(--bg); }
.tx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.tx-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 220ms ease, transform 220ms ease;
}
.tx-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.tx-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--indigo);
  margin-bottom: 0.4rem;
}
.tx-name .tx-sub {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: var(--cream);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.tx-price {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--indigo);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.tx-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-gray);
  margin-left: 0.2rem;
}
.tx-note {
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.55;
}

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.calc { background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%); border-top: 1px solid var(--line-soft); }
.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) {
  .calc-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.calc-controls {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.ctrl { margin-bottom: 1.5rem; }
.ctrl:last-child { margin-bottom: 0; }
.ctrl label {
  display: block;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 0.5rem;
}
.ctrl-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}
.ctrl input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
}
.ctrl input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px;
  background: var(--gold);
  border: 3px solid var(--indigo);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms ease;
}
.ctrl input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.ctrl input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--gold);
  border: 3px solid var(--indigo);
  border-radius: 50%;
  cursor: pointer;
}
.ctrl output {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--indigo);
  min-width: 8ch;
  text-align: right;
}
.ctrl select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: var(--t-small);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
}
.ctrl select:focus { outline: none; border-color: var(--gold); }

.calc-output {
  background: var(--indigo);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-indigo);
}
.calc-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--t-small);
}
.calc-line:first-child { padding-top: 0; }
.calc-line-muted { color: rgba(255, 255, 255, 0.55); }
.calc-key { color: rgba(255, 255, 255, 0.78); }
.calc-val {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.calc-line-muted .calc-val { color: rgba(255, 255, 255, 0.55); }
.calc-divider {
  height: 1px;
  background: rgba(212, 189, 138, 0.30);
  margin: 0.85rem 0;
}
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.5rem 0;
}
.calc-total .calc-key {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
}
.calc-total .calc-val {
  color: var(--gold);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.calc-pct {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.4rem 0;
  font-size: var(--t-small);
  color: rgba(255, 255, 255, 0.65);
}
.calc-pct .calc-val { color: #fff; font-size: 1rem; }
.calc-foot {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--t-tiny);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ============================================================
   TDLG SECTION
   ============================================================ */
.tdlg {
  background: var(--indigo);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tdlg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(212, 189, 138, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(30, 37, 72, 0.4) 0%, transparent 50%);
  pointer-events: none;
}
.tdlg .section-inner { position: relative; }
.tdlg .section-h { color: #fff; }
.tdlg-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) {
  .tdlg-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.tdlg-pts {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: 0.55rem;
}
.tdlg-pts li {
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  font-size: var(--t-small);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.tdlg-pts strong { color: var(--gold); font-weight: 700; }

.tdlg-side {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.tdlg-stat {
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
}
.tdlg-num {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.tdlg-lbl {
  font-size: var(--t-tiny);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare { background: var(--bg); }
.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ct-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  align-items: stretch;
  border-top: 1px solid var(--line-soft);
}
.ct-row:first-child { border-top: 0; }
.ct-row > div {
  padding: 1rem 1.25rem;
  font-size: var(--t-small);
  color: var(--ink);
}
.ct-head > div {
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  font-size: var(--t-tiny);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ct-label { font-weight: 600; color: var(--indigo); background: var(--bg-soft); }
.ct-them { color: var(--slate); background: #fff; border-left: 1px solid var(--line-soft); }
.ct-us { color: var(--indigo); font-weight: 500; background: var(--cream); border-left: 1px solid var(--line-soft); }
@media (max-width: 760px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-them, .ct-us, .ct-label { border-left: 0; border-top: 1px solid var(--line-soft); }
  .ct-head { display: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 200ms ease;
}
.qa[open] { border-color: var(--gold); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--indigo);
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: transform 220ms ease, color 220ms ease;
}
.qa[open] summary::after { content: "−"; color: var(--gold); }
.qa p {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.65;
}

/* ============================================================
   CTA / DEMO
   ============================================================ */
.cta { background: var(--bg); }
.cta-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #0b0f24 0%, #131836 60%, #1e2548 100%);
  color: #fff;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212, 189, 138, 0.18) 0%, transparent 40%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-h {
  color: #fff;
  font-size: clamp(1.625rem, 2.4vw + 0.5rem, 2.25rem);
  margin-bottom: 0.85rem;
  max-width: 22ch;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 1.75rem;
}
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cta-card .btn-primary { background: var(--gold); color: var(--indigo); }
.cta-card .btn-primary:hover { background: var(--gold-light); }
.cta-card .btn-secondary {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25);
}
.cta-card .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.cta-side {
  display: grid; gap: 0.6rem;
}
.cta-meta {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  font-size: var(--t-small);
}
.cta-meta-lbl { color: rgba(255, 255, 255, 0.55); font-size: var(--t-tiny); text-transform: uppercase; letter-spacing: 0.06em; }
.cta-meta-val { color: var(--gold); font-weight: 700; font-family: 'Lato', sans-serif; }
@media (max-width: 880px) {
  .cta-card { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 3rem 0 2rem;
  margin-top: 0;
}
.foot .section-inner { padding: 0 var(--pad); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
.foot-logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Lato', sans-serif; font-weight: 900;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}
.foot-blurb {
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.55;
  max-width: 38ch;
}
.foot-label {
  font-size: var(--t-tiny);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-bottom: 0.75rem;
}
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: 0.25rem 0; }
.foot-list a, .foot-list { font-size: var(--t-small); color: var(--slate); }
.foot-list a:hover { color: var(--indigo); }
.foot-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 1.25rem;
}
.foot-fine {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: var(--t-tiny);
  color: var(--blue-gray);
}
.foot-fine a { color: var(--slate); }
.foot-fine-r { display: inline-flex; gap: 0.5rem; align-items: center; }
.foot-fine-r span { color: var(--blue-gray); }

/* ============================================================
   MOTION (subtle reveal on scroll)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .outcome-card, .pillar, .feat, .plan, .tx-card, .qa {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .reveal { opacity: 1; transform: none; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   PLAN BUILDER
   ============================================================ */
.builder {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 5rem 0 4rem;
}

/* Builder layout: left steps + right sticky summary */
.builder-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }
}

/* Steps column */
.builder-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.builder-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}
.builder-step-disclosure {
  background: #fffdf7;
  border-color: rgba(212, 189, 138, 0.35);
}

.step-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--indigo);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.step-hint {
  font-size: var(--t-small);
  color: var(--slate);
  margin-bottom: 1rem;
  margin-top: -0.5rem;
}

/* Builder billing cadence toggle */
.builder-billing-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.bbt-btn {
  padding: 0.45rem 1rem;
  font-size: var(--t-small);
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: background 160ms, color 160ms;
  position: relative;
}
.bbt-btn.active {
  background: var(--indigo);
  color: var(--gold);
  font-weight: 700;
}
.bbt-btn:not(.active):hover { background: var(--line-soft); }
.bbt-badge {
  font-size: 0.68rem;
  background: rgba(212,189,138,0.18);
  color: var(--gold-dark);
  padding: 0.1em 0.45em;
  border-radius: 4px;
  margin-left: 0.3em;
  font-weight: 700;
}
.bbt-btn.active .bbt-badge {
  background: rgba(212,189,138,0.22);
  color: var(--gold);
}

/* Tier selection cards */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}
@media (max-width: 700px) {
  .tier-cards { grid-template-columns: 1fr; }
}
.tier-card {
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: var(--r-md);
  border: 2px solid var(--line);
  transition: border-color 160ms, box-shadow 160ms;
  background: var(--bg);
}
.tier-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.tier-card-inner {
  padding: 1.1rem 1.25rem;
}
.tier-card:hover, .tier-card:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 189, 138, 0.15);
}
.tier-card-selected {
  border-color: var(--indigo) !important;
  box-shadow: 0 0 0 3px rgba(19, 24, 54, 0.10) !important;
  background: #f6f7fb;
}
.tier-card-featured {
  border-color: rgba(19, 24, 54, 0.25);
}
.tier-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.tier-card-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--indigo);
}
.tier-card-price {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--indigo);
  margin: 0.3rem 0 0.2rem;
}
.tc-period {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--slate);
}
.tier-card-detail {
  font-size: 0.78rem;
  color: var(--slate);
}

/* Credit pack options */
.credit-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .credit-options { grid-template-columns: repeat(2, 1fr); }
}
.credit-opt {
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: var(--r-md);
  border: 2px solid var(--line);
  background: var(--bg);
  transition: border-color 160ms, box-shadow 160ms;
}
.credit-opt input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.credit-opt-inner {
  padding: 0.9rem 1rem;
}
.credit-opt:hover, .credit-opt:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 189, 138, 0.12);
}
.credit-opt-selected {
  border-color: var(--indigo) !important;
  box-shadow: 0 0 0 3px rgba(19, 24, 54, 0.09) !important;
  background: #f6f7fb;
}
.credit-opt-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--indigo);
}
.credit-opt-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--indigo);
  margin: 0.2rem 0;
}
.credit-opt-credits {
  font-size: 0.75rem;
  color: var(--slate);
}

/* Custom credit row */
.credit-custom-row {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
}
.credit-custom-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0;
}
.credit-custom-result {
  font-size: var(--t-small);
  color: var(--slate);
  font-style: italic;
}

/* DeedWolf toggle */
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 26px;
  transition: background 180ms;
}
.toggle-switch input:checked + .toggle-track { background: var(--indigo); }
.toggle-track::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.toggle-switch input:checked + .toggle-track::before { transform: translateX(20px); }
.toggle-text strong { font-family: 'Lato', sans-serif; font-size: 0.9375rem; color: var(--indigo); display: block; margin-bottom: 0.2rem; }
.toggle-sub { font-size: var(--t-small); color: var(--slate); }

.deedwolf-detail {
  margin-top: 1.25rem;
}
.deedwolf-info-box {
  background: rgba(19, 24, 54, 0.04);
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: var(--t-small);
  color: var(--slate);
}

/* TDLG disclosure box */
.disclosure-box {
  background: #fffbf0;
  border: 1px solid rgba(212, 189, 138, 0.5);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}
.disclosure-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(212,189,138,0.15);
  display: inline-block;
  padding: 0.25em 0.7em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.disclosure-box p {
  font-size: var(--t-small);
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.disclosure-fees {
  font-size: 0.8125rem;
  color: var(--slate-light);
}

/* Form fields */
.prospect-form { margin-top: 0.25rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}
.field-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field-group:last-child { margin-bottom: 0; }
.field-label {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--ink);
}
.req { color: #d63031; }
.opt { font-weight: 400; color: var(--slate-light); }
.field-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg);
  transition: border-color 160ms, box-shadow 160ms;
}
.field-input-wrap:focus-within {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(19, 24, 54, 0.08);
}
.field-prefix {
  padding: 0 0.6rem;
  color: var(--slate);
  font-size: var(--t-small);
  background: var(--bg-soft);
  border-right: 1.5px solid var(--line);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.field-input {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: var(--t-small);
  color: var(--ink);
  background: var(--bg);
  transition: border-color 160ms, box-shadow 160ms;
  outline: none;
}
.field-input-wrap .field-input {
  border: none;
  padding: 0.6rem 0.75rem;
  border-radius: 0;
}
.field-input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(19, 24, 54, 0.08);
}
.field-input.field-error {
  border-color: #d63031;
  box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.08);
}
.field-textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: var(--t-small);
  color: var(--ink);
  background: var(--bg);
  resize: vertical;
  min-height: 80px;
  transition: border-color 160ms, box-shadow 160ms;
  outline: none;
}
.field-textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(19, 24, 54, 0.08);
}
.field-hint {
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-top: 0.2rem;
}
.form-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  font-size: var(--t-small);
  color: #b91c1c;
  margin-top: 1rem;
}

/* Builder summary card (sticky right) */
.builder-summary {
  position: sticky;
  top: 80px; /* below topbar */
}
@media (max-width: 1024px) {
  .builder-summary {
    position: static;
    order: -1; /* show above steps on mobile */
  }
}
.summary-card {
  background: var(--indigo);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-indigo);
}
.summary-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.0625rem;
  color: var(--gold);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--t-small);
}
.summary-key {
  color: rgba(255,255,255,0.7);
  flex: 1;
}
.summary-val {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'Lato', sans-serif;
}
.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0.75rem 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.summary-total-label {
  font-size: var(--t-small);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}
.summary-total-val {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--gold);
  white-space: nowrap;
}
.summary-footnote {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Review & Sign button — most prominent CTA on the page */
.btn-cta {
  background: var(--gold);
  color: var(--indigo);
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 160ms, transform 120ms, box-shadow 160ms;
  box-shadow: 0 4px 20px rgba(212, 189, 138, 0.35);
}
.btn-cta:hover {
  background: #e0c98a;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(212, 189, 138, 0.45);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.summary-submit-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem;
  font-size: var(--t-small);
  color: rgba(255,255,255,0.7);
}
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.summary-book-call {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
}
.summary-book-call a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.summary-book-call a:hover { color: #e0c98a; }

/* Reveal motion for builder elements */
@media (prefers-reduced-motion: no-preference) {
  .tier-card, .credit-opt {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .tier-card.reveal, .credit-opt.reveal { opacity: 1; transform: none; }
}

/* ============================================================
   LIENGUARD LIFECYCLE
   ============================================================ */
.lifecycle { background: var(--bg); }
.lc-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 1rem;
}
.lc-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
}
.lc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--indigo); color: var(--gold);
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: 1rem;
}
.lc-step h3 { font-size: 1.05rem; margin: 0.85rem 0 0.5rem; }
.lc-step p { font-size: var(--t-small); color: var(--slate); line-height: 1.55; }
.lc-step strong { color: var(--indigo); font-weight: 700; }
.lc-arrow { align-self: center; color: var(--gold-dark); font-size: 1.5rem; font-weight: 700; }
.lc-foot { margin-top: 1.5rem; font-size: var(--t-small); color: var(--slate-light); max-width: 72ch; line-height: 1.6; }
@media (max-width: 860px) {
  .lc-track { grid-template-columns: 1fr; }
  .lc-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ============================================================
   PLAN COMPARISON MATRIX (Retail / Core / Pro / Enterprise)
   ============================================================ */
.plan-compare { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.plan-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.plan-matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: var(--t-small);
}
.plan-matrix th, .plan-matrix td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-top: 1px solid var(--line-soft);
  vertical-align: middle;
}
.plan-matrix thead th {
  background: var(--indigo);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-top: 0;
}
.plan-matrix thead th.pm-featured { background: var(--indigo-light); color: var(--gold); }
.plan-matrix thead .pm-cap {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.plan-matrix tbody th {
  font-weight: 600; color: var(--indigo);
  background: var(--bg-soft);
}
.plan-matrix tbody td { color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-matrix tbody tr:hover th, .plan-matrix tbody tr:hover td { background: var(--cream); }
.plan-matrix .pm-retail { color: var(--slate-light); }
.plan-matrix .pm-yes { color: var(--gold-dark); font-weight: 700; }
.plan-matrix .pm-no { color: var(--blue-gray); }
.plan-matrix .pm-fit th, .plan-matrix .pm-fit td { font-style: italic; color: var(--slate); }
.plan-compare-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }

/* ============================================================
   3-WAY VALUE COMPARISON (DIY / Siloed / JurisDeed)
   ============================================================ */
.compare-3way .ct-row { grid-template-columns: 1fr 1fr 1fr 1.2fr; }
.compare-3way .ct-them + .ct-them { border-left: 1px solid var(--line-soft); }
@media (max-width: 760px) {
  .compare-3way .ct-row { grid-template-columns: 1fr; }
  .compare-3way .ct-them + .ct-them { border-left: 0; border-top: 1px solid var(--line-soft); }
}
