/* ============================================================
   ZaMail — Light Theme Design System
   South Africa's Business Email Platform
   ============================================================ */

:root {
  /* Core palette */
  --bg:           #f8fafc;
  --bg-2:         #f1f5f9;
  --bg-white:     #ffffff;
  --border:       #e2e8f0;
  --border-mid:   #cbd5e1;

  /* Brand */
  --primary:      #0066ff;
  --primary-d:    #0052cc;
  --primary-l:    #eff6ff;
  --primary-glow: rgba(0,102,255,.18);
  --accent:       #00c48c;
  --accent-l:     #f0fdf8;

  /* Semantic */
  --success:      #00c48c;
  --success-l:    #f0fdf8;
  --danger:       #ef4444;
  --danger-l:     #fef2f2;
  --warning:      #f59e0b;
  --warning-l:    #fffbeb;

  /* Text */
  --text:         #0f172a;
  --text-2:       #475569;
  --text-3:       #94a3b8;
  --text-4:       #cbd5e1;

  /* Layout */
  --sidebar-w:   260px;
  --nav-h:       64px;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-xs:   6px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.1),0 4px 12px rgba(0,0,0,.06);
  --transition:  .18s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-d); text-decoration: underline; }
img { max-width: 100%; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none !important;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-d);
  box-shadow: 0 4px 16px var(--primary-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-mid);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); background: var(--bg-2); }

