/**
 * NolBoost stylesheet.
 *
 * Layout uses CSS logical properties (margin-inline, inset-inline, border-inline)
 * throughout, so the Arabic RTL version is produced by the `dir` attribute alone
 * rather than by a mirrored copy of these rules. The handful of places where a
 * shape genuinely has to flip are grouped under `[dir='rtl']` at the end.
 */

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
  --red: #ee0000;
  --red-dark: #c40000;
  --red-soft: #fdecec;
  --indigo: #1b0e92;
  --indigo-dark: #140a6e;
  --indigo-soft: #eeecfa;
  --navy: #202a50;
  --teal: #0f7da9;
  --teal-soft: #e7f3f8;

  --ink: #16181d;
  --ink-soft: #3c3f45;
  --grey: #53565a;
  --grey-mid: #7d8085;
  --grey-light: #f5f6f7;
  --grey-lighter: #fafbfc;
  --border: #e1e3e6;
  --border-strong: #cfd2d6;

  --green: #1c7c4a;
  --green-soft: #e8f5ee;
  --amber: #8a5a00;
  --amber-soft: #fdf4e3;

  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-arabic: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --shell: 1200px;
  --shell-narrow: 880px;
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.06), 0 2px 8px rgba(22, 24, 29, 0.04);
  --shadow-md: 0 4px 16px rgba(22, 24, 29, 0.08);
  --shadow-lg: 0 18px 48px rgba(22, 24, 29, 0.14);

  --section-y: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.dir-rtl {
  font-family: var(--font-arabic);
  line-height: 1.75;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 17px;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-inline-start: 1.35em;
}

li + li {
  margin-block-start: 0.4em;
}

