/* TownSquare HOA — product/marketing site.
   Brand mirrors TownSquare platform identity (Cormorant Garamond serif headings + Inter body)
   with the ocean blues + sand accent theme. */

:root {
  --ocean-50: #effafc; --ocean-100: #d7f0f4; --ocean-200: #b3e2e9;
  --ocean-300: #83cbdb; --ocean-400: #4cabc3; --ocean-500: #2f8fa9;
  --ocean-600: #28748d; --ocean-700: #265f74; --ocean-800: #1d4a5c;
  --ocean-900: #0e3443; --ocean-950: #0a2330;
  --sand-100: #f3ecdd; --sand-200: #e6d8bd; --sand-300: #d6c097;
  --sand-400: #c7a56f; --sand-500: #bb9057;
  --lime-400: #a3e635; --lime-500: #84cc16;
  --text: #16384a; --muted: #5f7a86;
  --bg: #fdfcf9; --bg-alt: #f3f7f8;
  --border: #e3ecef;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --shadow-soft: 0 10px 40px -12px rgba(14, 52, 67, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ocean-900); margin: 0 0 0.5em; line-height: 1.18; }
p { margin: 0 0 1em; }
a { color: var(--ocean-600); text-decoration: none; }
a:hover { color: var(--ocean-800); }
ul, ol { list-style: none; margin: 0; padding: 0; }
li { list-style: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 0.95rem; padding: 0.7rem 1.4rem; border-radius: 10px; transition: all .15s; cursor: pointer; border: 1px solid transparent; font-family: var(--sans); text-align: center; }
.btn-primary { background: var(--ocean-500); color: #fff; }
.btn-primary:hover { background: var(--ocean-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ocean-700); border-color: var(--ocean-300); }
.btn-ghost:hover { background: var(--ocean-50); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1rem; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(253, 252, 249, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ocean-900); text-decoration: none; flex-shrink: 0; }
.brand-mark { height: 30px; width: 30px; flex-shrink: 0; }
.brand-text { font-family: "Plus Jakarta Sans", var(--sans); font-size: 1.35rem; font-weight: 800; color: var(--ocean-900); letter-spacing: -0.02em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--ocean-800); }
.nav-cta { margin-left: 6px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ocean-900); padding: 6px; }