.btn-danger-ghost {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid var(--danger);
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}
.btn-danger-ghost:hover { background: var(--danger); color: #fff; }

.btn-lg   { padding: .78rem 1.75rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm   { padding: .4rem .9rem; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Alerts ─────────────────────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.alert-error   { background: var(--danger-l);  border: 1px solid rgba(239,68,68,.2);  color: #b91c1c; }
.alert-success { background: var(--success-l); border: 1px solid rgba(0,196,140,.2); color: #065f46; }

/* ─── Badge ──────────────────────────────────────────────────────────────────── */
.badge {
  background: var(--danger);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
  margin-left: auto;
}

/* ─── Error pages ────────────────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .15;
  line-height: 1;
  margin-bottom: .5rem;
}
.error-page h1 { font-size: 1.5rem; margin-bottom: .5rem; }
.error-page p  { color: var(--text-2); margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   PUBLIC LAYOUT
══════════════════════════════════════════════════════════════════════════════ */
.public-layout { min-height: 100vh; display: flex; flex-direction: column; }
.public-main   { flex: 1; }

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
.public-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.public-nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none !important;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--primary); }
.logo-mark {
  width: 34px; height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.logo-text { font-weight: 800; }
.logo-tag {
  font-size: .6rem;
  font-weight: 700;
  background: #fde68a;
  color: #92400e;
  padding: .1rem .4rem;
  border-radius: 99px;
  letter-spacing: .04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  padding: .45rem .75rem;
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
  text-decoration: none !important;
}
.nav-link:hover { color: var(--text); background: var(--bg-2); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: .65rem .75rem;
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  text-decoration: none !important;
}
.nav-mobile-link:hover { color: var(--text); background: var(--bg-2); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.public-footer {
  background: var(--text);
  color: #cbd5e1;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
}
.footer-brand .nav-logo { color: #fff; }
.footer-brand .nav-logo:hover { color: #a5c8ff; }
.footer-tagline { color: #94a3b8; font-size: .875rem; margin-top: .75rem; line-height: 1.5; }
.footer-cols { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: .4rem; }
.footer-col h4 { color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.footer-col a, .footer-col span { color: #94a3b8; font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-address { font-size: .8rem; }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  color: #64748b;
  font-size: .78rem;
}
.footer-legal { color: #475569; }

/* ══════════════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f7ff 0%, #f8fafc 50%, #f0fdf8 100%);
  padding: 5rem 1.5rem 5rem;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
}
.shape-1 { width: 500px; height: 500px; background: rgba(0,102,255,.08); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: rgba(0,196,140,.06); bottom: -80px; left: -80px; }
.shape-3 { width: 200px; height: 200px; background: rgba(245,158,11,.06); top: 30%; left: 40%; }

.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .3rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #00c48c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); }

/* ── Search card ── */
.search-wrap { margin-bottom: 1.5rem; }

.search-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: .75rem;
}
.search-card:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow), 0 0 0 3px var(--primary-glow);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
}
.search-at-icon { color: var(--text-3); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1.1rem;
  font-family: inherit;
  padding: .5rem 0;
  min-width: 0;
}
.search-input::placeholder { color: var(--text-4); }
.search-clear {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); display: flex; align-items: center; padding: .25rem;
  border-radius: 4px; transition: color var(--transition);
}
.search-clear:hover { color: var(--text); }
.search-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
.search-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .55rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--primary-d); }

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

/* ── Search results ── */
.search-results {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  animation: fadeUp .2s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.result-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  padding: .28rem .75rem;
  border-radius: 99px;
  margin-bottom: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.result-status.available { background: var(--success-l); color: #065f46; border: 1px solid rgba(0,196,140,.2); }
.result-status.taken     { background: var(--danger-l);  color: #b91c1c; border: 1px solid rgba(239,68,68,.2); }

.result-domain-badge { text-align: center; }
.result-email {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
}
.result-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.result-price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.result-plan  { font-size: .8rem; color: var(--text-3); }

.result-available { text-align: center; }
.result-taken     { text-align: center; }
.result-cta { margin: 0 auto; }

.suggest-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 1.25rem 0 .7rem;
}
.suggest-grid { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.suggest-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
}
.suggest-item:hover { border-color: var(--primary); background: var(--primary-l); color: var(--text); }
.suggest-email { font-size: .875rem; font-weight: 500; }
.suggest-price { font-size: .78rem; color: var(--primary); font-weight: 600; }
.available-tag { font-size: .68rem; font-weight: 700; color: var(--accent); background: var(--accent-l); padding: .12rem .45rem; border-radius: 99px; }

/* ── Trust bar ── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  color: var(--text-3);
  font-size: .78rem;
  font-weight: 500;
  margin-top: .5rem;
}
.trust-item { display: flex; align-items: center; gap: .35rem; }
.trust-sep  { width: 4px; height: 4px; background: var(--border-mid); border-radius: 50%; }

/* ── Search hints ── */
.search-hints { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: center; font-size: .8rem; color: var(--text-3); }
.hint-chip {
  display: inline-block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: .25rem .6rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}
.hint-chip:hover { border-color: var(--primary); background: var(--primary-l); }

/* ── Animations ── */
.animate-fadein { animation: fadein .55s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .35s; }
.delay-4 { animation-delay: .5s; }
@keyframes fadein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.animate-on-scroll.visible { opacity: 1; transform: none; }
.animate-on-scroll[style*="--delay"] { transition-delay: var(--delay, 0s); }

/* ══════════════════════════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════════════════════════ */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: .85rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .85rem;
  color: var(--text);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── Features ── */
.features-section { background: var(--bg-white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon-wrap {
  width: 44px; height: 44px;
  background: color-mix(in srgb, var(--fi-color, var(--primary)) 10%, transparent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--fi-color, var(--primary));
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ── Steps ── */
.steps-section { background: var(--bg); }
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-card {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  animation-delay: var(--delay, 0s);
}
.step-number {
  width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p  { font-size: .875rem; color: var(--text-2); line-height: 1.7; }
.step-connector {
  width: 2rem;
  height: 2px;
  background: var(--border-mid);
  flex-shrink: 0;
  margin-top: calc(52px / 2 + 2rem);
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -5px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--border-mid);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ── Pricing ── */
.pricing-section { background: var(--bg-white); }

.billing-toggle {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.billing-label { font-size: .9rem; font-weight: 600; color: var(--text-2); }
.billing-label#lblAnnual { display: flex; align-items: center; gap: .5rem; }
.save-chip {
  background: var(--accent-l);
  color: var(--accent);
  border: 1px solid rgba(0,196,140,.2);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 99px;
}
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border-mid);
  border-radius: 99px;
  transition: background var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.plan-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  animation-delay: var(--delay, 0s);
}
.plan-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.plan-popular {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: var(--shadow);
}
.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  white-space: nowrap;
}
.plan-header { margin-bottom: 1.5rem; }
.plan-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.plan-price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .5rem; }
.price-amount { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.price-period { font-size: .85rem; color: var(--text-3); }
.plan-mailboxes { font-size: .8rem; color: var(--text-2); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.5rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--text-2); }
.plan-features li svg { flex-shrink: 0; color: var(--accent); margin-top: .15rem; }

/* Domain pricing table */
.domain-pricing {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}
.domain-pricing h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.domain-sub { color: var(--text-2); font-size: .875rem; margin-bottom: 1.25rem; }
.domain-table-wrap { overflow-x: auto; }
.domain-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.domain-table th {
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border);
}
.domain-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.domain-table tr:last-child td { border-bottom: none; }
.domain-table tr:hover td { background: var(--primary-l); }
.price-col { font-weight: 700; color: var(--primary); }
.desc-col  { color: var(--text-3); font-size: .82rem; }
.pop-tag {
  font-size: .65rem; font-weight: 700;
  background: var(--primary-l); color: var(--primary);
  padding: .1rem .45rem; border-radius: 99px; margin-left: .35rem;
}

/* ── FAQ ── */
.faq-section { background: var(--bg); }
.faq-inner { max-width: 740px; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); color: var(--text-3); }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 1.25rem 1.1rem;
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0052cc 100%);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-flag { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.25;
}
.cta-section h2 em { font-style: normal; opacity: .85; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1rem; }
.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.cta-section .btn-primary:hover { background: #f0f7ff; color: var(--primary-d); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════════════════════
   FORM PAGES (login, register, checkout)
══════════════════════════════════════════════════════════════════════════════ */
.form-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 2rem 1rem;
}
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
}
.checkout-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
}
.form-header { text-align: center; margin-bottom: 2rem; }
.checkout-header { text-align: center; margin-bottom: 2rem; }
.checkout-header h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .4rem; }
.checkout-header p  { color: var(--text-2); font-size: .875rem; }
.form-logo, .checkout-logo {
  display: inline-flex;
  margin: 0 auto .85rem;
}
.form-header h1 { font-size: 1.55rem; font-weight: 800; margin-bottom: .4rem; }
.form-header p  { color: var(--text-2); font-size: .875rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .45rem;
}
.label-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-3); }
.form-input {
  width: 100%;
  padding: .72rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); background: var(--bg-white); }
