/* Long-form direct-response sales letter & landing page (marketing/start.html).
   Combines direct-response storytelling with modern UI card grids,
   authentic fluorescent marker highlights, rich typography, and micro-interactions. */

/* ==========================================
   1. MARKER HIGHLIGHTS & BRUSH STROKES
   ========================================== */

.markerHighlight {
  position: relative;
  display: inline-block;
  white-space: normal;
  padding: 0.12em 0.4em;
  margin: 0 0.05em;
  border-radius: 0.25em 0.15em 0.3em 0.2em;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: transform var(--motion-ui) var(--ease-standard), background-color var(--motion-ui) var(--ease-standard);
}

/* Marker Yellow (Default Fluorescent) */
.markerYellow,
.markerHighlight:not([class*="marker"]) {
  background-color: rgba(254, 240, 138, 0.95);
  color: #17191b;
  box-shadow: 0 1px 4px rgba(234, 179, 8, 0.2);
}

/* Marker Cyan */
.markerCyan {
  background-color: rgba(186, 230, 253, 0.95);
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(14, 165, 233, 0.2);
}

/* Marker Rose / Pink */
.markerRose {
  background-color: rgba(254, 205, 211, 0.95);
  color: #881337;
  box-shadow: 0 1px 4px rgba(244, 63, 94, 0.2);
}

/* Marker Lime / Green */
.markerLime {
  background-color: rgba(187, 247, 208, 0.95);
  color: #064e3b;
  box-shadow: 0 1px 4px rgba(34, 197, 94, 0.2);
}

/* Dark mode adjustments for markers to maintain high contrast */
[data-theme="dark"] .markerYellow,
[data-theme="dark"] .markerHighlight:not([class*="marker"]) {
  background-color: rgba(234, 179, 8, 0.38);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.45);
}
[data-theme="dark"] .markerCyan {
  background-color: rgba(14, 165, 233, 0.35);
  color: #bae6fd;
  border: 1px solid rgba(14, 165, 233, 0.45);
}
[data-theme="dark"] .markerRose {
  background-color: rgba(244, 63, 94, 0.35);
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.45);
}
[data-theme="dark"] .markerLime {
  background-color: rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

/* Text Color Highlight Variants (No background fill, crisp font colors) */
.textColorYellow {
  color: #b45309;
  font-weight: 600;
}
.textColorCyan {
  color: #0284c7;
  font-weight: 600;
}
.textColorRose {
  color: #e11d48;
  font-weight: 600;
}
.textColorLime {
  color: #15803d;
  font-weight: 600;
}
.textColorPrimary {
  color: var(--primary);
  font-weight: 600;
}

[data-theme="dark"] .textColorYellow { color: #fbbf24; }
[data-theme="dark"] .textColorCyan { color: #38bdf8; }
[data-theme="dark"] .textColorRose { color: #fb7185; }
[data-theme="dark"] .textColorLime { color: #4ade80; }
[data-theme="dark"] .textColorPrimary { color: var(--primary); }

/* Marker Underline Effect */
.markerUnderline {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.markerUnderline::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: 1px;
  width: calc(100% + 4px);
  height: 0.4em;
  background: rgba(31, 107, 69, 0.28);
  z-index: -1;
  border-radius: 2px;
  transform: rotate(-0.5deg);
}

/* ==========================================
   2. MONOSPACED BADGES & SECTION HEADERS
   ========================================== */

.badgeChip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-soft-border);
  margin-bottom: 0.85rem;
}

.badgeChip--warning {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: rgba(138, 109, 31, 0.3);
}

.badgeChip--destructive {
  background: var(--destructive-soft);
  color: var(--destructive);
  border-color: rgba(179, 57, 42, 0.3);
}

.badgeChip--neutral {
  background: var(--secondary);
  color: var(--muted-foreground);
  border-color: var(--border);
}

.sectionHeaderBlock {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.sectionHeading,
.sectionHeaderBlock .sectionHeading {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
  max-width: 48ch;
  margin-bottom: 0.75rem;
}

/* Dynamic Subtitles */
.sectionSubhead {
  font-family: var(--font);
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Large Dramatic Beats */
.letterBigBeat {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.28;
  color: var(--foreground);
  margin: 1.75rem 0;
}

.letterBigBeat--accent {
  color: var(--primary);
}

/* ==========================================
   3. HERO ENHANCEMENTS
   ========================================== */

.startHeroContainer {
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.startHeroHeading {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.startHeroLead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: var(--muted-foreground);
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.startHeroPills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}

.startHeroPill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
  box-shadow: var(--shadow-md);
}

.startHeroPillDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ==========================================
   4. OBJECTION & REBUTTAL CARDS
   ========================================== */

.objectionCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin: 2rem 0;
  transition: transform var(--motion-ui) var(--ease-standard), box-shadow var(--motion-ui) var(--ease-standard), border-color var(--motion-ui) var(--ease-standard);
}

.objectionCard:hover {
  border-color: var(--primary-soft-border);
  box-shadow: var(--shadow-md);
}

.objectionMetaHeader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.objectionNumberBadge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.objectionHeader {
  font-family: var(--display-italic);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.28;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border);
}

.objectionBody p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.objectionBody p:last-child {
  margin-bottom: 0;
}

.objectionHighlightBox {
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  margin-top: 1.25rem;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--foreground);
}

/* ==========================================
   5. LEGACY COMPATIBILITY & OVERRIDES
   ========================================== */

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

.letterPunch {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.45rem;
}
.letterPunch p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--foreground);
}
.letterPunch--lg p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
  font-weight: 500;
}
.letterPunch--muted p { color: var(--muted-foreground); }

.sectionInner--prose .letterQuote {
  font-family: var(--display-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.3;
  color: var(--foreground);
  max-width: 45ch;
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--primary);
}

.sectionInner--prose .letterEmphasis {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  color: var(--foreground);
  margin: 1.75rem 0;
}
.sectionInner--prose .letterEmphasis--accent { color: var(--primary); }

.letterCheckList {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.letterCheckList li {
  padding-left: 1.8rem;
  position: relative;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: var(--leading-normal);
  color: var(--foreground);
}
.letterCheckList li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.letterStack {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  text-align: center;
}
.letterStack span {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.22;
  color: var(--muted-foreground);
}
.letterStack span:last-child {
  color: var(--primary);
  font-weight: 600;
}

.letterCta {
  text-align: center;
  max-width: 680px;
  margin: 2.5rem auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--primary-soft-border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.letterCtaEyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 1rem;
}
.sectionInner--prose .letterCtaHeading {
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: var(--foreground);
  margin: 0 0 1.5rem;
}
