:root {
  --page: #f8fafc;
  --surface: #ffffff;
  --ink: #0f1a26;
  --text: #333333;
  --text-muted: #596575;
  --border: #dbdfe5;
  --primary: #ad4798;
  --primary-dark: #8a3779;
  --plum: #4d1b42;
  --plum-dark: #20071b;
  --frame-w: 1280px;
  --section-space: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: 'Rethink Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.device {
  width: 100%;
  max-width: var(--frame-w);
  margin: 0 auto;
  padding: 32px 32px 64px;
}

.logo {
  display: inline-flex;
  width: 124px;
  height: 48px;
  margin-bottom: 64px;
  border-radius: 4px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo:focus-visible,
.btn:focus-visible,
.section-link:focus-visible {
  outline: 3px solid rgba(173, 71, 152, 0.32);
  outline-offset: 4px;
}

.hero {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  gap: 16px;
  margin-bottom: var(--section-space);
}

.eyebrow {
  margin: 0;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.eyebrow--light {
  color: #d9afd2;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 28px;
}

.results-section + .results-section {
  margin-top: var(--section-space);
}

.is-hidden {
  display: none;
}

.section-title {
  width: 100%;
}

.section-title--stacked {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 40px;
}

.section-copy {
  max-width: 800px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 24px;
}

.section-link {
  width: fit-content;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.section-link:hover {
  color: var(--primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.primary-card {
  margin: 0;
}

.subsection-header {
  margin-bottom: 20px;
}

#standalone-subsection {
  margin-top: var(--section-space);
}

.subsection-heading {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.subsection-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.provider-card {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.provider-card__header {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.provider-card__header h3 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 38px;
}

.provider-card__logo {
  display: flex;
  width: 180px;
  max-width: 42%;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
}

.provider-card__logo img {
  width: auto;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
}

.provider-card--namola .provider-card__logo img {
  filter: grayscale(1) brightness(0.35);
}

.provider-card__description {
  min-width: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 24px;
}

.provider-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.provider-card__meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.features {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 8px;
}

.feature-row {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.feature-row::before {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  flex: 0 0 16px;
  background: url('./assets/feature-check.svg?v=20260716-aura-refresh') center / contain no-repeat;
  content: '';
}

.powered-by {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.provider-card__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
}

.btn-primary:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.aura-cta {
  display: flex;
  margin-top: 80px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  border-radius: 16px;
  background: var(--plum-dark);
  color: var(--surface);
}

.aura-cta__content {
  display: flex;
  max-width: 680px;
  flex-direction: column;
  gap: 12px;
}

.aura-cta h2 {
  margin: 0;
  color: var(--surface);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 44px;
}

.aura-cta__content > p:last-child {
  margin: 0;
  color: #d9dce1;
  font-size: 16px;
  line-height: 24px;
}

.aura-cta__button {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .provider-card {
    padding: 32px;
  }

  .provider-card__footer,
  .aura-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 48px;
  }

  .device {
    padding: 24px 24px 48px;
  }

  .logo {
    margin-bottom: 48px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .section-title h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .provider-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .provider-card {
    min-height: 0;
    padding: 28px;
  }

  .provider-card__actions,
  .provider-card__actions .btn {
    width: 100%;
  }

  .aura-cta {
    margin-top: 64px;
    padding: 32px;
  }

  .aura-cta__button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .device {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .hero > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 24px;
  }

  .section-title h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .provider-card {
    gap: 24px;
    padding: 24px 20px;
  }

  .provider-card__header {
    gap: 16px;
  }

  .provider-card__header h3 {
    font-size: 24px;
    line-height: 30px;
  }

  .provider-card__logo {
    width: 132px;
    max-width: 44%;
    height: 40px;
  }

  .provider-card__logo img {
    height: 40px;
  }

  .aura-cta {
    padding: 28px 24px;
  }

  .aura-cta h2 {
    font-size: 30px;
    line-height: 38px;
  }
}
