/* ══════════════════════════════════════════════════════════════════════════
   TopUp KE · Simple, Clean, Humanistic & Mobile-First Stylesheet
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Neutral Humanistic Palette */
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-subtle: #f3f4f6;
  
  --ink: #111827;
  --ink-secondary: #374151;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  
  --border: #e5e7eb;
  --border-subtle: #f0f2f5;
  --border-focus: #111827;

  /* Restrained Accent */
  --accent: #059669;
  --accent-light: #ecfdf5;
  --accent-border: #a7f3d0;

  --warn-bg: #fffbeb;
  --warn-border: #fef3c7;
  --warn-text: #92400e;

  --err-bg: #fef2f2;
  --err-border: #fecaca;
  --err-text: #991b1b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
  --shadow-float: 0 8px 20px -4px rgba(0, 0, 0, 0.08);

  --transition: 150ms ease;
}

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Mobile-first Container */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ── Offer line ─────────────────────────────────────────────────────────── */
.offer-bar {
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.offer-bar b.pct {
  font-weight: 700;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand b {
  color: var(--accent);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  margin-left: 8px;
}

.nav a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

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

.nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition);
}

.btn-nav-primary:hover {
  background: #047857;
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle .i-close,
.nav-toggle[aria-expanded="true"] .i-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .i-close {
  display: block;
}

.mobile-nav {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6px 20px 14px;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.12);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.mobile-nav a:nth-last-child(2),
.mobile-nav a:last-child {
  font-size: 14px;
  color: var(--muted);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .btn-nav-primary {
    padding: 8px 12px;
    font-size: 13.5px;
  }
}

@media (min-width: 861px) {
  .mobile-nav,
  .mobile-nav.open {
    display: none;
  }
}

/* ── Clean Hero Section ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 40px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-text {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25);
}

.hero-title {
  font-size: 28px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.feature-bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-caption {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.proof-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 13px;
}

/* ── Primary Airtime Card (Centerpiece) ─────────────────────────────────── */
.hero-card-col {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 920px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 430px;
    align-items: start;
    gap: 48px;
    padding-top: 16px;
    padding-bottom: 28px;
  }

  .hero-title {
    font-size: 38px;
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .hero-card-col {
    max-width: 100%;
    margin: 0;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
}

.form-header {
  text-align: center;
  margin-bottom: 16px;
}

.form-header h2, .form-header h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.form-header p.sub {
  font-size: 13.5px;
  color: var(--muted);
}

.form-header p.sub b.pct {
  color: var(--accent);
  font-weight: 700;
}

/* System notice */
.closed {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius-sm);
  color: var(--warn-text);
  font-size: 13px;
  text-align: center;
}

/* Segmented Toggle (For Myself vs Other) */
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface-subtle);
  padding: 3px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.who-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
  user-select: none;
}

.who-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.who-option:has(input:checked) {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.who-icon {
  width: 15px;
  height: 15px;
}

/* Input Fields */
.field {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 16px; /* Crucial: 16px prevents iOS auto-zoom */
  font-weight: 500;
  transition: border-color var(--transition);
}

.field input.with-prefix {
  padding-left: 68px;
}

.field input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.field input.bad {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.hint {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
}

.msg {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--err-text);
}

.msg:empty {
  display: none;
}

/* Quick Amount Preset Chips */
.quick-amounts {
  margin-bottom: 14px;
}

.quick-amounts-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.chip {
  background: var(--surface-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.chip:hover {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}

.chip.active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

/* Calculation Breakdown */
.calc-breakdown {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.calc-row.bonus-row {
  color: var(--accent);
  font-weight: 600;
}

.bonus-pill {
  font-size: 10px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 700;
}

.calc-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.calc-total b#get, .calc-total b#calc-total-val {
  font-size: 17px;
  color: var(--accent);
}

/* Action Button */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover:not(:disabled) {
  background: #000;
  transform: translateY(-1px);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.card-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.card-security-note svg {
  color: var(--accent);
  flex-shrink: 0;
}

.form-err {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--err-bg);
  border: 1px solid var(--err-border);
  border-radius: var(--radius-sm);
  color: var(--err-text);
  font-size: 13px;
}

/* ── Live Order Status ─────────────────────────────────────────────────── */
.status {
  text-align: center;
  padding: 20px 14px;
}

.st-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--surface);
  background: var(--muted);
}

.st-icon.wait {
  background: var(--surface);
  border: 3px solid var(--border);
  border-top-color: var(--ink);
  animation: spin 0.9s linear infinite;
}

.st-icon.ok {
  background: var(--accent);
}

.st-icon.bad {
  background: #dc2626;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .st-icon.wait { animation: none; }
}

.status h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.status p#st-text {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.st-stepper {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 16px;
  position: relative;
}

