/* OfferIQ — minimal single-column layout */

:root {
  --p1: #f15857;
  --p2: #ffce43;
  --p3: #4b8bf4;
  --p4: #6ebf7c;
  --p5: #9565a1;
  --content-w: 740px;
}

/* Page base */
body {
  background: #ffffff;
  color: var(--fg-1);
}

/* ============================================================
   SECTION BACKGROUNDS — subtle gradients to differentiate
   ============================================================ */
.hero-section {
  position: relative;
  background:
    radial-gradient(900px 460px at 78% 18%, rgba(110,191,124,0.12), transparent 62%),
    radial-gradient(720px 360px at 8% 88%, rgba(255,206,67,0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
}
.crm-section {
  position: relative;
  padding: 40px 0 56px;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(28,50,96,0.05), transparent 60%),
    linear-gradient(180deg, #f4f7fb 0%, #eef2f8 50%, #f4f7fb 100%);
  border-top: 1px solid rgba(28,50,96,0.06);
  border-bottom: 1px solid rgba(28,50,96,0.06);
}
.pillars-list-section {
  position: relative;
  padding: 40px 0 56px;
  background: #ffffff;
}
.submission-section {
  position: relative;
  padding: 56px 0 80px;
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(255,206,67,0.10), transparent 62%),
    radial-gradient(720px 360px at 90% 90%, rgba(110,191,124,0.08), transparent 62%),
    linear-gradient(180deg, #fdfaf2 0%, #fbf8ec 50%, #fdfaf2 100%);
  border-top: 1px solid rgba(255,206,67,0.18);
}

/* Narrow column for everything */
.container-narrow {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Brand wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ext-grad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(26,101,39,0.25);
  flex-shrink: 0;
}
.brand-by {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 1px solid var(--ext-gray-300);
}

/* Eyebrow chip */
.numchip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.numchip .dot {
  width: 24px; height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-headline);
}

/* Page headlines */
.page-h1 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--fg-1);
}
.page-h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg-1);
}
.page-lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.page-lead strong { color: var(--fg-1); font-weight: 700; }

/* ============================================================
   HERO — two cards: the standard + the worked example
   ============================================================ */
.hero-section {
  padding: 72px 0 56px;
}
.hero-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}
.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero — "Start here" video on the right */
.hero-video-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-video-eye {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ext-green-dark);
  padding-left: 4px;
}
.hero-video-eye i { color: var(--ext-green); font-size: 13px; }
.hero-video {
  margin-bottom: 0;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.25);
}
.hero-video.empty {
  background: linear-gradient(160deg, rgba(110,191,124,0.18), white);
  border-color: var(--ext-green);
}

/* ============================================================
   CRM SUITE — canonical offer section
   ============================================================ */
/* CRM section override — moved into section-backgrounds block above */
.crm-card {
  background: linear-gradient(155deg, #0e1830 0%, #142547 60%, #1c3260 100%);
  border-radius: 24px;
  padding: 28px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(14,24,48,0.5);
}
.crm-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110,191,124,0.28), transparent 70%);
  pointer-events: none;
}
.crm-card::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,139,245,0.2), transparent 70%);
  pointer-events: none;
}
.crm-card > * { position: relative; }
.crm-card-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.crm-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ext-grad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 10px 24px -8px rgba(110,191,124,0.5);
}
.crm-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: white;
  margin-bottom: 8px;
}
.crm-tag {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.crm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.crm-eye {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.crm-eye i { color: var(--ext-green-light); font-size: 12px; }
.crm-problem-q {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 10px;
}
.crm-problem-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.crm-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 13px;
  color: var(--ext-green-light);
  letter-spacing: 0.01em;
}

/* Worked-example selector — two big toggles above the offer card */
.ex-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.ex-toggle-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  border: 2px solid var(--ext-gray-200);
  background: white;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.18s var(--ease-default), box-shadow 0.18s var(--ease-default), transform 0.18s var(--ease-default);
}
.ex-toggle-btn:hover { border-color: var(--ext-gray-400); transform: translateY(-1px); }
.ex-toggle-btn.active {
  border-color: var(--ex-accent);
  box-shadow: 0 0 0 1px var(--ex-accent), 0 10px 24px -16px rgba(14,24,48,0.5);
}
.ex-toggle-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ext-gray-100);
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.18s var(--ease-default);
}
.ex-toggle-btn.active .ex-toggle-icon {
  background: var(--ex-accent);
  color: white;
}
.ex-toggle-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ex-toggle-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.ex-toggle-sub {
  font-size: 11.5px;
  color: var(--fg-3);
  letter-spacing: 0.02em;
}
.ex-toggle-btn.active .ex-toggle-sub { color: var(--ext-green-dark); font-weight: 600; }
.ex-toggle-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ex-accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* Launch-call proof — replaces the v1 daily-SMS mockup */
.lc-mockup {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(8px);
}
.lc-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.lc-rec {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff5b5b;
  box-shadow: 0 0 0 4px rgba(255,91,91,0.18);
  flex-shrink: 0;
}
.lc-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  color: white;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.lc-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
}
.lc-list li i {
  color: var(--ext-green-light);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}
