:root {
  --ripple-navy: #0b1f3a;
  --ripple-blue: #005bcc;
  --ripple-blue-light: #e8f2ff;
  --ripple-text: #1a2332;
  --ripple-muted: #5c6678;
}

.ripple-buy-page {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ripple-text);
  background: linear-gradient(180deg, #f6f9fd 0%, #fff 40%);
}

.ripple-buy-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.ripple-buy-header {
  border-bottom: 1px solid rgb(0 0 0 / 6%);
  background: #fff;
  padding: 1rem 0;
}

.ripple-buy-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ripple-navy);
  text-decoration: none;
}

.ripple-buy-header__tag {
  float: right;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ripple-muted);
  margin-top: 0.35rem;
}

.ripple-buy-main {
  padding: 2.5rem 0 4rem;
}

.ripple-buy-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  color: var(--ripple-navy);
}

.ripple-buy-lead {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 42rem;
  color: var(--ripple-muted);
  margin: 0 0 1.25rem;
}

.ripple-buy-eligibility {
  max-width: 48rem;
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid rgb(0 91 204 / 12%);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgb(11 31 58 / 5%);
}

.ripple-buy-eligibility__title {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ripple-blue);
}

.ripple-buy-eligibility__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ripple-text);
}

.ripple-buy-disclaimer {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ripple-muted);
}

.ripple-buy-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ripple-buy-card {
  position: relative;
  background: #fff;
  border: 1px solid rgb(0 32 91 / 8%);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 28px rgb(11 31 58 / 6%);
}

.ripple-buy-card__bonus {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ripple-blue-light);
  color: var(--ripple-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.ripple-buy-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.ripple-buy-card__sub {
  margin: 0 0 1rem;
  color: var(--ripple-muted);
  font-size: 0.9375rem;
}

.ripple-buy-card__price {
  margin: 0 0 0.35rem;
}

.ripple-buy-card__min,
.ripple-buy-card__note {
  font-size: 0.875rem;
  color: var(--ripple-muted);
  margin: 0.25rem 0;
}

.ripple-buy-form {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.ripple-amount {
  display: grid;
  gap: 0.65rem;
}

.ripple-amount__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ripple-text);
}

.ripple-amount__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ripple-amount__preset {
  appearance: none;
  border: 1px solid rgb(0 91 204 / 22%);
  background: #fff;
  color: #005bcc;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ripple-amount__preset:hover {
  background: rgb(0 91 204 / 8%);
}

.ripple-amount__preset.is-active {
  background: linear-gradient(103deg, #005bcc, #2f7ee8);
  border-color: transparent;
  color: #fff;
}

.ripple-amount__control {
  display: grid;
  gap: 0.5rem;
}

.ripple-amount__input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #c5d0e0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgb(11 31 58 / 4%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ripple-amount__input-wrap:focus-within {
  border-color: #005bcc;
  box-shadow: 0 0 0 3px rgb(0 91 204 / 15%);
}

.ripple-amount__prefix,
.ripple-amount__suffix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ripple-muted);
  background: #f6f9fd;
  user-select: none;
}

.ripple-amount__suffix {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ripple-amount__input {
  flex: 1;
  min-width: 0;
  border: 0;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 0.65rem 0.35rem;
  color: var(--ripple-navy);
  background: transparent;
  -moz-appearance: textfield;
}

.ripple-amount__input::-webkit-outer-spin-button,
.ripple-amount__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ripple-amount__range {
  width: 100%;
  height: 4px;
  accent-color: #005bcc;
  cursor: pointer;
}

.ripple-amount__hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ripple-muted);
}

.ripple-buy-estimate {
  font-size: 0.875rem;
  color: var(--ripple-navy);
  min-height: 1.25rem;
}

.ripple-buy-estimate--structured {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f6f9fd;
  border: 1px solid rgb(0 91 204 / 10%);
}

.ripple-buy-estimate__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ripple-muted);
}

.ripple-buy-estimate__row strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ripple-navy);
  font-variant-numeric: tabular-nums;
}

.ripple-buy-estimate__row--total {
  margin-top: 0.15rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgb(0 91 204 / 20%);
}

.ripple-buy-estimate__row--total strong {
  font-size: 1.0625rem;
  color: #005bcc;
}

.ripple-buy-submit {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  color: #fff;
  background: linear-gradient(103deg, #005bcc, #2f7ee8);
}

.ripple-buy-submit:hover {
  filter: brightness(1.05);
}

.ripple-buy-disclaimer {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--ripple-muted);
  max-width: 52rem;
}

