:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --soft-2: #ffffff;
  --line: #e2e8f0;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #0f766e;
  --orange: #b45309;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
  --soft-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f9fafb;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - 1216px) / 2 + 22px));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 142px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
}

.nav-links,
.main-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover,
.main-nav a:hover {
  color: var(--ink);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.mobile-menu {
  position: relative;
  display: none;
  justify-self: end;
}

.mobile-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu-button.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.mobile-menu-panel a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.mobile-menu-panel a:hover {
  background: var(--soft);
}

.hero {
  display: grid;
  min-height: calc(100dvh - 64px);
  align-items: center;
  padding: clamp(38px, 5vw, 58px) clamp(18px, 5vw, 72px) clamp(76px, 8vw, 112px);
  background:
    radial-gradient(circle at 50% 48%, rgba(37, 99, 235, 0.13), transparent 32%),
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 74%);
  color: var(--ink);
  text-align: center;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.country-updated {
  display: block;
  width: fit-content;
  position: absolute;
  top: clamp(14px, 2vw, 24px);
  right: clamp(22px, 4vw, 44px);
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.country-updated.country-updated-subtle {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto 20px;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto 22px;
  color: var(--ink);
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3.2vw, 43px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  border: 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  padding: 0 20px;
}

.primary-button:hover {
  background: var(--blue-dark);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
}

.hero .primary-button {
  background: var(--blue);
  color: var(--white);
}

.hero .primary-button:hover {
  background: var(--blue-dark);
}

.hero .secondary-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
}

.hero .secondary-button:hover {
  background: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1216px;
  margin: 0 auto 96px;
  padding: 0 clamp(18px, 4vw, 28px);
}

.trust-strip div {
  min-height: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.purchase-assurance {
  width: min(calc(100% - 36px), 1160px);
  margin: 0 auto 96px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.purchase-assurance-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.purchase-assurance-head h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.purchase-assurance-head > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.purchase-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purchase-assurance-grid article {
  min-width: 0;
  padding: 24px;
}

.purchase-assurance-grid article:first-child {
  padding-left: 0;
}

.purchase-assurance-grid article:last-child {
  padding-right: 0;
}

.purchase-assurance-grid article + article {
  border-left: 1px solid var(--line);
}

.purchase-assurance-label {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.purchase-assurance-grid h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.purchase-assurance-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.purchase-assurance-grid a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-proof {
  width: min(calc(100% - 36px), 1160px);
  margin: 0 auto 104px;
}

.product-proof-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.product-proof-head h2 {
  max-width: 640px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.product-proof-head > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

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

.product-proof-item {
  min-width: 0;
  margin: 0;
}

.product-proof-item-wide {
  grid-column: 1 / -1;
}

.product-proof-visual {
  display: grid;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f7fb;
}

.product-proof-visual-card {
  aspect-ratio: 1600 / 379;
}

.product-proof-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-proof-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-proof-item figcaption {
  display: flex;
  gap: 6px;
  flex-direction: column;
  padding: 16px 2px 0;
}

.product-proof-item figcaption strong {
  font-size: 18px;
  line-height: 1.3;
}

.product-proof-item figcaption span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.product-proof-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.customer-reviews {
  width: min(calc(100% - 36px), 1160px);
  margin: 0 auto 104px;
}

.customer-reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.customer-reviews-head h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.customer-reviews-head > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

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

.customer-review {
  display: flex;
  min-width: 0;
  min-height: 290px;
  flex-direction: column;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.customer-review figcaption {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.customer-review-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.customer-review-avatar-blue {
  background: #dbeafe;
  color: #1e40af;
}

.customer-review-avatar-green {
  background: #dcfce7;
  color: #166534;
}

.customer-review-avatar-yellow {
  background: #fef3c7;
  color: #92400e;
}

.customer-review-author,
.customer-review-meta {
  display: flex;
  min-width: 0;
}

.customer-review-author {
  flex-direction: column;
}

.customer-review-author strong {
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.25;
}

.customer-review-meta {
  gap: 9px;
  align-items: center;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.customer-review-stars {
  color: #eab308;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.customer-review blockquote {
  margin: 22px 0 18px;
}

.customer-review blockquote p {
  margin: 0;
  color: #273449;
  font-size: 17px;
  line-height: 1.55;
}

.customer-review-source {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.customer-reviews-action {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.customer-reviews-action p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.customer-reviews-action .primary-button {
  flex: 0 0 auto;
}

.section,
.catalog-shell,
.comparison-section {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px);
}

.section[id] {
  scroll-margin-top: 112px;
}

.intro-section,
.steps-section,
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 78px);
  margin-bottom: 30px;
}

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

.intro-section p,
.comparison-copy p {
  color: var(--muted);
  font-size: 19px;
}

.catalog-shell {
  margin-bottom: 56px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr);
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.country-combobox {
  position: relative;
}

.filter-field select,
.filter-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--white);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 23px) 22px,
    calc(100% - 17px) 22px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
}

.filter-field select:focus,
.filter-field input:focus {
  border-color: var(--blue);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-field select:disabled {
  cursor: wait;
  color: var(--muted);
  opacity: 1;
}

.country-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 310px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d4d7dd;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.country-menu[hidden] {
  display: none;
}

.country-option {
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.country-option:hover,
.country-option:focus-visible {
  background: var(--soft-2);
  outline: none;
}

.country-option-flag {
  font-size: 24px;
}

.country-option strong {
  display: block;
}

.country-menu-empty {
  color: var(--muted);
  font-size: 13px;
}

.country-menu-empty {
  padding: 14px;
}

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

.plans-grid.single-result {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.catalog-more-button {
  min-width: min(320px, 100%);
  min-height: 54px;
}

.plan-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.plan-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.13);
  transform: translateY(-2px);
}

.plan-card-loading {
  pointer-events: none;
}

.plan-card-loading:hover {
  border-color: #d4d7dd;
  box-shadow: none;
  transform: none;
}

.plan-card-loading .plan-body {
  gap: 18px;
}

.loading-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.loading-heading span,
.loading-heading b,
.plan-card-loading i,
.plan-card-loading strong,
.loading-options span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #eceef3 0%, #f8f8fb 48%, #eceef3 100%);
  background-size: 220% 100%;
  animation: catalog-loading 1.25s ease-in-out infinite;
}

.loading-heading span {
  width: 56px;
  height: 56px;
}

.loading-heading b {
  width: min(150px, 72%);
  height: 24px;
}

.plan-card-loading i {
  height: 54px;
}

.plan-card-loading strong {
  width: min(170px, 48%);
  height: 46px;
}

.loading-options {
  display: grid;
  gap: 8px;
}

.loading-options span {
  height: 46px;
}

.plan-body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
}

.plan-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.plan-flag {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 32px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-title-row h3 {
  margin: 0;
}

.plan-card p {
  min-height: 72px;
  color: var(--muted);
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.tag,
.network {
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.tag {
  background: #eef5ff;
  color: var(--blue-dark);
}

.network {
  background: #ffffff;
  color: var(--muted);
}

.plan-price {
  margin: 2px 0 16px;
  font-size: 34px;
  font-weight: 900;
}

.plan-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plan-selector {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.plan-selector label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.plan-select-control {
  position: relative;
}

.plan-select-control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.plan-select {
  width: 100%;
  min-height: 52px;
  appearance: none;
  padding: 0 46px 0 14px;
  border: 1px solid #93c5fd;
  border-radius: 10px;
  background: #f8fbff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.plan-select:hover,
.plan-select:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.plan-select-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.plan-benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid #b7e4c7;
  border-radius: 10px;
  background: #f0fdf4;
  color: #17603a;
}

.plan-benefit[hidden] {
  display: none;
}

.plan-benefit-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #22a35a;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.plan-benefit strong,
.plan-benefit small {
  display: block;
}

.plan-benefit strong {
  font-size: 13px;
  line-height: 1.2;
}

.plan-benefit small {
  margin-top: 3px;
  color: #37775a;
  font-size: 12px;
  line-height: 1.35;
}

.plan-card .primary-button {
  width: 100%;
  margin-top: auto;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

@keyframes catalog-loading {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -120% 0;
  }
}

.steps-section {
  align-items: start;
  margin-bottom: 104px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.steps-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 18px;
  align-items: center;
  min-height: 118px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.steps-grid h3 {
  margin: 0;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
}

.comparison-section {
  display: grid;
  gap: 24px;
  margin-bottom: 104px;
}

.comparison-head {
  display: block;
}

.comparison-head h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.comparison-head > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 18px;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.comparison-table div {
  display: grid;
  grid-template-columns: minmax(164px, 1.15fr) repeat(3, minmax(118px, 0.82fr));
}

.comparison-table div + div {
  border-top: 1px solid var(--line);
}

.comparison-table span {
  min-width: 0;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.28;
}

.comparison-table div:first-child {
  background: #f1f5f9;
  font-weight: 800;
}

.comparison-table div:not(:first-child) span:first-child {
  font-weight: 700;
}

.comparison-table b {
  color: var(--blue-dark);
}

.comparison-message {
  padding: 16px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
}

.comparison-message strong {
  display: block;
  max-width: 760px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.2;
}

.comparison-message p,
.comparison-note {
  margin: 0;
  color: var(--muted);
}

.comparison-note {
  font-size: 14px;
}

.faq-section {
  margin-bottom: 96px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 800;
}

details p {
  padding: 0 18px 18px;
  color: var(--muted);
}

.small-button {
  min-height: 40px;
  background: var(--blue);
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 0.85fr);
  gap: 48px;
  border-top: 1px solid rgba(15, 23, 42, 0.16);
  padding: 34px clamp(18px, 4vw, 56px) 110px;
  background: var(--soft);
}

.site-footer p {
  max-width: 520px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 36px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links strong {
  color: var(--ink);
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-support {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.content-page {
  background: #f8fafc;
}

.content-main {
  width: min(calc(100% - 36px), 1120px);
  margin: 0 auto;
  padding: 56px 0 96px;
}

.content-card {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

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

.about-hero h1,
.contact-hero h1 {
  max-width: 680px;
  margin: 10px 0 14px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.about-hero p,
.contact-hero p,
.content-section p,
.content-list li {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.founder-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--ink);
  text-align: center;
}

.founder-card strong {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.15;
}

.founder-card span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.content-section {
  margin-top: 46px;
}

.content-section h2 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.3vw, 24px);
  line-height: 1.18;
}

.content-list {
  display: grid;
  gap: 14px;
  padding-left: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.contact-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-box a {
  color: var(--blue);
  font-weight: 800;
}

.country-page {
  background: #f8fafc;
}

.country-main {
  width: min(calc(100% - 36px), 1160px);
  margin: 0 auto;
  padding: 22px 0 96px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--blue);
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
}

.country-hero,
.country-section,
.country-cta {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.country-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
}

.country-hero h1 {
  margin: 0 0 16px;
  text-align: left;
  font-size: clamp(36px, 4.25vw, 52px);
}

.country-hero-copy p:not(.eyebrow):not(.country-updated) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

.country-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.country-hero-panel {
  display: grid;
  gap: 8px;
}

.country-hero-panel div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-hero-panel span,
.country-hero-panel p {
  color: var(--muted);
}

.country-hero-panel span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.country-hero-panel strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
}

.country-hero-panel p {
  margin: 7px 0 0;
  font-size: 13px;
}

.country-section {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.country-section[id] {
  scroll-margin-top: 104px;
}

.country-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.country-section-head-full {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  align-items: start;
}

.country-section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.country-section-head-full .eyebrow {
  margin-bottom: -6px;
}

.country-section-head h2,
.country-section h2,
.country-cta h2 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.country-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.country-tariff-table,
.country-compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.country-tariff-table div,
.country-compare div {
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.country-tariff-table div {
  grid-template-columns: minmax(180px, 1.2fr) 0.7fr 0.7fr 0.7fr 0.62fr;
}

.country-tariff-table-wide div {
  grid-template-columns: minmax(150px, 1fr) 0.56fr 0.56fr 0.56fr 0.7fr minmax(210px, 1.18fr) minmax(128px, 0.76fr);
}

.country-tariff-table-coverage div {
  grid-template-columns: minmax(140px, 0.92fr) 0.46fr 0.48fr 0.48fr 0.58fr minmax(150px, 0.86fr) minmax(190px, 1fr) minmax(152px, 0.72fr);
}

.country-compare div {
  grid-template-columns: minmax(160px, 0.85fr) minmax(180px, 1fr) minmax(180px, 1fr);
}

.country-compare-wide div {
  grid-template-columns: minmax(160px, 0.85fr) repeat(3, minmax(160px, 1fr));
}

.country-compare-europe div {
  grid-template-columns: minmax(150px, 0.68fr) minmax(240px, 1fr) minmax(240px, 1fr);
}

.country-tariff-table div:last-child,
.country-compare div:last-child {
  border-bottom: 0;
}

.country-tariff-table div:first-child,
.country-compare div:first-child {
  background: #eef2ff;
  font-weight: 800;
}

.country-tariff-table span,
.country-compare span {
  min-width: 0;
  padding: 14px 16px;
}

.country-tariff-table-wide span:last-child {
  padding-right: 22px;
}

.country-tariff-table-coverage span:last-child {
  padding-right: 32px;
}

.country-tariff-table small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.country-tariff-table a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.tariff-recommendation {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
  gap: 14px 24px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #bfd3ff;
  border-radius: 8px;
  background: #f7faff;
}

.tariff-recommendation-copy {
  display: grid;
  gap: 3px;
}

.tariff-recommendation-copy strong {
  color: var(--text);
  font-size: 18px;
}

.tariff-recommendation-copy span,
.tariff-recommendation-result {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.tariff-recommendation-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tariff-recommendation-options button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #b9c9e8;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tariff-recommendation-options button:hover,
.tariff-recommendation-options button:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.tariff-recommendation-options button.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.tariff-recommendation-result {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: #1e4f9a;
  font-weight: 700;
}

.country-tariff-table div.is-recommended {
  position: relative;
  z-index: 1;
  background: #f4f8ff;
  box-shadow: inset 0 0 0 2px var(--blue);
}

@media (max-width: 920px) {
  .tariff-recommendation {
    grid-template-columns: 1fr;
  }

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

  .tariff-recommendation-result {
    grid-column: 1;
  }
}

.country-review-proof {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.country-review-proof-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.country-review-proof-head .eyebrow {
  margin-bottom: 5px;
}

.country-review-proof-head h3 {
  margin: 0;
  font-size: 24px;
}

.country-review-proof-head > a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.country-review-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.country-review-proof-grid-mixed {
  align-items: start;
}

.country-review-proof-grid figure {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.country-review-proof-grid figcaption {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.country-review-proof-grid figcaption span {
  color: #eab308;
  white-space: nowrap;
}

.country-review-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.country-review-author img {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.country-review-author strong {
  overflow-wrap: anywhere;
}

.country-review-proof-grid blockquote {
  margin: 0;
  color: #273449;
  font-size: 16px;
  line-height: 1.5;
}

.country-review-proof-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.country-mini-head {
  margin-top: 22px;
}

.country-mini-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.country-mini-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.country-advice-grid,
.country-route-grid,
.country-app-grid,
.country-trust-grid,
.country-related-links,
.country-link-grid {
  display: grid;
  gap: 12px;
}

.country-advice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.country-advice-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.country-advice-grid-compact article {
  min-height: 126px;
  padding: 14px 14px 16px;
}

.country-advice-grid-compact strong {
  font-size: 18px;
}

.country-advice-grid-compact p {
  font-size: 14px;
  line-height: 1.38;
}

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

.country-app-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

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

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

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

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

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

.country-advice-grid article,
.country-route-grid article,
.country-trust-grid article,
.country-related-links a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-app-grid article {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.country-app-grid-four article {
  min-height: 128px;
  padding: 18px;
}

.country-link-grid a {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.country-link-grid a:hover {
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--blue);
}

.country-link-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 20px;
}

.country-link-grid strong {
  font-size: 17px;
  font-weight: 800;
}

.country-map-figure {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.country-map-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: transparent;
}

.country-map-figure figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.country-operators {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #cfe0fb;
  border-radius: 8px;
  background: #f5f9ff;
}

.country-operators .eyebrow,
.country-operators h3,
.country-operators p {
  margin: 0;
}

.country-operators h3 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
}

.country-operator-copy,
.country-operator-note,
.country-operator-location span {
  color: var(--muted);
  line-height: 1.55;
}

.country-operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.country-operator-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.country-operator-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 17px;
}

.country-operator-standard {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.country-operator-summary {
  color: var(--text);
  font-weight: 800;
}

.country-operator-details {
  border-top: 1px solid #cfe0fb;
  padding-top: 12px;
}

.country-operator-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 800;
}

.country-operator-location-list {
  display: grid;
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.country-operator-location {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.country-operator-location:first-child {
  border-top: 0;
}

.country-operator-location strong {
  color: var(--text);
}

.country-operator-note {
  display: block;
  font-size: 13px;
}

@media (max-width: 620px) {
  .country-operators {
    padding: 18px;
  }

  .country-operators h3 {
    font-size: 21px;
  }

  .country-operator-grid,
  .country-operator-location {
    grid-template-columns: 1fr;
  }

  .country-operator-location {
    gap: 5px;
  }
}

.country-app-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--blue);
  font-size: 17px;
}

.country-advice-grid strong,
.country-route-grid strong,
.country-route-grid b,
.country-app-grid strong,
.country-trust-grid strong,
.country-related-links a {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.country-advice-grid span,
.country-advice-grid p,
.country-route-grid span,
.country-trust-grid span {
  display: block;
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.country-app-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.country-app-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.country-app-grid .country-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--blue);
  line-height: 1;
  font-weight: 800;
}

.country-trust-grid a {
  color: var(--blue);
  font-weight: 800;
}

.country-related-links a {
  color: var(--blue);
}

.country-split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 64px);
}

.country-split p {
  color: var(--muted);
  font-size: 17px;
}

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

.country-steps li {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-steps span,
.country-device-list span,
.country-checklist span {
  color: var(--muted);
}

.country-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.country-info-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-info-grid h2 {
  font-size: 21px;
  line-height: 1.15;
}

.country-info-grid p {
  margin: 0;
  color: var(--muted);
}

.country-wide-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-wide-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.country-wide-card p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

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

.country-detail-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-detail-grid h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.country-detail-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

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

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

.country-detail-grid-steps article {
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.country-detail-grid-steps .step-number {
  margin-bottom: 16px;
}

.country-device-list,
.country-checklist {
  display: grid;
  gap: 10px;
}

.country-device-list span,
.country-checklist span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.country-checklist a {
  color: var(--blue);
  font-weight: 800;
}

.country-cta {
  display: grid;
  justify-items: center;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}

.country-cta p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.legal-page {
  background:
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 340px);
}

.legal-main {
  width: min(calc(100% - 36px), 900px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0 96px;
}

.legal-document {
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.08);
}

.legal-document h1 {
  max-width: none;
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.16;
  text-align: left;
}

.legal-document h2 {
  margin: 30px 0 12px;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.24;
}

.legal-document p,
.legal-document li {
  color: #2b2b2f;
  font-size: 16px;
}

.legal-document p {
  margin-bottom: 14px;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-document .legal-subtitle {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
}

.legal-document .legal-meta {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.legal-document .legal-meta span {
  display: block;
}

.account-page {
  background: #f9fafb;
}

.account-header {
  background: var(--white);
}

.account-header-actions {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
}

.compact-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  white-space: nowrap;
}

.account-header > .compact-button {
  justify-self: end;
  padding-inline: 8px;
}

.profile-chip,
.profile-avatar {
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.profile-chip {
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.account-main {
  width: min(980px, calc(100% - 96px));
  margin: 0 auto;
  padding: 28px 0 86px;
}

.account-login-main {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
}

.account-main[hidden],
.account-login-main[hidden] {
  display: none;
}

.account-login-card {
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 46px);
}

.account-login-card h1 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.15;
}

.account-login-card p {
  color: var(--muted);
}

.account-login-form {
  margin: 24px 0 14px;
}

.account-login-form .primary-button {
  width: 100%;
}

.account-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 42px 0 36px;
}

.account-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 45px);
  text-align: left;
}

.account-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.esim-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: clamp(42px, 7vw, 78px) 24px;
  text-align: center;
}

.esim-empty h2,
.account-card h2 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 27px);
}

.esim-empty p,
.balance-card p,
.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.account-empty-button {
  margin-top: 16px;
}

.purchases-card {
  margin-bottom: 22px;
  padding: clamp(24px, 3.2vw, 34px);
}

.loyalty-card {
  margin-bottom: 22px;
  padding: clamp(22px, 3.2vw, 32px);
  overflow: hidden;
}

.loyalty-heading,
.loyalty-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.loyalty-tier-badge {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid #b9d8c8;
  border-radius: 8px;
  background: #edf8f2;
  color: #12613d;
}

.loyalty-tier-badge span {
  font-size: 12px;
  font-weight: 800;
}

.loyalty-tier-badge strong {
  font-size: 15px;
}

.loyalty-lead,
.loyalty-expiry {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.loyalty-ladder {
  position: relative;
  margin-top: 24px;
  padding-top: 2px;
}

.loyalty-progress-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
  padding: 11px 16px;
  border-radius: 6px;
  background: #f4f7ff;
  font-size: 15px;
  text-align: center;
}

.loyalty-progress-copy span {
  color: var(--muted);
}

.loyalty-progress-copy strong {
  color: var(--blue);
  white-space: nowrap;
}

.loyalty-ladder-track {
  position: absolute;
  z-index: 0;
  top: 34px;
  right: 16.666%;
  left: 16.666%;
  height: 6px;
  border-radius: 999px;
  background: #e8edf5;
}

.loyalty-ladder-track span {
  display: block;
  width: var(--loyalty-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 280ms ease;
}

.loyalty-levels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loyalty-level {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  text-align: center;
}

.loyalty-level-marker {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 5px solid #d7dde8;
  border-radius: 50%;
  background: #f2f4f8;
  color: #78869b;
  box-shadow: 0 0 0 6px #fff;
}

.loyalty-level-marker strong {
  font-size: 18px;
}

.loyalty-level-copy {
  display: grid;
  gap: 2px;
}

.loyalty-level-copy b {
  font-size: 15px;
}

.loyalty-level-copy span {
  color: var(--muted);
  font-size: 13px;
}

.loyalty-level.is-complete .loyalty-level-marker,
.loyalty-level.is-current .loyalty-level-marker {
  border-color: var(--blue);
  background: #eaf1ff;
  color: var(--blue);
}

.loyalty-level.is-current .loyalty-level-marker {
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px #bfd2ff;
}

.loyalty-level.is-current .loyalty-level-copy b {
  color: var(--blue);
}

.loyalty-history {
  margin-top: 18px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.loyalty-history summary {
  padding: 16px 0 4px;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.loyalty-history-list {
  display: grid;
  margin-top: 8px;
}

.loyalty-history-item {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.loyalty-history-item div {
  display: grid;
  gap: 3px;
}

.loyalty-history-item span {
  color: var(--muted);
  font-size: 13px;
}

.loyalty-history-item b {
  white-space: nowrap;
}

.loyalty-history-item .is-positive {
  color: #16794a;
}

.loyalty-history-item .is-negative,
.loyalty-card.has-negative-balance #loyaltyBalance {
  color: #b42318;
}

.account-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.compact-heading {
  margin-bottom: 16px;
}

.purchase-list {
  display: grid;
  gap: 12px;
}

.purchase-item {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
}

.purchase-summary,
.purchase-title-row,
.profile-row,
.profile-actions,
.purchase-actions,
.referral-row {
  display: flex;
  align-items: center;
}

.purchase-summary {
  gap: 14px;
}

.purchase-title-row {
  flex-wrap: wrap;
  gap: 10px;
}

.purchase-title-row h3,
.profile-row h2 {
  margin: 0;
}

.purchase-summary p {
  margin: 4px 0 0;
  color: var(--muted);
}

.purchase-status,
.account-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.purchase-status {
  padding: 0 10px;
}

.purchase-status.ready {
  background: #e8f4ff;
  color: #0b57d0;
}

.purchase-status.active {
  background: #e7f7ef;
  color: #087443;
}

.purchase-status.paid {
  background: #e7f7ef;
  color: #087443;
}

.purchase-status.refunded {
  background: #fff2e8;
  color: #9a4b16;
}

.purchase-status.onboarding {
  background: #eef2ff;
  color: #3f51b5;
}

.purchase-status.provisioning {
  background: #fff3d6;
  color: #8a5a00;
}

.purchase-status.depleted,
.purchase-status.suspended,
.purchase-status.canceled,
.purchase-status.revoked,
.purchase-status.profile-expired,
.purchase-status.deleted {
  background: #eef1f6;
  color: #526071;
}

.purchase-status.pending {
  background: #fff3d6;
  color: #8a5a00;
}

.purchase-status.finished,
.purchase-status.archived {
  background: #eef1f6;
  color: #526071;
}

.purchase-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.purchase-details span {
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.purchase-details b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.purchase-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.account-grid {
  display: flex;
  justify-content: flex-end;
}

.balance-card,
.profile-card {
  padding: clamp(20px, 3vw, 28px);
}

.profile-card {
  width: min(100%, 360px);
  padding: 16px;
}

.account-badge {
  padding: 0 12px;
  background: var(--ink);
  color: var(--white);
}

.referral-row {
  gap: 10px;
  margin-top: 18px;
}

.referral-row input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
  color: var(--ink);
}

.profile-row {
  gap: 10px;
  margin-bottom: 14px;
}

.profile-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  font-size: 20px;
}

.profile-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.profile-card h2 {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.profile-card p {
  font-size: 13px;
}

.profile-card .compact-button,
.profile-card .outline-danger-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
}

.outline-danger-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #a33a35;
  border-radius: 8px;
  background: var(--white);
  color: #8f2722;
  cursor: pointer;
  font-weight: 800;
}

.partner-auth-main,
.partner-main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.partner-auth-main {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  padding: 52px 0 84px;
}

.partner-auth-main[hidden],
.partner-main[hidden],
.partner-section[hidden] {
  display: none;
}

.partner-auth-card {
  width: min(520px, 100%);
  padding: clamp(26px, 4vw, 40px);
}

.partner-auth-card h1,
.partner-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.partner-auth-card > p:not(.eyebrow),
.partner-hero p,
.partner-referral-card p {
  color: var(--muted);
}

.partner-auth-tabs,
.partner-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-auth-tabs {
  margin: 22px 0;
}

.partner-auth-tab,
.partner-nav button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.partner-auth-tab.active,
.partner-nav button.active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--blue);
}

.partner-form,
.partner-settings-form,
.partner-promo-form {
  display: grid;
  gap: 14px;
}

.partner-form label,
.partner-settings-form label,
.partner-promo-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.partner-form input,
.partner-settings-form input,
.partner-settings-form textarea,
.partner-promo-form input,
.partner-copy-row input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.partner-settings-form textarea {
  resize: vertical;
}

.partner-settings-form input,
.partner-settings-form textarea {
  color: var(--muted);
  font-weight: 500;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-main {
  padding: 38px 0 86px;
}

.partner-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.partner-hero p {
  margin: 0;
}

.partner-nav {
  margin-bottom: 18px;
}

.partner-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partner-stat {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 20px;
}

.partner-stat span {
  color: var(--muted);
  font-weight: 700;
}

.partner-stat strong {
  color: var(--ink);
  font-size: 30px;
}

.partner-stat .primary-button {
  justify-self: start;
  margin-top: 6px;
}

.partner-referral-card,
.partner-level-card,
.partner-promo-card,
.partner-table-card,
.partner-settings-form {
  margin-top: 16px;
  padding: 22px;
}

.partner-level-card {
  display: grid;
  gap: 18px;
}

.partner-level-summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.partner-level-summary h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.partner-level-summary p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.partner-level-summary > strong {
  display: grid;
  min-width: 82px;
  min-height: 62px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.partner-level-progress {
  display: grid;
  gap: 10px;
}

.partner-level-progress div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.partner-level-progress b {
  color: var(--ink);
  white-space: nowrap;
}

.partner-level-progress i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5eaf3;
}

.partner-level-progress em {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.24s ease;
}

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

.partner-tier-grid article {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.partner-tier-grid article.active {
  border-color: #9cc1ff;
  background: #eff6ff;
}

.partner-tier-grid span,
.partner-tier-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.partner-tier-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.partner-tier-grid b {
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.partner-referral-card h2,
.partner-level-card h2,
.partner-promo-card h2,
.partner-table-card h2,
.partner-settings-form h2 {
  margin: 0;
  font-size: 24px;
}

.partner-referral-card .partner-referral-note {
  max-width: 780px;
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid #b8e2c7;
  border-radius: 8px;
  background: #f1fbf4;
  color: #287044;
  font-size: 13px;
  line-height: 1.5;
}

.partner-promo-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.partner-copy-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.partner-copy-row input {
  background: var(--soft-2);
}

.partner-commission-note {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.partner-link-editor {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.partner-link-editor[hidden] {
  display: none;
}

.partner-link-input-row {
  display: flex;
  align-items: stretch;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.partner-link-input-row span {
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-right: 1px solid var(--line);
  background: var(--soft-2);
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.partner-link-input-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 10px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: 0;
}

.partner-link-input-row:focus-within {
  border-color: #9cc1ff;
  box-shadow: 0 0 0 3px rgba(47, 108, 246, 0.14);
}

.partner-link-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.partner-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-section-heading {
  margin-bottom: 18px;
}

.partner-referral-row {
  display: grid;
  grid-template-columns: 180px minmax(180px, 1fr) 170px;
  gap: 16px;
  padding: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.partner-referral-head {
  border-top: 0;
  background: var(--soft-2);
  color: var(--ink);
  font-weight: 800;
}

.partner-referral-row strong {
  color: var(--ink);
}

.partner-transaction-row {
  display: grid;
  grid-template-columns: 150px 110px minmax(220px, 1fr) 120px 120px;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.partner-transaction-head {
  border-top: 0;
  background: var(--soft-2);
  color: var(--ink);
  font-weight: 800;
}

.partner-transaction-row strong {
  color: var(--ink);
}

.partner-transaction-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.partner-transaction-row .transaction-credit {
  color: #167a42;
}

.partner-transaction-row .transaction-debit {
  color: #a33a35;
}

.partner-settings-form h3 {
  margin: 10px 0 0;
}

.partner-settings-form .primary-button {
  justify-self: start;
}

.admin-main {
  width: min(1120px, calc(100% - 48px));
}

.admin-filter-card {
  padding: 22px;
  margin-bottom: 16px;
}

.admin-filter-card h2 {
  margin: 0;
  font-size: 24px;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px)) auto auto;
  gap: 12px;
  align-items: end;
}

.admin-filter-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.admin-filter-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 500;
}

.admin-issue-card {
  padding: 22px;
  margin-bottom: 16px;
}

.admin-issue-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(180px, 0.9fr) minmax(320px, 1.6fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-issue-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.admin-issue-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 500;
}

.admin-issue-package {
  min-width: 0;
}

.admin-issue-gift-option {
  grid-column: 1 / -1;
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.admin-issue-form .admin-issue-gift-option input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.admin-issue-gift-option span {
  display: grid;
  gap: 3px;
}

.admin-issue-gift-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.admin-issue-gift-option.is-eligible {
  border-color: #8fd6b0;
  background: #eefaf3;
}

.admin-issue-gift-option.is-ineligible {
  border-color: #f1b3aa;
  background: #fff4f2;
}

.admin-wordstat-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 0.55fr);
  gap: 16px;
  align-items: start;
}

.admin-wordstat-form label,
.admin-wordstat-controls label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.admin-wordstat-form textarea,
.admin-wordstat-form input,
.admin-wordstat-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font: inherit;
  font-weight: 500;
}

.admin-wordstat-form textarea {
  min-height: 174px;
  resize: vertical;
}

.admin-wordstat-controls {
  display: grid;
  gap: 12px;
}

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

.admin-filter-form .admin-analytics-quality-option {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  font-weight: 500;
}

.admin-filter-form .admin-analytics-quality-option input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.admin-analytics-quality-option span,
#adminAnalyticsTrafficQuality {
  overflow-wrap: anywhere;
}

.admin-funnel-card {
  padding: 24px;
}

.admin-analytics-diagnostics-grid {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.admin-diagnostic-stat {
  min-height: 112px;
  padding: 18px;
  border-left: 1px solid var(--line);
}

.admin-diagnostic-stat:first-child {
  border-left: 0;
}

.admin-funnel {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-funnel-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.1fr) minmax(220px, 2fr) 64px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.admin-funnel-row:first-child {
  border-top: 0;
}

.admin-funnel-label {
  display: grid;
  gap: 3px;
}

.admin-funnel-label strong,
.admin-funnel-count {
  color: var(--ink);
}

.admin-funnel-label span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-funnel-track {
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #e8eef8;
}

.admin-funnel-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.admin-funnel-count {
  text-align: right;
  font-size: 20px;
}

.admin-partners-list,
.admin-analytics-list,
.admin-retention-list,
.admin-payments-list,
.admin-users-list,
.admin-wordstat-list {
  overflow-x: auto;
}

.admin-wordstat-result {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.admin-wordstat-result:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-wordstat-title {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.admin-wordstat-title strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-wordstat-title small {
  color: var(--muted);
}

.admin-wordstat-error {
  color: #b42318;
  font-weight: 800;
}

.admin-wordstat-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-wordstat-columns h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
}

.admin-partner-row,
.admin-analytics-row,
.admin-retention-row,
.admin-payment-row,
.admin-user-row,
.admin-wordstat-row {
  display: grid;
  gap: 16px;
  align-items: start;
  padding: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.admin-partner-row {
  grid-template-columns: minmax(180px, 1.15fr) minmax(120px, 0.7fr) minmax(170px, 1fr) minmax(210px, 1.15fr);
  gap: 12px;
  min-width: 0;
}

.admin-analytics-row {
  grid-template-columns: minmax(260px, 1.25fr) 90px 120px 150px 130px 160px;
  min-width: 1010px;
}

.admin-retention-row {
  grid-template-columns: minmax(160px, 1.05fr) minmax(180px, 1.15fr) minmax(135px, 0.8fr) minmax(180px, 1fr) 160px;
  gap: 12px;
  min-width: 0;
}

.admin-payment-row {
  grid-template-columns: 160px minmax(220px, 1.1fr) 170px minmax(190px, 1fr) 120px minmax(220px, 1fr);
  min-width: 1160px;
}

.admin-user-row {
  grid-template-columns: minmax(170px, 1.5fr) 72px minmax(150px, 1.15fr) minmax(135px, 1fr) 118px 132px;
  gap: 12px;
  min-width: 0;
}

.admin-user-actions {
  display: grid;
  gap: 8px;
}

.admin-user-actions .compact-button {
  width: 100%;
  padding-inline: 10px;
  white-space: normal;
}

.admin-user-esims {
  padding: 0 14px 16px;
  border-top: 1px solid var(--line);
  background: #f7faff;
}

.admin-user-esims[hidden] {
  display: none;
}

.admin-user-esim-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(210px, 1.2fr) minmax(160px, 1fr) 140px;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.admin-user-esim-row:first-child {
  border-top: 0;
}

.admin-user-esim-head {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.admin-user-esim-row strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin-user-esim-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-user-refund-note {
  margin: 12px 0 0;
}

.admin-user-refund-button {
  width: 100%;
  margin-top: 8px;
  padding-inline: 8px;
  white-space: normal;
}

.admin-wordstat-row {
  grid-template-columns: minmax(180px, 1fr) 100px;
  min-width: 0;
  padding: 10px 12px;
}

.admin-partner-head,
.admin-analytics-head,
.admin-retention-head,
.admin-payment-head,
.admin-user-head,
.admin-wordstat-head {
  border-top: 0;
  background: var(--soft-2);
  color: var(--ink);
  font-weight: 800;
}

.admin-partner-row strong,
.admin-analytics-row strong,
.admin-retention-row strong,
.admin-payment-row strong,
.admin-user-row strong,
.admin-wordstat-row strong {
  color: var(--ink);
}

.admin-analytics-row span,
.admin-analytics-row strong,
.admin-retention-row span,
.admin-retention-row strong,
.admin-payment-row span,
.admin-payment-row strong,
.admin-user-row span,
.admin-user-row strong,
.admin-wordstat-row span,
.admin-wordstat-row strong {
  overflow-wrap: anywhere;
}

.admin-wordstat-raw {
  overflow: auto;
  max-height: 360px;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft-2);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.admin-partner-row small,
.admin-analytics-row small,
.admin-retention-row small,
.admin-payment-row small,
.admin-user-row small,
.admin-withdrawal small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-retention-actions {
  display: grid;
  gap: 8px;
}

.admin-retention-actions .compact-button {
  width: 100%;
  min-height: 46px;
  padding: 7px 10px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.admin-user-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-user-footer-action {
  flex: 0 0 auto;
}

.admin-user-footer-action .compact-button {
  width: auto;
}

.admin-esim-status {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #e8f4ff;
  color: #0b57d0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.admin-esim-status.active {
  background: #e7f7ef;
  color: #087443;
}

.admin-esim-status.onboarding {
  background: #eef2ff;
  color: #3f51b5;
}

.admin-esim-status.provisioning {
  background: #fff3d6;
  color: #8a5a00;
}

.admin-esim-status.depleted,
.admin-esim-status.suspended,
.admin-esim-status.canceled,
.admin-esim-status.revoked,
.admin-esim-status.profile-expired,
.admin-esim-status.deleted {
  background: #eef1f6;
  color: #526071;
}

.admin-esim-status.pending,
.admin-esim-status.paid {
  background: #fff3d6;
  color: #8a5a00;
}

.admin-esim-status.finished,
.admin-esim-status.archived {
  background: #eef1f6;
  color: #526071;
}

.admin-usage {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-usage strong {
  font-size: 14px;
  line-height: 1.25;
}

.admin-usage small {
  margin-top: 0;
}

.admin-usage-bar {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef3fb;
}

.admin-usage-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6cf6, #23c7a7);
}

.admin-requisites small {
  overflow-wrap: anywhere;
}

.admin-requisites b {
  color: var(--ink);
}

.admin-withdrawal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-withdrawal + .admin-withdrawal {
  margin-top: 10px;
}

.admin-partners-list {
  overflow-x: visible;
}

.admin-partner-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-partner-balance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: baseline;
}

.admin-partner-balance small {
  margin: 0;
}

.admin-partner-actions {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-partner-actions .admin-withdrawal {
  align-items: stretch;
  flex-direction: column;
}

.admin-partner-actions .admin-withdrawal .compact-button {
  width: 100%;
}

.admin-partner-payout summary {
  width: 100%;
  list-style: none;
  cursor: pointer;
  text-align: center;
}

.admin-partner-payout summary::-webkit-details-marker {
  display: none;
}

.admin-partner-payout[data-empty] summary {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.admin-partner-payout-form {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft-2);
}

.admin-partner-payout-form label {
  display: grid;
  gap: 5px;
}

.admin-partner-payout-form label > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.admin-partner-payout-form input,
.admin-partner-payout-form textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.admin-partner-payout-form textarea {
  min-height: 64px;
  resize: vertical;
}

.admin-partner-payout-form .compact-button {
  width: 100%;
  white-space: normal;
}

#adminPartnerPayoutMessage:empty {
  display: none;
}

@media (max-width: 920px) {
  .admin-partner-head {
    display: none;
  }

  .admin-partner-row:not(.admin-partner-head) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .admin-partner-row > [data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .admin-partner-balance::before {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .admin-partner-row:not(.admin-partner-head) {
    grid-template-columns: 1fr;
  }
}

.admin-muted {
  color: var(--muted);
}

.partner-withdrawal-modal {
  width: min(420px, 100%);
}

#partnerWithdrawalMessage {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  white-space: pre-line;
}

#partnerWithdrawalMessage:empty {
  display: none;
}

#partnerWithdrawalMessage.success {
  border: 1px solid #b8e2c7;
  background: #f1fbf4;
  color: #287044;
}

#partnerWithdrawalMessage.error {
  border: 1px solid #f0c1bf;
  background: #fff5f5;
  color: #a33a35;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.34);
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.34);
}

.account-modal[hidden] {
  display: none;
}

.checkout-modal[hidden] {
  display: none;
}

.account-modal-panel,
.checkout-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 12px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.payment-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: calc(100dvh - 36px);
  padding: 22px;
  overflow: hidden;
  text-align: left;
}

.payment-modal-panel > .eyebrow {
  flex: 0 0 auto;
  margin: 0 48px 6px 0;
  font-size: 13px;
}

.payment-modal-panel h2 {
  flex: 0 0 auto;
  margin: 0;
  padding-right: 48px;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.15;
}

.topup-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  max-height: calc(100dvh - 36px);
  padding: 18px;
  overflow: hidden;
  text-align: left;
}

.topup-modal-panel h2 {
  margin-bottom: 8px;
  padding-right: 38px;
  font-size: clamp(21px, 2.4vw, 27px);
}

.topup-modal-panel .eyebrow {
  margin-bottom: 8px;
  padding-right: 38px;
  font-size: 13px;
}

.qr-modal-panel {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  grid-template-areas:
    "meta meta"
    "title title"
    "qr text"
    "qr action"
    "qr guide";
  align-items: start;
  column-gap: 22px;
  row-gap: 10px;
  width: min(760px, 100%);
  max-height: calc(100dvh - 32px);
  padding: 22px 24px 24px;
  overflow-y: auto;
  text-align: left;
}

.qr-modal-panel > .eyebrow {
  grid-area: meta;
  margin-bottom: 4px;
  padding: 0 44px;
  text-align: center;
}

.qr-modal-panel h2 {
  grid-area: title;
  margin: 0;
  padding: 0 44px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  text-align: center;
}

.qr-modal-panel .qr-image {
  grid-area: qr;
  width: min(220px, 100%);
  margin: 0 auto;
}

.qr-modal-panel .qr-demo {
  grid-area: qr;
  width: 172px;
  height: 172px;
  margin: 0 auto;
}

.qr-modal-panel #qrModalText {
  grid-area: text;
  max-width: 460px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.qr-modal-panel > .primary-button {
  grid-area: action;
  width: min(360px, 100%);
  min-height: 48px;
  margin: 0;
}

.payment-history-list,
.topup-options-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.payment-history-list {
  grid-auto-rows: max-content;
  align-content: start;
  min-height: 0;
  padding-right: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.topup-options-list {
  min-height: 0;
  padding-right: 3px;
  padding-bottom: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.topup-payment-panel {
  width: min(420px, 100%);
  padding: 22px;
  text-align: left;
}

.topup-payment-panel h2 {
  margin: 0 44px 16px 0;
  font-size: 22px;
  line-height: 1.2;
}

.topup-payment-panel .eyebrow {
  margin: 0 44px 6px 0;
}

.topup-payment-actions {
  display: grid;
  gap: 10px;
}

.topup-payment-actions .primary-button,
.topup-payment-actions .secondary-button {
  width: 100%;
  min-height: 48px;
}

.topup-payment-note {
  margin: 12px 0 0;
  text-align: center;
}

.topup-payment-note.error {
  color: #b42318;
}

.topup-payment-note.success {
  color: #16794a;
}

.payment-history-item,
.topup-option-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-2);
}

.payment-history-item {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 8px;
}

.topup-option-item {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 9px 10px;
}

.payment-history-item div,
.topup-option-item div {
  display: grid;
  gap: 2px;
}

.payment-history-description,
.payment-history-amount {
  min-width: 0;
}

.payment-history-description strong,
.payment-history-description span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-history-amount {
  justify-items: end;
  white-space: nowrap;
}

.topup-option-item strong {
  font-size: 18px;
  line-height: 1.12;
}

.payment-history-item span,
.topup-option-item span {
  color: var(--muted);
  font-size: 14px;
}

.payment-history-item em {
  justify-self: end;
  font-style: normal;
}

.topup-option-item b {
  font-size: 17px;
}

.topup-option-item .primary-button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 15px;
}

.topup-option-item > b {
  white-space: nowrap;
}

.topup-option-discount {
  display: grid;
  justify-items: end;
  gap: 0;
  white-space: nowrap;
}

.topup-option-discount del {
  color: var(--muted);
  font-size: 12px;
}

.topup-option-discount b {
  color: var(--ink);
}

.checkout-panel {
  width: min(420px, 100%);
  padding: 22px;
  text-align: left;
}

.checkout-panel > h2 {
  margin: 0 44px 16px 0;
  font-size: 20px;
  line-height: 1.2;
}

.checkout-copy,
.checkout-note {
  color: var(--muted);
}

.checkout-copy {
  font-size: 12px;
  line-height: 1.45;
}

.checkout-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
}

.checkout-summary span,
.checkout-summary strong {
  min-width: 0;
}

.checkout-summary span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-summary strong {
  font-size: 16px;
  line-height: 1.35;
}

.checkout-summary b {
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}

.checkout-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.checkout-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-field input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  outline: none;
}

.checkout-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12);
}

.checkout-submit {
  margin-top: 0;
  width: 100%;
}

.checkout-promo {
  margin: 0 0 16px;
}

.checkout-promo summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.checkout-promo summary::-webkit-details-marker {
  display: none;
}

.checkout-promo summary::before {
  width: 14px;
  content: "+";
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.checkout-promo[open] summary::before {
  content: "−";
}

.checkout-promo-field {
  margin: 10px 0 0;
}

.checkout-bonus-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "switch copy";
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #b9d8c8;
  border-radius: 8px;
  background: #f3faf6;
  cursor: pointer;
}

.checkout-bonus-control[hidden] {
  display: none;
}

.checkout-bonus-control.is-empty {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy";
  border-color: #b9d8c8;
  background: #f3faf6;
  cursor: default;
}

.checkout-bonus-control.is-empty .checkout-bonus-switch {
  display: none;
}

.checkout-bonus-control.is-empty input {
  display: none;
}

.checkout-bonus-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-bonus-switch {
  position: relative;
  grid-area: switch;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #aab4c3;
  transition: background 160ms ease;
}

.checkout-bonus-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);
  content: "";
  transition: transform 160ms ease;
}

