/* HaytiCloud — Light & Sober */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f5f6f8;
  --surface-alt: #f5f6f8;
  --hover-bg: #eef0f3;
  --text: #111827;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f0f1f3;
  /* Couleurs logo HAYTI.CLOUD */
  --brand-blue: #003087;
  --brand-blue-hover: #002570;
  --brand-blue-light: #eef3fb;
  --hero-bg: #ebf1fa;
  --hero-accent: rgba(0, 48, 135, 0.06);
  --hero-accent-red: rgba(192, 57, 43, 0.05);
  --brand-red: #c0392b;
  --brand-red-hover: #a93226;
  --brand-red-light: #fdf0ef;
  --primary: var(--brand-blue);
  --primary-hover: var(--brand-blue-hover);
  --accent: var(--brand-red);
  --accent-light: var(--brand-red-light);
  --accent-hover: var(--brand-red-hover);
  --success: #059669;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 48, 135, 0.08);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-red); }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section {
  padding: 4.5rem 0;
  background: var(--surface);
}
/* Alternance auto : blanc / gris léger (sans gradient) */
section.section:nth-of-type(even) { background: var(--surface-muted); }
section.section:nth-of-type(odd) { background: var(--surface); }
.section--muted { background: var(--surface-muted); }
.section--white { background: var(--surface); }
.section--alt { background: var(--surface-muted); }
.section--tight { padding-top: 0; }
.section--tight-bottom { padding-bottom: 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--brand-blue);
}
.text-red { color: var(--brand-red); }
.text-blue { color: var(--brand-blue); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

/* ── Header ── */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.logo:hover { opacity: 0.9; }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-mark, .logo-icon { display: none; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav a:hover { color: var(--text); background: var(--hover-bg); }
.nav a.active { color: var(--brand-blue); background: var(--brand-blue-light); font-weight: 600; }

.cart-btn {
  position: relative;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.cart-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 36px;
  height: 36px;
  padding: 0 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-icon-btn i {
  font-size: 0.9rem;
  width: 1em;
  text-align: center;
}
.nav-icon-btn:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}
.nav-icon-btn.active {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}
.nav-icon-btn--admin {
  color: var(--brand-red);
}
.nav-icon-btn--admin:hover,
.nav-icon-btn--admin.active {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: var(--brand-red-light, rgba(200, 16, 46, 0.08));
}
.header-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 36px;
  height: 36px;
}
.header-auth-btn {
  padding: 0.35rem 0.65rem;
  height: 36px;
}
.header-actions .cart-btn {
  margin-left: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.12);
}
.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-hover); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-dim); color: var(--text); box-shadow: none; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.5rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-add-cart {
  min-width: 9.5rem;
}
.btn-add-cart.is-added,
.btn-add-cart:disabled.is-added {
  background: var(--success, #059669) !important;
  opacity: 1;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.btn-add-cart:disabled:not(.is-added) {
  opacity: 0.55;
}
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.cart-btn.cart-bounce {
  animation: cartBounce 0.18s ease;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* ── Hero ── */
.hero {
  padding: 5rem 0 4.5rem;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(0, 48, 135, 0.08);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 420px;
  height: 420px;
  background: var(--hero-accent);
  top: -140px;
  right: -100px;
}
.hero::after {
  width: 320px;
  height: 320px;
  background: var(--hero-accent-red);
  bottom: -120px;
  left: -80px;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--brand-blue);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin: 0 auto 2rem;
}
.hero .search-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 48, 135, 0.12);
}
.hero .suggestion-chip {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 48, 135, 0.12);
}
.hero .suggestion-chip:hover {
  background: var(--surface);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 48, 135, 0.1);
}
.hero .search-suggestions {
  justify-content: center;
}
.hero-stat-value { font-size: 1.35rem; font-weight: 700; color: var(--brand-blue); }
.hero-stat-value.red { color: var(--brand-red); }
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem; }

