/* ============================================================
   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:     #0e7490;          /* darker teal — 5.0:1 on white, passes WCAG AA */
  --brand-2:   #155e75;          /* even darker on hover */
  --brand-soft:#ecfeff;
  --brand-tint:#cffafe;
  --brand-bright: #0891b2;       /* legacy bright teal — for large hero accents only */

  --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: 28px;
  grid-template-columns: 1.6fr repeat(5, 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: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 12.5px; margin-bottom: 12px; }
.footer-col a { font-size: 13.5px; padding: 3px 0; }

/* ============================================================
   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;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ai-quota {
  margin-left: auto;
  font-size: 12.5px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--brand-tint);
  border-radius: 100px;
  color: var(--brand-2);
  font-weight: 600;
  cursor: default;
}
.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-apple { background: #000; color: #fff; border-color: #000; }
.oauth-apple:hover { background: #1a1a1a; border-color: #1a1a1a; color: #fff; background-color: #1a1a1a; }

.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; }

/* ============================================================
   Checkout: promo code box
   ============================================================ */
.promo-box {
  margin-top: 14pt;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.promo-box summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  padding: 6px 0;
  user-select: none;
}
.promo-box summary:hover { color: var(--brand-2); }
.promo-box[open] summary { color: var(--text); }
.promo-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.promo-form input {
  flex: 1;
  font: inherit;
  font-size: 13.5px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
}
.promo-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.promo-msg {
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
}
.promo-msg.ok  { color: var(--ok); }
.promo-msg.err { color: var(--err); }
.promo-msg.muted { color: var(--muted); }

/* ============================================================
   Account dashboard
   ============================================================ */
.dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.dash-hero h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.dash-hero-sub { margin: 0; color: var(--muted); font-size: 15px; }
.dash-hero-sub a { color: var(--brand); font-weight: 600; }

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

/* Stat tiles */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.dash-stat {
  display: flex;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transition: border-color .12s, box-shadow .12s;
}
.dash-stat:hover { border-color: var(--brand-tint); box-shadow: var(--shadow-md); }
.dash-stat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-stat-body { min-width: 0; flex: 1; }
.dash-stat-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.dash-stat-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}
.dash-stat-value small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.dash-stat-link {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 500;
}
a.dash-stat-link:hover { color: var(--brand-2); text-decoration: none; }

/* Two-column grid */
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dash-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.dash-panel-more {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}
.dash-panel-more:hover { color: var(--brand-2); text-decoration: none; }

.dash-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
}
.dash-empty p { margin: 4px 0 12px; }

.dash-domain-list { display: flex; flex-direction: column; gap: 6px; }
.dash-domain-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color .12s, background .12s;
}
.dash-domain-row:hover { border-color: var(--brand-tint); background: var(--bg-2); text-decoration: none; }
.dash-domain-name { font-weight: 700; font-size: 15px; color: var(--text); }
.dash-domain-expiry { color: var(--muted); font-size: 12.5px; }
.dash-domain-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}
@media (max-width: 600px) {
  .dash-domain-row { grid-template-columns: 1fr; gap: 4px; }
  .dash-domain-expiry, .dash-domain-cta { justify-self: start; }
}

.dash-quick-grid { display: flex; flex-direction: column; gap: 6px; }
.dash-quick {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color .12s, background .12s;
}
.dash-quick:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.dash-quick-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-3);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-quick:hover .dash-quick-icon { background: var(--bg); }
.dash-quick-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dash-quick-text strong { font-size: 14px; font-weight: 700; color: var(--text); }
.dash-quick-text small { font-size: 12px; color: var(--muted); }

/* Activity table */
.dash-activity-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dash-activity-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); }
.dash-activity-table tr:last-child td { border-bottom: 0; }
.dash-activity-table td.muted { font-size: 12.5px; }

/* ============================================================
   Nav: dropdown items
   ============================================================ */
.nav-item { position: relative; display: inline-block; }
.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .12s, color .12s;
}
.nav-item > .nav-link:hover, .nav-item:hover > .nav-link { background: var(--bg-2); color: var(--brand); text-decoration: none; }
.nav-item > .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.nav-chev { font-size: 9px; opacity: 0.6; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 90;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14px;
}
.nav-dropdown a strong { color: var(--text); font-weight: 600; }
.nav-dropdown a small { color: var(--muted); font-size: 12px; }
.nav-dropdown a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav-dropdown a:hover strong { color: var(--brand); }

/* ============================================================
   Help center
   ============================================================ */
.help-hero { padding-bottom: 40pt; }
.help-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border-2);
  border-radius: 999px;
  padding: 8px 12px 8px 20px;
  max-width: 640px;
  margin: 20px auto 12px;
  box-shadow: var(--shadow);
}
.help-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.help-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  padding: 8px 4px;
  color: var(--text);
}
.help-search .icon { color: var(--muted); }
.help-search button { border-radius: 999px; padding: 8px 20px; }
.help-hero-cta { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }
.help-hero-cta a { color: var(--brand); font-weight: 600; }

