/* ============================================================
   Modusdom — Public site (friendly mainstream theme)
   Light, modern, accessible. Inter only. Big rounded CTAs.
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-2:      #f8fafc;
  --bg-3:      #f1f5f9;
  --surface:   #ffffff;

  --text:      #0f172a;
  --text-2:    #1e293b;
  --muted:     #475569;
  --muted-2:   #64748b;
  --muted-3:   #94a3b8;

  --brand:     #0891b2;          /* friendly cyan-teal */
  --brand-2:   #0e7490;
  --brand-soft:#ecfeff;
  --brand-tint:#cffafe;

  --cta:       #f97316;          /* warm orange CTA */
  --cta-2:     #ea580c;
  --cta-soft:  #fff7ed;

  --ok:        #16a34a;
  --ok-soft:   #dcfce7;
  --warn:      #eab308;
  --err:       #ef4444;
  --err-soft:  #fee2e2;

  --border:    #e2e8f0;
  --border-2:  #cbd5e1;

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow:    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; transition: color .12s ease; }
a:hover { color: var(--brand-2); text-decoration: underline; }

code {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  background: var(--bg-3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--text);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 800px; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  letter-spacing: -0.025em;
  white-space: nowrap;
  font-weight: 800;
}
.brand-modus { color: var(--text); }
.brand-dom   { color: var(--brand); }
.admin-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-left: 10px;
  padding: 3px 8px;
  background: var(--bg-3);
  border-radius: 4px;
  vertical-align: 3px;
}

.primary-nav { display: flex; gap: 8px; flex: 1; justify-content: center; }
.primary-nav a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .12s, color .12s;
}
.primary-nav a:hover { background: var(--bg-2); color: var(--brand); text-decoration: none; }
.primary-nav a.active { color: var(--brand); background: var(--brand-soft); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text); font-size: 16px; padding: 10px 0; }

@media (max-width: 880px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .12s ease;
  letter-spacing: -0.005em;
  text-align: center;
  line-height: 1.3;
  font-family: inherit;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover { background: var(--cta-2); border-color: var(--cta-2); transform: translateY(-1px); text-decoration: none; box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35); color: #fff; }

.btn-brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-brand:hover { background: var(--brand-2); border-color: var(--brand-2); transform: translateY(-1px); text-decoration: none; color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.btn-link {
  background: transparent;
  color: var(--brand);
  padding: 12px 0;
  border: 0;
}

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 88px 0 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--text);
}
.hero h1 .accent { color: var(--brand); }

.hero .lead, .lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-search {
  max-width: 640px;
  margin: 0 auto 24px;
  display: flex;
  gap: 0;
  background: #fff;
  border: 2px solid var(--border-2);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  transition: border-color .15s, box-shadow .15s;
}
.hero-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-md);
}
.hero-search input {
  flex: 1;
  border: 0;
  padding: 14px 22px;
  font-size: 17px;
  font-family: inherit;
  background: transparent;
  outline: none;
  color: var(--text);
}
.hero-search input::placeholder { color: var(--muted-3); }
.hero-search button { border-radius: 999px; padding: 14px 28px; }

.hero-cta-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.hero-cta-row a { color: var(--brand); font-weight: 500; }

/* ============================================================
   Page hero
   ============================================================ */
.page-hero {
  background: var(--bg-2);
  padding: 64px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-weight: 800;
}
.page-hero .lead { max-width: 720px; margin: 0 auto; }

/* ============================================================
   Bullets (home)
   ============================================================ */
.bullets { padding: 80px 0 24px; }
.bullets-heading {
  text-align: center;
  margin: 0 0 48px;
}
.bullets-heading h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
.bullets-heading p { color: var(--muted); font-size: 17px; max-width: 580px; margin: 0 auto; }

