/* ==========================================================================
   dpdpatraining.in — design tokens
   Brand: teal accent (#14B8A6), Open Sans, white/black — carried over from
   the DPDP Storyline course brand for continuity across product touchpoints.
   ========================================================================== */

:root {
  /* Color */
  --bg: #FFFFFF;
  --bg-soft: #F5F9F8;
  --bg-deep: #0F2422;      /* used sparingly — footer, one dark section */
  --text: #171A19;
  --text-soft: #4B5A57;
  --text-faint: #7C8A87;
  --line: #DFE7E5;
  --accent: #14B8A6;
  --accent-dark: #0D8C7E;
  --accent-tint: #E4F6F3;
  --urgency: #C2701F;      /* clause/deadline callouts — distinct from accent, used sparingly */
  --urgency-tint: #FBF0E3;
  --white: #FFFFFF;

  /* Type */
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* Scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --radius: 4px;
  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 var(--space-2); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--space-2); color: var(--text-soft); }
.lede { font-size: 1.15rem; color: var(--text-soft); max-width: 640px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.mono { font-family: var(--font-mono); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--accent); color: #06231F; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); text-decoration: none; }
.btn-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* Nav */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 40;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 26px; width: auto; display: block; }
.logo small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.08em; color: var(--text-faint); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: var(--space-3); }
.nav-links a { color: var(--text-soft); font-weight: 600; font-size: 0.94rem; }
.nav-links a:hover { color: var(--accent-dark); text-decoration: none; }
.nav-links a.current { color: var(--text); }
#nav-toggle { display: none; }
.nav-burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }

@media (max-width: 800px) {
  .nav-burger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: var(--space-2) var(--space-3);
    display: none;
  }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { padding: var(--space-6) 0 var(--space-5); }
.hero .btn-row { margin-top: var(--space-3); }

/* Countdown / phase timeline — the site's signature element */
.clock {
  margin-top: var(--space-5);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  padding: var(--space-3);
}
.clock-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-3); }
.clock-label { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.clock-days { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--urgency); }
.clock-days span { font-size: 0.95rem; font-weight: 500; color: var(--text-faint); margin-left: 6px; }

.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.phase { border-top: 3px solid var(--line); padding-top: 12px; }
.phase.done { border-top-color: var(--accent); }
.phase.active { border-top-color: var(--urgency); }
.phase-date { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text); font-weight: 700; }
.phase-title { font-size: 0.88rem; color: var(--text-soft); margin-top: 3px; }
.phase-tag { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; padding: 2px 7px; border-radius: 3px; }
.phase.done .phase-tag { background: var(--accent-tint); color: var(--accent-dark); }
.phase.active .phase-tag { background: var(--urgency-tint); color: var(--urgency); }
.phase.upcoming .phase-tag { background: var(--bg); color: var(--text-faint); border: 1px solid var(--line); }

@media (max-width: 680px) {
  .phases { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* Sections */
section { padding: var(--space-5) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: var(--space-4); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: start; }
@media (max-width: 800px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: var(--space-3);
  background: var(--white);
}
.stat-num { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--text); }
.stat-label { color: var(--text-soft); font-size: 0.92rem; margin-top: 4px; }

/* Module list — a real sequence, so numbering is honest here */
.modules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.modules li {
  display: flex; gap: var(--space-3); align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.modules .num { font-family: var(--font-mono); color: var(--accent-dark); font-weight: 700; min-width: 28px; }
.modules .mod-title { font-weight: 700; }
.modules .mod-desc { color: var(--text-soft); font-size: 0.94rem; margin-top: 2px; }

/* Pricing */
.tier {
  border: 1px solid var(--line); border-radius: 8px; padding: var(--space-3);
  display: flex; flex-direction: column; background: var(--white);
}
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); position: relative; }
.tier-badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: #06231F; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.tier-name { font-weight: 700; font-size: 1.05rem; }
.tier-price { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; margin: 10px 0 4px; }
.tier-price small { font-size: 0.9rem; font-weight: 500; color: var(--text-faint); }
.tier-note { color: var(--text-faint); font-size: 0.82rem; margin-bottom: var(--space-2); }
.tier ul { list-style: none; padding: 0; margin: var(--space-2) 0; flex: 1; }
.tier li { padding: 7px 0; padding-left: 22px; position: relative; font-size: 0.92rem; color: var(--text-soft); border-bottom: 1px dashed var(--line); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }

