/* Resonant Stark — Lead Magnet Base Styles
   Three-brand system: pasttheprompt.dev · byjed.com · jedrzej.com */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Backgrounds */
  --bg-dark: #0A0A0B;
  --bg-card: #1A1A1A;
  --bg-code: #0D0D0D;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #E5E5E5;
  --text-muted: #737373;

  /* Accent */
  --teal: #14B8A6;
  --pink: #F472B6;
  --blue: #3B82F6;
  --purple: #A855F7;
  --amber: #F59E0B;
  --green: #10B981;
  --indigo: #6366F1;
  --violet: #8B5CF6;

  /* Structure */
  --border: rgba(255, 255, 255, 0.1);

  /* ── Three-Brand System ── */
  --brand-ptp:        #F472B6;                    /* pasttheprompt.dev — Pink  */
  --brand-ptp-dim:    rgba(244, 114, 182, 0.05);
  --brand-ptp-border: rgba(244, 114, 182, 0.13);
  --brand-byjed:      #14B8A6;                    /* byjed.com — Teal          */
  --brand-byjed-dim:  rgba(20,  184, 166, 0.09);
  --brand-jed:        #94A3B8;                    /* jedrzej.com — Slate       */
  --brand-jed-dim:    rgba(148, 163, 184, 0.09);
}

/* ===== TYPOGRAPHY BASE ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

/* ===== BRAND LOCKUP ===== */
/* Appears at the top of every page / screen.
   "Hard to remove" — structural, not decorative. */

.lm-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.lm-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.lm-logo-mark {
  font-size: 10px;
  color: var(--brand-ptp);
  margin-right: 4px;
  line-height: 1;
  opacity: 0.6;
}

.lm-logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.lm-logo-tld {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--brand-ptp);
  letter-spacing: -0.01em;
}

.lm-brand-byline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ===== BRAND FOOTER STRIP ===== */
/* Three domains with colour-coded dots.
   Appears at the bottom of every page / screen. */

.lm-brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  padding: 8px 0 4px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
}

.lm-brand-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lm-brand-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.lm-brand-item.ptp::before   { background: var(--brand-ptp);   }
.lm-brand-item.byjed::before { background: var(--brand-byjed); }
.lm-brand-item.jed::before   { background: var(--brand-jed);   }

.lm-brand-item a,
.lm-brand-item span.lm-domain {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s ease;
}

.lm-brand-item.ptp   a:hover { color: var(--brand-ptp);   }
.lm-brand-item.byjed a:hover { color: var(--brand-byjed); }
.lm-brand-item.jed   a:hover { color: var(--brand-jed);   }

.lm-brand-sep {
  color: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  user-select: none;
}

/* ===== MID-CONTENT BRAND CALLOUT ===== */
/* Woven into content — organic, not decorative.
   Appears once per document, context-appropriate. */

.lm-brand-callout {
  display: block;
  background: rgba(244, 114, 182, 0.05);
  border: 1px solid rgba(244, 114, 182, 0.13);
  border-left: 2px solid rgba(244, 114, 182, 0.55);
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  margin: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: #9CA3AF;
}

.lm-brand-callout strong {
  color: #D1D5DB;
  font-weight: 500;
}

.lm-brand-callout a {
  color: rgba(244, 114, 182, 0.8);
  text-decoration: none;
  font-weight: 500;
}

.lm-brand-callout a:hover {
  text-decoration: underline;
}

/* ===== VERTICAL PAGE WATERMARK ===== */
/* Right-edge vertical brand text.
   Survives all crop variants of screenshots. */

.lm-page-mark {
  position: relative;
  overflow: hidden;
}

.lm-page-mark::after {
  content: 'pasttheprompt.dev';
  position: absolute;
  bottom: 80px;
  right: -2px;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(244, 114, 182, 0.16);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ===== LEGACY COMPAT (backward-compat for older LM markup) ===== */
.lm-brand-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
}

.lm-brand-footer a {
  color: var(--teal);
  text-decoration: none;
}

/* ===== PRINT SAFETY ===== */
@media print {
  .lm-brand-lockup,
  .lm-brand-strip,
  .lm-brand-callout,
  .lm-brand-item::before {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .lm-page-mark::after {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
