/* =============================================================================
   Catalyst Elements — Main Stylesheet
   CE Functional Color System v1.0
   ============================================================================= */

/* --- CE Color Variables --- */
:root {
  --ce-anchor:           #2D3142;  /* Deep Space — headers, nav, dark bg */
  --ce-action:           #BF9B30;  /* Golden — CTAs, buttons, highlights */
  --ce-comm-teal:        #058ED9;  /* Digital Blue — links, accents */
  --ce-comm-frost:       #EEF0F2;  /* Cloud White — light backgrounds */
  --ce-neutral:          #7A93AC;  /* Steel Mist — secondary text */
  --ce-fixer:            #4A5568;  /* Borders, dividers */
  --ce-feedback-success: #22C55E;
  --ce-feedback-warning: #F59E0B;
  --ce-feedback-error:   #EF4444;
  --ce-white:            #FFFFFF;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --font-ui:      'Inter', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 64px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ce-anchor);
  background: var(--ce-comm-frost);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ce-comm-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ce-anchor);
  line-height: 1.2;
}
h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; }
h2 { font-size: clamp(22px, 4vw, 36px); font-weight: 700; }
h3 { font-size: clamp(18px, 3vw, 24px); font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
p  { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section { padding: var(--space-3xl) 0; }
.section--frost { background: var(--ce-comm-frost); }
.section--white { background: var(--ce-white); }
.section--dark  { background: var(--ce-anchor); color: var(--ce-comm-frost); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  min-height: 48px;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn--action {
  background: var(--ce-action);
  color: var(--ce-anchor);
}
.btn--action:hover  { opacity: 0.88; text-decoration: none; color: var(--ce-anchor); }
.btn--action:active { opacity: 0.78; }

.btn--teal {
  background: transparent;
  color: var(--ce-comm-teal);
  border: 2px solid var(--ce-comm-teal);
}
.btn--teal:hover { background: var(--ce-comm-teal); color: var(--ce-white); text-decoration: none; }

.btn--ghost {
  background: transparent;
  color: var(--ce-comm-frost);
  border: 1px solid var(--ce-comm-frost);
}
.btn--ghost:hover { background: var(--ce-comm-frost); color: var(--ce-anchor); text-decoration: none; }

.btn--sm { padding: 8px 20px; font-size: 14px; min-height: 40px; }
.btn--full { width: 100%; }

/* --- Navigation --- */
.site-header { position: sticky; top: 0; z-index: 100; }
.nav {
  background: var(--ce-anchor);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.nav__logo {
  text-decoration: none;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--ce-comm-frost);
  letter-spacing: -0.02em;
}
.nav__logo-text:hover { color: var(--ce-action); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__link {
  color: var(--ce-neutral);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.nav__link:hover, .nav__link--active { color: var(--ce-comm-frost); }
.nav__badge {
  background: var(--ce-feedback-warning);
  color: var(--ce-white);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ce-comm-frost);
  transition: transform 0.2s, opacity 0.2s;
}
.nav__mobile-menu {
  background: var(--ce-anchor);
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  padding: var(--space-xl) var(--space-lg);
}
.nav__mobile-links { display: flex; flex-direction: column; gap: var(--space-lg); }
.nav__mobile-link {
  color: var(--ce-comm-frost);
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.nav__mobile-link:hover { color: var(--ce-action); text-decoration: none; }

/* --- Hero Section --- */
.hero {
  background: var(--ce-anchor);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191,155,48,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.hero__label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ce-action);
  margin-bottom: var(--space-md);
}
.hero h1 {
  color: var(--ce-comm-frost);
  margin-bottom: var(--space-md);
  max-width: 700px;
}
.hero__tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ce-neutral);
  margin-bottom: var(--space-sm);
  max-width: 600px;
}
.hero__subtagline {
  font-size: 16px;
  color: var(--ce-neutral);
  margin-bottom: var(--space-xl);
  max-width: 580px;
}
.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--ce-anchor);
  border-top: 1px solid rgba(122,147,172,0.2);
  padding: var(--space-lg) 0;
}
.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ce-comm-frost);
}
.trust-item__check {
  color: var(--ce-feedback-success);
  font-weight: 700;
  font-size: 16px;
}