.checkout-bonus-control input:checked + .checkout-bonus-switch {
  background: #168a58;
}

.checkout-bonus-control input:checked + .checkout-bonus-switch::after {
  transform: translateX(20px);
}

.checkout-bonus-control input:focus-visible + .checkout-bonus-switch {
  outline: 3px solid rgba(23, 105, 255, 0.22);
  outline-offset: 2px;
}

.checkout-bonus-control input:disabled + .checkout-bonus-switch {
  background: #d5dce7;
}

.checkout-bonus-copy {
  display: grid;
  grid-area: copy;
  gap: 2px;
  min-width: 0;
}

.checkout-bonus-copy strong {
  font-size: 14px;
}

.checkout-bonus-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-bonus-earned {
  color: #157347;
  font-weight: 800;
}

.topup-bonus-control {
  margin: 14px 0 4px;
}

.checkout-alternative-button,
.checkout-usdpay-back {
  display: block;
  width: max-content;
  margin: 10px auto 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-alternative-button[hidden] {
  display: none;
}

.checkout-alternative-button:hover,
.checkout-usdpay-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-alternative-button:focus-visible,
.checkout-usdpay-back:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(23, 105, 255, 0.18);
  outline-offset: 2px;
}

.checkout-usdpay-modal {
  z-index: 31;
}