.callout {
  border-left: 3px solid var(--urgency); background: var(--urgency-tint);
  padding: var(--space-2) var(--space-3); border-radius: 0 6px 6px 0; margin: var(--space-3) 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Comparison table */
table.compare { width: 100%; border-collapse: collapse; margin-top: var(--space-3); }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
table.compare th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); font-weight: 600; }
table.compare td:first-child, table.compare th:first-child { color: var(--text-soft); }
table.compare tr td:not(:first-child) { font-weight: 600; }
/* Abhisam-comparison tables: subtle tint on last column to visually lead the reader to our side */
table.compare.abhisam-comparison th:last-child,
table.compare.abhisam-comparison td:last-child { background: var(--accent-tint); }
table.compare.abhisam-comparison th:last-child { color: var(--accent-dark); }

/* Mobile: compare tables become clear comparison cards.
   Each row is a distinct card with the dimension as a heading,
   then two labelled comparison rows underneath. */
@media (max-width: 700px) {
  table.compare { border: 0; margin-top: var(--space-3); display: block; }
  table.compare thead { display: none; }
  table.compare tbody { display: block; }
  table.compare tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: var(--space-3);
    padding: 0;
    background: var(--white);
    overflow: hidden;
  }
  table.compare td {
    display: block;
    border: 0;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    font-weight: 400;
  }
  /* Row label — the "dimension" — becomes the card's header bar */
  table.compare td:first-child {
    background: var(--bg-soft);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
  }
  /* Comparison cells — each labelled with its column header */
  table.compare td:not(:first-child) {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  table.compare td:last-child { border-bottom: 0; }
  table.compare td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }
  /* Abhisam-highlight: last cell (our side) gets a subtle tint so the
     comparison visually leads to the Abhisam column. Applied only to
     tables carrying the .abhisam-comparison class. */
  table.compare.abhisam-comparison td:last-child {
    background: var(--accent-tint);
  }
  table.compare.abhisam-comparison td:last-child::before {
    color: var(--accent-dark);
  }
}
.tick { color: var(--accent-dark); }
.cross { color: var(--text-faint); }

/* Form */
.form-card { border: 1px solid var(--line); border-radius: 8px; padding: var(--space-4); background: var(--white); }

/* WhatsApp click-to-chat CTA on the contact page */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #25D366;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-bottom: var(--space-3);
}
.whatsapp-cta:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  color: white;
}
.whatsapp-cta-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-cta-text { flex: 1; }
.whatsapp-cta-title { font-size: 17px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.whatsapp-cta-sub { font-size: 14px; opacity: 0.95; line-height: 1.4; }
.whatsapp-cta-arrow { font-size: 22px; opacity: 0.85; flex-shrink: 0; }

/* "or use the form" divider between WhatsApp CTA and form */
.or-divider {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-3) 0;
  color: var(--text-faint);
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

@media (max-width: 600px) {
  .whatsapp-cta { padding: var(--space-2) var(--space-3); }
  .whatsapp-cta-icon { width: 38px; height: 38px; }
  .whatsapp-cta-title { font-size: 15px; }
  .whatsapp-cta-sub { font-size: 13px; }
  .whatsapp-cta-arrow { font-size: 18px; }
}
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.96rem; color: var(--text); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; top: -9999px; } /* honeypot */
.form-msg { margin-top: var(--space-2); font-size: 0.92rem; padding: 10px 14px; border-radius: var(--radius); display: none; }
.form-msg.ok { display: block; background: var(--accent-tint); color: var(--accent-dark); }
.form-msg.err { display: block; background: var(--urgency-tint); color: var(--urgency); }