.lc-close {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.6);
}
.lc-close i { color: var(--ext-green-light); font-size: 11px; margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   STICKY PILLAR NAV — lives under the hero, sticks once scrolled
   ============================================================ */
.pillar-nav-sticky {
  position: sticky;
  top: 66px; /* sits under main header once scrolled */
  z-index: 40;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid var(--ext-gray-200);
  border-bottom: 1px solid var(--ext-gray-200);
  margin-top: 0;
  transition: opacity 0.25s var(--ease-default), transform 0.25s var(--ease-default);
}
.pillar-nav-sticky.hide {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.pillar-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
}
.pillar-nav-overview {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.pillar-nav-label {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  line-height: 1;
}
.pillar-nav-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1;
}
.pillar-nav-chips {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}
.pillar-nav-chips::-webkit-scrollbar { display: none; }

.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--fg-2);
  text-decoration: none;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 12px;
  transition: all 0.18s var(--ease-default);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-chip:hover {
  background: rgba(0,0,0,0.04);
  text-decoration: none;
}
.nav-chip.active {
  background: white;
  border-color: var(--chip-color);
  color: var(--fg-1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nav-chip-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--chip-color);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-chip.complete .nav-chip-num {
  background: var(--ext-green);
}
.nav-chip.complete {
  color: var(--ext-green-dark);
}
.nav-chip-name {
  display: inline-block;
}

/* ============================================================
   PILLAR CARD
   ============================================================ */
.pillar-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--ext-gray-200);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: border-color 0.25s var(--ease-default);
}
.pillar-card.is-complete {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -12px var(--accent-tint);
}
.pillar-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.pillar-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.pillar-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.pillar-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg-1);
}
.pillar-progress {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ext-gray-100);
  color: var(--fg-2);
  flex-shrink: 0;
}
.pillar-progress.complete {
  background: rgba(110,191,124,0.15);
  color: var(--ext-green-dark);
}
.pillar-constraint {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--fg-1);
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fafbfd;
  border-left: 3px solid var(--accent);
}

/* Inline examples — "Don't" + "Like CRM Suite" */
.pillar-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.example-card {
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid;
}
.example-card.bad {
  background: rgba(241,88,87,0.04);
  border-color: rgba(241,88,87,0.18);
}
.example-card.good {
  background: rgba(110,191,124,0.05);
  border-color: rgba(110,191,124,0.22);
}
.example-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.example-card.bad .example-lbl { color: var(--ext-red); }
.example-card.good .example-lbl { color: var(--ext-green-dark); }
.example-txt {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-1);
  font-weight: 500;
}
.example-sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-3);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(110,191,124,0.3);
}