.checkout-usdpay-panel {
  width: min(380px, 100%);
  padding: 20px;
}

.checkout-usdpay-panel .eyebrow {
  margin: 0 44px 6px 0;
}

.checkout-usdpay-panel h2 {
  margin: 0 44px 6px 0;
  font-size: 20px;
  line-height: 1.12;
  white-space: nowrap;
}

.checkout-usdpay-description {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.checkout-usdpay-amount {
  min-height: 0;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.checkout-usdpay-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.checkout-usdpay-amount-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.checkout-usdpay-amount-row strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.checkout-usdpay-amount-row strong.is-loading {
  font-size: 14px;
  font-weight: 600;
}

.checkout-usdpay-networks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.checkout-usdpay-network {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.checkout-usdpay-submit {
  width: 100%;
}

.checkout-usdpay-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checkout-usdpay-back {
  margin-top: 8px;
  color: var(--muted);
}

.checkout-usdpay-panel .checkout-note {
  margin-top: 10px;
  text-align: center;
}

.checkout-reassurance {
  display: contents;
}

.checkout-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.checkout-assurance span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #a9b7ca;
  content: "";
}

.checkout-guarantee {
  max-width: 440px;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.checkout-support {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.checkout-support p {
  margin: 0;
}

.checkout-support a {
  color: var(--blue);
  font-weight: 700;
}

.checkout-note {
  margin: 14px 0 0;
  font-size: 14px;
}

.checkout-note.success {
  color: #087443;
  font-weight: 800;
}

.checkout-note.error {
  color: #9b1c1c;
  font-weight: 800;
}

.success-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 28px);
  border-color: rgba(8, 116, 67, 0.3);
  background: #f3fbf7;
}

.success-card h2 {
  margin-bottom: 6px;
}

.success-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.modal-close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.qr-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  width: 190px;
  height: 190px;
  margin: 20px auto;
  padding: 14px;
  border: 10px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.qr-image {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 20px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.qr-image[hidden] {
  display: none;
}

.qr-demo span {
  border-radius: 3px;
  background: var(--ink);
}

.qr-demo span:nth-child(2),
.qr-demo span:nth-child(5),
.qr-demo span:nth-child(8),
.qr-demo span:nth-child(10),
.qr-demo span:nth-child(15) {
  background: var(--white);
}

.account-modal-panel p:not(.eyebrow) {
  color: var(--muted);
}

.install-page {
  min-height: 100vh;
  background: #f9fafb;
}

.install-main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: clamp(18px, 6vw, 72px) 0;
}

.install-header-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.install-panel {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.install-panel h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.05;
}

.install-copy,
.install-note {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.5;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 22px;
}

.install-actions .primary-button {
  min-width: 148px;
  min-height: 44px;
  justify-content: center;
  padding: 0 22px;
  background: #0071e3;
  font-size: 17px;
  font-weight: 700;
}

.install-actions .primary-button:hover {
  background: #0077ed;
}

.install-qr-block {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-2);
}

.install-qr-block[hidden] {
  display: none;
}

.install-qr-block img {
  width: min(210px, 78vw);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.install-qr-block p {
  max-width: 360px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.install-manual {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-2);
  text-align: left;
}

.install-manual[hidden] {
  display: none;
}

.install-manual summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  list-style: none;
}

.install-manual summary::-webkit-details-marker {
  display: none;
}

.install-manual summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 25px;
  text-align: center;
  transform: translateY(-50%);
}