/* Hero */
.hero { padding: 84px 0 64px; background: linear-gradient(180deg, #f4fafb 0%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--sand-500); margin-bottom: 16px; font-family: var(--mono); }
.hero h1 { font-size: 3.1rem; font-weight: 700; line-height: 1.15; }
.hero .accent { color: var(--ocean-500); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 32em; line-height: 1.6; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

/* Interactive Dual-Mode Showcase Frame */
.showcase-frame {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 45px -12px rgba(10, 35, 48, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--ocean-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.w-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.w-dot.red { background: #ef4444; }
.w-dot.yellow { background: #f59e0b; }
.w-dot.green { background: #10b981; }

.showcase-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 10px;
}

.switcher-tab {
  background: transparent;
  border: none;
  color: var(--ocean-200);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.switcher-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.switcher-tab.active {
  background: #ffffff;
  color: var(--ocean-950);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.live-pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--lime-400);
  background: rgba(163, 230, 53, 0.15);
  border: 1px solid rgba(163, 230, 53, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.showcase-body {
  padding: 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Board Cockpit Specifics */
.cockpit-header, .resident-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.community-tag {
  font-size: 0.72rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.cockpit-title, .resident-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ocean-950);
  margin-top: 2px;
}

.badge-role {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-resident {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.cockpit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cockpit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.card-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.card-stat {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-900);
  line-height: 1.2;
}

.card-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.cockpit-queue {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.queue-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.82rem;
}

.queue-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.queue-badge {
  font-size: 0.68rem;
  font-family: var(--mono);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.queue-badge.arc { background: #fef3c7; color: #92400e; }
.queue-badge.vote { background: #ede9fe; color: #5b21b6; }
.queue-badge.maint { background: #e0f2fe; color: #0369a1; }

.queue-name {
  font-weight: 600;
  color: var(--ocean-950);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-pill.warn { background: #fffbeb; color: #b45309; border: 1px solid #fef3c7; }
.status-pill.ok { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
.status-pill.info { background: #f0f9ff; color: #0284c7; border: 1px solid #e0f2fe; }

/* Resident Homeowner Specifics */
.resident-dues-box {
  background: linear-gradient(135deg, var(--ocean-900) 0%, var(--ocean-800) 100%);
  border-radius: 12px;
  padding: 16px 18px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dues-lbl {
  font-size: 0.72rem;
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--ocean-200);
  letter-spacing: 0.05em;
}

.dues-status {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0;
}

.dues-sub {
  font-size: 0.72rem;
  color: var(--ocean-300);
}

.btn-resident-action {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-resident-action:hover {
  background: #ffffff;
  color: var(--ocean-950);
}

.resident-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.res-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
}

.res-icon {
  font-size: 1.25rem;
}

.res-card strong {
  display: block;
  font-size: 0.8rem;
  color: var(--ocean-950);
}

.res-card p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.resident-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 10px;
  padding: 10px 12px;
}

.notice-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.resident-notice p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #92400e;
}

.showcase-foot {
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.switch-hint {
  font-size: 0.76rem;
  color: var(--muted);
}

/* Trust strip */
.trust { background: var(--ocean-950); color: #fff; padding: 40px 0; }
.trust-head { text-align: center; color: var(--ocean-300); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; margin-bottom: 24px; font-family: var(--mono); }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.trust-stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--ocean-200); }
.trust-stats span { color: var(--ocean-300); font-size: 0.9rem; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: 2.4rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Cards & grid */
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-soft); }
.card h3 { font-size: 1.5rem; }

/* Standard Checklists (Used in pricing and feature cards) */
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { list-style: none; padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--muted); line-height: 1.5; font-size: 0.95rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ocean-500); font-weight: 700; font-size: 1rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.feature h4 { font-size: 1.25rem; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 24px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; height: 48px; width: 48px; border-radius: 50%; background: var(--ocean-500); color: #fff; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 14px; font-weight: 700; }
.step h4 { font-size: 1.2rem; }
.step p { color: var(--muted); }

/* Problem / Solution Comparison Cards */
.pain-comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.pain-card { border-radius: 16px; padding: 32px; border: 1px solid var(--border); }
.pain-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.pain-card ul, .pain-card .checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.pain-card.old-way { background: #fdf8f8; border-color: #fecaca; }
.pain-card.old-way h3 { color: #991b1b; }
.pain-card.old-way li { list-style: none; padding-left: 28px; position: relative; margin-bottom: 14px; color: #7f1d1d; line-height: 1.5; font-size: 0.95rem; }
.pain-card.old-way li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #dc2626; font-weight: 700; font-size: 1rem; }
.pain-card.ts-way { background: #f4faf8; border-color: #a7f3d0; }
.pain-card.ts-way h3 { color: #065f46; }
.pain-card.ts-way li { list-style: none; padding-left: 28px; position: relative; margin-bottom: 14px; color: #064e3b; line-height: 1.5; font-size: 0.95rem; }
.pain-card.ts-way li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #059669; font-weight: 700; font-size: 1rem; }

/* ==========================================================================
   PRICING SECTION CONTROLS & BALANCED DUAL-TIER DECK
   ========================================================================== */

/* Pricing Controls Container */
.pricing-controls-wrap {
  max-width: 920px;
  margin: 0 auto 40px;
}

.pricing-controls-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 12px 36px -10px rgba(14, 52, 67, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.control-eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean-700);
  margin-bottom: 8px;
}

.pricing-size-segment {
  flex: 1;
}

/* Community Size 3-Way Segmented Control */
.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ocean-50);
  padding: 5px;
  border-radius: 14px;
  border: 1px solid var(--ocean-100);
  gap: 6px;
}

.segment-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: var(--sans);
}

.segment-btn .btn-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ocean-900);
  line-height: 1.2;
}

.segment-btn .btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.2;
}

.segment-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.segment-btn.active {
  background: #ffffff;
  border-color: rgba(47, 143, 169, 0.2);
  box-shadow: 0 4px 14px rgba(14, 52, 67, 0.1);
}

.segment-btn.active .btn-title {
  color: var(--ocean-600);
}

.segment-btn.active .btn-sub {
  color: var(--ocean-800);
  font-weight: 600;
}

/* Vertical divider between Size and Cadence */
.pricing-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  flex-shrink: 0;
}

.pricing-interval-segment {
  flex-shrink: 0;
}

/* Monthly vs Annual Pill Switch */
.interval-pill-switch {
  display: inline-flex;
  background: var(--ocean-50);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--ocean-100);
  gap: 4px;
}

.interval-btn {
  background: transparent;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ocean-800);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.interval-btn.active {
  background: #ffffff;
  color: var(--ocean-900);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 52, 67, 0.1);
}

.discount-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Symmetrical Centered Dual-Card Layout */
.pricing-deck-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.pricing-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1020px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -10px rgba(14, 52, 67, 0.16);
}

.price-card.featured {
  border: 2px solid var(--ocean-400);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
  box-shadow: 0 20px 48px -10px rgba(14, 52, 67, 0.22);
}

.popular-tag {
  display: inline-block;
  background: var(--ocean-600);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.price-header h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-pill {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  color: #0f3914;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(163, 230, 53, 0.35);
}
.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 4px;
}
.price {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--ocean-900);
  line-height: 1;
  font-weight: 700;
}
.price-period {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}
.price-badge-sub {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean-600);
  background: var(--ocean-50);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.price-card .checklist {
  margin: 12px 0 28px;
  flex: 1;
}
.price-card-actions {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.enterprise-teaser-card {
  background: linear-gradient(135deg, var(--ocean-950) 0%, var(--ocean-900) 100%);
  color: #fff;
  border: 1px solid var(--ocean-700);
  border-radius: 20px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 12px 36px -10px rgba(10, 35, 48, 0.4);
}
.enterprise-teaser-card .teaser-info {
  flex: 1;
  min-width: 280px;
}
.enterprise-teaser-card h4 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.enterprise-teaser-card p {
  color: var(--ocean-200);
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}
.enterprise-teaser-card .btn-teaser {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.enterprise-teaser-card .btn-teaser:hover {
  background: #ffffff;
  color: var(--ocean-950);
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Dedicated Enterprise & Management Company Section */
.section-enterprise { background: linear-gradient(180deg, var(--ocean-950) 0%, var(--ocean-900) 100%); color: #fff; padding: 88px 0; border-top: 1px solid var(--ocean-800); border-bottom: 1px solid var(--ocean-800); }
.section-enterprise .eyebrow { color: var(--sand-400); }
.section-enterprise h2 { color: #fff; font-size: 2.5rem; }
.section-enterprise p.lead { color: var(--ocean-200); }
.enterprise-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; margin-top: 40px; }
.enterprise-features-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; padding: 36px; backdrop-filter: blur(12px); }
.enterprise-features-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.enterprise-features-list { list-style: none; padding: 0; margin: 20px 0 0; }
.enterprise-features-list li { list-style: none; padding-left: 32px; position: relative; margin-bottom: 16px; color: var(--ocean-100); font-size: 1rem; line-height: 1.5; }
.enterprise-features-list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--sand-400); font-weight: 700; font-size: 1.1rem; }

.concierge-box { background: rgba(10, 35, 48, 0.9); border: 1px solid var(--ocean-600); border-radius: 18px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.concierge-box h4 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.concierge-box p { color: var(--ocean-200); font-size: 0.92rem; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; text-align: left; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ocean-200); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select { width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--ocean-700); background: rgba(255, 255, 255, 0.07); color: #fff; font-family: var(--sans); font-size: 0.95rem; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--sand-400); background: rgba(255, 255, 255, 0.12); }
.btn-sand { background: var(--sand-500); color: #fff; border: 1px solid transparent; }
.btn-sand:hover { background: var(--sand-400); color: #fff; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--ocean-900); font-size: 1.05rem; }
.faq p { color: var(--muted); margin: 12px 0 0; line-height: 1.6; }

/* CTA */
.cta { background: var(--ocean-950); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { color: #fff; font-size: 2.4rem; }
.cta p { color: var(--ocean-200); max-width: 40em; margin: 0 auto 24px; }
.cta-form { display: flex; gap: 12px; justify-content: center; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.cta-form input { flex: 1; min-width: 240px; padding: 0.9rem 1.1rem; border-radius: 10px; border: 1px solid var(--ocean-700); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--sans); font-size: 1rem; }
.cta-form input::placeholder { color: var(--ocean-300); }
.cta-note { margin-top: 16px; min-height: 1.4em; font-size: 0.95rem; color: var(--ocean-300); }
.cta-note.ok { color: var(--ocean-200); }

/* Footer */
.footer { background: var(--ocean-950); border-top: 1px solid var(--ocean-800); color: var(--ocean-300); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ocean-200); }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--ocean-300); }
.footer-links a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--ocean-400); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner, .grid.two, .pain-comparison-grid, .pricing-grid, .enterprise-grid { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: 1fr; }
  .nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(253, 252, 249, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(14, 52, 67, 0.12);
    gap: 16px;
    z-index: 100;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; padding: 6px 0; border-bottom: 1px solid var(--ocean-100); width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; }
  .hero { padding: 48px 0 40px; }
  .pricing-controls-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 18px;
  }
  .pricing-divider {
    width: 100%;
    height: 1px;
  }
  .segmented-control {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pricing-interval-segment {
    text-align: center;
  }
  .pricing-grid.two-col {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .price-card.featured {
    transform: none;
    margin-top: 14px;
  }
  .enterprise-teaser-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
  }
  .enterprise-teaser-card .btn-teaser {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   INTERACTIVE SIGNUP WIZARD & LOSS AVERSION RETENTION MODAL
   ========================================================================== */

/* Wizard Modal Overlay */
.wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 35, 48, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wizard-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.wizard-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(10, 35, 48, 0.35);
  width: 100%;
  max-width: 620px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wizard-overlay.active .wizard-modal {
  transform: translateY(0) scale(1);
}

/* Wizard Close Button (Inline inside wizard-progress-meta) */
.wizard-close {
  position: static;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ocean-200);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
  margin-left: 8px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.wizard-close:hover {
  background: var(--ocean-100);
  color: var(--ocean-900);
  border-color: var(--ocean-300);
}

/* Top Progress Tracker (Endowed Progress Effect) */
.wizard-progress-header {
  background: var(--ocean-50);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 12px;
}
.wizard-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.wizard-progress-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wizard-step-badge {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ocean-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wizard-pct-badge {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ocean-600);
  background: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--ocean-200);
}
.wizard-progress-track {
  height: 8px;
  background: var(--ocean-200);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.wizard-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--ocean-500) 0%, var(--lime-500) 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Wizard Body */
.wizard-body {
  padding: 28px 32px 32px;
}
.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
  animation: stepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--ocean-900);
  margin-bottom: 6px;
  line-height: 1.2;
}
.wizard-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Form inputs */
.wizard-field {
  margin-bottom: 18px;
}
.wizard-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ocean-900);
  margin-bottom: 6px;
}
.wizard-field input, .wizard-field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s;
}
.wizard-field input:focus, .wizard-field select:focus {
  outline: none;
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 3px rgba(47, 143, 169, 0.15);
}

/* Subdomain input group */
.subdomain-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s;
}
.subdomain-input-group:focus-within {
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 3px rgba(47, 143, 169, 0.15);
}
.subdomain-input-group input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  box-shadow: none !important;
}
.subdomain-suffix {
  padding: 0 14px;
  background: var(--ocean-50);
  color: var(--ocean-700);
  font-size: 0.88rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  user-select: none;
}

/* Subdomain availability pill */
.slug-pill {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.slug-pill.available { color: #059669; }
.slug-pill.taken { color: #dc2626; }
.slug-pill.checking { color: var(--muted); }

/* Alternative suggestions */
.slug-suggestions {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.slug-suggestions span {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--ocean-800);
}
.slug-suggestion-btn {
  display: inline-block;
  background: var(--ocean-50);
  border: 1px solid var(--ocean-200);
  border-radius: 6px;
  padding: 3px 10px;
  margin: 3px 4px 3px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean-800);
  cursor: pointer;
  transition: all 0.15s;
}
.slug-suggestion-btn:hover {
  background: var(--ocean-500);
  color: #fff;
  border-color: var(--ocean-500);
}

/* Plan selector cards */
.wizard-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.wizard-plan-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.wizard-plan-card:hover {
  border-color: var(--ocean-300);
}
.wizard-plan-card.selected {
  border-color: var(--ocean-500);
  background: var(--ocean-50);
}
.wizard-plan-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ocean-900);
  margin-bottom: 2px;
}
.wizard-plan-card .price-tag {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ocean-600);
  font-family: var(--serif);
}
.wizard-plan-card span {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
}

/* Provisioning steps list */
.prov-steps {
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.prov-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ocean-50);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--ocean-900);
}
.prov-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--ocean-200);
  color: var(--ocean-800);
  flex-shrink: 0;
}
.prov-step.completed .prov-step-icon {
  background: #059669;
  color: #fff;
}
.prov-step.active .prov-step-icon {
  background: var(--ocean-500);
  color: #fff;
  animation: pulseIcon 1.2s infinite;
}
@keyframes pulseIcon {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Wizard actions footer */
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.wizard-actions .btn {
  min-width: 140px;
}

/* ==========================================================================
   LOSS AVERSION EXIT RETENTION MODAL
   ========================================================================== */
.retention-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 35, 48, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.retention-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.retention-modal {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.retention-overlay.active .retention-modal {
  transform: scale(1);
}
.retention-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.retention-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ocean-900);
  margin-bottom: 10px;
  line-height: 1.25;
}
.retention-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}
.retention-highlight {
  display: block;
  background: var(--ocean-50);
  border: 1px dashed var(--ocean-300);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ocean-800);
  margin: 12px 0 18px;
}
.retention-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.retention-actions .btn {
  width: 100%;
}
.retention-discard-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
}
.retention-discard-btn:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* =========================================================================
   INTERACTIVE 30-SECOND WORKFLOW SIMULATOR
   ========================================================================= */