/* Search */
.search-box {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--mono);
  color: var(--text);
  outline: none;
}
.search-box input::placeholder { color: var(--text-dim); font-family: var(--font); }
.search-box .btn { border-radius: 0; margin: 0.3rem; }

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  align-items: center;
}
.search-suggestions-label { font-size: 0.78rem; color: var(--text-dim); }
.suggestion-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--mono);
  cursor: pointer;
  transition: all var(--transition);
}
.suggestion-chip:hover { border-color: var(--brand-red); color: var(--brand-red); background: var(--brand-red-light); }

/* ── Extensions ── */
.extensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.65rem;
}
.ext-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.ext-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.ext-card .ext-name { font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--brand-blue); }
.ext-card .ext-price { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.25rem; }
.paypal-box {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.paypal-box--hidden { display: none !important; }
.paypal-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.paypal-hint--warn { color: var(--warning); }
.paypal-buttons {
  min-height: 42px;
  width: 100%;
}
.paypal-buttons > div {
  width: 100% !important;
}
.paypal-error {
  display: none;
  color: var(--danger);
  font-size: 0.75rem;
  margin-top: 0.4rem;
}
.paypal-error.visible { display: block; }

.payment-group { margin-bottom: 0.75rem; }
.payment-label {
  font-weight: 500;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.35rem;
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: border-color var(--transition), background var(--transition);
}
.payment-option:hover { border-color: var(--brand-blue); }
.payment-option.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
  box-shadow: inset 0 0 0 1px var(--brand-blue);
}
.payment-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-option-logo {
  height: 20px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  display: block;
}
.payment-option-icon {
  height: 20px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}
.payment-option-icon svg { width: 22px; height: 22px; }
.payment-option.active .payment-option-icon { color: var(--brand-blue); }
.payment-option-text {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1;
}
.payment-option.active .payment-option-text { color: var(--brand-blue); }
.btn-pay {
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.payment-secure {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.68rem;
  margin-top: 0.5rem;
}

.price-dual { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem; }
.price-usd { font-weight: 600; color: var(--brand-blue); }
.price-sep { color: var(--text-dim); font-weight: 400; font-size: 0.85em; }
.price-htg { font-weight: 600; color: var(--brand-red); font-size: 0.92em; }
.price-suffix { color: var(--text-muted); font-size: 0.78em; margin-left: 0.15rem; }
.domain-price .price-dual { font-size: 1rem; }
.cart-summary .price-dual { font-size: 0.95rem; }
.summary-row .price-dual { font-size: inherit; }
.ext-card .price-dual { font-size: 0.78rem; }
.ext-card .price-usd, .ext-card .price-htg { font-weight: 600; }
.ext-card .ext-promo {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  background: var(--brand-red-light);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}
.feature-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--brand-blue); }
.feature-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }
.feature-icon { display: none; }