.bullet-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.bullet {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.bullet:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-tint); }
.bullet-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 16px;
}
.bullet h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.bullet p  { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ============================================================
   Feature card (offer / bundle)
   ============================================================ */
.feature-section { padding: 64px 0; }
.feature-card {
  background: var(--brand);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.feature-card .feature-eyebrow { color: var(--brand-tint); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.feature-card h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.025em; }
.feature-card p { color: rgba(255,255,255,0.92); font-size: 17px; line-height: 1.55; margin: 0 0 24px; max-width: 540px; }
.feature-card ul { margin: 0 0 28px; padding: 0; list-style: none; }
.feature-card ul li { padding: 6px 0 6px 28px; position: relative; color: rgba(255,255,255,0.95); font-size: 15.5px; }
.feature-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fff;
  background: rgba(255,255,255,0.18);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  top: 8px;
}
.feature-card .btn-primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  box-shadow: none;
}
.feature-card .btn-primary:hover { background: var(--brand-tint); color: var(--brand-2); border-color: var(--brand-tint); }
.feature-card .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.feature-card .btn-ghost:hover { border-color: #fff; color: #fff; }
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 200px;
  opacity: 0.18;
  line-height: 1;
}

@media (max-width: 800px) {
  .feature-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .feature-visual { display: none; }
}

/* ============================================================
   Why grid
   ============================================================ */
.why { padding: 80px 0; background: var(--bg-2); }
.why h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
  text-align: center;
}
.why > .container > p { color: var(--muted); font-size: 17px; max-width: 580px; margin: 0 auto 48px; text-align: center; }
.why-grid {
  display: grid;
  gap: 32px 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.why-grid h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}
.why-grid p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  padding: 88px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.cta-banner p { color: rgba(255,255,255,0.92); margin: 0 0 32px; font-size: 18px; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--cta);
  border-color: #fff;
}
.cta-banner .btn-primary:hover { background: var(--cta-soft); }

/* ============================================================
   Search page
   ============================================================ */
.search-form {
  max-width: 600px;
  margin: 32px auto 0;
  display: flex;
  background: #fff;
  border: 2px solid var(--border-2);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow);
  transition: all .15s;
}
.search-form:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.search-form input {
  flex: 1;
  border: 0;
  padding: 12px 22px;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  outline: none;
  color: var(--text);
}
.search-form button { border-radius: 999px; padding: 12px 24px; }