.btn-simulator-trigger {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.18) 0%, rgba(20, 184, 166, 0.12) 100%);
  border: 1px solid rgba(163, 230, 53, 0.5);
  color: #15803d;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(163, 230, 53, 0.15);
  transition: all 0.2s ease;
}

.btn-simulator-trigger:hover {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.28) 0%, rgba(20, 184, 166, 0.22) 100%);
  border-color: #84cc16;
  color: #166534;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.25);
}

.btn-sparkle {
  display: inline-block;
  animation: sparkleRotate 3s infinite ease-in-out;
}

@keyframes sparkleRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.15); }
}

.link-sim-trigger {
  background: none;
  border: none;
  color: var(--ocean-700);
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.link-sim-trigger:hover {
  color: #15803d;
}

/* Simulator Modal Overlay */
.sim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sim-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sim-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-overlay.active .sim-modal {
  transform: scale(1) translateY(0);
}

/* Simulator Header */
.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.sim-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.sim-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ocean-950);
  line-height: 1.25;
  margin-bottom: 4px;
}

.sim-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.sim-close-btn {
  background: #f1f5f9;
  border: none;
  color: var(--ocean-700);
  font-size: 1.5rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.sim-close-btn:hover {
  background: #e2e8f0;
  color: var(--ocean-950);
}

/* Tabs */
.sim-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  gap: 1px;
}