/* ── Promo ── */
.promo-banner {
  background: var(--surface);
  color: var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-red);
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.promo-banner h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--brand-blue); }
.promo-banner p { color: var(--text-muted); font-size: 0.9rem; }
.promo-code {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-light);
  border: 1px dashed rgba(192, 57, 43, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.promo-banner .btn-outline {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.promo-banner .btn-outline:hover { background: var(--brand-blue); color: white; border-color: var(--brand-blue); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-body { padding: 1.25rem; }
.card-header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

/* ── Domain results ── */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.filter-chip {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-family: var(--mono);
  font-weight: 500;
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--text-dim); color: var(--text); }
.filter-chip.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.domain-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
  transition: background var(--transition);
}
.domain-result:last-child { border-bottom: none; }
.domain-result:hover { background: var(--hover-bg); }
.domain-result.available { border-left: 3px solid var(--success); }
.domain-result.taken { border-left: 3px solid var(--border); opacity: 0.6; }
.domain-name { font-family: var(--mono); font-size: 0.9rem; font-weight: 500; }
.domain-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  margin-left: 0.5rem;
}
.status-available { background: var(--success-bg); color: var(--success); }
.status-taken { background: var(--hover-bg); color: var(--text-dim); }
.domain-price { font-family: var(--mono); font-weight: 600; color: var(--brand-blue); font-size: 0.875rem; }
.domain-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ── AI Panel ── */
.ai-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin-bottom: 1.75rem;
}
.ai-panel h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--brand-blue); }
.ai-input-row { display: flex; gap: 0.5rem; }
.ai-input-row input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
}
.ai-input-row input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1); }
.ai-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.ai-hint { margin-top: 0.65rem; color: var(--text-muted); font-size: 0.82rem; }
.ai-loading {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  align-items: center;
}
.ai-results { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.ai-suggestion {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}
.ai-suggestion:hover { border-color: var(--brand-red); color: var(--brand-red); background: var(--brand-red-light); }

/* ── Cart ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
}
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cart-item-info h4 { font-family: var(--mono); font-size: 0.95rem; font-weight: 500; }
.cart-item-options { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.65rem; }
.option-group label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}
.option-group select {
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
}
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: sticky;
  top: 72px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.empty-cart { text-align: center; padding: 3.5rem 2rem; color: var(--text-muted); }

/* ── Page header (inner pages) ── */
.page-header { padding: 2.5rem 0 1.5rem; }
.page-header h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.025em; color: var(--brand-blue); }
.page-header p { color: var(--text-muted); margin-top: 0.3rem; font-size: 0.95rem; }

/* ── Dashboard ── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 3.5rem;
}
.dashboard-main {
  width: 100%;
  min-width: 0;
}
.sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
}
.sidebar-nav__group {
  display: flex;
  flex-direction: column;
}
.sidebar-nav__sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.25rem;
}
.sidebar-nav__sub a {
  padding: 0.45rem 1rem 0.45rem 1.85rem;
  font-size: 0.8rem;
}
.sidebar-logout {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all var(--transition);
  font-size: 0.85rem;
}
.sidebar-nav a i {
  width: 1.1rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.92em;
}
.sidebar-nav a:hover { color: var(--text); background: var(--hover-bg); }
.sidebar-nav a.active {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border-left-color: var(--brand-red);
  font-weight: 600;
}
.sidebar-badge {
  margin-left: auto;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.35rem;
  border-radius: 100px;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dashboard-panel { display: none; }
.dashboard-panel.active { display: block; }

.mail-list { display: flex; flex-direction: column; }
.mail-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.mail-card-left { display: flex; align-items: center; gap: 0.85rem; }
.mail-card-right { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.mail-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.mail-address { font-weight: 600; color: var(--brand-blue); font-size: 0.9rem; }
.mail-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }
.mail-config-box { padding: 1rem 1.25rem 1.25rem; background: var(--surface-muted); border-bottom: 1px solid var(--border); }
.mail-config-heading { margin-bottom: 0.85rem; color: var(--brand-blue); font-size: 0.9rem; font-weight: 600; }
.mail-config-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.mail-config-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem; }
.mail-config-title { font-size: 0.78rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.mail-config-table { width: 100%; font-size: 0.8rem; }
.mail-config-table td { padding: 0.2rem 0; vertical-align: top; }
.mail-config-table td:first-child { color: var(--text-muted); width: 35%; }
.mail-config-table code { font-family: var(--mono); font-size: 0.75rem; color: var(--brand-blue); }
.mail-alias-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; }
.mail-alias-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(0, 48, 135, 0.08); color: var(--brand-blue);
  padding: 0.25rem 0.65rem; border-radius: 100px; font-size: 0.8rem; font-family: var(--mono);
}
.mail-alias-tag button { background: none; border: none; cursor: pointer; color: var(--brand-red); font-size: 1rem; line-height: 1; padding: 0; }
.mail-alias-input {
  flex: 1; padding: 0.5rem 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.875rem;
}

.table-toolbar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.table-toolbar input[type="search"],
.table-toolbar select {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
}
.table-toolbar input[type="search"] {
  flex: 1;
  min-width: 12rem;
}
.table-toolbar select { min-width: 8.5rem; }
.table-toolbar input[type="search"]:focus,
.table-toolbar select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.08);
}
.table-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.7rem 1.15rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.table-pager__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.domain-table { width: 100%; border-collapse: collapse; }
.domain-table th, .domain-table td {
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}
.domain-table th {
  background: var(--hover-bg);
  font-weight: 600;
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.domain-table tr:hover td { background: var(--hover-bg); }
.domain-table td strong { font-family: var(--mono); font-weight: 500; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--brand-blue-light); color: var(--brand-blue); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.stat-card .stat-value { font-size: 1.5rem; font-weight: 700; color: var(--brand-blue); }
.stat-card .stat-value.red { color: var(--brand-red); }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.15rem; }

.stats-grid--compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
  width: 100%;
}
.stats-grid--compact .stat-card {
  padding: 0.75rem 0.85rem;
  width: 100%;
  min-width: 0;
}
.stats-grid--compact .stat-value { font-size: 1.25rem; }
.stats-grid--compact .stat-label { font-size: 0.72rem; }
@media (max-width: 768px) {
  .stats-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .site-info-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .stats-grid--compact { grid-template-columns: 1fr; }
}
.overview-card-compact { margin-bottom: 0.85rem; }
.overview-card-compact .card-header { padding: 0.6rem 0.85rem; font-size: 0.8rem; }
.overview-tables-row {
  display: flex;
  width: 100%;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  align-items: stretch;
}
.overview-tables-row .overview-card-compact {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}
.overview-tables-row .domain-table {
  width: 100%;
}
@media (max-width: 768px) {
  .overview-tables-row { flex-direction: column; }
  .overview-tables-row .overview-card-compact { flex: 1 1 auto; }
}
.domain-table--compact th,
.domain-table--compact td { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
.domain-table--compact th { font-size: 0.72rem; }

/* ── Forms ── */
.form-group { margin-bottom: 0.85rem; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}
.dns-form .form-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  align-items: center;
}
.dns-form .form-row input, .dns-form .form-row select {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  animation: hcOverlayIn 0.22s ease;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-md);
}
.modal-overlay.open .modal {
  animation: hcModalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.65rem; color: var(--brand-blue); }
.modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1.25rem; }
.modal--wide {
  max-width: 42rem;
  max-height: min(86vh, 44rem);
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.1rem;
}
.modal__scroll {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0.15rem -0.25rem 0 0;
  padding-right: 0.35rem;
}
.modal--wide .env-editor { max-width: none; }
.deploy-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.deploy-history__item {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.84rem;
}
.deploy-history__time {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  padding-top: 0.15rem;
}
.deploy-history__pct {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.deploy-history__msg {
  display: inline;
  margin-left: 0.25rem;
}
.deploy-log {
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.github-account {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.github-account__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-muted);
}
.github-account__login {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.github-account__login a { color: inherit; }
.github-account__hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.github-connect-hero {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
  max-width: 32rem;
  margin: 0 auto;
}
.github-connect-hero > i {
  font-size: 2rem;
  color: var(--brand-blue);
}
.github-connect-hero h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.1rem;
  color: var(--brand-blue);
}
.github-connect-hero p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.btn-github-connect {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 11rem;
  justify-content: center;
}
.domain-menu { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.9rem; }
.domain-menu--extra { flex-direction: row; flex-wrap: wrap; margin-top: 0.75rem; }
.domain-menu-trigger,
.icon-btn {
  min-width: 2.1rem;
  padding: 0.4rem 0.65rem;
}
.domain-menu-trigger {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.domain-menu-trigger:hover:not(:disabled) {
  transform: none;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
  box-shadow: none;
}
.domain-menu-trigger:active:not(:disabled) {
  transform: scale(0.9);
}
.domain-menu-trigger i,
.icon-btn i { font-size: 1rem; }
.pw-field {
  position: relative;
  display: block;
}
.pw-field input {
  width: 100%;
  padding-right: 2.6rem;
}
.pw-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pw-field__toggle:hover {
  color: var(--brand-blue);
}
.secret-code {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.domain-menu-trigger i {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.domain-menu-trigger:hover i,
.domain-menu-trigger.is-pressed i {
  transform: rotate(90deg);
}
.domain-menu-trigger.is-pressed {
  animation: hcActionPulse 0.42s ease-out;
}
.domain-menu__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.modal-overlay.open .domain-menu > .domain-menu__btn {
  animation: hcMenuItemIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(1) { animation-delay: 0.04s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(2) { animation-delay: 0.07s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(3) { animation-delay: 0.1s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(4) { animation-delay: 0.13s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(5) { animation-delay: 0.16s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(6) { animation-delay: 0.19s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(7) { animation-delay: 0.22s; }
.modal-overlay.open .domain-menu > .domain-menu__btn:nth-child(8) { animation-delay: 0.25s; }
.domain-menu__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.domain-menu__label i {
  width: 1rem;
  color: var(--primary);
  text-align: center;
  transition: transform 0.2s ease;
}
.domain-menu__btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--hover-bg);
  transform: translateX(3px);
}
.domain-menu__btn:active:not(:disabled),
.domain-menu__btn.is-pressed:not(:disabled) {
  transform: translateX(3px) scale(0.985);
}
.domain-menu__btn:hover:not(:disabled) .domain-menu__label i {
  transform: scale(1.12);
}
.domain-menu__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.domain-menu__btn--static {
  cursor: default;
  pointer-events: none;
  background: var(--success-bg);
  border-color: #a7f3d0;
  color: var(--success);
}
.domain-menu__btn--static .domain-menu__label i,
.domain-menu__btn--static .domain-menu__hint {
  color: var(--success);
}
.domain-menu__hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
}
@keyframes hcOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hcModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes hcMenuItemIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes hcActionPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 48, 135, 0.28); }
  100% { box-shadow: 0 0 0 10px rgba(0, 48, 135, 0); }
}
@keyframes hcSubnavIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.sidebar-nav a:active {
  transform: scale(0.98);
}
.sidebar-nav a.is-pressed {
  animation: hcActionPulse 0.36s ease-out;
}
.sidebar-nav__sub {
  animation: hcSubnavIn 0.22s ease;
}
@media (prefers-reduced-motion: reduce) {
  .modal-overlay.open,
  .modal-overlay.open .modal,
  .modal-overlay.open .domain-menu > .domain-menu__btn,
  .domain-menu-trigger.is-pressed,
  .sidebar-nav a.is-pressed,
  .sidebar-nav__sub {
    animation: none;
  }
  .domain-menu-trigger i,
  .domain-menu__btn,
  .domain-menu__label i,
  .sidebar-nav a {
    transition: none;
  }
}
.site-name-link {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.site-name-link:hover strong { color: var(--primary); text-decoration: underline; }
.usage-bar__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}
.usage-bar__track {
  height: 8px;
  border-radius: 99px;
  background: var(--hover-bg);
  overflow: hidden;
}
.usage-bar__fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
}
.usage-bar__fill--hot { background: var(--danger); }
.site-delete-btn {
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
}
.site-delete-btn:hover:not(:disabled) {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.wizard-steps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.wizard-steps__n {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.75rem;
}
.wizard-steps li.is-current { color: var(--text); font-weight: 600; }
.wizard-steps li.is-current .wizard-steps__n,
.wizard-steps li.is-done .wizard-steps__n {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.wizard-title { font-size: 1.2rem; margin: 0 0 0.4rem; color: var(--brand-blue); }
.wizard-lead { margin: 0 0 1.15rem; color: var(--text-muted); font-size: 0.9rem; max-width: 40rem; }
.wizard-preview { margin: 0.75rem 0 0; font-size: 0.9rem; }
.wizard-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.wizard-choices--two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.wizard-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.wizard-card i { color: var(--primary); font-size: 1.15rem; }
.wizard-card span, .wizard-card em {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 400;
}
.wizard-card:hover:not(:disabled) { border-color: var(--primary); }
.wizard-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.08); }
.wizard-card:disabled { opacity: 0.55; cursor: not-allowed; }
.wizard-host-mode { display: flex; gap: 0.65rem; flex-wrap: wrap; margin: 1.1rem 0 0.85rem; }
.wizard-radio {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.wizard-radio.is-selected { border-color: var(--primary); }
.wizard-nav { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1.5rem; }

.env-editor {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 40rem;
}
.env-editor__head,
.env-editor__row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.85fr) minmax(11rem, 1.35fr) 2.2rem;
  gap: 0.5rem;
  align-items: center;
}
.env-editor__head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0 0.1rem 0.35rem;
  background: var(--surface);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.env-editor__row input {
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.3;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.env-editor__row input::placeholder {
  color: var(--text-dim);
  font-family: var(--mono);
}
.env-editor__row input:hover {
  border-color: #d1d5db;
  background: var(--surface);
}
.env-editor__row input:focus {
  border-color: var(--brand-blue);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}
.env-editor__remove {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.env-editor__remove:hover {
  background: var(--danger-bg);
  border-color: #fecaca;
  color: var(--danger);
}

.deploy-progress { display: none; margin: 1rem 0 0; max-width: 40rem; }
.deploy-progress.is-on { display: block; }
.deploy-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.deploy-progress__meta strong { color: var(--brand-blue, var(--primary)); font-variant-numeric: tabular-nums; }
.deploy-progress__track {
  height: 0.5rem;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.deploy-progress__fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.site-host-combo {
  position: relative;
  max-width: 32rem;
}
.site-host-combo input {
  width: 100%;
  font-family: var(--mono);
}
.site-host-list {
  display: none;
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% - 0.15rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 2px;
  max-height: 16rem;
  overflow: auto;
  box-shadow: var(--shadow-md);
}
.site-host-combo:focus-within .site-host-list { display: block; }
.site-host-option {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.85rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text);
}
.site-host-option:last-child { border-bottom: 0; }
.site-host-option:hover { background: var(--hover-bg); }
.site-host-option.is-used { opacity: 1; cursor: default; }
.site-host-option small,
.site-host-status {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  white-space: nowrap;
}
.site-host-status--ready {
  background: var(--success-bg);
  color: var(--success);
}
.site-host-status--used {
  background: var(--danger-bg);
  color: var(--danger);
  white-space: normal;
  text-align: right;
}
.site-host-status--create {
  background: var(--hover-bg);
  color: var(--text-muted);
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 22rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 0.85rem 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  animation: slideIn 0.25s ease;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.info { border-left: 3px solid var(--brand-blue); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.is-leaving {
  animation: toastOut 0.22s ease forwards;
}
.toast-close {
  margin-left: auto;
  flex-shrink: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}
.toast-close:hover { color: var(--text); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  to { transform: translateX(110%); opacity: 0; }
}

[x-cloak] { display: none !important; }

/* ── Notifications ── */
.notif-wrap { position: relative; display: inline-flex; }
.notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.notif-btn:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-btn i { font-size: 0.95rem; }
.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 92vw);
  max-height: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 260;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.notif-panel-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}
.notif-panel-footer {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.notif-panel-footer a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
}
.notif-panel-footer a:hover { text-decoration: underline; }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}
.notif-item:hover { background: var(--hover-bg); }
.notif-item.unread { background: rgba(0, 48, 135, 0.04); border-left: 3px solid var(--brand-blue); }
.notif-item-title { font-weight: 600; font-size: 0.85rem; color: var(--brand-blue); }
.notif-item-msg { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; line-height: 1.4; }
.notif-item-time { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.35rem; }
.notif-item-link { display: inline-block; margin-top: 0.35rem; font-size: 0.78rem; color: var(--brand-blue); font-weight: 600; text-decoration: none; }
.notif-empty { padding: 2rem 1rem; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

.notif-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.notif-page-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.notif-page-list { overflow: hidden; }
.notif-page-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  border-bottom: 1px solid var(--border-light);
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background var(--transition);
  font: inherit;
}
.notif-page-item:last-child { border-bottom: none; }
.notif-page-item:hover { background: var(--hover-bg); }
.notif-page-item.unread { background: rgba(0, 48, 135, 0.04); border-left: 3px solid var(--brand-blue); }
.notif-page-item-main { flex: 1; min-width: 0; }
.notif-page-item-open { color: var(--text-dim); font-size: 0.85rem; }
.notif-detail-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ── Footer ── */
.footer {
  background: #1e3a5f;
  border-top: none;
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.7;
}
.footer h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}
.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Pages internes ── */
.page-wrap {
  background: var(--surface-muted);
  min-height: 50vh;
}
/* ── Loading ── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-row { text-align: center; padding: 2.5rem; color: var(--text-muted); }

.hc-busy {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 420;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  padding: 1.25rem;
  cursor: wait;
}
#hc-page-busy {
  z-index: 520;
}
html.is-hc-busy,
html.is-hc-busy body {
  cursor: wait;
}
html.is-hc-busy body {
  pointer-events: none;
}
html.is-hc-busy #hc-page-busy {
  pointer-events: auto;
}
.hc-busy__box {
  width: min(100%, 22rem);
  padding: 1.6rem 1.4rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: hcModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.hc-busy__spinner {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.hc-busy__title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-blue);
}
.hc-busy__text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.hc-busy__bar {
  height: 4px;
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 99px;
  background: var(--hover-bg);
}
.hc-busy__bar span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 99px;
  background: var(--brand-blue);
  animation: hcBusyBar 1.15s ease-in-out infinite;
}
@keyframes hcBusyBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}
.hc-busy__steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}
.hc-busy__steps li {
  position: relative;
  padding: 0.35rem 0.7rem 0.35rem 1.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--hover-bg);
  animation: hcBusyStep 2.7s ease-in-out infinite;
}
.hc-busy__steps li::before {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.22rem;
  border-radius: 50%;
  background: currentColor;
}
.hc-busy__steps li:nth-child(2) { animation-delay: 0.9s; }
.hc-busy__steps li:nth-child(3) { animation-delay: 1.8s; }
@keyframes hcBusyStep {
  0%, 100% { color: var(--text-muted); background: var(--hover-bg); }
  35%, 55% { color: var(--brand-blue); background: var(--brand-blue-light); }
}
.hc-btn-spin {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}
.btn .hc-btn-spin { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hc-busy__spinner,
  .hc-btn-spin,
  .hc-busy__steps li,
  .hc-busy__box,
  .hc-busy__bar span {
    animation: none;
  }
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 2.5rem 0 2.5rem;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
}
.page-ref-home {
  color: var(--brand-blue);
  opacity: 0.72;
  text-decoration: none;
  transition: opacity var(--transition);
}
.page-ref-home:hover { opacity: 1; text-decoration: underline; }
.page-ref-sep {
  color: var(--brand-blue);
  opacity: 0.4;
  font-weight: 500;
}
.page-ref-current {
  color: var(--brand-blue);
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0.5rem 0 0.75rem;
}
.page-hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}
.page-plain {
  background: #fff !important;
  border-bottom: none;
  padding-bottom: 3rem;
}
.page-plain .page-ref {
  justify-content: center;
  margin-bottom: 0.35rem;
}
.page-plain .page-header {
  text-align: center;
  padding-bottom: 1rem;
}
.page-white .section-head,
.page-white .section-title,
.page-white .section-cta,
.page-white .page-header .section-label {
  text-align: center;
}
.page-white,
.page-white .section,
.page-white .page-plain {
  background: #fff !important;
}
.page-white .section:nth-of-type(even),
.page-white .section:nth-of-type(odd) {
  background: #fff !important;
}

/* ── Home / split sections ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-section-media { display: flex; justify-content: center; }
.split-section-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-lg);
}
.split-section-content .section-title {
  text-align: left;
  margin-bottom: 0.75rem;
}
.split-section-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.email-price {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}
.split-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.split-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.split-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
}
.section-cta { text-align: center; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-item[open] { border-color: rgba(0, 48, 135, 0.2); }
.faq-question {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after { content: '−'; color: var(--brand-red); }
.faq-answer { padding: 0 1.25rem 1rem; }
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  margin: 0;
  padding-top: 0.85rem;
}
.faq-contact {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.faq-contact a { color: var(--brand-blue); font-weight: 600; }
.faq-list--page { max-width: 800px; }

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.step-num {
  width: 36px; height: 36px;
  margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}
.step-icon { font-size: 1.75rem; margin-bottom: 0.65rem; }
.step-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--brand-blue); margin-bottom: 0.4rem; }
.step-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

.hosting-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.hosting-plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hosting-plan-card h2 {
  font-size: 1.25rem;
  color: var(--brand-blue);
  margin: 0;
}
.hosting-plan-card--featured {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.08);
}
.hosting-plan-badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  background: var(--brand-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.hosting-plan-price { margin: 0; }
.hosting-plan-card .split-points { flex: 1; margin: 0; }
.hosting-plan-card .btn { width: 100%; text-align: center; }
@media (max-width: 800px) {
  .hosting-plans { grid-template-columns: 1fr; }
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-details li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.contact-details strong { display: block; color: var(--brand-blue); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.contact-details a { color: var(--brand-blue); font-weight: 600; }
.contact-form-card .card-body { padding: 1.25rem; }
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  resize: vertical;
  min-height: 120px;
}
.form-error { display: block; color: var(--danger); font-size: 0.78rem; margin-top: 0.25rem; }
.alert-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: var(--success);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ── About ── */
.about-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ── SaaS landing ── */
.saas-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0, 48, 135, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}
.saas-tag--red { color: var(--brand-red); background: var(--brand-red-light); }
@media (min-width: 769px) {
  .saas-product--reverse .split-section-media { order: 2; }
  .saas-product--reverse .split-section-content { order: 1; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cart-layout, .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dns-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .menu-toggle { display: inline-flex; }
  .nav-icon-btn {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
  .nav-icon-label { display: none; }
  .header-actions { gap: 0.3rem; }
  .header-inner { padding: 0.65rem 0.85rem; }
  .search-box { flex-direction: column; }
  .search-box .btn { margin: 0 0.3rem 0.3rem; border-radius: var(--radius-sm); }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-stats { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-inner { flex-direction: column; text-align: center; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section-content .section-title { text-align: center; }
  .split-section-media { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
  .saas-product--reverse .split-section-media { order: -1; }
}

/* ── Payment thanks ── */
.thanks-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 0.5rem 0 1.5rem;
}
.thanks-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.08);
}
.thanks-card {
  text-align: left;
  margin: 0.25rem auto 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.thanks-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}
.thanks-row:last-of-type { border-bottom: none; }
.thanks-row strong { color: var(--text); }
.thanks-order { font-family: var(--mono); font-size: 0.86rem; }
.thanks-items {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.9rem;
}
.thanks-items li { margin: 0.2rem 0; }
.thanks-note {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.thanks-empty {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.thanks-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ── HTTP error pages ── */
.error-shell {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}
.error-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0 2rem;
}
.error-code {
  font-size: clamp(4.2rem, 14vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--brand-blue);
  margin: 0 0 0.85rem;
}
.error-code--403 { color: var(--warning); }
.error-code--500 { color: var(--brand-red); }
.error-card h1 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0 0 0.65rem;
}
.error-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