/* Resource hub + article extras */
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faint); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--text-faint); }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 700px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-card {
  border: 1px solid var(--line); border-radius: 8px; padding: var(--space-3);
  background: var(--white); display: flex; flex-direction: column; height: 100%;
}
.resource-card.featured { border-color: var(--accent); }
.resource-tag {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-dark); background: var(--accent-tint); display: inline-block; padding: 3px 9px; border-radius: 4px; margin-bottom: 12px;
}
.resource-card h3 { margin-bottom: 8px; }
.resource-card p { font-size: 0.92rem; flex: 1; }
.resource-card .read-link { font-weight: 700; font-size: 0.88rem; margin-top: 8px; }
.glossary dt { font-weight: 700; margin-top: var(--space-3); }
.glossary dd { margin: 4px 0 0; color: var(--text-soft); }
.article-lede { font-size: 1.1rem; color: var(--text-soft); max-width: 680px; }

/* Article-page body typography — targets long-form informational content only */
/* Applied via <body class="article-page"> — bumps paragraph size and line-height */
/* for comfortable long-form reading, without affecting cards, hero, or forms.   */
.article-page main p:not(.lede):not(.article-lede) { font-size: 17px; line-height: 1.65; }
.article-page main li { font-size: 17px; line-height: 1.6; }
.article-page main .callout p,
.article-page main .legal-note { font-size: 1rem; line-height: 1.6; }

/* FAQ item styling — one Q/A block */
.faq-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}
.faq-item p {
  margin: 0;
  color: var(--text-soft);
}
.article-page main .faq-item p { font-size: 17px; line-height: 1.65; color: var(--text-soft); }
.toc { border: 1px solid var(--line); border-radius: 8px; padding: var(--space-2) var(--space-3); background: var(--bg-soft); margin: var(--space-3) 0; }
.toc-title { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 8px; }
.toc a { display: block; padding: 4px 0; font-size: 0.92rem; font-weight: 600; }
.legal-note { border-left: 3px solid var(--text-faint); background: var(--bg-soft); padding: var(--space-2) var(--space-3); border-radius: 0 6px 6px 0; margin: var(--space-3) 0; font-size: 0.9rem; color: var(--text-soft); }
footer.site { background: var(--bg-deep); color: #C9D6D3; padding: var(--space-5) 0 var(--space-3); margin-top: var(--space-5); }
footer.site a { color: #E7EFEC; }
footer.site .grid-3 { margin-bottom: var(--space-4); }
footer.site h3 { color: #fff; font-size: 0.95rem; }
footer.site .fine { font-size: 0.82rem; color: #7E9490; border-top: 1px solid #1E3E3A; padding-top: var(--space-2); margin-top: var(--space-3); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }

/* Contact strip — header (icons only) + footer (full) */
.contact-strip-top {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.contact-strip-top .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-3);
  padding-top: 6px;
  padding-bottom: 6px;
}
.contact-strip-top a {
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
}
.contact-strip-top a:hover { color: var(--accent-dark); text-decoration: none; }
.contact-strip-top svg { width: 14px; height: 14px; max-width: 14px; max-height: 14px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.contact-strip-top .label-mobile { display: none; }
@media (max-width: 600px) {
  .contact-strip-top .wrap { justify-content: center; gap: var(--space-2); }
  .contact-strip-top .label-desktop { display: none; }
  .contact-strip-top .label-mobile { display: inline; }
}

/* Footer contact block */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-2);
}
.footer-contact a {
  color: #E7EFEC;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--accent); text-decoration: none; }
.footer-contact svg { width: 15px; height: 15px; max-width: 15px; max-height: 15px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* Consent banner — bottom-corner card, appears until visitor decides */
.consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  max-width: 400px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.16), 0 2px 6px rgba(11, 37, 69, 0.08);
  padding: var(--space-3);
  z-index: 100;
  font-size: 0.9rem;
}
.consent-banner h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--text);
}
.consent-banner p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}
.consent-banner p a { color: var(--accent-dark); text-decoration: underline; }
.consent-actions {
  display: flex;
  gap: 10px;
}
.consent-actions .btn {
  padding: 9px 18px;
  font-size: 0.88rem;
  flex: 1;
  justify-content: center;
}
@media (max-width: 500px) {
  .consent-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
    padding: var(--space-2);
  }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==============================================================
   Avatar intro video section — two-column layout
   Left: text + CTA. Right: vertical video (3:4 aspect ratio).
   Stacks on mobile: text on top, video below.
   ============================================================== */