.sim-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.sim-tab:hover {
  background: #ffffff;
}

.sim-tab.active {
  background: #ffffff;
  border-bottom: 2px solid #10b981;
  box-shadow: inset 0 2px 0 #10b981;
}

.tab-emoji {
  font-size: 1.3rem;
  line-height: 1;
}

.tab-meta strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ocean-950);
  line-height: 1.25;
}

.tab-meta small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Simulator Body & Steps */
.sim-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.sim-flow {
  display: none;
}

.sim-flow.active {
  display: block;
}

.sim-step-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}

.sim-crumb {
  padding: 3px 8px;
  border-radius: 6px;
}

.sim-crumb.active {
  background: var(--ocean-100);
  color: var(--ocean-900);
  font-weight: 700;
}

.sim-crumb.done {
  color: #047857;
}

.sim-crumb-sep {
  color: #cbd5e1;
}

.sim-step {
  display: none;
  animation: fadeInStep 0.25s ease-out;
}

.sim-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mockup Container Cards */
.sim-mockup-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.mockup-tag {
  font-size: 0.78rem;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ocean-800);
}

.mockup-date {
  font-size: 0.72rem;
  color: var(--muted);
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.mockup-row {
  display: flex;
  gap: 8px;
}

.mockup-row strong {
  min-width: 130px;
  color: var(--ocean-900);
}

.mockup-row span {
  color: var(--ocean-950);
}

.mockup-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.file-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--ocean-900);
  font-weight: 500;
}