.help-categories { padding: 24px 0; }
.help-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.help-cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text-2);
  transition: border-color .12s, background .12s, transform .12s;
}
.help-cat:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); text-decoration: none; transform: translateY(-1px); }
.help-cat.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.help-cat-icon { color: var(--brand); }
.help-cat-name { font-weight: 700; font-size: 14px; }
.help-cat-count { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.help-articles { padding: 24px 0 60px; }
.help-search-meta { color: var(--muted); font-size: 14px; margin-bottom: 16px; text-align: center; }
.help-list { display: flex; flex-direction: column; gap: 8px; }
.help-article {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}
.help-article summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  user-select: none;
}
.help-article summary:hover { color: var(--brand); }
.help-article[open] summary { border-bottom: 1px solid var(--border); }
.help-article summary::-webkit-details-marker { display: none; }
.help-article summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 300; }
.help-article[open] summary::after { content: "−"; }
.help-cat-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-3);
  color: var(--muted);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.help-article-body {
  padding: 18px 22px 22px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14.5px;
}

.help-cta-banner {
  background: var(--brand-soft);
  border-top: 1px solid var(--brand-tint);
  border-bottom: 1px solid var(--brand-tint);
  padding: 36px 0;
  text-align: center;
}
.help-cta-banner h2 { margin: 0 0 6px; font-size: 22px; }
.help-cta-banner p { margin: 0; color: var(--text-2); }
.help-cta-banner a { color: var(--brand); font-weight: 700; }

/* ============================================================
   Deals page
   ============================================================ */