.avatar-intro-section {
  background: var(--bg-soft);
  padding: var(--space-5) 0;
}
.avatar-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-5);
  align-items: center;
}
.avatar-intro-text {
  order: 2;
}
.avatar-intro-text h2 {
  margin-bottom: var(--space-2);
}
.avatar-intro-text p {
  color: var(--text-soft);
  line-height: 1.6;
}
.avatar-intro-video {
  order: 1;
  display: flex;
  justify-content: center;
}
.avatar-video-wrap {
  width: 100%;
  max-width: 340px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #E8E9EA;  /* light grey to match ElevenLabs avatar background — less jarring if any iframe gap */
  box-shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  position: relative;
  /* Force 3:4 aspect ratio using padding-top hack (1088/832 = 1.3077 = 130.77%) */
  padding-top: 130.77%;
  height: 0;
}
.avatar-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.avatar-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder styling — visible until Bunny embed is added */
.avatar-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
}
.avatar-video-placeholder-inner {
  text-align: center;
  padding: var(--space-3);
}

/* Mobile: stack columns, video on bottom, cap the width nicely */
@media (max-width: 800px) {
  .avatar-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .avatar-intro-text { order: 1; }
  .avatar-intro-video { order: 2; }
  .avatar-video-wrap { max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ==============================================================
   Resource card — whole-card clickable pattern
   The <a> wraps the card; hover state gives visual affordance.
   ============================================================== */
a.resource-card {
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.resource-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.1);
  transform: translateY(-2px);
}
a.resource-card:hover .read-link { color: var(--accent-dark); }
a.resource-card h3 { color: var(--text); }

/* ==============================================================
   Mobile typography — bump small text elements for legibility.
   Only applies on screens ≤700px. Desktop sizes unchanged.
   ============================================================== */
@media (max-width: 700px) {
  /* Contact strip labels at the top */
  .contact-strip-top { font-size: 13.5px; }
  .contact-strip-top .wrap { padding-top: 8px; padding-bottom: 8px; }

  /* Body text inside cards — the actual pitch content */
  .card { font-size: 16px; }
  .card .stat-label { font-size: 15px; line-height: 1.55; }

  /* Eyebrow labels — small metadata, but bumped slightly */
  .eyebrow { font-size: 12.5px; }

  /* Resource cards */
  .resource-card p { font-size: 15px; line-height: 1.55; }
  .resource-card .read-link { font-size: 14.5px; }
  .resource-tag { font-size: 11.5px; }

  /* Footer fine print — bumped line-height for legibility on small screens */
  footer.site .fine { font-size: 13px; line-height: 1.6; }
  footer.site ul a { font-size: 15px; }

  /* Image captions */
  figcaption { font-size: 14px; line-height: 1.6; }

  /* Article breadcrumb */
  .breadcrumb { font-size: 13px; }

  /* Legal note (used for callouts/side-notes in some articles) */
  .legal-note { font-size: 14px; line-height: 1.6; }

  /* Table of contents on articles */
  .toc a { font-size: 15px; }
  .toc-title { font-size: 12.5px; }
}
