@import url("tokens/fonts.css");
@import url("tokens/colors.css");
@import url("tokens/typography.css");
@import url("tokens/spacing.css");

:root {
  --small-copy-color: #f5f5f6;
}

/* Small copy must remain readable against the black interface. */
:where(p, li, span, a, small, label)[style*="font-size: 10px"],
:where(p, li, span, a, small, label)[style*="font-size: 11px"],
:where(p, li, span, a, small, label)[style*="font-size: 12px"],
:where(p, li, span, a, small, label)[style*="font-size: 12.5px"],
:where(p, li, span, a, small, label)[style*="font-size: 13px"],
:where(p, li, span, a, small, label)[style*="font-size: 13.5px"],
:where(p, li, span, a, small, label)[style*="font-size: 14px"],
:where(p, li, span, a, small, label)[style*="font-size: 14.5px"],
:where(p, li, span, a, small, label)[style*="font-size: 15px"],
:where(p, li, span, a, small, label)[style*="font-size: 15.5px"] {
  color: var(--small-copy-color) !important;
}

.readiness-section {
  border-top: 1px solid rgba(245, 245, 246, 0.08);
  padding: 140px 40px;
}

.readiness-layout {
  display: block;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  max-width: 760px;
}

.section-intro .eyebrow {
  margin: 0;
  color: var(--small-copy-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.section-intro h2 {
  margin: 0;
  color: #f5f5f6;
  font-family: var(--font-heading);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

.section-intro > p:not(.eyebrow) {
  max-width: 440px;
  margin: 0;
  color: var(--small-copy-color);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.readiness-popup-button {
  align-self: flex-start;
  min-width: 44px;
  min-height: 44px;
  padding: 15px 26px;
  border: 1px solid #ff2440;
  border-radius: 4px;
  background: #ff2440;
  color: #fff;
  font: 600 15px/1.4 var(--font-body);
  cursor: pointer;
}

.readiness-popup-button:hover {
  background: #d91e38;
}

@media (max-width: 900px) {
  header h1,
  header p span,
  section h2,
  #kontakt p {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .readiness-section {
    padding: 112px 32px;
  }

  .readiness-layout {
    display: block;
  }

  .section-intro {
    position: static;
  }
}

@media (max-width: 480px) {
  .readiness-section {
    padding: 88px 20px;
  }

  .readiness-layout {
    gap: 36px;
  }

}