.install-manual[open] summary::after {
  content: "-";
  line-height: 23px;
}

.install-manual summary span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.install-manual summary strong {
  color: var(--ink);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.2;
}

.install-manual-body {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.install-manual p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.install-manual dl {
  display: grid;
  gap: 12px;
  width: min(100%, 440px);
  margin: 0;
}

.install-manual dl div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.install-manual dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.install-manual dd {
  min-width: 0;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
  text-align: left;
  font-size: clamp(13px, 3.35vw, 15px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.install-manual .secondary-button {
  width: min(100%, 280px);
  margin: 0;
}

.install-guides {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  background: #f4f8ff;
  text-align: left;
}

.install-guides .eyebrow {
  margin: 0;
}

.install-guides h2,
.install-guides h3 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.15;
}

.install-guides p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.install-guide-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.install-guide-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #c8d8ff;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.account-install-guides {
  grid-area: guide;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px;
}

.account-install-guides h3 {
  font-size: 18px;
}

.account-install-guides p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.35;
}

.account-install-guides .install-guide-links {
  gap: 8px;
}

.account-install-guides .install-guide-links a {
  min-height: 36px;
  padding: 0 8px;
  font-size: 14px;
}

.install-note {
  max-width: 520px;
  margin-top: 18px;
  font-size: clamp(14px, 1.7vw, 16px);
  text-align: center;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .main-nav {
    display: none;
  }

  .header-action {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-button {
    display: grid;
  }

  .hero {
    min-height: calc(100dvh - 68px);
  }

  .trust-strip,
  .intro-section,
  .steps-section,
  .comparison-section,
  .faq-section,
  .catalog-toolbar,
  .site-footer,
  .country-hero,
  .country-section-head,
  .country-split,
  .about-hero,
  .contact-grid,
  .account-grid,
  .purchase-details {
    grid-template-columns: 1fr;
  }

  .comparison-head,
  .comparison-message {
    grid-template-columns: 1fr;
  }

  .purchase-assurance-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .customer-reviews-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-proof-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .customer-reviews-grid {
    grid-template-columns: 1fr;
  }

  .product-proof-grid {
    grid-template-columns: 1fr;
  }

  .customer-review {
    min-height: 0;
  }

  .purchase-assurance-grid article {
    padding: 22px;
  }

  .purchase-assurance-grid article:first-child,
  .purchase-assurance-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .purchase-assurance-grid article:nth-child(2),
  .purchase-assurance-grid article:last-child {
    padding-right: 0;
  }

  .purchase-assurance-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

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

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

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

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

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

  .country-advice-grid,
  .country-route-grid,
  .country-app-grid,
  .country-trust-grid,
  .country-related-links,
  .country-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 118px;
  }

  .hero {
    min-height: calc(100dvh - 56px);
    padding: 42px 16px 72px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-assurance {
    width: min(100% - 32px, 1160px);
    margin-bottom: 72px;
    padding-top: 28px;
  }

  .customer-reviews {
    width: min(100% - 32px, 1160px);
    margin-bottom: 72px;
  }

  .product-proof {
    width: min(100% - 32px, 1160px);
    margin-bottom: 72px;
  }

  .product-proof-head {
    margin-bottom: 22px;
  }

  .product-proof-head > p {
    font-size: 16px;
  }

  .product-proof-grid {
    gap: 28px;
  }

  .product-proof-visual-card {
    aspect-ratio: 640 / 979;
  }

  .customer-reviews-head {
    margin-bottom: 22px;
  }

  .customer-reviews-head > p {
    font-size: 16px;
  }

  .customer-review {
    padding: 18px;
  }

  .customer-review blockquote {
    margin-top: 18px;
  }

  .customer-review blockquote p {
    font-size: 16px;
  }

  .customer-reviews-action {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-reviews-action .primary-button {
    width: 100%;
  }

  .purchase-assurance-head {
    margin-bottom: 22px;
  }

  .purchase-assurance-head > p {
    font-size: 16px;
  }

  .purchase-assurance-grid {
    grid-template-columns: 1fr;
  }

  .purchase-assurance-grid article,
  .purchase-assurance-grid article:first-child,
  .purchase-assurance-grid article:nth-child(2),
  .purchase-assurance-grid article:nth-child(3),
  .purchase-assurance-grid article:last-child {
    padding: 20px 0;
    border-left: 0;
  }

  .purchase-assurance-grid article + article {
    border-top: 1px solid var(--line);
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .partner-stats-grid,
  .partner-tier-grid {
    grid-template-columns: 1fr;
  }

  .admin-diagnostic-stat {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .admin-diagnostic-stat:first-child {
    border-top: 0;
  }

  .admin-funnel-row {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px 12px;
  }

  .admin-funnel-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .admin-funnel-count {
    grid-column: 2;
    grid-row: 1;
  }

  .partner-level-summary,
  .partner-level-progress div {
    flex-direction: column;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table div {
    min-width: 640px;
  }

  .country-main {
    width: min(100% - 24px, 1160px);
    padding-top: 24px;
  }

  .country-hero,
  .country-section,
  .country-cta {
    padding: 22px;
  }

  .country-updated {
    position: static;
    margin: 0 0 12px;
  }

  .country-hero h1 {
    font-size: 34px;
  }

  .country-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .country-info-grid {
    grid-template-columns: 1fr;
  }

  .country-detail-grid,
  .country-detail-grid-steps,
  .country-detail-grid-three {
    grid-template-columns: 1fr;
  }

  .country-advice-grid,
  .country-route-grid,
  .country-app-grid,
  .country-trust-grid,
  .country-related-links,
  .country-link-grid {
    grid-template-columns: 1fr;
  }

  .country-tariff-table,
  .country-compare {
    overflow-x: auto;
  }

  .country-tariff-table div {
    min-width: 720px;
  }

  .country-tariff-table-wide div {
    min-width: 1080px;
  }

  .country-tariff-table-coverage div {
    min-width: 1180px;
  }

  .country-tariff-table {
    display: grid;
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .country-tariff-table div:first-child {
    display: none;
  }

  .country-tariff-table div,
  .country-tariff-table-wide div,
  .country-tariff-table-coverage div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
  }

  .country-tariff-table div:last-child {
    border-bottom: 1px solid var(--line);
  }

  .country-tariff-table span {
    padding: 0;
  }

  .country-tariff-table span:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .country-tariff-table span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    white-space: nowrap;
  }

  .country-tariff-table span:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .country-tariff-table span:nth-child(n + 4):not(:last-child) {
    display: none;
  }

  .country-tariff-table span:last-child {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    padding-right: 0;
  }

  .country-tariff-table a {
    min-width: 112px;
    min-height: 42px;
  }

  .tariff-recommendation {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .tariff-recommendation-options {
    grid-template-columns: 1fr;
  }

  .tariff-recommendation-result {
    grid-column: 1;
  }

  .country-review-proof-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .country-review-proof-grid {
    grid-template-columns: 1fr;
  }

  .country-compare div {
    min-width: 640px;
  }

  .country-compare-wide div {
    min-width: 860px;
  }

  .country-compare-europe div {
    min-width: 760px;
  }

  .content-main {
    width: min(100% - 24px, 1120px);
    padding: 24px 0 64px;
  }

  .content-card {
    padding: 22px;
  }

  .about-hero h1,
  .contact-hero h1 {
    font-size: 24px;
  }

  .about-hero p,
  .contact-hero p,
  .content-section p,
  .content-list li {
    font-size: 17px;
  }

  .founder-photo {
    width: 132px;
    height: 132px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .payment-history-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "description amount"
      "status status";
    gap: 8px 12px;
  }

  .payment-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 18px;
  }

  .payment-modal-panel h2 {
    font-size: 24px;
  }

  .payment-history-description {
    grid-area: description;
  }

  .payment-history-amount {
    grid-area: amount;
  }

  .account-modal {
    align-items: start;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .topup-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }

  .topup-payment-panel {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 18px;
    overflow-y: auto;
  }

  .topup-modal-panel h2 {
    margin-bottom: 6px;
    font-size: 24px;
  }

  .topup-modal-panel .eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .topup-modal-panel .checkout-note {
    font-size: 14px;
    line-height: 1.35;
  }

  .topup-options-list {
    gap: 7px;
    margin-top: 10px;
  }

  .topup-option-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "package action"
      "price action";
    gap: 3px 10px;
    min-height: 68px;
    padding: 9px 10px;
  }

  .topup-option-item div {
    grid-area: package;
  }

  .topup-option-item > b {
    grid-area: price;
    justify-self: start;
  }

  .topup-option-discount {
    grid-area: price;
    justify-items: start;
  }

  .topup-option-item .primary-button {
    grid-area: action;
    align-self: stretch;
    min-width: 104px;
    min-height: 48px;
    padding: 8px 12px;
  }

  .payment-history-item em {
    grid-area: status;
    justify-self: start;
  }

  .account-main {
    width: min(100% - 24px, 980px);
    padding-top: 18px;
  }

  .loyalty-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .loyalty-tier-badge {
    justify-items: start;
  }

  .loyalty-ladder-track {
    top: 34px;
    right: auto;
    bottom: 34px;
    left: 31px;
    width: 6px;
    height: auto;
  }

  .loyalty-ladder-track span {
    width: 100%;
    height: var(--loyalty-progress, 0%);
    transition: height 280ms ease;
  }

  .loyalty-levels {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .loyalty-level {
    grid-template-columns: 68px minmax(0, 1fr);
    justify-items: stretch;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .loyalty-level-copy {
    justify-self: stretch;
  }

  .partner-auth-main,
  .partner-main {
    width: min(100% - 24px, 1040px);
  }

  .partner-main {
    padding-top: 24px;
  }

  .partner-hero,
  .partner-copy-row,
  .partner-link-input-row {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-link-input-row span {
    min-height: 44px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    word-break: break-all;
  }

  .partner-form-grid,
  .partner-stats-grid,
  .admin-filter-form,
  .admin-issue-form,
  .admin-wordstat-form,
  .admin-wordstat-columns {
    grid-template-columns: 1fr;
  }

  .partner-referrals-list,
  .partner-transactions-list,
  .admin-retention-list,
  .admin-users-list,
  .admin-wordstat-list {
    overflow-x: auto;
  }

  .partner-referral-row {
    min-width: 620px;
  }

  .partner-transaction-row {
    min-width: 820px;
  }

  .account-hero,
  .success-card,
  .account-card-heading,
  .referral-row,
  .profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-header-actions .secondary-button {
    display: none;
  }

  .purchase-actions .primary-button,
  .purchase-actions .secondary-button,
  .purchase-actions .outline-danger-button {
    width: 100%;
  }

  .checkout-panel {
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 20px;
  }

  .checkout-usdpay-panel {
    max-height: none;
    padding: 20px;
    overflow: visible;
  }

  .checkout-usdpay-panel h2 {
    font-size: 18px;
  }

  .checkout-usdpay-amount-row strong {
    font-size: 25px;
  }

  .checkout-summary {
    grid-template-columns: 1fr auto;
  }

  .checkout-assurance {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .install-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .install-actions .primary-button,
  .install-manual .secondary-button {
    width: 100%;
  }

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

@media (max-width: 700px) {
  .qr-modal-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "qr"
      "text"
      "action"
      "guide";
    row-gap: 10px;
    padding: 18px;
  }

  .qr-modal-panel > .eyebrow,
  .qr-modal-panel h2 {
    padding-right: 42px;
    padding-left: 0;
    text-align: left;
  }

  .qr-modal-panel h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .qr-modal-panel .qr-image {
    width: min(190px, 100%);
  }

  .qr-modal-panel .qr-demo {
    width: 160px;
    height: 160px;
  }

  .qr-modal-panel > .primary-button {
    width: 100%;
  }
}

@media (max-width: 920px) {
  .admin-users-list,
  .admin-retention-list {
    overflow-x: visible;
  }

  .admin-user-head,
  .admin-user-esim-head,
  .admin-retention-head {
    display: none;
  }

  .admin-user-row,
  .admin-retention-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding: 18px 0;
  }

  .admin-user-row > [data-label]::before,
  .admin-user-esim-row > [data-label]::before,
  .admin-retention-row > [data-label]::before {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

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

  .admin-user-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .admin-user-footer > span:empty {
    display: none;
  }
}

@media (max-width: 620px) {
  .admin-user-row,
  .admin-user-esim-row,
  .admin-retention-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-user-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-user-footer-action,
  .admin-user-footer-action .compact-button {
    width: 100%;
  }
}