/* --- Section Header --- */
.section-header {
  margin-bottom: var(--space-xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p {
  color: var(--ce-neutral);
  font-size: 18px;
  max-width: 600px;
}
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

/* --- Book Cards (shared) --- */
.book-card {
  background: var(--ce-white);
  border: 1px solid rgba(74,85,104,0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  box-shadow: 0 4px 20px rgba(45,49,66,0.12);
  border-color: rgba(74,85,104,0.35);
}
.book-card__cover-wrap {
  position: relative;
  aspect-ratio: 5/7;
  background: linear-gradient(135deg, var(--ce-action) 0%, #8B6914 100%);
  overflow: hidden;
}
.book-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-card__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.book-card__cover-placeholder-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--ce-anchor);
  text-align: center;
  line-height: 1.3;
}
.book-card__badge-wrap {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
}
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}
.badge--new       { background: var(--ce-feedback-warning); color: var(--ce-white); }
.badge--sale      { background: var(--ce-feedback-error); color: var(--ce-white); }
.badge--bestseller { background: var(--ce-action); color: var(--ce-anchor); }
.badge--bundle    { background: var(--ce-comm-teal); color: var(--ce-white); }
.badge--de        { background: var(--ce-comm-teal); color: var(--ce-white); }
.badge--en        { background: var(--ce-neutral); color: var(--ce-white); }

.book-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-card__category {
  display: inline-block;
  background: rgba(5,142,217,0.1);
  color: var(--ce-comm-teal);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: var(--space-sm);
}
.book-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--ce-anchor);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}
.book-card__author {
  font-size: 13px;
  color: var(--ce-neutral);
  margin-bottom: var(--space-sm);
}
.book-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  color: var(--ce-neutral);
  margin-bottom: var(--space-md);
}
.stars { color: var(--ce-action); letter-spacing: 1px; }
.book-card__pricing {
  margin-top: auto;
  margin-bottom: var(--space-md);
}
.book-card__price {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  color: var(--ce-action);
}
.book-card__original-price {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ce-neutral);
  text-decoration: line-through;
  margin-left: var(--space-sm);
}

/* --- Book Grid --- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* --- Author Cards --- */
.author-card {
  background: var(--ce-white);
  border: 1px solid rgba(74,85,104,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: box-shadow 0.2s;
}
.author-card:hover { box-shadow: 0 4px 16px rgba(45,49,66,0.1); }
.author-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--ce-action) 0%, #8B6914 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.author-card__avatar-placeholder {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--ce-anchor);
}
.author-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--ce-anchor);
  margin-bottom: var(--space-xs);
}
.author-card__domain {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-comm-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}
.author-card__bio {
  font-size: 14px;
  color: var(--ce-neutral);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

/* --- Forms --- */
.form-group { margin-bottom: var(--space-md); }
.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ce-anchor);
  margin-bottom: var(--space-xs);
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ce-fixer);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ce-anchor);
  background: var(--ce-white);
  min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--ce-comm-teal);
  box-shadow: 0 0 0 3px rgba(5,142,217,0.15);
}
.form-gdpr {
  font-size: 12px;
  color: var(--ce-neutral);
  margin-top: var(--space-sm);
}
.form-gdpr a { color: var(--ce-comm-teal); }

/* --- Email Capture Section --- */
.email-capture {
  background: var(--ce-anchor);
  padding: var(--space-3xl) 0;
}
.email-capture__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
}
.email-capture h2 { color: var(--ce-comm-frost); margin-bottom: var(--space-sm); }
.email-capture p   { color: var(--ce-neutral); margin-bottom: var(--space-xl); }
.email-capture__form {
  display: flex;
  gap: var(--space-sm);
}
.email-capture__input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(122,147,172,0.4);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ce-anchor);
  background: var(--ce-white);
  min-height: 48px;
}
.email-capture__input:focus {
  outline: none;
  border-color: var(--ce-action);
}

