/* ==================================================

   HOMEPAGE — Page-specific styles

   ================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 160px);
  padding: 56px 48px 24px;
  display: flex;
}

.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 20px;
}

.hero__left {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 680px;
}

.hero__headline {
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--carbon);
  max-width: 680px;
}

.hero__headline strong {
  font-weight: 500;
}

.hero__headline-last {
  white-space: nowrap;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.hero__right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__science-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px 10px 10px;
  background: transparent;
  border: 1px solid var(--catalyst-orange);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--catalyst-orange);
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s;
}

.hero__science-btn:hover {
  background: var(--catalyst-orange);
  color: #fff;
  border-color: var(--catalyst-orange);
}

.hero__science-btn:focus-visible {
  outline: 2px solid var(--catalyst-orange);
  outline-offset: 2px;
}

.hero__science-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--catalyst-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.hero__science-btn:hover .hero__science-btn-icon {
  border-color: rgb(255, 255, 255, 0.3);
}

.hero__science-btn-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.hero__science-btn-text {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__manifesto {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 28px 10px 10px;
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--carbon);
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s;
}

.hero__manifesto:hover {
  background: var(--carbon);
  color: var(--bg);
  border-color: var(--carbon);
}

.hero__manifesto:focus-visible {
  outline: 2px solid var(--catalyst-orange);
  outline-offset: 2px;
}

.hero__manifesto-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.hero__manifesto:hover .hero__manifesto-icon {
  border-color: rgb(255, 255, 255, 0.3);
}

.hero__manifesto-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.hero__manifesto-text {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__manifesto-circle {
  display: none; /* Hidden on desktop — full pill is visible instead */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--carbon);
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 10px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.hero__manifesto-circle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__manifesto-circle:hover {
  background: var(--carbon);
  color: var(--bg);
  border-color: var(--carbon);
}

.hero__manifesto-circle:focus-visible {
  outline: 2px solid var(--catalyst-orange);
  outline-offset: 2px;
}

.hero__science-pill {
  display: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.2s;
  align-items: center;
  justify-content: center;
}

.hero__science-pill:hover,
.hero__science-pill:active {
  border-color: var(--catalyst-orange);
  color: var(--carbon);
  background: transparent;
}

.hero__product-card {
  flex-shrink: 0;
  width: 340px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: 14px;
  padding: 18px 24px 16px;
  position: relative;
  overflow: hidden;
}

.hero__product-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
}

.hero__product-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--catalyst-orange);
  flex-shrink: 0;
}

.hero__product-name {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--carbon);
}

.hero__product-name strong {
  font-weight: 600;
}

.hero__product-divider {
  width: 24px;
  height: 1.5px;
  background: var(--catalyst-orange);
  margin-bottom: 10px;
  position: relative;
}

.hero__product-signals {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0;
  position: relative;
}

.hero__product-signal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero__product-signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--catalyst-orange);
  flex-shrink: 0;
  margin-top: 6px;
  opacity: 0.6;
}

.hero__product-signal-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.hero__product-signal-text strong {
  font-weight: 500;
  color: var(--carbon);
}

.hero__product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all 0.3s;
  cursor: pointer;
}

.hero__product-btn--solid {
  background: var(--catalyst-orange);
  border: 1px solid var(--catalyst-orange);
  color: #fff;
}

.hero__product-btn--solid:hover,
.hero__product-btn--solid:active {
  background: #d4551f;
  border-color: #d4551f;
}

.hero__product-btn svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}

.hero__product-ruo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__product-ruo::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--catalyst-orange);
  flex-shrink: 0;
}

.manifesto-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.manifesto-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.manifesto {
  position: absolute;
  z-index: 160;
  background: var(--surface-warm);
  color: var(--carbon);
  border-radius: var(--radius-pill);
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;

  /* These get set dynamically by JS for the morph */
  transition:
    top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    left 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
}

.manifesto.is-open {
  pointer-events: auto;
  opacity: 1;
  border-radius: 20px;
  padding: 44px 44px 36px;
}

.manifesto.is-closing {
  opacity: 0;
  transition:
    top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease 0.15s;
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s ease 0.2s;
}

.manifesto.is-open .manifesto__inner {
  opacity: 1;
}

.manifesto.is-closing .manifesto__inner {
  opacity: 0;
  transition: opacity 0.12s ease;
}

.manifesto__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-hover);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}

.manifesto__close:hover {
  background: rgb(26, 26, 26, 0.06);
}

.manifesto__close svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  stroke-width: 2;
  stroke-linecap: round;
}

.manifesto__orb {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(235, 98, 46, 0.08) 0%,
    rgba(235, 98, 46, 0.04) 50%,
    transparent 80%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.manifesto__label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.manifesto__title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--carbon);
  margin-bottom: 16px;
}