/* Homepage promo bar */
.ripple-offer-bar {
  background: linear-gradient(90deg, #00285b, #005bcc);
  color: #fff;
  font-size: 0.9375rem;
}

.ripple-offer-bar__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.ripple-offer-bar__badge {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgb(255 255 255 / 18%);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.ripple-offer-bar__text {
  margin: 0;
  flex: 1;
  line-height: 1.45;
}

.ripple-offer-bar__eligibility {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  opacity: 0.95;
}

.ripple-offer-bar__cta {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.ripple-offer-bar__cta:hover {
  text-decoration: underline;
}

.ripple-offer-bar__cta--purchase {
  margin-left: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 20%);
  text-decoration: none;
}

.ripple-offer-bar__cta--purchase:hover {
  background: rgb(255 255 255 / 30%);
  text-decoration: none;
}

/* Homepage pricing band (injected below header) */
.ripple-home-pricing {
  background: #f3f7fc;
  border-bottom: 1px solid rgb(0 40 91 / 8%);
  color: #141a1f;
}

.ripple-home-pricing__wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
}

.ripple-home-pricing__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #005bcc;
}

.ripple-home-pricing__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  line-height: 1.2;
  color: #0b1f3a;
}

.ripple-home-pricing__lead {
  margin: 0 0 0.75rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #5c6678;
}

.ripple-programs-benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ripple-programs-benefits__item {
  margin: 0;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid rgb(0 91 204 / 10%);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgb(11 31 58 / 4%);
}

.ripple-programs-benefits__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0b1f3a;
  line-height: 1.3;
}

.ripple-programs-benefits__body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c6678;
}

.ripple-programs-rates-heading {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #005bcc;
}

.ripple-programs-panel__next {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5c6678;
}

.ripple-programs-inline-tab {
  appearance: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: #005bcc;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ripple-programs-inline-tab:hover {
  color: #004799;
}

.ripple-programs-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  max-width: 40rem;
  line-height: 1.55;
  color: #1a2332;
}

.ripple-programs-steps li {
  margin-bottom: 0.5rem;
}

.ripple-home-pricing__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ripple-home-pricing__card {
  position: relative;
  background: #fff;
  border: 1px solid rgb(0 91 204 / 12%);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: 0 6px 24px rgb(11 31 58 / 5%);
}

.ripple-home-pricing__bonus {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #005bcc;
  background: #e8f2ff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.ripple-home-pricing__name {
  margin: 0 2.5rem 0.35rem 0;
  font-size: 1.125rem;
  color: #0b1f3a;
}

.ripple-home-pricing__meta {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: #5c6678;
}

.ripple-home-pricing__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 0.5rem;
}

.ripple-home-pricing__label input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 8px;
  font: inherit;
}

.ripple-home-pricing__cta {
  margin-top: 0.65rem;
  width: 100%;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: #fff;
  background: linear-gradient(103deg, #005bcc, #2f7ee8);
}

.ripple-home-pricing__cta:hover {
  filter: brightness(1.05);
}

.ripple-home-pricing__fine {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: #5c6678;
}

.ripple-home-pricing__fine a {
  color: #005bcc;
  font-weight: 600;
}

/* Programs hub tabs (homepage + /programs/*) */
.ripple-programs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid rgb(0 91 204 / 15%);
  padding-bottom: 0.65rem;
}

.ripple-programs-tabs__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #5c6678;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.ripple-programs-tabs__tab:hover {
  color: #005bcc;
  background: rgb(0 91 204 / 6%);
}

.ripple-programs-tabs__tab.is-active {
  color: #fff;
  background: linear-gradient(103deg, #005bcc, #2f7ee8);
}

.ripple-programs-panel__headline {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #0b1f3a;
}

.ripple-programs-panel__lead {
  margin: 0 0 1.25rem;
  max-width: 46rem;
  line-height: 1.55;
  color: #5c6678;
}

.ripple-programs-panel__more {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
}

.ripple-programs-panel__more a {
  color: #005bcc;
  font-weight: 600;
}

.ripple-programs-callout {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgb(0 91 204 / 12%);
  border-radius: 12px;
}

.ripple-programs-callout__title {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #005bcc;
}

.ripple-programs-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: #1a2332;
  line-height: 1.55;
}

.ripple-programs-projects {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ripple-programs-projects__item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgb(0 91 204 / 10%);
  border-radius: 10px;
}

.ripple-programs-projects__item strong {
  color: #0b1f3a;
}

.ripple-programs-projects__item span {
  font-size: 0.9rem;
  color: #5c6678;
  line-height: 1.45;
}

.ripple-programs-cta {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(103deg, #005bcc, #2f7ee8);
}

.ripple-programs-cta:hover {
  filter: brightness(1.05);
}

.ripple-buy-header__programs {
  float: right;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ripple-blue);
  text-decoration: none;
}

.ripple-buy-header__programs:hover {
  text-decoration: underline;
}

.ripple-programs-page .ripple-programs-tabs {
  margin-bottom: 1.75rem;
}

.ripple-lang-switch {
  position: fixed;
  top: 0.65rem;
  right: 0.85rem;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(0 0 0 / 8%);
  box-shadow: 0 4px 18px rgb(11 31 58 / 10%);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.ripple-lang-switch.is-collapsed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}

.ripple-lang-switch__link {
  color: var(--ripple-muted);
  text-decoration: none;
}

.ripple-lang-switch__link:hover {
  color: var(--ripple-blue);
}

.ripple-lang-switch__link.is-active {
  color: var(--ripple-navy);
}

.ripple-lang-switch__sep {
  color: rgb(0 0 0 / 20%);
  user-select: none;
}