/* Covenant Checklist Box */
.checklist-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  border-radius: 10px;
}

.chk-item.pass {
  border-left: 4px solid #10b981;
}

.chk-item.warn {
  border-left: 4px solid #f59e0b;
  background: #fffdfa;
}

.chk-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 1px;
}

.chk-txt strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ocean-950);
  margin-bottom: 2px;
}

.chk-txt span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Success Card & Letter Preview */
.success-banner {
  text-align: center;
  padding: 12px 0 16px;
}

.success-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.success-banner h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ocean-950);
  margin-bottom: 4px;
}

.success-banner p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.letter-preview {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ocean-950);
  margin-top: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.letter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  font-size: 0.76rem;
}

.mono-code {
  font-family: var(--mono);
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
}

.letter-signoff {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.74rem;
  color: var(--muted);
}

.verified-seal {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

/* Outcome Stat Grid */
.sim-outcome-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.outcome-stat {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.outcome-stat .stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1.1;
}

.outcome-stat .stat-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Dues & Invoicing Specifics */
.dues-builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.dues-meta-box label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.val-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ocean-950);
}

.val-pill.highlight {
  border-color: #84cc16;
  background: #f7fee7;
  color: #15803d;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.payment-methods-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.75rem;
  color: var(--muted);
}

.pm-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--ocean-900);
}

