/* ============================================
   THE NACD APPROACH — LANDING PAGE STYLES
   ============================================
   Per NACD Brand Guide v1.4.
   This is the middle-section embed for nacd.org.
   The nacd.org WP header and footer wrap this.
   ============================================ */

/* ===== HERO ===== */

.hero {
  background: var(--color-bg-canvas);
  padding-block: var(--space-16) var(--space-12);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-block: var(--space-24) var(--space-16);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-16);
  }
}

.hero__eyebrow {
  margin-bottom: var(--space-6);
}

/* H1 Display per brand guide: Avenir Light, lowercase, 48-72px desktop / 32-40px mobile,
   letter-spacing tight, line-height 1.05-1.15. */
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;                           /* Avenir Light */
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  margin-bottom: var(--space-8);
  text-transform: lowercase;                  /* Brand signal */
}

/* The teal-highlight portion of the title — uses Avenir Black for emphasis per brand guide */
.hero__title em {
  font-style: normal;
  color: var(--color-teal);
  font-weight: 900;                           /* Avenir Black for emphasized titles */
  display: block;
  font-size: 0.85em;                          /* Slightly smaller than the Light part */
  margin-top: 0.15em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-body);
  margin-bottom: var(--space-8);
  max-width: 36rem;
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

@media (min-width: 480px) {
  .hero__cta-row {
    flex-direction: row;
    align-items: center;
  }
}

.hero__trust {
  font-size: var(--text-sm);
  color: var(--color-muted);
  letter-spacing: var(--tracking-body);
}

/* Hero card on the right */
.hero__card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-10);
  position: relative;
}

.hero__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-10);
  width: 3rem;
  height: 3px;
  background: var(--color-teal);
}

.hero__card-eyebrow {
  margin-bottom: var(--space-4);
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.25;
  font-weight: 800;                           /* Avenir Heavy for H2 */
  color: var(--color-ink);
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-h2);
}

.hero__card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero__card-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: 1.5;
}

.hero__card-list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 10px;
  background: var(--color-teal);
  border-radius: 50%;
}

/* ===== TRUST STRIP — per brand guide page archetype ===== */
/* The horizontal stat row that appears just below the hero on virtually every page.
   Per brand guide: numbers in Avenir Heavy, labels in Avenir Medium uppercase muted. */

.trust-strip {
  background: var(--color-footer-dark);
  padding-block: var(--space-8);
  color: var(--color-white);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-stat {
  text-align: center;
}

.trust-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;                           /* Avenir Heavy */
  line-height: 1;
  color: var(--color-white);
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-tight);
}

.trust-stat__label {
  font-size: var(--text-xs);
  font-weight: 500;                           /* Avenir Medium */
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== VALUE PROPOSITION ===== */

.value-prop {
  background: var(--color-white);
}

.value-prop__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* H2 per brand guide: Avenir Heavy 800, 28-36px desktop, sentence case */
.value-prop__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: var(--tracking-h2);
  color: var(--color-ink);
  max-width: 32rem;
  margin: var(--space-4) auto 0;
}

.value-prop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .value-prop__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
  }
}

.value-prop__item {
  position: relative;
  padding-top: var(--space-6);
}

.value-prop__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--space-12);
  height: 2px;
  background: var(--color-teal);
}

.value-prop__num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-teal);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  font-weight: 500;
}

/* H3 per brand guide: Avenir Heavy 800, 18-22px desktop, sentence case */
.value-prop__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-h2);
}

.value-prop__body {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-body);
}

/* ===== BOB'S MESSAGE ===== */

.message {
  background: var(--color-bg-light);
}

.message__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 768px) {
  .message__inner {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
  }
}

.message__portrait {
  position: static;
  top: auto;
}

.message__photo {
  aspect-ratio: 4 / 5;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-subtle);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.message__caption-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 2px;
  letter-spacing: var(--tracking-h2);
}

.message__caption-title {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 500;
}

.message__content > .eyebrow {
  margin-bottom: var(--space-5);
}

.message__pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;                           /* Light for impact statement */
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
  color: var(--color-ink);
}

.message__body {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-body);
}

.message__body p + p {
  margin-top: var(--space-5);
}

/* ===== CURRICULUM ===== */

.curriculum {
  background: var(--color-white);
}

.curriculum__header {
  margin-bottom: var(--space-12);
  max-width: 38rem;
}

.curriculum__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: var(--tracking-h2);
  color: var(--color-ink);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.curriculum__intro {
  font-size: var(--text-lg);
  color: var(--color-body);
  line-height: 1.6;
}

.curriculum__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.module-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-6);
  align-items: baseline;
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-line);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.module-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.module-item:hover {
  background: var(--color-bg-light);
  margin-inline: calc(var(--space-6) * -1);
  padding-inline: var(--space-6);
}

.module-item__num {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-teal);
  min-width: 2.5rem;
  letter-spacing: var(--tracking-eyebrow);
}

.module-item__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.module-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-ink);
  letter-spacing: var(--tracking-h2);
}

.module-item__desc {
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: 1.5;
  max-width: 40rem;
}

.module-item__meta {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
  font-weight: 500;
}