.manifesto__title strong {
  font-weight: 500;
}

.manifesto__divider {
  width: 32px;
  height: 2px;
  background: var(--catalyst-orange);
  margin-bottom: 16px;
}

.manifesto__panel {
  margin-bottom: 14px;
}

.manifesto__panel:last-child {
  margin-bottom: 0;
}

.manifesto__panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.manifesto__panel-number {
  font-size: 11px;
  font-weight: 500;
  color: var(--catalyst-orange);
  letter-spacing: 0.05em;
}

.manifesto__panel-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--catalyst-orange);
}

.manifesto__panel-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 0;
}

.manifesto__panel-text .highlight {
  font-weight: 500;
  color: var(--carbon);
}

.faq-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgb(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.faq-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.faq-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 610;
  width: 580px;
  max-width: 94vw;
  max-height: 82vh;
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 44px 44px 36px;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.35s;
}

.faq-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.faq-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.faq-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgb(255, 255, 255, 0.15);
  background: transparent;
  color: rgb(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.faq-modal__close:hover {
  background: rgb(255, 255, 255, 0.08);
  color: var(--bg);
}

.faq-modal__close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.faq-modal__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--catalyst-orange);
  margin-bottom: 16px;
}

.faq-modal__title {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--bg);
  margin-bottom: 28px;
}

.faq-modal__title strong {
  font-weight: 500;
}

.faq-modal__list {
  list-style: none;
}

.faq-modal__item {
  border-bottom: 1px solid rgb(255, 255, 255, 0.08);
}

.faq-modal__item:first-child {
  border-top: 1px solid rgb(255, 255, 255, 0.08);
}

.faq-modal__question {
  width: 100%;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: rgb(255, 255, 255, 0.8);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-modal__question:hover {
  color: var(--bg);
}

.faq-modal__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid rgb(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 300;
  color: var(--catalyst-orange);
  transition:
    transform 0.3s,
    border-color 0.3s;
}

.faq-modal__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-modal__answer-content {
  padding: 0 0 16px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgb(255, 255, 255, 0.5);
}

.faq-modal__item--open .faq-modal__answer {
  max-height: 500px;
}

.faq-modal__item--open .faq-modal__icon {
  transform: rotate(45deg);
  border-color: var(--catalyst-orange);
}

.faq-modal__item--open .faq-modal__question {
  color: var(--bg);
}

@media (width <= 1024px) {
  .hero {
    padding: 56px 24px 20px;
    min-height: auto;
  }

  .hero__content {
    padding-top: 12px;
    gap: 40px;
  }

  .hero__headline {
    font-size: clamp(38px, 5.5vw, 56px);
  }

  .hero__ctas {
    margin-top: 32px;
  }

  .hero__product-card {
    padding: 16px 20px 14px;
  }

  .hero__product-name {
    font-size: 15px;
  }

  .hero__product-signal-text {
    font-size: 11px;
  }

  .hero__product-btn {
    padding: 7px 14px;
    font-size: 10px;
  }

  .manifesto.is-open {
    padding: 28px 24px 24px;
    border-radius: 16px;
  }

  .manifesto__title {
    font-size: clamp(24px, 5vw, 36px);
  }
}

@media (width <= 768px) {
  .hero__content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .hero__headline {
    font-size: clamp(36px, 7vw, 48px);
    max-width: 100%;
  }

  .hero__ctas {
    margin-top: 20px;
  }

  .hero__manifesto {
    display: none;
  }

  .hero__manifesto-circle {
    display: inline-flex;
  }

  .hero__science-btn {
    display: none;
  }

  .hero__product-card {
    width: 100%;
  }
}

@media (width <= 600px) {
  .hero {
    padding: 72px 16px 32px;
    min-height: auto;
  }

  .hero__headline {
    font-size: clamp(30px, 8.5vw, 40px);
    max-width: 100%;
  }

  .hero__product-card {
    width: 100%;
    padding: 20px 20px 18px;
    border-radius: 14px;
  }

  .hero__science-pill {
    display: inline-flex;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
    padding: 10px 16px;
    min-height: 44px;
    font-size: 12px;
  }

  .hero__product-name {
    font-size: 16px;
  }

  .hero__product-signal-text {
    font-size: 12px;
  }

  .hero__product-btn {
    padding: 10px 18px;
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
  }

  .manifesto.is-open {
    padding: 28px 20px 24px;
    border-radius: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .manifesto__title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .manifesto__panel-text {
    font-size: 14px;
    line-height: 1.65;
  }

  .manifesto__close {
    top: 14px;
    right: 14px;
  }
}

.newsletter-error {
  display: none;
  font-size: 12px;
  color: #d84d4d;
  margin-top: 6px;
}

.newsletter-error.visible {
  display: block;
}