.form-input::placeholder { color: var(--text-4); }
.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Password with show button */
.input-pw-wrap { position: relative; }
.input-pw-wrap .form-input { padding-right: 2.5rem; }
.pw-toggle {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  padding: .25rem;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.pw-toggle:hover { color: var(--text); }

/* Password strength */
.pw-strength { margin-top: .45rem; }
.pw-bar { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.pw-fill { height: 100%; border-radius: 99px; transition: width .3s ease, background .3s ease; width: 0; }
.pw-strength span { font-size: .75rem; font-weight: 600; margin-top: .3rem; display: block; }

/* Email preview row */
.email-preview-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.email-preview-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.email-preview-row .form-input { border: none; border-radius: 0; background: transparent; box-shadow: none; padding: .7rem .75rem; }
.email-preview-row .form-input:focus { border: none; box-shadow: none; }
.at-sep { display: flex; align-items: center; color: var(--text-3); font-size: .95rem; padding: 0 .1rem; }
.field-wrap { flex: 1; }
.domain-field { flex: 2; }
.tld-field { flex: 0 0 auto; min-width: 120px; }
.tld-field .form-input { border-left: 1px solid var(--border); border-radius: 0; font-size: .85rem; }

.email-preview-badge {
  display: inline-block;
  margin-top: .65rem;
  background: var(--primary-l);
  border: 1px solid rgba(0,102,255,.2);
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 99px;
}

/* Plan select */
.plan-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.plan-select-item {
  position: relative;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem .75rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.plan-select-item:hover { border-color: var(--primary); }
.plan-select-item:has(.plan-radio:checked) { border-color: var(--primary); background: var(--primary-l); }
.plan-radio { position: absolute; opacity: 0; width: 0; height: 0; }
.plan-select-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-select-popular { border-color: var(--primary); }
.plan-select-name  { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.plan-select-price { font-size: .9rem; font-weight: 800; color: var(--primary); margin-bottom: .15rem; }
.plan-select-meta  { font-size: .7rem; color: var(--text-3); }

/* Checkout notice */
.checkout-notice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--warning-l);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .8rem;
  color: #92400e;
  margin-bottom: 1.25rem;
}

/* Order summary */
.order-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.summary-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 1rem; }
.summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}
.summary-item:last-child { border-bottom: none; }
.summary-item-info strong { display: block; font-size: .875rem; }
.summary-item-info span  { font-size: .78rem; color: var(--text-3); }
.summary-item-price { font-size: .875rem; font-weight: 600; white-space: nowrap; }
.summary-divider { height: 1px; background: var(--border-mid); margin: .25rem 0; }
.summary-sub  { font-size: .85rem; color: var(--text-2); }
.summary-vat  { font-size: .85rem; color: var(--text-2); }
.summary-total { padding-top: .75rem; margin-top: .25rem; }
.summary-total strong { font-size: 1rem; }