.tld-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px auto 0;
  justify-content: center;
  align-items: center;
  max-width: 720px;
}
.tld-row-label { color: var(--muted-3); font-size: 13px; margin-right: 6px; }
.tld-chip {
  background: var(--bg-3);
  color: var(--text-2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.search-results { padding: 32px 0; }

.results-loading, .results-placeholder, .results-error {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 24px 28px;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}
.results-error { color: var(--err); background: var(--err-soft); border-color: #fecaca; }
.results-placeholder p { margin: 0 0 8px; }
.results-placeholder p:last-child { margin: 0; }

.results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.result-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  transition: border-color .15s, box-shadow .15s;
}
.result-row:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.result-row.available { border-color: #bbf7d0; background: #f0fdf4; }
.result-row.available:hover { border-color: var(--ok); box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15); }
.result-domain {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}
.result-status { display: flex; align-items: center; gap: 16px; }
.result-price { font-size: 18px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.result-price-period { font-size: 13px; color: var(--muted); font-weight: 500; }

@media (max-width: 600px) {
  .result-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   Pills
   ============================================================ */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill-ok    { background: var(--ok-soft); color: var(--ok); }
.pill-muted { background: var(--bg-3); color: var(--muted); }
.pill-warn  { background: #fef9c3; color: #a16207; }
.pill-err   { background: var(--err-soft); color: var(--err); }

/* ============================================================
   Search help
   ============================================================ */
.search-help { padding: 64px 0 80px; background: var(--bg-2); }
.help-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.help-grid h4 { margin: 0 0 8px; color: var(--text); font-size: 16px; font-weight: 700; }
.help-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ============================================================
   Services grid
   ============================================================ */
.services-grid-section { padding: 64px 0; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  margin-bottom: 20px;
  transition: transform .15s, box-shadow .15s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}
.service-card h3 { margin: 0; font-size: 20px; color: var(--text); font-weight: 700; }
.service-card > p { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.service-includes { margin: 0 0 18px; padding-left: 0; list-style: none; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.service-includes li { padding-left: 26px; position: relative; }
.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.service-card > a { color: var(--brand); font-size: 14.5px; font-weight: 600; }

/* ============================================================
   Bundles / Solutions grid (NO prices)
   ============================================================ */
.bundles-grid-section { padding: 32px 0 64px; }
.bundles-grid-section .container {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.bundle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.bundle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bundle-featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-md);
}
.bundle-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
}
.bundle-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.bundle-name { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: var(--text); letter-spacing: -0.015em; }
.bundle-for { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 20px; }
.bundle-card ul { margin: 0 0 24px; padding: 0; list-style: none; }
.bundle-card ul li { padding: 6px 0 6px 26px; position: relative; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.bundle-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}
.bundle-card .btn { margin-top: auto; }

/* ============================================================
   About / Legal prose
   ============================================================ */
.about-prose, .legal-prose { padding: 48px 0 80px; background: var(--bg); }
.about-prose .lead-prose {
  font-size: 19px;
  color: var(--text);
  border-left: 3px solid var(--brand);
  padding: 8px 0 8px 22px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.about-prose h2, .legal-prose h2 {
  font-size: 26px;
  margin: 40px 0 12px;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.about-prose p, .legal-prose p, .legal-prose ul, .legal-prose ol, .about-prose ul, .about-prose ol {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
  margin: 8px 0;
}
.about-prose ul, .legal-prose ul, .legal-prose ol, .about-prose ol { padding-left: 24px; }
.belief-list li { margin: 8px 0; }
.belief-list strong { color: var(--text); }

/* ============================================================
   Book / Contact
   ============================================================ */
.book-section { padding: 48px 0 80px; }
.book-section .container {
  display: grid;
  gap: 48px;
  grid-template-columns: 2fr 1fr;
}
.calendly-embed { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; min-height: 700px; }
.book-placeholder { display: flex; align-items: center; min-height: 380px; }
.placeholder-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  width: 100%;
}
.placeholder-card h3 { margin: 0 0 12px; font-size: 22px; color: var(--text); font-weight: 700; }
.placeholder-card p { color: var(--muted); margin: 0 0 18px; }
.book-side h3 { margin: 16px 0 8px; color: var(--text); font-size: 16px; font-weight: 700; }
.book-side h3:first-child { margin-top: 0; }
.book-side p, .book-side ol { color: var(--muted); font-size: 15px; line-height: 1.6; }
.book-points li { margin: 6px 0; }

@media (max-width: 800px) { .book-section .container { grid-template-columns: 1fr; } }

.contact-section { padding: 48px 0 80px; }
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1.6fr;
}
.contact-info h3 {
  color: var(--text);
  margin: 24px 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-info strong { color: var(--text); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}
.contact-form label {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  background: #fff;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .12s, box-shadow .12s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .hp { position: absolute; left: -10000px; }
.contact-form .btn { align-self: flex-start; }
.form-fine-print { color: var(--muted-3); font-size: 13px; margin: 0; line-height: 1.5; }

.contact-success {
  background: var(--ok-soft);
  border: 1px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-success h3 { margin: 0 0 12px; font-size: 24px; color: var(--ok); font-weight: 800; }

@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 56px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr repeat(3, 1fr);
  margin-bottom: 36px;
}
.footer-brand .brand { display: block; margin-bottom: 12px; }
.footer-tagline { color: var(--muted); margin: 0; font-size: 14px; max-width: 280px; }
.footer-legal { color: var(--muted-3); font-size: 13px; margin: 16px 0 4px; }
.footer-col h4 {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: var(--brand); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-3);
  font-size: 13px;
}

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Checkout pipeline
   ============================================================ */
.checkout-section { padding: 32px 0 80px; }

.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.checkout-domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.checkout-domain-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  font-family: 'SFMono-Regular', Menlo, monospace;
}
.checkout-options { padding: 8px 28px; }
.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.checkout-row:last-child { border-bottom: 0; }
.checkout-row > span:first-child {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.checkout-row-toggle small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}
.checkout-row select {
  background: #fff;
  border: 1.5px solid var(--border-2);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.checkout-notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin: 8px 28px 16px;
}
.checkout-notice code { background: #fff; color: #9a3412; }

.checkout-totals {
  padding: 16px 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.checkout-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14.5px;
}
.checkout-totals-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.checkout-totals-row.muted { color: var(--muted); }

.checkout-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.checkout-trust {
  color: var(--muted);
  font-size: 13.5px;
  margin: 20px 0 0;
  text-align: center;
  line-height: 1.6;
}

.checkout-unavailable {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  text-align: center;
}
.checkout-unavailable h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; }
.checkout-unavailable code { font-size: 18px; }

/* Info / contact form */
.checkout-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.checkout-form .form-section {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-form .form-section legend {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  padding: 0;
  margin-bottom: 6px;
}
.checkout-form label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-form input, .checkout-form select, .checkout-form textarea {
  background: #fff;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color .12s, box-shadow .12s;
}
.checkout-form input:focus, .checkout-form select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.checkout-form .form-help {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 4px;
}

.checkout-summary-pill {
  background: var(--brand-soft);
  border: 1px solid var(--brand-tint);
  border-radius: 999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.checkout-summary-pill strong {
  color: var(--text);
  font-family: 'SFMono-Regular', Menlo, monospace;
}
.checkout-edit {
  margin-left: auto;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
}

/* Success */
.checkout-success-card {
  background: #fff;
  border: 2px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-icon {
  width: 72px;
  height: 72px;
  background: var(--ok-soft);
  color: var(--ok);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 auto 24px;
}
.checkout-success-card h3 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.checkout-success-card .lead {
  color: var(--text-2);
  font-size: 17px;
  margin: 0 auto 32px;
  max-width: 520px;
}
.success-summary {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 auto 28px;
  text-align: left;
  max-width: 520px;
}
.success-summary h4 {
  color: var(--text);
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.success-summary ol {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 22px;
  margin: 0;
}
.success-summary li { margin: 6px 0; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.checkout-pending-card, .checkout-error-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
}
.checkout-error-card { border-color: #fca5a5; }
.checkout-error-card h3 { color: var(--err); margin: 0 0 12px; }
.checkout-pending-card h3 { margin: 0 0 12px; }

.dev-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
}
.dev-notice code { background: #fff; color: #92400e; }

/* ============================================================
   Pricing page (customer-facing — retail only, no wholesale/markup)
   ============================================================ */
.pricing-section { padding: 48px 0 80px; }
.section-h {
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  font-weight: 800;
}
.section-sub { color: var(--muted); margin: 0 0 24px; font-size: 16px; }

.price-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-list-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.price-list-row:last-child { border-bottom: 0; }
.price-list-row:hover { background: var(--bg-2); }
.price-list-tld {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-family: 'SFMono-Regular', Menlo, monospace;
}
.price-list-extras { font-size: 13.5px; }
.price-list-amount {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-list-period { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 2px; }

@media (max-width: 600px) {
  .price-list-row { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .price-list-row .btn { grid-column: 1 / -1; justify-self: start; }
}

.pricing-footnote { color: var(--muted); font-size: 14px; margin: 16px 0 0; text-align: center; }

.info-card-light {
  background: var(--brand-soft);
  border: 1px solid var(--brand-tint);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 12px;
}
.info-card-light p { color: var(--text-2); font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.info-card-light p:last-child { margin-bottom: 0; }

/* ============================================================
   Header — right-side cluster (sign in / user pill / CTA)
   ============================================================ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-signin {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
}
.nav-signin:hover { background: var(--bg-2); color: var(--brand); text-decoration: none; }

/* User pill (logged-in chip in header) */
.user-pill { position: relative; }
.user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  font: inherit;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.user-pill-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.user-pill.open > .user-pill-btn { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}
.user-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-chev { color: var(--muted-2); transition: transform .15s ease; }
.user-pill.open .user-chev { transform: rotate(180deg); color: var(--brand); }

.user-pill-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 100;
}
.user-pill.open .user-pill-menu { display: block; }
.user-menu-head { padding: 8px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.user-menu-name { font-weight: 700; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-email { font-size: 12.5px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-pill-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}
.user-pill-menu a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.user-menu-sep { height: 1px; background: var(--border); margin: 6px 4px; }
.user-menu-out { color: var(--muted) !important; }
.user-menu-out:hover { background: var(--err-soft) !important; color: var(--err) !important; }

/* Mobile nav addenda */
.mobile-nav-sep { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-nav-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); padding: 6px 0; }

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

/* ============================================================
   Account area — sidebar + content layout (inside public chrome)
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding-top: 32px;
  padding-bottom: 80px;
  align-items: start;
}
.account-sidebar {
  position: sticky;
  top: 92px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: background .12s, color .12s;
}
.account-nav a:hover { background: var(--bg-2); color: var(--brand); text-decoration: none; }
.account-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.account-nav .acct-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  font-size: 16px;
  opacity: 0.9;
}
.account-nav .acct-secondary { color: var(--muted); font-size: 13.5px; }
.account-nav .acct-secondary:hover { color: var(--brand); }
.account-nav .acct-logout:hover { color: var(--err); background: var(--err-soft); }
.acct-sep { height: 1px; background: var(--border); margin: 10px 6px; }

.account-content { min-width: 0; }
.account-content h1 {
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

/* Account: login card */
.account-login-wrap { padding-top: 60px; padding-bottom: 80px; }
.account-login-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 440px;
  margin: 0 auto;
}
.account-login-card h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
.account-login-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.account-login-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.account-login-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  font: inherit;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}
.account-login-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.btn-block { width: 100%; }
.account-login-help { color: var(--muted); font-size: 14px; margin-top: 20px; text-align: center; }
.form-error {
  background: var(--err-soft);
  color: var(--err);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 880px) {
  .account-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .account-sidebar { position: static; }
  .account-nav { flex-direction: row; flex-wrap: wrap; }
  .account-nav a { padding: 8px 12px; font-size: 13px; }
  .acct-sep { display: none; }
  .account-nav .acct-secondary { display: none; }
}

/* ============================================================
   Search v2 — mode tabs, TLD picker chips, ModusAI results
   ============================================================ */
.search-mode-tabs {
  display: inline-flex;
  background: var(--bg-3);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin: 0 auto 20px;
}
.search-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.search-mode-tab:hover { color: var(--text); }
.search-mode-tab.active {
  background: var(--bg);
  color: var(--brand);
  box-shadow: var(--shadow);
}
.search-mode-tab .mode-ico { font-size: 16px; }

.search-input-wrap { flex: 1; display: flex; }
.search-input-wrap.is-hidden { display: none; }
.search-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  padding: 14px 8px 14px 18px;
  color: var(--text);
  outline: none;
}

/* TLD picker — overrides the older static .tld-chip pill */
.tld-picker {
  max-width: 880px;
  margin: 28px auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px 16px;
  box-shadow: var(--shadow);
}
.tld-picker-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.tld-picker-count { font-weight: 500; color: var(--muted-2); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.tld-picker-toggle {
  margin-left: auto;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--brand);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  padding: 4px 8px;
  border-radius: 6px;
}
.tld-picker-toggle:hover { background: var(--brand-soft); }
.tld-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Override the static .tld-chip pill from the old hero — when used inside .tld-chips, it's an interactive label */
.tld-chips label.tld-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--bg-2);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
  user-select: none;
}
.tld-chips label.tld-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tld-chips label.tld-chip:hover { border-color: var(--brand); color: var(--brand); }
.tld-chips label.tld-chip.checked {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}
.tld-chip-ext { font-weight: 700; }
.tld-chip-note { font-size: 11.5px; color: var(--muted-2); }
.tld-chips label.tld-chip.checked .tld-chip-note { color: var(--brand-2); opacity: 0.85; }

/* ModusAI result grouping */
.ai-results-head {
  background: var(--brand-soft);
  border: 1px solid var(--brand-tint);
  color: var(--brand-2);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14.5px;
  margin-bottom: 20px;
}
.ai-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}
.ai-results { display: flex; flex-direction: column; gap: 18px; }
.ai-group {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px 8px;
  box-shadow: var(--shadow);
}
.ai-group.no-avail { opacity: 0.7; }
.ai-group-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.ai-group-rows .result-row { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.ai-group-rows .result-row:last-child { border-bottom: 0; }

/* ============================================================
   Account: inline toggles + row actions
   ============================================================ */
.inline-form { display: inline; margin: 0; }
.pill-toggle {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  min-width: 48px;
  transition: background .12s, color .12s, border-color .12s;
}
.pill-toggle.on  { background: var(--ok-soft); color: #15803d; border-color: #bbf7d0; }
.pill-toggle.off { background: var(--bg-3);    color: var(--muted); border-color: var(--border); }
.pill-toggle:hover.on  { background: #bbf7d0; }
.pill-toggle:hover.off { background: var(--border); color: var(--text-2); }

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.btn.btn-xs {
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
}

/* Flash messages */
.admin-flash {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14.5px;
  font-weight: 500;
}
.admin-flash.flash-ok   { background: var(--ok-soft);   color: #15803d; border: 1px solid #bbf7d0; }
.admin-flash.flash-err  { background: var(--err-soft);  color: var(--err); border: 1px solid #fecaca; }
.admin-flash.flash-warn { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* Search loading micro-polish */
.loading-tlds {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}
.loading-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--brand-tint);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Page head (account)
   ============================================================ */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.page-head h1 { margin: 0 0 4px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.page-head-sub { margin: 0; color: var(--muted); font-size: 14.5px; }
.page-head-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.acct-crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.acct-crumb a { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.acct-crumb a:hover { color: var(--brand); text-decoration: none; }
.acct-crumb .crumb-back { transform: rotate(180deg); }

/* ============================================================
   Icons baseline
   ============================================================ */
.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.account-nav a .icon { margin-right: 12px; opacity: 0.85; }
.account-nav a.active .icon { opacity: 1; }
.btn .icon { vertical-align: -3px; }

/* ============================================================
   Filter tabs (used on My domains)
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  align-items: stretch;
  flex-wrap: wrap;
}
.filter-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.filter-tabs a:hover { color: var(--text); text-decoration: none; }
.filter-tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }
.filter-count {
  background: var(--bg-3);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}
.filter-tabs a.active .filter-count { background: var(--brand-soft); color: var(--brand); }
.filter-count-warn { background: #fef3c7 !important; color: #92400e !important; }
.filter-count-err { background: var(--err-soft) !important; color: var(--err) !important; }
.filter-search {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  margin-bottom: 6px;
}
.filter-search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  width: 200px;
  padding: 4px 0;
}
@media (max-width: 700px) {
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { flex: 1; width: auto; }
}

/* ============================================================
   Status badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.badge-ok    { background: var(--ok-soft);  color: #15803d; border-color: #bbf7d0; }
.badge-warn  { background: #fef3c7;          color: #92400e; border-color: #fde68a; }
.badge-err   { background: var(--err-soft); color: var(--err); border-color: #fecaca; }
.badge-muted { background: var(--bg-3);     color: var(--muted); border-color: var(--border); }

/* ============================================================
   Toggle switch (iOS-style)
   ============================================================ */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}
.switch-sm { width: 38px; height: 22px; }
.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  inset: 0;
  background: var(--border-2);
  border-radius: 999px;
  transition: background .18s ease;
}
.switch-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: transform .18s ease;
}
.switch-sm .switch-slider::before { width: 16px; height: 16px; }
.switch input:checked + .switch-slider { background: var(--brand); }
.switch input:checked + .switch-slider::before { transform: translateX(18px); }
.switch-sm input:checked + .switch-slider::before { transform: translateX(16px); }
.switch input:disabled + .switch-slider { opacity: 0.5; cursor: wait; }
.switch input:focus-visible + .switch-slider { box-shadow: 0 0 0 3px var(--brand-soft); }

.switch-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.switch-label { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ============================================================
   Domain list (card layout)
   ============================================================ */
.domain-list { display: flex; flex-direction: column; gap: 12px; }
.domain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: border-color .12s, box-shadow .12s;
}
.domain-card:hover { border-color: var(--brand-tint); box-shadow: var(--shadow-md); }
.domain-card.hidden-by-filter { display: none; }
.domain-card-name a {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-block;
}
.domain-card-name a:hover { color: var(--brand); text-decoration: none; }
.domain-card-status { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.domain-card-expiry { font-size: 12.5px; color: var(--muted); }
.domain-card-toggles {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.domain-card-actions { display: flex; gap: 8px; }
@media (max-width: 900px) {
  .domain-card { grid-template-columns: 1fr; gap: 16px; }
  .domain-card-toggles { gap: 14px; }
}

/* ============================================================
   Domain detail page
   ============================================================ */
.domain-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.domain-detail-eyebrow {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.domain-detail-title {
  font-size: 32px;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  word-break: break-all;
}
.domain-detail-status { text-align: right; }
.domain-detail-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14.5px;
}
.banner-warn { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.banner-err  { background: var(--err-soft); border: 1px solid #fecaca; color: #991b1b; }

.detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.detail-card-head { margin-bottom: 16px; }
.detail-card-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.detail-card-head h2 .icon { color: var(--brand); }
.detail-card-head .head-meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.detail-card-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.detail-card-action { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.detail-card-action-row { padding-top: 4px; border-top: 0; margin-top: 4px; }
.detail-card-danger { border-color: #fecaca; }
.detail-card-danger .detail-card-head h2 .icon { color: var(--err); }

.detail-rows { display: flex; flex-direction: column; }
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row-title { font-weight: 600; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.detail-row-desc { color: var(--muted); font-size: 13px; max-width: 540px; line-height: 1.5; }

.detail-empty {
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px dashed var(--border-2);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.detail-empty p { margin: 4px 0; }

.detail-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 24px;
  margin: 0;
  font-size: 14px;
}
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; color: var(--text); white-space: pre-line; }

.dns-preview {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 13px;
}
.dns-preview-row {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  align-items: baseline;
}
.dns-preview-row + .dns-preview-row { border-top: 1px dashed var(--border); }
.dns-type {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.dns-host { font-weight: 600; color: var(--text); }
.dns-arrow { color: var(--muted-3); }
.dns-value { color: var(--text-2); word-break: break-all; }
.dns-preview-more { padding: 8px 0 0; color: var(--muted); font-size: 12px; font-family: var(--font-sans); border-top: 1px dashed var(--border); margin-top: 6px; }

/* ============================================================
   Admin: email templates editor
   ============================================================ */
.tmpl-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.tmpl-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 76px;
}
.tmpl-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-2);
}
.tmpl-list a:hover { background: var(--bg-2); text-decoration: none; }
.tmpl-list a.active { background: var(--brand-soft); color: var(--brand); }
.tmpl-name { font-weight: 600; font-size: 14px; }
.tmpl-when { font-size: 12px; color: var(--muted); line-height: 1.4; }
.tmpl-list a.active .tmpl-when { color: var(--brand-2); opacity: .9; }
.tmpl-edited {
  display: inline-block;
  background: var(--cta-soft);
  color: var(--cta-2);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tmpl-editor {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.tmpl-editor-head h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.tmpl-editor-head p  { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.tmpl-vars {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px dashed var(--border-2);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 18px;
}
.tmpl-vars code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 6px;
  font-size: 11.5px;
  margin: 0 3px;
}

.tmpl-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 14px;
}
.tmpl-form input[type="text"],
.tmpl-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}
.tmpl-form textarea {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.55;
  resize: vertical;
  min-height: 240px;
}
.tmpl-form input:focus,
.tmpl-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

@media (max-width: 900px) {
  .tmpl-layout { grid-template-columns: 1fr; }
  .tmpl-list { position: static; }
}

/* Admin section summary (collapsible details) */
.admin-section-summary {
  cursor: pointer;
  padding: 8px 0;
  font-size: 15px;
}

/* ============================================================
   Checkout add-ons step
   ============================================================ */
.addons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 920px) { .addons-layout { grid-template-columns: 1fr; } }

.addons-category {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.addons-category-head h2 { font-size: 19px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.addons-category-head p  { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.addons-grid { display: flex; flex-direction: column; gap: 10px; }

.addon-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .12s, background .12s, box-shadow .12s;
  position: relative;
}
.addon-card:hover { border-color: var(--brand-tint); background: var(--bg-2); }
.addon-card.checked { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.addon-card.disabled { opacity: 0.55; cursor: not-allowed; }
.addon-card.disabled:hover { background: var(--bg); border-color: var(--border); }
.addon-card input { margin: 0; flex-shrink: 0; accent-color: var(--brand); width: 18px; height: 18px; }
.addon-card-body { min-width: 0; }
.addon-badge {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.addon-name { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 3px; }
.addon-desc { color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.addon-note { color: var(--muted); font-size: 12.5px; margin-top: 6px; font-style: italic; }
.addon-price { text-align: right; flex-shrink: 0; }
.addon-price strong { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.addon-price-period { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.addon-price-partner {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--bg-3);
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.addon-card-skip { background: var(--bg-2); border-style: dashed; }
.addon-card-skip .addon-name { font-weight: 600; color: var(--muted); }
.addon-card-skip .addon-desc { color: var(--muted-2); }

/* Order summary sidebar */
.checkout-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  position: sticky;
  top: 92px;
  box-shadow: var(--shadow);
}
.summary-head {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .muted { font-size: 12px; }
.summary-total {
  font-size: 16px;
  font-weight: 700;
  border-top: 2px solid var(--border);
  border-bottom: 0;
  padding-top: 14px;
  margin-top: 8px;
}
.summary-total > div:last-child { color: var(--brand); font-size: 22px; font-weight: 800; }
.summary-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   Email verification banner (top of every page when unverified)
   ============================================================ */
.verify-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: #78350f;
  font-size: 14px;
  padding: 10px 0;
}
.verify-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.verify-banner a {
  color: #92400e;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.verify-banner a:hover { color: #78350f; }

/* ============================================================
   OAuth (Sign in with Google / Microsoft) buttons
   ============================================================ */
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .12s, background .12s, box-shadow .12s;
  text-decoration: none;
}
.oauth-btn:hover { border-color: var(--text-2); background: var(--bg-2); text-decoration: none; }
.oauth-btn svg { flex-shrink: 0; }

.oauth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--muted-2);
  font-size: 12.5px;
}
.oauth-divider::before, .oauth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}
.oauth-divider span { padding: 0 14px; }

/* ============================================================
   Misc / utility
   ============================================================ */
.text-center { text-align: center; }