/* Pillar call-out note — open tension / compliance / build / tbd */
.pillar-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid;
}
.pillar-note > i {
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.pillar-note-lbl {
  display: block;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.pillar-note-txt {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.pillar-note.tension    { background: rgba(241,88,87,0.05);  border-color: rgba(241,88,87,0.22); }
.pillar-note.tension > i, .pillar-note.tension .pillar-note-lbl { color: var(--ext-red); }
.pillar-note.compliance { background: rgba(255,206,67,0.10); border-color: rgba(212,160,23,0.35); }
.pillar-note.compliance > i, .pillar-note.compliance .pillar-note-lbl { color: #8a6500; }
.pillar-note.build      { background: rgba(76,139,245,0.06); border-color: rgba(76,139,245,0.25); }
.pillar-note.build > i, .pillar-note.build .pillar-note-lbl { color: var(--ext-blue-dark); }
.pillar-note.tbd        { background: rgba(149,101,161,0.07); border-color: rgba(149,101,161,0.28); }
.pillar-note.tbd > i, .pillar-note.tbd .pillar-note-lbl { color: #5e3d68; }

/* Video wrapper */
.video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.2);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-wrap.empty {
  border: 2px dashed;
  box-shadow: none;
}
.video-empty-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.video-empty-inner code {
  font-family: var(--font-mono);
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
}
.video-play {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

/* Per-card checklist */
.pillar-checklist {
  background: #fafbfd;
  border-radius: 14px;
  padding: 14px 16px;
}
.pillar-checklist-hd {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.row-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 9px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.row-check:hover { background: rgba(0,0,0,0.025); }
.row-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--ext-gray-400);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.15s;
  color: white;
}
.row-box svg { display: none; width: 12px; height: 12px; }
.row-check.checked .row-box svg { display: block; }
.row-label {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--fg-1);
  font-weight: 500;
}
.row-check.checked .row-label {
  color: var(--fg-3);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(0,0,0,0.25);
}

/* ============================================================
   SUBMISSION CARD
   ============================================================ */
.sub-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--ext-gray-200);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sub-readiness {
  background: #fafbfd;
  border-radius: 14px;
  padding: 14px 18px;
}
.sub-readiness-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sub-readiness-dots {
  display: flex;
  gap: 8px;
}
.sub-dot {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--ext-gray-300);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.sub-dot.on {
  color: white;
}

/* Master promise — big top toggle */
.master-promise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 2px solid var(--ext-gray-200);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}
.master-promise:hover { border-color: var(--ext-gray-400); }
.master-promise.on {
  background: linear-gradient(140deg, rgba(110,191,124,0.12), rgba(76,139,245,0.06));
  border-color: var(--ext-green);
}
.master-box {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid var(--ext-gray-400);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 2px;
}
.master-promise.on .master-box {
  background: var(--ext-green);
  border-color: var(--ext-green);
}
.master-eye {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.master-promise.on .master-eye { color: var(--ext-green-dark); }
.master-txt {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}

/* Form fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ff {
  background: #fafbfd;
  border: 1px solid var(--ext-gray-200);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.15s;
}
.ff:focus-within { border-color: var(--ext-blue); }
.ff-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.ff-num {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ext-gray-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 11px;
  color: var(--fg-2);
}
.ff-ttl {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--fg-1);
  letter-spacing: -0.005em;
}
.ff-hint {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 3px;
  line-height: 1.4;
}
.ff-pillar {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 3px;
  flex-shrink: 0;
}
.ff-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--ext-gray-300);
  background: white;
  color: var(--fg-1);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ff-input:focus {
  border-color: var(--ext-blue);
  box-shadow: 0 0 0 3px rgba(24,139,246,0.12);
}
.ff-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 2px dashed var(--ext-gray-300);
  background: white;
  cursor: pointer;
  transition: all 0.15s;
}
.ff-file:hover { border-color: var(--ext-blue); background: rgba(24,139,246,0.03); }
.ff-file.has { border-color: var(--ext-green); border-style: solid; background: rgba(110,191,124,0.05); }
.ff-file-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ext-gray-200);
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.ff-file.has .ff-file-icon { background: var(--ext-green); color: white; }

.submit-btn {
  padding: 16px 24px;
  font-size: 15px;
  width: 100%;
  margin-top: 4px;
}

/* Submitted state */
.sub-success {
  background: linear-gradient(140deg, #0a1226, #1a2547);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  color: white;
}
.sub-success-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--ext-grad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
}
.sub-success-eye {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ext-green-light);
  margin-bottom: 10px;
}
.sub-success-h {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 12px;
  line-height: 1.15;
}
.sub-success p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 440px;
  margin: 0 auto;
}

/* Anchor offset so sticky nav doesn't cover pillar headers on jump */
.pillar-card { scroll-margin-top: 130px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pillar-nav-overview { display: none; }
  .pillar-nav-chips { justify-content: flex-start; }
}
@media (max-width: 980px) {
  .hero-container { max-width: 760px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .hero-section { padding: 48px 0 32px; }
  .hero-container { padding: 0 20px; }
  .crm-card { padding: 22px; border-radius: 20px; }
  .crm-row { grid-template-columns: 1fr; gap: 22px; }
  .crm-name { font-size: 24px; }
  .crm-problem-q { font-size: 17px; }
  .ex-toggle { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-h1 { font-size: 36px; }
  .page-h2 { font-size: 28px; }
  .pillar-card { padding: 22px 20px; border-radius: 20px; }
  .pillar-name { font-size: 20px; }
  .pillar-constraint { font-size: 16px; padding: 14px 16px; }
  .pillar-examples { grid-template-columns: 1fr; gap: 10px; }
  .sub-card { padding: 22px 20px; border-radius: 20px; }
  .sub-success { padding: 36px 24px; }
  .sub-success-h { font-size: 24px; }
  .pillar-nav-inner { padding: 8px 18px; gap: 10px; }
  .nav-chip-name { display: none; }
  .nav-chip { padding: 4px; }
  .nav-chip.active .nav-chip-name { display: inline-block; padding-right: 6px; }
}