.st-stepper::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.st-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.st-step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.st-step.active .st-step-circle {
  border-color: var(--ink);
  color: var(--ink);
}

.st-step.done .st-step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

.st-step.failed .st-step-circle {
  background: #dc2626;
  border-color: #dc2626;
  color: var(--surface);
}

.st-step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.st-step.active .st-step-label { color: var(--ink); }
.st-step.done .st-step-label { color: var(--accent); }

.st-rows {
  width: 100%;
  margin: 12px 0 16px;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  background: var(--surface-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: table;
}

.st-rows tr { border-bottom: 1px solid var(--border); }
.st-rows tr:last-child { border-bottom: none; }
.st-rows td { padding: 8px 10px; color: var(--muted); }
.st-rows td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.copy-receipt-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10.5px;
  color: var(--muted);
  cursor: pointer;
  margin-left: 4px;
}

/* ── Content Sections (Clean, Humanistic, Understated) ───────────────────── */
.sec {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.sec-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.sec-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.sec h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.sec-lead {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* Core Benefits Cards */
.services-section {
  padding: 20px 0 36px;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Steps Pipeline */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Comparison Table */
.comparison-wrap {
  overflow-x: auto;
  margin: 12px 0;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compare-table th:first-child { border-top-left-radius: var(--radius-sm); }
.compare-table th:last-child { border-top-right-radius: var(--radius-sm); }

.compare-table th.highlight-col, .compare-table td.highlight-col {
  background: var(--accent-light);
  color: var(--ink);
  font-weight: 600;
}

.badge-win {
  display: inline-block;
  background: var(--accent);
  color: var(--surface);
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  margin-left: 3px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.author-info h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.author-info p {
  font-size: 10.5px;
  color: var(--muted);
  margin: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec details {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.sec details[open] {
  background: var(--surface);
}

.sec summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.sec details[open] .faq-icon {
  transform: rotate(180deg);
}

.sec details p {
  padding: 0 14px 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Standalone Page Container ─────────────────────────────────────────── */
.page-container {
  max-width: 520px;
  margin: 24px auto 48px;
  padding: 0 16px;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-card);
}

.page-header {
  text-align: center;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.page-header p {
  color: var(--muted);
  font-size: 13.5px;
}

/* Records Lookup */
.records-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.records-search-bar input {
  flex: 1;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* 16px prevents mobile zoom */
}

.records-search-bar input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.records-search-bar button {
  width: auto;
  padding: 0 18px;
}

#recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#recent-list .r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

#recent-list .r b {
  font-size: 13.5px;
  color: var(--ink);
  display: block;
}

#recent-list .r small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tag.ok { background: var(--accent-light); color: var(--accent); }
.tag.bad { background: #fee2e2; color: #dc2626; }
.tag.wait { background: #fef3c7; color: #b45309; }

/* ── Floating WhatsApp Action (Clean, Unintrusive) ──────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #128c7e;
  color: var(--surface);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-float);
  text-decoration: none;
  transition: transform var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  color: var(--surface);
}

/* ── Clean Light Footer ────────────────────────────────────────────────── */
.foot {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 36px 0 24px;
  margin-top: 40px;
  font-size: 13px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.foot-brand-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 320px;
}

.foot-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-col a {
  color: var(--muted);
  font-size: 13px;
}

.foot-col a:hover {
  color: var(--ink);
}

.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-light);
  flex-wrap: wrap;
  gap: 8px;
}

.foot-disclaimer {
  font-size: 11px;
  color: var(--muted-light);
  margin-top: 6px;
}

/* ── Clean Helper & Semantic Utility Classes (Zero Inline Styles) ──────── */
.calc-card {
  padding: 24px 18px;
  max-width: 540px;
  margin: 0 auto;
}

.calc-field {
  margin-bottom: 18px;
}

.calc-input {
  font-size: 18px;
  font-weight: 700;
  height: 48px;
}

.calc-slider-wrap {
  margin: -6px 0 16px;
}

.calc-savings-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
}

.calc-savings-title {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 700;
}

.calc-savings-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.calc-cta {
  margin-top: 20px;
}

.calc-table-wrap {
  margin-top: 28px;
}

.calc-table-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.text-accent {
  color: var(--accent);
  font-weight: 600;
}

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

.center-text {
  text-align: center;
}

.left-text {
  text-align: left;
}

.p-20 {
  padding: 20px;
}

/* ── Trust Highlights Bar ──────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

@media (max-width: 860px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .trust-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.trust-item svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Popular Airtime Packages Matrix ────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.package-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.package-badge-popular {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--surface);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.package-pay {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 2px;
}

.package-get {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.package-bonus-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin: 0 auto 10px;
}

.package-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 10px;
  transition: all var(--transition);
}

.package-card:hover .package-btn {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

/* ── Guarantees Grid ───────────────────────────────────────────────────── */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.guarantee-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
}

.guarantee-card h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-card h4 svg {
  color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.guarantee-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.legal-content {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.legal-content h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.legal-content p {
  margin-bottom: 12px;
}

.support-card {
  text-align: center;
}

.support-hours-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 20px;
  text-align: left;
}

.support-hours-box h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.support-hours-box p {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.records-recent-wrap {
  margin-top: 24px;
}

.records-recent-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

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

/* ── Mobile Responsive Overrides (Perfect Phone Fitting) ────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 20px 0 16px;
  }

  .hero-title {
    font-size: 24px;
  }

  .services-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-bar {
    gap: 8px;
  }

  .trust-item {
    font-size: 12px;
    padding: 8px 10px;
  }

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

  .card {
    padding: 18px 14px;
  }

  .sec {
    padding: 18px 14px;
    margin-bottom: 24px;
  }

  .records-search-bar {
    flex-direction: column;
  }

  .records-search-bar button {
    width: 100%;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 12px;
    border-radius: 50%;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-title {
    font-size: 22px;
  }

  .chips-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .chip {
    font-size: 12px;
    padding: 6px 2px;
  }

  .field input.with-prefix {
    padding-left: 64px;
  }
}

/* Page Layout Extensions & Support / Legal Utilities */
.page-container-wide {
  max-width: 760px;
  margin: 24px auto 48px;
  padding: 0 16px;
}

.support-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

@media (max-width: 680px) {
  .support-grid-3 {
    grid-template-columns: 1fr;
  }
}

.support-contact-card {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.support-contact-card .feature-card-icon {
  margin: 0 auto 10px;
}

.support-contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.support-contact-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.support-contact-card .btn {
  width: 100%;
  font-size: 13px;
  padding: 8px 12px;
}

.support-sla-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.support-sla-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.support-sla-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.support-sla-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 480px) {
  .legal-card {
    padding: 20px 14px;
  }
}

.legal-section {
  margin-bottom: 24px;
}

.legal-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.legal-section p, .legal-section li {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

.legal-section ul {
  padding-left: 20px;
  margin: 8px 0;
}

.legal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  margin-bottom: 12px;
}

details.faq-item {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
}

details.faq-item[open] {
  background: var(--surface);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

details.faq-item p {
  padding: 0 14px 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}


/* ── Small shared pieces ────────────────────────────────────────────────── */
.small {
  font-size: 13px;
  color: var(--muted);
}

.link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.status-support-btn {
  display: block;
  margin-top: 10px;
  padding: 11px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
}

/* ── Track order ────────────────────────────────────────────────────────── */
.find-form {
  display: grid;
  gap: 4px;
}

.find-form .btn {
  margin-top: 6px;
}

.find-result {
  margin-top: 16px;
}

.find-result .r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.find-result .r b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
}

.find-result .r small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.records-recent-wrap {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.records-recent-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* ── Help & contact ─────────────────────────────────────────────────────── */
.contact-list {
  display: grid;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink);
}

.contact-row:hover {
  border-color: var(--accent-border);
  background: var(--accent-light);
  color: var(--ink);
}

.contact-row b {
  display: block;
  font-size: 15px;
}

.contact-row small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.contact-go {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-content h3 {
  margin: 20px 0 6px;
  font-size: 15.5px;
  color: var(--ink);
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content ul {
  margin: 6px 0 10px 20px;
}

.legal-content li {
  margin-bottom: 4px;
}

.legal-content p + p {
  margin-top: 8px;
}

.foot-col li:has(> [hidden]) {
  display: none;
}

.page-container > .sec {
  margin-top: 16px;
  padding: 24px 18px;
}

.page-container > .sec .sec-header h2 {
  font-size: 20px;
}