@media (max-width: 640px) {
  .module-item {
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
  }
  .module-item__meta {
    grid-column: 1 / -1;
    margin-left: 3.5rem;
  }
  .module-item__title {
    font-size: var(--text-lg);
  }
}

/* ===== EMAIL CAPTURE ===== */

.signup {
  background: var(--color-footer-dark);
  color: var(--color-white);
  position: relative;
}

.signup__inner {
  text-align: center;
}

.signup__eyebrow {
  margin-bottom: var(--space-5);
  color: var(--color-accent-yellow);
}

.signup__title {
  font-family: var(--font-display);
  font-weight: 300;                           /* Avenir Light for hero-class title */
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
  color: var(--color-white);
  text-transform: lowercase;
}

.signup__intro {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-10);
  max-width: 32rem;
  margin-inline: auto;
}

.signup__form {
  max-width: 28rem;
  margin: 0 auto var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.signup__field {
  position: relative;
}

.signup__input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-size: var(--text-base);
  font-family: var(--font-body);
  letter-spacing: var(--tracking-body);
  border-radius: var(--radius-base);
  transition: border-color var(--transition-fast);
}

.signup__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.signup__input:focus {
  outline: none;
  border-color: var(--color-orange);
  background: rgba(255, 255, 255, 0.08);
}

.signup__submit {
  background: var(--color-orange);             /* Emphasis primary in dark contexts */
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-base);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: var(--tracking-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
}

.signup__submit:hover {
  background: #d54f10;
}

.signup__fineprint {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.55;
}

.signup__fineprint a {
  color: var(--color-accent-yellow);
  text-decoration: underline;
}

/* ===== FAQ ===== */

.faq {
  background: var(--color-white);
}

.faq__header {
  margin-bottom: var(--space-10);
  text-align: center;
}

.faq__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: var(--tracking-h2);
  color: var(--color-ink);
  margin-top: var(--space-4);
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-top: 1px solid var(--color-line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding-block: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-ink);
  transition: color var(--transition-fast);
  letter-spacing: var(--tracking-body);
}

.faq__question:hover {
  color: var(--color-teal);
}

.faq__icon {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  color: var(--color-teal);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  font-weight: 300;
  line-height: 1;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq__item.open .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-body);
  max-width: 48rem;
}

/* ===== FOOTER CTA BAND ===== */
/* Per brand guide: every long-form page ends with "Ready to..." headline,
   one supporting sentence, locked Get Started CTA, Footer Dark background. */

.footer-cta {
  background: var(--color-footer-dark);
  color: var(--color-white);
  text-align: center;
}

.footer-cta__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}

.footer-cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
  max-width: 32rem;
  margin-inline: auto;
  color: var(--color-white);
  text-transform: lowercase;
}

.footer-cta__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-10);
  max-width: 36rem;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
}

/* In the footer-cta band, primary button uses Orange per brand guide
   (emphasis context = the final CTA where attention matters most) */
.footer-cta .btn--primary {
  background: var(--color-orange);
}

.footer-cta .btn--primary:hover {
  background: #d54f10;
}

/* ===== BRAND LOGOS (full lockups + letters) ===== */

.hero__logo {
  height: auto;
  max-width: 280px;
  margin-bottom: var(--space-8);
}

.signup__logo {
  height: auto;
  max-width: 240px;
  margin: 0 auto var(--space-6);
}

.footer-cta__logo {
  height: auto;
  max-width: 88px;
  margin: 0 auto var(--space-5);
}

/* Bob Doman portrait image: fill the existing 4/5 rounded box, crop cleanly
   keeping the head visible. (Added with the founder photo.) */
.message__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Portrait column sticks beside the message on desktop only; the base
   .message__portrait rule is static so it does NOT stick on mobile. */
@media (min-width: 768px) {
  .message__portrait {
    position: sticky;
    top: 6rem;
  }
}

/* ===== LANDING HEADER ROW + LANGUAGE PILLS (landing pages only) ===== */
/* Full-width top bar: logo left, language selector right. */
.hero__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.hero__topbar .hero__logo {
  margin-bottom: 0;            /* topbar handles spacing; cancel the stacked margin */
}

/* Override the compact .lang-switch base (tokens.css) for the landing pages:
   reset the uppercase + eyebrow tracking so native names render in normal case. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
  text-transform: none;
  letter-spacing: normal;
}
.lang-switch__icon {
  width: 20px;
  height: 20px;
  color: var(--color-teal);
  flex: 0 0 auto;
}
.lang-switch__pill {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  padding: 7px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-teal);
  background: transparent;
  border: 1.5px solid var(--color-teal);
  transition: background .15s ease, color .15s ease;
}
.lang-switch__pill:hover {
  background: rgba(12, 128, 125, 0.10);
}
.lang-switch__pill--active {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
  cursor: default;
}
@media (max-width: 767.98px) {
  .lang-switch { justify-content: flex-start; }
}

/* ===== SIGNUP GATE (2026-07-08): status line + honeypot ===== */

.signup__hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__status {
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-top: var(--space-2);
  color: rgba(255, 255, 255, 0.85);
}

.signup__status--error {
  color: #ffbfa8;
}

.signup__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
