/* Tool Magic — landing page styles. One stylesheet, all variants. */

:root {
  --paper: #FAF6EE;
  --paper-2: #F3EDDF;
  --ink: #1B1A17;
  --ink-2: #2F2C26;
  --muted: #6B655A;
  --line: #E5DDC9;
  --accent: #14533C;
  --accent-2: #0F3F2D;
  --highlight: #FFF4D6;
  --gold: #C68A19;
  --shadow: 0 30px 60px -20px rgba(20, 25, 20, 0.18), 0 8px 18px -10px rgba(20, 25, 20, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Source Serif 4', 'Georgia', serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; }

/* ============ STICKY TRUST BAR ============ */
.trust-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  flex-shrink: 0;
}
.trust-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.3;
}
.trust-text b { color: var(--ink); font-weight: 600; }
.trust-text .sep { color: var(--muted); margin: 0 6px; }
.trust-pill {
  margin-left: auto;
  background: var(--highlight);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ECD79A;
  flex-shrink: 0;
}

/* ============ HERO ============ */
.hero {
  padding: 56px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-grid.solo { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 83, 60, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 83, 60, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(20, 83, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 83, 60, 0); }
}
.hero-title {
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--highlight) 60%);
  padding: 0 4px;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 28px;
  line-height: 1.5;
}
.hero-sub b { color: var(--ink); font-weight: 600; }

/* ============ PDF MOCKUP HERO (variant A) ============ */
.pdf-mock {
  position: relative;
  background: linear-gradient(160deg, #FFFCF3 0%, #F5EBD2 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  aspect-ratio: 8.5/11;
  max-width: 380px;
  margin: 0 auto;
}
.pdf-mock-tag {
  display: inline-block;
  background: var(--accent);
  color: #FFFCF3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pdf-mock-title {
  font-family: 'Source Serif 4', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 10px;
}
.pdf-mock-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.pdf-mock-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13px;
}
.pdf-mock-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdf-mock-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}
.pdf-mock-footer {
  position: absolute;
  bottom: 20px; left: 32px; right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.pdf-mock-footer img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}
.pdf-mock-footer span {
  font-size: 11px;
  color: var(--muted);
}

/* ============ ALEX HERO (variant B) ============ */
.alex-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.alex-hero-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow);
}
.alex-hero-badge {
  margin-top: -28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4);
}
.alex-hero-badge .yt-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF0033;
}

/* ============ EMAIL FORM ============ */
.signup {
  margin-top: 28px;
  max-width: 460px;
}
.hero-grid.solo .signup { margin-left: auto; margin-right: auto; }
.signup-box {
  background: #FFFCF3;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 32px -18px rgba(20, 25, 20, 0.22), 0 2px 6px -2px rgba(20, 25, 20, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  overflow: hidden;
}
.signup-box iframe {
  border: none !important;
  background: transparent !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block;
  margin: 0 auto;
}
.signup-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.signup-meta b { color: var(--ink-2); }
/* dark variant on the final-cta dark section */
.final-cta .signup-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.5);
}

/* ============ BULLETS ============ */
.bullets {
  background: var(--paper-2);
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bullets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.bullet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.bullet-num {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bullet h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.bullet p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}
.section-h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.1;
  margin: 0 0 12px;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0;
}

/* ============ ABOUT ALEX ============ */
.about {
  padding: 56px 0;
}
.about-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.about-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}
.about-body p { margin: 0 0 12px; }
.about-body p:last-child { margin: 0; }
.about-quote {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}
.about-credits {
  font-size: 14px;
  color: var(--muted);
}
.about-credits strong { color: var(--ink-2); font-weight: 600; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0;
  text-align: center;
}
.final-cta h2 {
  color: var(--paper);
  font-size: clamp(28px, 3.8vw, 38px);
  margin: 0 0 14px;
}
.final-cta p {
  color: #C8C2B3;
  font-size: 18px;
  margin: 0 auto 28px;
  max-width: 520px;
}
.final-cta .signup { margin: 0 auto; }
.final-cta .signup-meta { color: #948E80; }
.final-cta .signup-meta b { color: var(--paper); }

/* ============ FOOTER ============ */
.foot {
  text-align: center;
  padding: 24px 0 32px;
  font-size: 13px;
  color: var(--muted);
}
.foot a { color: var(--muted); }

/* ============ NICHE DIRECTORY (index.html) ============ */
.dir-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding-bottom: 80px;
}
.dir-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.dir-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.dir-card img { width: 32px; height: 32px; border-radius: 6px; }
.dir-card-name { font-weight: 600; font-size: 16px; }
.dir-card-sub { font-size: 13px; color: var(--muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 36px 0 24px; }
  .pdf-mock { max-width: 320px; }
  .alex-hero-photo { max-width: 260px; }
  .bullets-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-card { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .about-photo { margin: 0 auto; width: 140px; height: 140px; }
  .trust-text { font-size: 13px; }
  .trust-pill { display: none; }
}