/* --- Footer --- */
.site-footer {
  background: #1E2232;
  color: var(--ce-comm-frost);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(122,147,172,0.2);
}
.footer__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--ce-comm-frost);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-sm);
}
.footer__tagline {
  font-size: 14px;
  color: var(--ce-neutral);
  line-height: 1.5;
}
.footer__nav-title {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ce-neutral);
  margin-bottom: var(--space-md);
}
.footer__nav ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__link {
  font-size: 14px;
  color: rgba(238,240,242,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__link:hover { color: var(--ce-comm-frost); text-decoration: none; }
.footer__link--inline { color: var(--ce-comm-teal); }
.footer__badge {
  background: var(--ce-feedback-warning);
  color: var(--ce-white);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
}
.footer__newsletter-text {
  font-size: 14px;
  color: var(--ce-neutral);
  margin-bottom: var(--space-md);
}
.footer__form-row {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.footer__input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(122,147,172,0.3);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  color: var(--ce-comm-frost);
  min-height: 44px;
}
.footer__input::placeholder { color: var(--ce-neutral); }
.footer__input:focus { outline: none; border-color: var(--ce-action); }
.footer__form-btn { padding: 10px 18px; font-size: 14px; min-height: 44px; }
.footer__gdpr { font-size: 11px; color: var(--ce-neutral); }
.footer__form-success p { color: var(--ce-feedback-success); font-size: 14px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer__legal {
  font-size: 12px;
  color: var(--ce-neutral);
  margin: 0;
}
.footer__legal-links {
  display: flex;
  gap: var(--space-md);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: var(--space-md) 0;
  background: var(--ce-comm-frost);
  border-bottom: 1px solid rgba(74,85,104,0.12);
}
.breadcrumb__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
}
.breadcrumb__item { color: var(--ce-neutral); }
.breadcrumb__item a { color: var(--ce-comm-teal); }
.breadcrumb__sep { color: var(--ce-neutral); }

/* --- Pricing display (book pages) --- */
.price-block { margin-bottom: var(--space-md); }
.price-block__current {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 28px;
  color: var(--ce-action);
  display: inline-block;
}
.price-block__original {
  font-family: var(--font-ui);
  font-size: 18px;
  color: var(--ce-neutral);
  text-decoration: line-through;
  margin-left: var(--space-sm);
}
.price-block__eur {
  font-size: 14px;
  color: var(--ce-neutral);
  display: block;
  margin-top: 2px;
}
.price-block__savings {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--ce-feedback-success);
  margin-top: var(--space-xs);
}

/* --- Stars helper --- */
.star-rating { display: flex; align-items: center; gap: 4px; }
.star-rating__stars { color: var(--ce-action); }
.star-rating__count { font-size: 13px; color: var(--ce-neutral); }

/* --- Consulting CTA / Coming Soon Badge --- */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(191,155,48,0.12);
  border: 1px solid rgba(191,155,48,0.4);
  color: var(--ce-action);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: var(--space-lg);
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid rgba(74,85,104,0.18);
  padding: var(--space-md) 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item__question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--ce-anchor);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}
.faq-item__question::after {
  content: '+';
  font-size: 22px;
  color: var(--ce-action);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item--open .faq-item__question::after { content: '-'; }
.faq-item__answer {
  font-size: 15px;
  color: var(--ce-fixer);
  line-height: 1.7;
  margin-top: var(--space-sm);
  display: none;
}
.faq-item--open .faq-item__answer { display: block; }

/* --- Author domain tags --- */
.domain-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(5,142,217,0.1);
  color: var(--ce-comm-teal);
}

/* --- Verified badge --- */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--ce-feedback-success);
}
.verified-badge::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--ce-feedback-success);
  border-radius: 50%;
}

/* --- Utilities --- */
.text-teal    { color: var(--ce-comm-teal); }
.text-neutral { color: var(--ce-neutral); }
.text-action  { color: var(--ce-action); }
.text-frost   { color: var(--ce-comm-frost); }
.text-small   { font-size: 13px; }
.text-center  { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === RESPONSIVE === */

@media (max-width: 1024px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__newsletter { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --space-3xl: 60px; --space-2xl: 40px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .book-grid { grid-template-columns: 1fr; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; justify-content: center; }

  .trust-bar__inner { gap: var(--space-md); }

  .footer__top { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal-links { flex-wrap: wrap; }

  .email-capture__form { flex-direction: column; }

  .author-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .author-grid { grid-template-columns: 1fr; }
  .footer__form-row { flex-direction: column; }
}

/* Author grid */
.author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1024px) {
  .author-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .author-grid { grid-template-columns: 1fr; }
}