.deals-list-section { padding: 40px 0 80px; }
.deals-empty {
  background: var(--bg-2);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.deal-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.deal-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.deal-card-discount {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: var(--cta);
  letter-spacing: -0.02em;
}
.deal-card-code-wrap {
  display: inline-flex;
  align-items: stretch;
  background: var(--bg-2);
  border: 1.5px dashed var(--border-2);
  border-radius: 10px;
  overflow: hidden;
}
.deal-card-code {
  flex: 1;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding: 10px 14px;
  letter-spacing: 0.08em;
}
.deal-copy {
  background: var(--brand);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.deal-copy:hover { background: var(--brand-2); }
.deal-card-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.deal-card-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.deal-card-meta li .icon { color: var(--brand); }

.deals-section { margin-top: 60px; }
.deals-section h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -0.01em; }
.deal-card-bundle .deal-card-tag {
  align-self: flex-start;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
}
.deal-card-bundle h3 { font-size: 18px; margin: 0; letter-spacing: -0.01em; }
.deal-card-bundle p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.5; }
.deal-bundle-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 12px; }
.deal-bundle-from { color: var(--muted); font-size: 12px; }
.deal-bundle-amt { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.deal-bundle-period { font-size: 13px; color: var(--muted); }

@media (max-width: 880px) {
  .nav-dropdown { position: static; box-shadow: none; border: 0; padding: 4px 0; min-width: auto; }
  .nav-item:hover > .nav-dropdown { display: none; } /* mobile uses mobile-nav */
}

.form-inline-row { display: flex; gap: 8px; }
.pill-premium { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; font-weight: 800; }

/* ============================================================
   Mailbox plans (account/email.php)
   ============================================================ */
.mailbox-plans { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.mailbox-plan {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  align-items: flex-start;
  transition: border-color .12s, background .12s;
}
.mailbox-plan:hover { border-color: var(--brand-tint); background: var(--bg-2); }
.mailbox-plan input { margin-top: 3px; accent-color: var(--brand); }
.mailbox-plan input:checked ~ div .mailbox-plan-name { color: var(--brand); }
.mailbox-plan-name { font-weight: 700; font-size: 14.5px; color: var(--text); }
.mailbox-plan-price { font-weight: 500; color: var(--brand); font-size: 13px; margin-left: 6px; }
.mailbox-plan-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* ============================================================
   Pricing page (comparison table + cards)
   ============================================================ */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  margin-top: 14px;
}
.pricing-table th { background: var(--bg-2); padding: 14px 18px; text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.pricing-table th.num { text-align: right; }
.pricing-table td { padding: 18px 18px; border-top: 1px solid var(--border); vertical-align: middle; }
.pricing-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.pricing-tld { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.pricing-tag { font-size: 11px; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.pricing-bestfor { color: var(--text-2); font-size: 14px; }
.pricing-price { font-weight: 800; font-size: 17px; color: var(--text); }
.pricing-renewal { color: var(--ok); font-weight: 600; }
.pricing-period { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.pricing-footnote { text-align: center; color: var(--muted); margin: 24px 0 0; font-size: 14px; }

.pricing-services { padding: 60px 0; background: var(--bg-2); margin-top: 60px; }
.pricing-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.pricing-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.pricing-card.pricing-card-feat { border-color: var(--brand); box-shadow: 0 4px 24px rgba(8, 145, 178, 0.15); position: relative; }
.pricing-card-tag { position: absolute; top: -10px; left: 24px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card-head { display: flex; align-items: center; gap: 10px; }
.pricing-card-head .icon { color: var(--brand); }
.pricing-card-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.pricing-card-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.pricing-card-price span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.pricing-card ul li::before { content: "✓ "; color: var(--ok); font-weight: 800; margin-right: 4px; }

.pricing-honesty { padding: 60px 0; }
.honesty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.honesty-grid h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.honesty-grid p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ============================================================
   TLD catalog + landing pages
   ============================================================ */
.tld-grid-section { padding: 40px 0 80px; }
.tld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.tld-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
.tld-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.tld-card-ext { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.tld-card-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; flex: 1; }
.tld-card-price { font-weight: 700; font-size: 17px; color: var(--text); margin-top: 6px; }
.tld-card-price span { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }

.tld-hero .hero-search { margin-top: 20px; }
.tld-hero-pricing { display: inline-flex; align-items: baseline; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.tld-hero-amt { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.tld-hero-period { font-size: 14px; color: var(--muted); }
.tld-hero-renews { color: var(--ok); font-size: 13px; font-weight: 600; }

.tld-content { padding: 60px 0; background: var(--bg-2); }
.tld-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .tld-content-grid { grid-template-columns: 1fr; gap: 24px; } }
.tld-content h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -0.01em; }
.tld-who-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tld-who-list li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.tld-who-list .icon { color: var(--ok); }
.tld-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
@media (max-width: 700px) { .tld-pros-cons { grid-template-columns: 1fr; } }
.tld-pros, .tld-cons { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.tld-pros h3, .tld-cons h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tld-pros h3 .icon { color: var(--ok); }
.tld-cons h3 .icon { color: var(--warn); }
.tld-pros ul, .tld-cons ul { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.tld-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tld-example {
  background: var(--bg-3);
  color: var(--text-2);
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============================================================
   About page
   ============================================================ */
.about-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%);
}
.about-hero h1 { font-size: 48px; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px; }
.about-hero .lead { font-size: 19px; max-width: 720px; color: var(--text-2); }
@media (max-width: 600px) { .about-hero h1 { font-size: 34px; } }

.about-stats { background: var(--bg); padding: 40px 0; border-bottom: 1px solid var(--border); }
.about-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.about-stat-n { font-size: 36px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.about-stat-l { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-top: 4px; }

.about-mission { padding: 80px 0; }
.about-mission .eyebrow { color: var(--brand); }
.about-mission h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 20px; }
.about-mission p { font-size: 17px; line-height: 1.7; color: var(--text-2); margin: 0 0 14px; }

.about-values { padding: 60px 0; background: var(--bg-2); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.value-icon { width: 52px; height: 52px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.value-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.value-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; margin: 0; }

.about-tech { padding: 80px 0; }
.about-tech .eyebrow { color: var(--brand); }
.about-tech h2 { font-size: 30px; font-weight: 800; margin: 8px 0 16px; letter-spacing: -0.02em; }
.about-tech > .container > p { font-size: 16.5px; color: var(--text-2); margin: 0 0 24px; line-height: 1.7; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
@media (max-width: 600px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-grid h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.tech-grid p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

.about-operator { padding: 60px 0; background: var(--bg-2); }
.about-operator .eyebrow { color: var(--brand); }
.about-operator h2 { font-size: 26px; font-weight: 800; margin: 8px 0 16px; }
.about-operator p { font-size: 16px; color: var(--text-2); margin: 0 0 24px; line-height: 1.6; }
.operator-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.operator-detail > div { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.operator-detail strong { color: var(--text); }

/* ============================================================
   Cart icon in header
   ============================================================ */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  color: var(--text-2);
  transition: background .12s, color .12s;
}
.nav-cart:hover { background: var(--bg-2); color: var(--brand); text-decoration: none; }
.nav-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--cta);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ============================================================
   /cart.php page
   ============================================================ */
.cart-section { padding: 0 0 80px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .cart-item { grid-template-columns: 1fr; gap: 12px; } }
.cart-item-name { font-size: 17px; font-weight: 700; color: var(--text); }
.cart-item-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cart-item-years { display: flex; flex-direction: column; gap: 2px; }
.cart-item-amt { font-size: 17px; font-weight: 800; color: var(--text); text-align: right; }
.cart-item-rate { font-size: 11.5px; text-align: right; }
.cart-summary {
  margin-top: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.cart-summary-totals { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14.5px;
}
.cart-summary-row.muted { color: var(--muted); font-size: 13.5px; }
.cart-summary-row.cart-summary-total {
  font-size: 18px;
  font-weight: 800;
  border-top: 2px solid var(--border);
  padding-top: 14px;
  margin-top: 8px;
  color: var(--text);
}
.cart-summary-row.cart-summary-total > span:last-child { color: var(--brand); font-size: 24px; }
.cart-summary-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   Homepage v2 — multi-section landing
   ============================================================ */
.home-welcome { background: var(--brand-soft); border-bottom: 1px solid var(--brand-tint); padding: 22px 0; }
.home-welcome-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.home-welcome-h { font-size: 22px; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
.home-welcome-actions { display: flex; gap: 8px; }

.hero-v2 { padding: 60px 0 50px; }
.hero-quick-tlds { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hero-quick-tlds a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.hero-quick-tlds a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.hero-quick-tlds .hero-ai-link { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero-quick-tlds .hero-ai-link:hover { background: var(--brand-2); color: #fff; }

.trust-strip { background: var(--bg-2); padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.trust-item .icon { color: var(--brand); }

.home-promo-strip { background: var(--cta-soft); border-bottom: 1px solid #fed7aa; padding: 14px 0; }
.home-promo-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14.5px; color: #7c2d12; }
.home-promo-row code { background: var(--bg); color: var(--cta-2); font-weight: 700; padding: 2px 10px; border-radius: 4px; margin: 0 2px; }

.home-products { padding: 80px 0; }
.section-h-wrap { text-align: center; margin-bottom: 36px; }
.section-h-wrap .section-h { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.section-h-wrap .section-sub { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.product-card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
  transition: border-color .12s, transform .12s, box-shadow .12s; position: relative;
}
.product-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); }
.product-card.product-card-feat { border-color: var(--brand); background: var(--brand-soft); }
.product-card-tag { position: absolute; top: -10px; left: 24px; background: var(--cta); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.product-icon { width: 52px; height: 52px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.product-card-feat .product-icon { background: #fff; }
.product-card h3 { font-size: 18px; font-weight: 700; margin: 0; color: var(--text); letter-spacing: -0.01em; }
.product-card p { color: var(--text-2); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }
.product-price { font-size: 15px; color: var(--text); }
.product-price strong { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }
.product-cta { color: var(--brand); font-weight: 600; font-size: 14px; }

.home-ai { padding: 60px 0; background: linear-gradient(135deg, var(--brand-soft) 0%, #ffffff 100%); border-top: 1px solid var(--brand-tint); border-bottom: 1px solid var(--brand-tint); }
.home-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .home-ai-grid { grid-template-columns: 1fr; } }
.home-ai h2 { font-size: 32px; margin: 8px 0 14px; letter-spacing: -0.02em; font-weight: 800; }
.home-ai .eyebrow { color: var(--brand); }
.home-ai-demo { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }

.home-quotes { padding: 80px 0; background: var(--bg-2); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; margin: 0; box-shadow: var(--shadow);
}
.quote-card p { font-size: 16px; color: var(--text-2); line-height: 1.6; margin: 0 0 12px; font-style: italic; }
.quote-card p::before { content: '"'; color: var(--brand); font-size: 36px; line-height: 0; vertical-align: -6px; margin-right: 2px; font-style: normal; }
.quote-card footer { font-size: 13px; color: var(--muted); }

.why-v2 { padding: 80px 0; }
.home-faq { padding: 80px 0; background: var(--bg-2); }

/* ============================================================
   Admin TLD quick-add
   ============================================================ */
.tld-quick-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tld-quick-add-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--bg); cursor: pointer; font-size: 13.5px; user-select: none;
}
.tld-quick-add-pill:hover { border-color: var(--brand); }
.tld-quick-add-pill input[type="checkbox"]:checked + code { color: var(--brand); }
.tld-quick-add-pill code { font-weight: 700; }
.tld-quick-add-pill small { color: var(--muted); }

/* SSL product cards (already used on account/ssl.php) */
.ssl-products { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ssl-product {
  display: flex; gap: 12px; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: border-color .12s, background .12s;
}
.ssl-product:hover { border-color: var(--brand-tint); background: var(--bg-2); }
.ssl-product input { margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.ssl-product input:checked ~ div .ssl-product-name { color: var(--brand); }
.ssl-product-name { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.ssl-product-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.ssl-product-price { color: var(--brand); font-weight: 700; font-size: 14px; margin-top: 4px; }

/* ============================================================
   Mailbox name input at checkout + setup flow
   ============================================================ */
.mailbox-name-row {
  background: var(--bg-2);
  border: 1.5px solid var(--brand-tint);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.mailbox-name-row label > strong { color: var(--brand); font-size: 14px; }
.mailbox-name-input {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  overflow: hidden;
  margin: 8px 0 6px;
  background: var(--bg);
  max-width: 440px;
}
.mailbox-name-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.mailbox-name-input input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
}
.mailbox-name-domain {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  color: var(--text-2);
  font-weight: 600;
  font-size: 14.5px;
}

/* ============================================================
   Home hero v3 — image cluster, asymmetric, decorative
   ============================================================ */
.hero-v3 {
  position: relative;
  padding: 70px 0 100px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  opacity: 0.06;
  pointer-events: none;
}
.hero-blob-1 { top: -120px; right: -120px; color: var(--brand); transform: rotate(15deg); }
.hero-blob-2 { bottom: -200px; left: -180px; color: #f97316; transform: rotate(-25deg); }

.hero-v3-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-v3-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-v3-text h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 18px;
}
.hero-v3-text .accent { color: var(--brand); }
.hero-v3-text .eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero-v3-text .lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 22px;
}

.hero-search-big {
  max-width: 520px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(15, 30, 50, 0.08);
}
.hero-search-big input {
  font-size: 17px;
  padding: 16px 18px;
}

.hero-quick-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  align-items: center;
}
.hero-quick-tlds a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
}
.hero-quick-tlds a em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  font-size: 12.5px;
}
.hero-quick-tlds a:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.hero-ai-link { background: var(--brand-soft) !important; color: var(--brand) !important; border-color: var(--brand-tint) !important; }

.hero-mini-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}
.hero-mini-trust-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

/* ---- Hero image cluster ---- */
.hero-v3-cluster {
  position: relative;
  min-height: 480px;
}
@media (max-width: 980px) {
  .hero-v3-cluster { min-height: 380px; margin-top: 20px; }
}
.hero-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 30, 50, 0.14);
  overflow: hidden;
}
.hero-card .site-img,
.hero-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  object-fit: cover;
}
.hero-card-main {
  top: 30px;
  left: 50px;
  width: 70%;
  aspect-ratio: 5 / 4;
  z-index: 2;
}
.hero-card-small {
  bottom: 0;
  right: 0;
  width: 30%;
  aspect-ratio: 1;
  z-index: 3;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-card-small img,
.hero-card-small .site-img {
  filter: drop-shadow(0 12px 24px rgba(15, 30, 50, 0.18));
  background: transparent;
}

.hero-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 12px 30px rgba(15, 30, 50, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  z-index: 4;
  animation: float-bob 4s ease-in-out infinite;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-float-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-float-text strong { font-size: 14px; color: var(--text); }
.hero-float-text span { font-size: 12px; color: var(--muted); }
.hero-float-icon {
  width: 32px; height: 32px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.hero-float-dot {
  width: 12px; height: 12px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.hero-float-padlock {
  width: 32px; height: 32px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-float-spark {
  font-size: 22px;
  color: #f59e0b;
}
.hero-float-available { top: 0; right: 20px; animation-delay: -0.5s; }
.hero-float-email     { top: 130px; left: 0; animation-delay: -1.5s; }
.hero-float-ssl       { top: 50%; right: 50px; animation-delay: -2.2s; }
.hero-float-ai        { bottom: 30px; left: 60px; animation-delay: -3s; }

@media (max-width: 980px) {
  .hero-card-main { top: 0; left: 5%; width: 80%; }
  .hero-card-small { width: 35%; bottom: -20px; right: 5%; }
  .hero-float-available { top: -10px; right: 0; }
  .hero-float-email { top: 90px; left: -10px; padding: 8px 12px; font-size: 12px; }
  .hero-float-ssl, .hero-float-ai { display: none; }
}

/* ---- Trust strip v2 (number-forward) ---- */
.trust-strip-v2 { padding: 30px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-num strong {
  font-size: 24px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trust-num span {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  max-width: 160px;
  line-height: 1.4;
}

/* ---- Asymmetric showcase rows ---- */
.showcase {
  padding: 80px 0;
  background: #fff;
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin: 60px 0;
}
@media (max-width: 900px) {
  .showcase-row { grid-template-columns: 1fr; gap: 30px; }
}
.showcase-row-imgright .showcase-img { order: 2; }
.showcase-row-imgright .showcase-text { order: 1; }
@media (max-width: 900px) {
  .showcase-row-imgright .showcase-img,
  .showcase-row-imgright .showcase-text { order: initial; }
}

.showcase-text .eyebrow { font-size: 12px; }
.showcase-text h3 {
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 10px 0 14px;
  line-height: 1.2;
}
.showcase-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 20px;
}

.showcase-img {
  position: relative;
  border-radius: 20px;
}
.showcase-img .site-img,
.showcase-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 30, 50, 0.14);
  margin: 0;
  max-width: none;
}
.showcase-img-tilted .site-img,
.showcase-img-tilted img,
.showcase-img-tilted-opp .site-img,
.showcase-img-tilted-opp img { transform: none; }

.showcase-img-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(11, 122, 130, 0.35);
  z-index: 2;
  font-size: 13px;
  text-align: right;
  transform: rotate(6deg);
}
.showcase-img-badge strong { display: block; font-size: 22px; font-weight: 700; }
.showcase-img-badge span { display: block; font-size: 11px; opacity: 0.85; }

.showcase-img-overlay {
  position: absolute;
  bottom: -20px;
  left: 20px;
  z-index: 2;
}
.showcase-overlay-card {
  background: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 30, 50, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.showcase-overlay-card strong { display: block; color: var(--text); }
.showcase-overlay-card span { display: block; color: var(--muted); font-size: 12px; }
.showcase-overlay-icon {
  width: 36px; height: 36px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.showcase-mini-img {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 110px;
  z-index: 3;
  transform: rotate(-10deg);
}
.showcase-mini-img .site-img,
.showcase-mini-img img {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 24px rgba(15, 30, 50, 0.18));
}

/* ---- ModusAI v2 with bg decoration ---- */
.home-ai-v2 { position: relative; overflow: hidden; }
.home-ai-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
}
.home-ai-bg-img .site-img,
.home-ai-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
.home-ai-v2 .container { position: relative; z-index: 1; }
.home-ai-samples {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.home-ai-sample {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'SFMono-Regular', Menlo, monospace;
  font-size: 13.5px;
  color: var(--text);
}

/* ---- Product grid with images ---- */
.product-grid-img .product-card {
  padding: 0 0 22px;
  overflow: hidden;
}
.product-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-card-thumb .site-img,
.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  max-width: none;
  box-shadow: none;
}
.product-grid-img .product-card .product-icon,
.product-grid-img .product-card h3,
.product-grid-img .product-card p,
.product-grid-img .product-card .product-price,
.product-grid-img .product-card .product-cta {
  padding-left: 22px;
  padding-right: 22px;
}
.product-grid-img .product-card .product-card-tag {
  z-index: 2;
}

/* ---- Quote carousel ---- */
.home-quotes-carousel { padding: 80px 0; background: var(--bg-2); }
.quote-carousel {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  padding: 20px 0;
}
.quote-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.quote-card-v2 {
  flex: 0 0 360px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 8px 24px rgba(15, 30, 50, 0.08);
  position: relative;
  margin: 0;
}
.quote-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
}
.quote-avatar .site-img,
.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  max-width: none;
  margin: 0;
  box-shadow: none;
}
.quote-card-v2 p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 14px;
}
.quote-card-v2 footer {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.quote-card-v2 footer strong { color: var(--text-2); }
.quote-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 8px;
}
.quote-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 24px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.15s;
}
.quote-carousel-arrow:hover { color: var(--brand); transform: translateY(-50%) scale(1.05); }
.quote-carousel-prev { left: 0; }
.quote-carousel-next { right: 0; }

/* ---- Press wall ---- */
.press-wall {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}
.press-wall-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.press-wall-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
}
@media (max-width: 700px) {
  .press-wall-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
.press-logo {
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.2s, filter 0.2s;
}
.press-logo:hover { filter: grayscale(0); opacity: 1; }
.press-logo .site-img,
.press-logo img,
.press-logo .img-placeholder {
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 6px;
  min-height: auto;
}

/* ---- Why v3 with corner deco ---- */
.why-v3 { position: relative; overflow: hidden; padding: 70px 0; }
.why-bg-deco {
  position: absolute;
  width: 280px;
  height: 280px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.why-bg-deco-tl { top: -50px; left: -50px; }
.why-bg-deco-br { bottom: -50px; right: -50px; transform: rotate(180deg); }
.why-bg-deco .site-img,
.why-bg-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}
.why-v3 .container { position: relative; z-index: 1; }
.why-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* ---- CTA banner with image bg ---- */
.cta-banner-image { position: relative; overflow: hidden; }
.cta-banner-deco {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}
.cta-deco-img,
.cta-banner-deco .site-img,
.cta-banner-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}
.cta-banner-image .container { position: relative; z-index: 1; }

/* ============================================================
   Nameserver list (account/nameservers.php)
   ============================================================ */
.ns-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ns-list li code {
  display: inline-block;
  background: var(--bg-2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 30, 50, 0.18);
  z-index: 1000;
  animation: cookie-banner-in 0.3s ease;
}
@keyframes cookie-banner-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  gap: 18px;
  padding: 16px 20px;
  align-items: center;
}
.cookie-banner-inner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14.5px;
}
.cookie-banner-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner-actions .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ============================================================
   Accessibility — skip link, reduced motion
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  top: 0;
  outline: 3px solid #fff;
  outline-offset: -3px;
}

#main { outline: none; }
#main:focus { outline: none; } /* tabindex=-1 lets us programmatically focus without a visible ring */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-float, .hero-card, .eyebrow-dot {
    animation: none !important;
  }
  .quote-carousel-track {
    transition: none !important;
  }
}

/* Mobile nav cart link */
.mobile-nav-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  font-size: 15px;
}
.mobile-nav-cart-count {
  background: var(--brand);
  color: #fff;
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 13px;
  min-width: 24px;
  text-align: center;
}

/* Hamburger 44x44 minimum touch target */
.nav-toggle {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 12px !important;
  display: none;
}
@media (max-width: 880px) { .nav-toggle { display: block; } }

/* ============================================================
   Brand logo
   ============================================================ */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
  opacity: 0.95;
}
@media (max-width: 700px) {
  .brand-img { height: 30px; }
}

/* ============================================================
   Billing — plan cards
   ============================================================ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 800px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
}
.plan-card-current {
  border: 2px solid var(--brand);
  box-shadow: 0 6px 24px rgba(11, 122, 130, 0.12);
}
.plan-current-tag {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.plan-card h3 { margin: 0 0 8px; font-size: 18px; }
.plan-price { margin-bottom: 14px; }
.plan-price strong { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.plan-card li {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.plan-card li svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   Invoice / receipt document
   ============================================================ */
.invoice-doc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 44px;
  max-width: 820px;
  margin: 0 auto;
}
.invoice-doc-print {
  border: 0;
  padding: 20px 30px;
  max-width: 760px;
}
.invoice-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 26px;
  margin-bottom: 26px;
}
.invoice-from {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.invoice-from strong { color: var(--text); font-size: 14px; }
.invoice-meta {
  background: var(--bg-2);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
}
.invoice-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}
.invoice-meta-row span { color: var(--muted); }
.invoice-billto {
  background: var(--bg-2);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 13.5px;
  line-height: 1.7;
}
.invoice-billto h3 {
  margin: 0 0 8px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.invoice-items {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
.invoice-items th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--text);
  padding: 8px 6px 10px;
}
.invoice-items th.num,
.invoice-items td.num { text-align: right; }
.invoice-items td {
  padding: 12px 6px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
}
.invoice-line-desc { font-size: 12.5px; color: var(--muted); }
.invoice-totals {
  margin-left: auto;
  max-width: 320px;
  margin-bottom: 22px;
}
.invoice-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.invoice-total-row span { color: var(--muted); }
.invoice-grand {
  border-top: 2px solid var(--text);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 16px;
}
.invoice-grand strong { color: var(--text); }
.invoice-notes {
  background: #f8fafc;
  border-left: 3px solid var(--brand);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 22px;
  font-size: 12.5px;
  line-height: 1.6;
}
.invoice-notes p { margin: 0 0 8px; }
.invoice-notes p:last-child { margin-bottom: 0; }
.invoice-footer {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.invoice-footer p { margin: 4px 0; font-size: 12.5px; }

@media print {
  body > *:not(.invoice-doc) { display: none !important; }
  body { background: #fff !important; }
  .invoice-doc {
    border: 0 !important;
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* ============================================================
   Legal pages — note callout + table
   ============================================================ */
.legal-prose .legal-note {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
  padding: 16px 22px;
  margin-bottom: 32px;
  color: var(--text);
}
.legal-prose .legal-note p { margin: 0; font-size: 15px; line-height: 1.6; }
.legal-prose .legal-note strong { color: var(--brand); }

.legal-prose h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.legal-prose .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
}
.legal-prose .legal-table th,
.legal-prose .legal-table td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-prose .legal-table th {
  background: var(--bg-2);
  font-weight: 600;
  font-size: 13px;
}
.legal-prose .legal-table code {
  font-size: 11.5px;
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 3px;
}
.legal-prose .legal-contact {
  font-style: normal;
  line-height: 1.7;
  background: var(--bg-2);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14.5px;
}
@media (max-width: 700px) {
  .legal-prose .legal-table { font-size: 12.5px; }
  .legal-prose .legal-table th,
  .legal-prose .legal-table td { padding: 7px 8px; }
}

/* ============================================================
   Payment error banner (on /checkout/info.php after Stripe fail)
   ============================================================ */
.payment-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #7f1d1d;
}
.payment-error-banner strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: #991b1b;
}
.payment-error-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================================
   Email DNS records display
   ============================================================ */
.email-dns-row {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.email-dns-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.email-dns-label strong { font-size: 14px; color: var(--text); }
.email-dns-record {
  display: grid;
  grid-template-columns: 1fr auto 2fr;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
}
@media (max-width: 700px) { .email-dns-record { grid-template-columns: 1fr; } }
.email-dns-name code, .email-dns-type code, .email-dns-value code {
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  word-break: break-all;
}
.email-dns-value { display: flex; align-items: center; gap: 8px; }
.email-dns-copy {
  background: var(--brand);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.email-dns-copy:hover { background: var(--brand-2, #0a7d83); }

/* ============================================================
   Mailbox manage page
   ============================================================ */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  padding: 0 24px 20px;
}
.conn-block {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 14px 16px;
}
.conn-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.conn-block p {
  margin: 0 0 4px;
  font-size: 13.5px;
}
.conn-block code {
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12.5px;
  border: 1px solid var(--border);
}
.mbx-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.mbx-actions .btn { white-space: nowrap; }

/* ============================================================
   Blog
   ============================================================ */
.blog-hero {
  background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.blog-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin: 8px 0 14px; }
.blog-hero .lead { font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 720px; margin: 0 auto; }

.blog-list-section { padding: 32px 0 80px; }

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  justify-content: center;
}
.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 100px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.blog-category-pill span {
  background: var(--bg-2);
  color: var(--muted);
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.blog-category-pill:hover { border-color: var(--brand); color: var(--brand); }
.blog-category-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.blog-category-pill.active span { background: rgba(255,255,255,0.2); color: #fff; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 28px; }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(15, 30, 50, 0.1); }
.blog-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.blog-card-img img,
.blog-card-img .site-img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: none;
}
.blog-card-body { padding: 22px 4px 0; }
.blog-card-meta {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-card-cat {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.blog-card-cat:hover { text-decoration: underline; }
.blog-card-dot { opacity: 0.5; }
.blog-card-title {
  font-size: 21px;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.blog-card-title a {
  color: var(--text);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--brand); }
.blog-card-excerpt {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.blog-card-link {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.blog-card-link:hover { text-decoration: underline; }

/* Featured first card spans 2 columns on wide screens */
.blog-card-feat {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%);
  padding: 24px;
  border: 1px solid var(--brand-tint);
}
.blog-card-feat .blog-card-img { aspect-ratio: 4 / 3; }
.blog-card-feat .blog-card-body { padding: 4px 8px; align-self: center; }
.blog-card-feat .blog-card-title { font-size: 28px; }
@media (max-width: 900px) {
  .blog-card-feat { grid-column: span 1; grid-template-columns: 1fr; padding: 16px; }
  .blog-card-feat .blog-card-title { font-size: 22px; }
}

/* Blog post (single article) */
.blog-post-hero {
  padding: 60px 0 24px;
  background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%);
  text-align: center;
}
.blog-post-title {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 14px 0;
  line-height: 1.15;
}
.blog-post-excerpt {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 20px;
}
.blog-post-meta {
  font-size: 13.5px;
  color: var(--muted);
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.blog-post-meta .dot { opacity: 0.5; }

.blog-post-cover { padding: 20px 0 30px; }
.blog-post-cover .site-img {
  max-width: 880px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 60px rgba(15, 30, 50, 0.12);
}

.blog-post-body { padding: 0 0 50px; }
.blog-post-body .container { max-width: 760px; }
.blog-post-body p,
.blog-post-body ul,
.blog-post-body ol,
.blog-post-body blockquote,
.blog-post-body pre {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 18px;
}
.blog-post-body .blog-lede {
  font-size: 19px;
  color: var(--text-2);
  border-left: 3px solid var(--brand);
  padding-left: 16px;
  font-weight: 500;
  margin-bottom: 28px;
}
.blog-post-body h2 {
  font-size: 26px;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.blog-post-body h3 {
  font-size: 19px;
  margin: 26px 0 10px;
}
.blog-post-body ul,
.blog-post-body ol { padding-left: 24px; }
.blog-post-body li { margin-bottom: 6px; }
.blog-post-body blockquote {
  border-left: 4px solid var(--brand);
  background: var(--bg-2);
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-style: italic;
}
.blog-post-body code {
  background: var(--bg-2);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.blog-post-body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 14px 18px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
}
.blog-post-body pre code { background: transparent; color: inherit; padding: 0; }
.blog-post-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post-body table.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.blog-post-body table.comparison-table th,
.blog-post-body table.comparison-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.blog-post-body table.comparison-table th {
  background: var(--bg-2);
  font-weight: 600;
}

.blog-post-feedback {
  padding: 30px 0;
  background: var(--bg-2);
  text-align: center;
}
.blog-post-feedback h3 { margin: 0 0 14px; font-size: 17px; color: var(--text-2); font-weight: 600; }
.blog-feedback-buttons { display: inline-flex; gap: 10px; }
.blog-feedback-thanks { margin-top: 10px; color: var(--brand); font-weight: 500; }

.blog-related {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

/* ============================================================
   Transfer form / generic polished form
   ============================================================ */
.transfer-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.form-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.form-section:first-of-type { padding-top: 0; }
.form-section:last-of-type { border-bottom: 0; padding-bottom: 8px; }
.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.form-section-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.form-section-hint {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.form-field:last-child { margin-bottom: 0; }
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  font: inherit;
  font-size: 14.5px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-field input.mono { font-family: 'SFMono-Regular', Menlo, monospace; letter-spacing: 0.02em; }
.form-field input.upper { text-transform: uppercase; }
.form-field-narrow input { max-width: 100px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .transfer-form { padding: 24px 22px; }
}
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-actions-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}
.transfer-after {
  max-width: 720px;
  margin: 28px auto 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
}
.transfer-after h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.transfer-after ol {
  margin: 0;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ============================================================
   Site images (rendered by img() helper)
   ============================================================ */
.site-img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 6px 30px rgba(15, 30, 50, 0.08);
}
.site-img.product-card-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ============================================================
   Image placeholder (when real image isn't uploaded yet)
   ============================================================ */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--bg-2) 100%);
  border: 2px dashed var(--brand-tint);
  border-radius: 10px;
  padding: 24px;
  color: var(--muted);
  min-height: 200px;
  font-size: 12.5px;
  line-height: 1.5;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  cursor: text;
  gap: 8px;
}
.img-placeholder * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
.img-placeholder-icon { font-size: 30px; color: var(--brand); margin-bottom: 6px; opacity: 0.6; cursor: default; }
.img-placeholder-name { font-weight: 700; color: var(--text-2); margin-bottom: 4px; }
.img-placeholder-name code { background: var(--bg); padding: 2px 8px; border-radius: 4px; font-size: 11.5px; user-select: all; }
.img-placeholder-spec { max-width: 480px; color: var(--muted-2); user-select: text; }
.img-placeholder-copy {
  margin-top: 10px;
  background: var(--brand);
  color: #fff;
  border: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  -webkit-user-select: none;
  user-select: none;
}
.img-placeholder-copy:hover { background: var(--brand-2, #0a7d83); transform: translateY(-1px); }
.img-placeholder-copy.copied { background: #16a34a; }

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

/* ============================================================
   Mobile experience polish — added 2026-05-19
   ============================================================ */

/* iOS safe-area: header sits below the Dynamic Island instead of under it.
   Requires viewport-fit=cover on the meta tag (already set in header.php). */
.site-header {
  padding-top: env(safe-area-inset-top, 0);
}

/* Cookie banner respects the home-indicator + sides on iPhone landscape. */
.cookie-banner {
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  padding-left:  max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Customer + admin tables auto-scroll horizontally on phones instead of
   blowing out the layout. Targets .admin-table reused by /account/* pages
   (orders, billing, email, ssl, dns, etc.). */
@media (max-width: 720px) {
  .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .admin-table thead, .admin-table tbody, .admin-table tr {
    display: table; width: 100%; table-layout: fixed;
  }
  .admin-table th, .admin-table td { white-space: normal; }
  /* Re-allow nowrap on numeric cells so currency stays one line */
  .admin-table th.num, .admin-table td.num { white-space: nowrap; }
}

/* Smallest-phone tier (iPhone SE 320, iPhone 12/13/14/15 mini 375).
   Slightly tighter container + smaller h1 so legal/blog pages don't feel
   cramped against the screen edge. */
@media (max-width: 380px) {
  .container { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 28px; line-height: 1.15; }
  .page-hero h1 { font-size: 30px; }
  .lead, .lead-prose { font-size: 16px; }
  .btn-lg { padding: 12px 18px; font-size: 14px; }
}