.dispatch-progress-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.prog-bar-container {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.prog-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #14b8a6 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.dispatch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 10px;
}

.dstat .dnum {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ocean-950);
}

.dstat span {
  font-size: 0.7rem;
  color: var(--muted);
}

.email-preview-snippet {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.78rem;
}

.email-bar {
  font-weight: 700;
  color: var(--ocean-950);
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.email-preview-snippet p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.ledger-table-wrap {
  overflow-x: auto;
}

.sim-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.sim-ledger-table th {
  background: #f8fafc;
  padding: 8px 10px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid #cbd5e1;
}

.sim-ledger-table td {
  padding: 10px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--ocean-950);
}

/* Ballot Specifics */
.ballot-question-box h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ocean-950);
  margin-bottom: 8px;
}

.ballot-question-box p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.ballot-meta-strip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--ocean-800);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  border-radius: 8px;
}

.vote-instruction {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.vote-radio-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vote-option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vote-option-label:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.vote-option-label.selected {
  border-color: #10b981;
  background: #f0fdf4;
}

.vote-title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ocean-950);
  margin-bottom: 2px;
}

.vote-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.results-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.vote-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vbar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ocean-950);
}

.vbar-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.vbar-fill {
  height: 100%;
  border-radius: 999px;
}

.vbar-fill.yes { background: #10b981; }
.vbar-fill.no { background: #ef4444; }
.vbar-fill.abstain { background: #94a3b8; }

.cert-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.74rem;
}

.cert-badge {
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.cert-line strong {
  color: var(--ocean-950);
}

/* Action Banner in Simulator */
.sim-action-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sim-action-banner.highlight-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #86efac;
}

.sim-banner-left {
  font-size: 0.82rem;
  color: var(--ocean-950);
  line-height: 1.4;
}

.sim-banner-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.sim-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sim-btn-pulse {
  animation: pulseGlow 2.5s infinite;
  white-space: nowrap;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sim-header {
    padding: 18px 20px;
  }
  .sim-title {
    font-size: 1.2rem;
  }
  .sim-tabs {
    grid-template-columns: 1fr;
  }
  .sim-tab {
    padding: 10px 14px;
  }
  .sim-body {
    padding: 18px 20px;
  }
  .sim-action-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .sim-actions-group {
    flex-direction: column;
    width: 100%;
  }
  .sim-actions-group .btn {
    width: 100%;
  }
  .results-visual-grid,
  .dues-builder-grid,
  .sim-outcome-box {
    grid-template-columns: 1fr;
  }
}