/* PayFast notice */
.payfast-notice {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: var(--primary-l);
  border: 1px solid rgba(0,102,255,.15);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  margin-bottom: 1.25rem;
}
.pf-icon { font-size: 1.4rem; flex-shrink: 0; }
.payfast-notice strong { display: block; font-size: .875rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.payfast-notice span  { font-size: .8rem; color: var(--text-2); }

.billing-section { margin-bottom: 1.25rem; }
.billing-section h3 { font-size: .875rem; font-weight: 700; margin-bottom: .85rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }

.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--text-3); font-size: .82rem; margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--text); text-decoration: none; }
.form-footer { text-align: center; margin-top: 1.25rem; color: var(--text-2); font-size: .85rem; }
.checkout-footer { color: var(--text-3); font-size: .78rem; line-height: 1.6; margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════════════════════════
   WEBMAIL LAYOUT
══════════════════════════════════════════════════════════════════════════════ */
.webmail-layout { display: flex; height: 100vh; overflow: hidden; }

/* Mobile header */
.wm-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  height: 56px;
}
.wm-sidebar-toggle { background: none; border: none; cursor: pointer; color: var(--text-2); padding: .25rem; }
.logo-mark-sm { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; }
.wm-mobile-unread {}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 148; }
.sidebar-overlay.visible { display: block; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 149;
}
.sidebar-header { padding: 1.1rem 1rem; border-bottom: 1px solid var(--border); }
.sidebar-logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: .95rem; font-weight: 800;
  color: var(--text); text-decoration: none !important;
}
.sidebar-logo:hover { color: var(--primary); }

.compose-btn {
  display: flex; align-items: center; gap: .55rem;
  margin: .85rem .85rem;
  padding: .7rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600;
  text-decoration: none !important;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px var(--primary-glow);
}
.compose-btn:hover { background: var(--primary-d); transform: translateY(-1px); color: #fff; }

.sidebar-nav { padding: .35rem .6rem; flex: 1; }
.sidebar-link {
  display: flex; align-items: center; gap: .7rem;
  padding: .62rem .9rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: .875rem; font-weight: 500;
  text-decoration: none !important;
  transition: all var(--transition);
  margin-bottom: .1rem;
}
.sidebar-link:hover { background: var(--bg); color: var(--text); }
.sidebar-link.active { background: var(--primary-l); color: var(--primary); }
.sidebar-link.active svg { stroke: var(--primary); }

.sidebar-footer {
  padding: .85rem .9rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: .5rem;
}
.user-info { display: flex; align-items: center; gap: .65rem; flex: 1; min-width: 0; }
.user-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: #fff; flex-shrink: 0;
}
.user-details { min-width: 0; }
.user-name  { font-size: .8rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-email { font-size: .72rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--radius-xs);
  color: var(--text-3); transition: all var(--transition);
}
.logout-btn:hover { background: var(--danger-l); color: var(--danger); }

/* Webmail main */
.webmail-main {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--bg);
}