img,
svg {
  max-width: 100%;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

hr {
  border: 0;
  border-block-start: 1px solid var(--border);
  margin: 32px 0;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  transition: inset-block-start 0.2s ease;
}

.skip-link:focus {
  inset-block-start: 12px;
  color: #fff;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.btn--secondary {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--indigo);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.btn--on-dark {
  background: #fff;
  border-color: #fff;
  color: var(--indigo);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 18px;
}

.btn--block {
  width: 100%;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__note {
  margin: 0;
  padding-block: 6px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: inherit;
}

.topbar__link:hover,
.topbar__link:focus-visible {
  color: #fff;
  text-decoration: none;
}

.topbar__link .icon {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

.lang__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang__item + .lang__item {
  margin: 0;
}

.lang__link {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

a.lang__link:hover,
a.lang__link:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  text-decoration: none;
}

.lang__link.is-current {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  background: #fff;
  border-block-end: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(22, 24, 29, 0.03);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: none;
}

.brand:hover,
.brand:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__tagline {
  color: var(--grey-mid);
  font-size: 12px;
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item + .nav__item {
  margin: 0;
}

.nav__link {
  display: inline-block;
  padding: 10px 12px;
  border-block-end: 3px solid transparent;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--indigo);
  border-block-end-color: var(--border-strong);
  text-decoration: none;
}

.nav__link.is-current {
  color: var(--indigo);
  border-block-end-color: var(--red);
}

.nav__cta {
  flex: none;
  padding: 11px 22px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--indigo);
  content: "";
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before {
  position: absolute;
  inset-block-start: -6px;
}

.nav-toggle__bars::after {
  position: absolute;
  inset-block-start: 6px;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  background: var(--grey-light);
  border-block-end: 1px solid var(--border);
  font-size: 14px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 13px 0;
  list-style: none;
}

.breadcrumbs__item {
  margin: 0;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "›";
  margin-inline-end: 8px;
  color: var(--grey-mid);
}

.breadcrumbs__current {
  color: var(--grey);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: 52px;
}

.section--grey {
  background: var(--grey-light);
  border-block: 1px solid var(--border);
}

.section--indigo {
  background: var(--indigo);
  color: rgba(255, 255, 255, 0.86);
}

.section--indigo h2,
.section--indigo h3 {
  color: #fff;
}

.section__head {
  max-width: 720px;
  margin-block-end: 40px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  background: var(--red);
  content: "";
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__lead {
  color: var(--grey);
  font-size: 18px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, var(--indigo) 0%, #2417a8 45%, var(--teal) 100%);
  color: rgba(255, 255, 255, 0.9);
}

.hero::after {
  position: absolute;
  inset-block-start: -160px;
  inset-inline-end: -140px;
  width: 620px;
  height: 620px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 90px rgba(255, 255, 255, 0.04),
    0 0 0 80px rgba(255, 255, 255, 0.05);
  content: "";
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: start;
  padding-block: 64px 72px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-block-end: 20px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hero__badge .icon {
  width: 16px;
  height: 16px;
  color: #ffd4d4;
}

.hero h1 {
  color: #fff;
  margin-block-end: 18px;
}

.hero__lead {
  max-width: 34em;
  font-size: 19px;
  margin-block-end: 26px;
}

.hero__points {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.hero__points .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-block-start: 34px;
  padding-block-start: 26px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero__meta-item .icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

/* ==========================================================================
   Top-up form
   ========================================================================== */

.topup {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink-soft);
  overflow: hidden;
}

.topup__head {
  padding: 22px 28px;
  background: var(--grey-lighter);
  border-block-end: 1px solid var(--border);
}

.topup__title {
  margin: 0 0 4px;
  font-size: 21px;
}

.topup__subtitle {
  margin: 0;
  color: var(--grey);
  font-size: 14px;
}

.topup__body {
  padding: 26px 28px 30px;
}

.field {
  margin-block-end: 22px;
}

.field:last-child {
  margin-block-end: 0;
}

.field__label {
  display: block;
  margin-block-end: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.field__optional {
  color: var(--grey-mid);
  font-weight: 400;
}

.field__hint {
  display: block;
  margin-block-start: 7px;
  color: var(--grey-mid);
  font-size: 13px;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-block-start: 7px;
  color: #b30000;
  font-size: 13px;
  font-weight: 600;
}

.field__error .icon {
  width: 15px;
  height: 15px;
  margin-block-start: 2px;
}

.input {
  display: block;
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:hover {
  border-color: var(--grey-mid);
}

.input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(27, 14, 146, 0.14);
  outline: none;
}

.input::placeholder {
  color: #a9adb2;
}

.input--card {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: 0.14em;
}

.input.has-error {
  border-color: #cc0000;
  background: #fffafa;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-block-end: 12px;
}

.amount {
  position: relative;
}

.amount__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.amount__label {
  display: block;
  padding: 12px 4px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.amount__label:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.amount__input:checked + .amount__label {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.amount__input:focus-visible + .amount__label {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.amount__currency {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group__addon {
  display: inline-flex;
  align-items: center;
  padding-inline: 14px;
  background: var(--grey-light);
  border: 1px solid var(--border-strong);
  border-inline-end: 0;
  border-start-start-radius: 2px;
  border-end-start-radius: 2px;
  color: var(--grey);
  font-size: 14px;
  font-weight: 700;
}

.input-group .input {
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

.summary {
  margin-block: 24px;
  padding: 16px 18px;
  background: var(--grey-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.summary__row + .summary__row {
  margin-block-start: 9px;
}

.summary__row--total {
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--border);
  font-size: 17px;
  font-weight: 700;
}

.summary__row--total .summary__value {
  color: var(--indigo);
  font-size: 21px;
}

.summary__label {
  color: var(--grey);
}

.summary__row--total .summary__label {
  color: var(--ink);
}

.summary__value {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox__input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--indigo);
}

.topup__submit {
  margin-block-start: 22px;
}

.topup__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-start: 16px;
  color: var(--grey-mid);
  font-size: 13px;
  text-align: center;
}

.topup__foot .icon {
  width: 15px;
  height: 15px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-block-end: 22px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: var(--radius);
  font-size: 14px;
}

.alert__icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-block-start: 1px;
}

.alert p {
  margin: 0;
}

.alert p + p {
  margin-block-start: 6px;
}

.alert--error {
  background: var(--red-soft);
  border-color: #f3bcbc;
  color: #8f0000;
}

.alert--info {
  background: var(--teal-soft);
  border-color: #bcdcea;
  color: #0b5b7c;
}

.alert--success {
  background: var(--green-soft);
  border-color: #bde0cc;
  color: #145c36;
}

.alert--warning {
  background: var(--amber-soft);
  border-color: #ecd9ac;
  color: var(--amber);
}

.alert__list {
  margin: 6px 0 0;
  padding-inline-start: 1.2em;
}

/* ==========================================================================
   Cards, grids and steps
   ========================================================================== */

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-block-end: 16px;
  background: var(--indigo-soft);
  border-radius: 50%;
  color: var(--indigo);
}

.card__icon .icon {
  width: 24px;
  height: 24px;
}

.card__title {
  margin-block-end: 8px;
  font-size: 18px;
}

.card__text {
  margin: 0;
  color: var(--grey);
  font-size: 15px;
}

.card__list {
  margin: 12px 0 0;
  padding-inline-start: 1.2em;
  color: var(--grey);
  font-size: 15px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  margin: 0;
  padding: 30px 24px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-block-start: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-block-end: 14px;
  background: var(--indigo);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.step__title {
  margin-block-end: 8px;
  font-size: 18px;
}

.step__text {
  margin: 0;
  color: var(--grey);
  font-size: 15px;
}

.step__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-block-start: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.step__meta .icon {
  width: 15px;
  height: 15px;
}

/* Feature list with check marks */
.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 16px;
}

.checklist .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  flex: none;
  margin-block-start: 1px;
  background: var(--green-soft);
  border-radius: 50%;
  color: var(--green);
}

.checklist--dark .icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Coverage tiles */
.tiles {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--teal-soft);
  border-radius: var(--radius);
  color: var(--teal);
}

.tile__icon .icon {
  width: 24px;
  height: 24px;
}

.tile__title {
  margin: 0 0 5px;
  font-size: 17px;
}

.tile__text {
  margin: 0;
  color: var(--grey);
  font-size: 14px;
}

/* Statistic strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  margin: 0;
  padding-inline-start: 18px;
  border-inline-start: 3px solid rgba(255, 255, 255, 0.28);
}

.stat__value {
  display: block;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-block-start: 6px;
  font-size: 14px;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table caption {
  padding: 14px 18px;
  border-block-end: 1px solid var(--border);
  color: var(--grey);
  font-size: 14px;
  text-align: start;
}

.table th,
.table td {
  padding: 14px 18px;
  text-align: start;
  border-block-end: 1px solid var(--border);
  vertical-align: top;
}

.table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-block-end: 0;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-block-end: 0;
}

.table tbody tr:nth-child(even) {
  background: var(--grey-lighter);
}

.table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.table td.is-numeric,
.table th.is-numeric {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq {
  display: grid;
  gap: 12px;
  max-width: var(--shell-narrow);
}

.faq--center {
  margin-inline: auto;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--indigo);
}

.faq__marker {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  margin-block-start: 3px;
}

.faq__marker::before,
.faq__marker::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  background: var(--red);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq__marker::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__marker::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__marker::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  padding: 0 20px 20px;
  color: var(--grey);
  font-size: 15px;
}

/* ==========================================================================
   Prose (informational and legal pages)
   ========================================================================== */

.page-head {
  padding-block: 46px 40px;
  background: var(--grey-light);
  border-block-end: 1px solid var(--border);
}

.page-head__inner {
  max-width: var(--shell-narrow);
}

.page-head h1 {
  margin-block-end: 12px;
}

.page-head__lead {
  margin: 0;
  color: var(--grey);
  font-size: 19px;
}

.page-head__meta {
  margin-block-start: 18px;
  color: var(--grey-mid);
  font-size: 14px;
}

.prose {
  max-width: var(--shell-narrow);
  font-size: 16.5px;
}

.prose h2 {
  margin-block-start: 44px;
  padding-block-start: 4px;
  font-size: 26px;
}

.prose > :first-child {
  margin-block-start: 0;
}

.prose h2:first-child {
  margin-block-start: 0;
}

.prose h3 {
  margin-block-start: 30px;
  font-size: 19px;
}

.prose ul,
.prose ol {
  color: var(--grey);
}

.prose li {
  margin-block-end: 0.5em;
}

.prose__note {
  margin-block: 26px;
  padding: 18px 20px;
  background: var(--grey-lighter);
  border-inline-start: 4px solid var(--indigo);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--grey);
  font-size: 15px;
}

.definition {
  margin: 0;
}

.definition dt {
  margin-block-start: 18px;
  color: var(--ink);
  font-weight: 700;
}

.definition dd {
  margin: 5px 0 0;
  color: var(--grey);
}

/* Table of contents on long legal pages */
.toc {
  margin-block-end: 40px;
  padding: 22px 24px;
  background: var(--grey-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.toc__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
}

.toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

.toc__list li {
  margin-block-end: 7px;
  break-inside: avoid;
}

/* ==========================================================================
   Contact cards
   ========================================================================== */

.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact {
  margin: 0;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-block-end: 14px;
  background: var(--red-soft);
  border-radius: 50%;
  color: var(--red);
}

.contact__title {
  margin-block-end: 6px;
  font-size: 17px;
}

.contact__value {
  display: block;
  margin-block-end: 6px;
  font-size: 17px;
  font-weight: 700;
}

.contact__note {
  margin: 0;
  color: var(--grey-mid);
  font-size: 14px;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta {
  padding-block: 56px;
  background: var(--indigo);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.cta__inner {
  max-width: 720px;
  margin-inline: auto;
}

.cta h2 {
  color: #fff;
}

.cta__text {
  margin-block-end: 26px;
  font-size: 18px;
}

.cta__note {
  margin-block-start: 18px;
  font-size: 14px;
  opacity: 0.75;
}

/* ==========================================================================
   Checkout and receipt
   ========================================================================== */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 36px;
  align-items: start;
}

.progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.progress__item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--grey-mid);
}

.progress__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.progress__item.is-done {
  color: var(--green);
}

.progress__item.is-done .progress__marker {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.progress__item.is-current {
  color: var(--indigo);
  font-weight: 700;
}

.progress__item.is-current .progress__marker {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}

.panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.panel + .panel {
  margin-block-start: 22px;
}

.panel__title {
  margin-block-end: 18px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--border);
  font-size: 19px;
}

.detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  font-size: 15px;
}

.detail-list dt {
  color: var(--grey);
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: end;
}

.detail-list dd code {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.order-total {
  margin-block-start: 18px;
  padding-block-start: 16px;
  border-block-start: 2px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.order-total__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.order-total__value {
  color: var(--indigo);
  font-size: 27px;
  font-weight: 700;
  white-space: nowrap;
}

.methods {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}

.method .icon {
  color: var(--indigo);
}

.receipt {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.receipt__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-block-end: 24px;
  background: var(--green-soft);
  border-radius: 50%;
  color: var(--green);
}

.receipt__badge .icon {
  width: 40px;
  height: 40px;
}

.receipt__reference {
  display: inline-block;
  margin-block: 8px 24px;
  padding: 12px 22px;
  background: var(--grey-lighter);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--indigo);
}

.receipt__panel {
  text-align: start;
}

.receipt__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-block-start: 28px;
}

/* ==========================================================================
   404
   ========================================================================== */

.not-found {
  max-width: 620px;
  margin-inline: auto;
  padding-block: 90px;
  text-align: center;
}

.not-found__code {
  display: block;
  color: var(--red);
  font-size: 82px;
  font-weight: 700;
  line-height: 1;
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-block-start: 28px;
  padding: 0;
  list-style: none;
}

.not-found__links li {
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.footer__cta {
  background: var(--indigo-dark);
}

.footer__cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
}

.footer__cta-text {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  padding-block: 52px 44px;
}

.footer__mark {
  width: 44px;
  height: 44px;
  margin-block-end: 14px;
}

.footer__name {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer__about {
  margin-block-end: 20px;
  font-size: 14.5px;
}

.footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.footer__contact li + li {
  margin-block-start: 8px;
}

.footer__contact a {
  color: #fff;
}

.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: #ffb3b3;
}

.footer__address {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer__heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.footer__list li + li {
  margin-block-start: 10px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.72);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: #fff;
}

.footer__link.is-current {
  color: #fff;
  font-weight: 700;
}

.footer__bar {
  background: rgba(0, 0, 0, 0.22);
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px;
  font-size: 13px;
}

.footer__copy,
.footer__disclaimer {
  margin: 0;
}

.footer__disclaimer {
  color: rgba(255, 255, 255, 0.55);
  max-width: 62ch;
}

/* ==========================================================================
   RTL adjustments
   ========================================================================== */

[dir="rtl"] .breadcrumbs__item + .breadcrumbs__item::before {
  content: "‹";
}

[dir="rtl"] .icon-flip {
  transform: scaleX(-1);
}

[dir="rtl"] .input--card {
  direction: ltr;
  text-align: start;
}

[dir="rtl"] .eyebrow {
  letter-spacing: normal;
}

[dir="rtl"] .footer__heading,
[dir="rtl"] .toc__title {
  letter-spacing: normal;
}

[dir="rtl"] .receipt__reference {
  direction: ltr;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 36px;
  }

  .nav {
    gap: 12px;
  }

  .nav__link {
    padding-inline: 8px;
    font-size: 14px;
  }
}

@media (max-width: 940px) {
  :root {
    --section-y: 56px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 44px 52px;
  }

  .topup {
    max-width: 560px;
  }

  .checkout {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--4,
  .stats,
  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3,
  .steps,
  .tiles,
  .contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  /* Collapsed navigation */
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-block-end: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .header__inner {
    position: relative;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 13px 4px;
    border-block-end: 1px solid var(--border);
    font-size: 16px;
  }

  .nav__link.is-current {
    border-block-end-color: var(--red);
  }

  .nav__cta {
    margin-block-start: 16px;
    padding-block: 14px;
  }
}

@media (max-width: 720px) {
  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-end;
  }

  .topbar__link span {
    display: none;
  }

  .topbar__link .icon {
    width: 17px;
    height: 17px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .topup__head,
  .topup__body {
    padding-inline: 20px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .tiles,
  .contacts,
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc__list {
    columns: 1;
  }

  .amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn {
    width: 100%;
  }

  .hero__actions .btn,
  .receipt__actions .btn,
  .footer__cta .btn {
    width: 100%;
  }

  .detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .detail-list dd {
    margin-block-end: 10px;
    text-align: start;
  }

  .prose h2 {
    margin-block-start: 34px;
  }
}

@media print {
  .topbar,
  .header,
  .breadcrumbs,
  .footer__cta,
  .footer__nav,
  .receipt__actions,
  .skip-link {
    display: none;
  }

  body {
    color: #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
