:root {
  --spectra-section-spacing: 5rem;
}

.spectra-section {
  position: relative;
  padding-top: var(--spectra-section-spacing);
  padding-bottom: var(--spectra-section-spacing);
}

.spectra-section--spacing-zero {
  --spectra-section-spacing: 0rem;
}

.spectra-section--spacing-tight {
  --spectra-section-spacing: 2.5rem;
}

.spectra-section--spacing-normal {
  --spectra-section-spacing: 5rem;
}

.spectra-section--spacing-relaxed {
  --spectra-section-spacing: 8rem;
}

.spectra-section--spacing-hero {
  --spectra-section-spacing: 12rem;
}

.spectra-section.spectra-section--bg-viewport {
  isolation: isolate;
}

.spectra-section.spectra-section--bg-viewport::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--spectra-section-bg-custom, transparent);
  pointer-events: none;
  z-index: -1;
}

.spectra-section__inner {
  display: grid;
  gap: 1.5rem;
  padding: 0;
}

.spectra-section__content {
  display: grid;
  gap: 1rem;
}

.spectra-section__eyebrow {
  color: #0b8b63;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectra-section__headline {
  color: #172033;
  font-size: clamp(1.8rem, 3.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}

.spectra-section__subheadline {
  color: #4c5d78;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  max-width: 64ch;
}

.spectra-section__headline > *,
.spectra-section__subheadline > * {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  -webkit-text-fill-color: inherit;
}

.spectra-section__badges,
.spectra-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.spectra-button {
  --spectra-btn-bg: #172033;
  --spectra-btn-border: #172033;
  --spectra-btn-color: #ffffff;
  align-items: center;
  appearance: none;
  background: var(--spectra-btn-bg);
  border: 1px solid var(--spectra-btn-border);
  border-radius: 12px;
  color: var(--spectra-btn-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 2.7rem;
  min-width: 9.75rem;
  padding: 0.62rem 1.2rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.spectra-button:hover,
.spectra-button:focus-visible {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}

.spectra-button--size-large {
  font-size: 1.03rem;
  min-height: 3.1rem;
  min-width: 11.2rem;
  padding: 0.74rem 1.45rem;
}

.spectra-button--size-sm {
  font-size: 0.86rem;
  min-height: 2.35rem;
  min-width: 8.4rem;
  padding: 0.5rem 0.95rem;
}

.spectra-button--size-xl {
  font-size: 1.12rem;
  min-height: 3.4rem;
  min-width: 12.2rem;
  padding: 0.86rem 1.7rem;
}

.spectra-button--type-link {
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  min-width: 0;
  padding: 0.2rem 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.spectra-button--type-link:hover,
.spectra-button--type-link:focus-visible {
  box-shadow: none;
  transform: none;
}

.spectra-button--style-solid.spectra-button--color-default {
  --spectra-btn-bg: #172033;
  --spectra-btn-border: #172033;
  --spectra-btn-color: #ffffff;
}

.spectra-button--style-solid.spectra-button--color-accent {
  --spectra-btn-bg: #bb00ff;
  --spectra-btn-border: #bb00ff;
  --spectra-btn-color: #ffffff;
}

.spectra-button--style-outline.spectra-button--color-default {
  --spectra-btn-bg: transparent;
  --spectra-btn-border: #172033;
  --spectra-btn-color: #172033;
}

.spectra-button--style-outline.spectra-button--color-accent {
  --spectra-btn-bg: transparent;
  --spectra-btn-border: #bb00ff;
  --spectra-btn-color: #bb00ff;
}

.spectra-button--type-secondary.spectra-button--style-solid.spectra-button--color-default {
  --spectra-btn-bg: #ffffff;
  --spectra-btn-border: #cad6ea;
  --spectra-btn-color: #1f2d45;
}

.spectra-button--type-secondary.spectra-button--style-outline.spectra-button--color-default {
  --spectra-btn-bg: transparent;
  --spectra-btn-border: #9fb2d3;
  --spectra-btn-color: #3c4f71;
}

.spectra-button--type-link.spectra-button--color-default {
  --spectra-btn-color: #172033;
}

.spectra-button--type-link.spectra-button--color-accent {
  --spectra-btn-color: #bb00ff;
}

.spectra-section__badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(86, 113, 159, 0.16);
  border-radius: 999px;
  color: #24334f;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
}

.spectra-section__media img {
  border-radius: 20px;
  display: block;
  max-width: 100%;
  width: 100%;
}

.spectra-section__inner--generic {
  gap: 1rem;
}

.spectra-section__generic-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}

.spectra-section__generic-list li {
  color: #334462;
  line-height: 1.55;
}

[data-word-swap="true"] {
  position: relative;
  display: inline-block;
  color: inherit;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  -webkit-text-fill-color: inherit;
  border-bottom: 1px dashed rgba(187, 0, 255, 0.28);
  box-shadow: inset 0 -0.08em 0 rgba(187, 0, 255, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

[data-word-swap="true"]:hover {
  border-bottom-color: rgba(187, 0, 255, 0.58);
  box-shadow: inset 0 -0.1em 0 rgba(187, 0, 255, 0.16);
}

[data-word-swap="true"].is-word-swap-running::after {
  content: '';
  position: absolute;
  top: 0.08em;
  right: -0.08em;
  width: 2px;
  height: 1em;
  background: var(--spectra-inline-effect-caret, var(--spectra-text-primary, currentColor));
  animation: spectra-word-swap-caret 0.75s step-end infinite;
}

@keyframes spectra-word-swap-caret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

[data-typewriter="true"] {
  position: relative;
  display: inline-block;
  color: inherit;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  -webkit-text-fill-color: inherit;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  animation: spectra-typewriter-reveal 1.8s steps(24, end) forwards;
}

[data-typewriter="true"]::after {
  content: '';
  position: absolute;
  top: 0.08em;
  right: -0.08em;
  width: 2px;
  height: 1em;
  background: var(--spectra-inline-effect-caret, var(--spectra-text-primary, currentColor));
  animation: spectra-typewriter-caret 0.75s step-end infinite;
}

@keyframes spectra-typewriter-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes spectra-typewriter-caret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}