/* Mail list */
.mail-list-header {
  padding: 1.4rem 1.75rem .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.mail-list-header h2 { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: .75rem; }
.badge-count {
  font-size: .7rem;
  background: var(--primary);
  color: #fff;
  padding: .18rem .6rem;
  border-radius: 99px;
  font-weight: 600;
}

/* Message rows */
.message-list { flex: 1; }
.message-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1.75rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none !important;
  color: var(--text);
  transition: background var(--transition);
  background: var(--bg-white);
}
.message-row:hover { background: var(--bg); }
.message-row.unread { background: #fafbff; border-left: 3px solid var(--primary); }
.message-row.unread .msg-subject { font-weight: 700; }
.message-row.unread .msg-from    { font-weight: 700; }

.msg-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.to-avatar { background: linear-gradient(135deg, var(--accent), #34d399); }
.msg-from { font-size: .875rem; font-weight: 500; min-width: 120px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.msg-middle { flex: 1; display: flex; gap: .5rem; min-width: 0; align-items: baseline; }
.msg-subject { font-size: .875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.msg-preview { font-size: .82rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-preview::before { content: '—'; margin-right: .3rem; }
.msg-meta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; margin-left: auto; }
.msg-date { font-size: .76rem; color: var(--text-3); }
.unread-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

/* Empty state */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; flex: 1; text-align: center; padding: 4rem 2rem;
}
.empty-icon { margin-bottom: 1.25rem; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.empty-state p  { color: var(--text-2); margin-bottom: 1.5rem; font-size: .9rem; }

/* Compose */
.compose-header { padding: 1.4rem 1.75rem .9rem; border-bottom: 1px solid var(--border); background: var(--bg-white); }
.compose-header h2 { font-size: 1.2rem; font-weight: 700; }
.compose-container { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.compose-form {
  display: flex; flex-direction: column; flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compose-field { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.compose-label { padding: 0 1rem; font-size: .75rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; width: 70px; }
.compose-input {
  flex: 1; padding: .88rem 1rem .88rem 0;
  background: transparent; border: none; outline: none;
  color: var(--text); font-size: .93rem; font-family: inherit;
}
.compose-input::placeholder { color: var(--text-4); }
.compose-body { flex: 1; display: flex; }
.compose-textarea {
  flex: 1; padding: 1.1rem;
  background: transparent; border: none; outline: none;
  resize: none; color: var(--text);
  font-size: .93rem; font-family: inherit; line-height: 1.7; width: 100%;
}
.compose-textarea::placeholder { color: var(--text-4); }
.compose-actions { display: flex; align-items: center; gap: .75rem; padding: 1rem; border-top: 1px solid var(--border); }

/* To suggestions */
.to-input-wrap { position: relative; flex: 1; }
.to-suggestions {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); z-index: 50;
  max-height: 220px; overflow-y: auto; box-shadow: var(--shadow);
}
.to-suggestion {
  display: flex; align-items: center; gap: .85rem;
  padding: .65rem 1rem; cursor: pointer; transition: background var(--transition);
}
.to-suggestion:hover { background: var(--primary-l); }
.to-sug-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.to-suggestion strong { font-size: .85rem; color: var(--text); display: block; }
.to-suggestion span   { font-size: .78rem; color: var(--text-2); }

/* Thread view */
.view-header {
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-white);
}
.back-link-mail {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--text-3); font-size: .82rem; white-space: nowrap;
  transition: color var(--transition); flex-shrink: 0;
}
.back-link-mail:hover { color: var(--text); text-decoration: none; }
.view-subject { font-size: 1.05rem; font-weight: 700; }
.thread-container { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.thread-message { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.thread-message.mine { border-left: 3px solid var(--primary); }
.thread-msg-header {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .9rem 1.25rem; border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.thread-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.thread-meta { flex: 1; }
.thread-meta strong { font-size: .875rem; font-weight: 600; color: var(--text); }
.thread-address { font-size: .78rem; color: var(--text-3); margin-left: .35rem; }
.thread-to      { font-size: .78rem; color: var(--text-3); margin-left: .45rem; }
.thread-date    { font-size: .76rem; color: var(--text-3); white-space: nowrap; }
.thread-body { padding: 1.15rem 1.25rem; font-size: .9rem; line-height: 1.75; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.reply-box { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.reply-title { font-size: .85rem; font-weight: 700; color: var(--text-2); margin-bottom: .75rem; }
.reply-actions { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }

/* Toast */
.toast {
  position: fixed; top: 1.1rem; right: 1.1rem;
  display: flex; align-items: center; gap: .5rem;
  background: var(--bg-white); border: 1px solid var(--border);
  color: var(--text); padding: .75rem 1.2rem;
  border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500;
  z-index: 999; box-shadow: var(--shadow-lg);
  animation: slideInRight .25s ease;
  transition: opacity .3s, transform .3s;
}
.toast-success { border-left: 3px solid var(--accent); }
.toast-out     { opacity: 0; transform: translateX(24px); }
@keyframes slideInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-cols   { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 3rem 1.25rem 3rem; }
  .hero-title { font-size: 1.9rem; }

  .features-grid { grid-template-columns: 1fr; }
  .plans-grid    { grid-template-columns: 1fr; }
  .steps-grid    { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 2rem; margin-top: 0; margin-bottom: 0; }
  .step-connector::after {
    right: -5px; top: auto; bottom: -6px;
    border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-top: 8px solid var(--border-mid); border-bottom: none;
  }

  .plan-select-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .domain-table th:nth-child(3), .domain-table td:nth-child(3) { display: none; }

  .wm-mobile-header { display: flex; }
  .sidebar {
    position: fixed; top: 0; left: -var(--sidebar-w); bottom: 0;
    transform: translateX(calc(-1 * var(--sidebar-w)));
    transition: transform var(--transition);
    box-shadow: none;
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .webmail-main { padding-top: 56px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .search-btn { padding: .55rem .75rem; font-size: .8rem; }
  .tld-field { min-width: 110px; }
  .email-preview-row { flex-wrap: wrap; }
  .field-wrap { min-width: 80px; }
  .trust-bar { display: none; }
  .hint-chip { display: none; }
  .hint-chip:first-child { display: inline-block; }
}
