/* ═══════════════════════════════════════════════════════════
   BRIGHTBRIDGELABS — THE STUDIO
   Warm editorial light theme. Inspiring. Confident. Spacious.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Backgrounds */
  --bg:          #fdfaf4;
  --surface:     #ffffff;
  --surface-2:   #f9f5ee;
  --surface-3:   #f2ece0;

  /* Borders */
  --border:      #ede7d8;
  --border-2:    #e0d8c8;
  --border-3:    #cfc4ae;

  /* Text */
  --text:        #1c1710;
  --text-2:      #6b5e4e;
  --text-3:      #a89a8a;

  /* Accent — sunrise amber */
  --gold:        #c97a08;
  --gold-light:  #e8960e;
  --gold-bg:     rgba(201, 122, 8, 0.07);
  --gold-border: rgba(201, 122, 8, 0.25);
  --gold-glow:   rgba(201, 122, 8, 0.12);

  /* Available green */
  --green:       #1a7a46;
  --green-dim:   rgba(26, 122, 70, 0.07);
  --green-border: rgba(26, 122, 70, 0.22);
  --green-text:  #15603a;

  /* Semantic */
  --red:         #c0392b;
  --yellow:      #c07a00;
  --blue:        #2d5be3;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ui:      'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Geometry */
  --radius:    6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Subtle paper grain ─── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ─── Layout ─── */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Header ─── */
.site-header {
  position: relative;
  z-index: 10;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(253, 250, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .container--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}
.logo:hover { color: var(--gold); }

.logo__gem {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  flex-shrink: 0;
}

.header__badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border-2);
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  text-align: center;
  background: var(--surface-2);
}
.site-footer p {
  font-size: 0.78rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════
   HOME PAGE
══════════════════════════════════════════════════════ */

/* Sunrise gradient — fills top of page with warmth */
.home-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 110% 55% at 50% -5%,
      rgba(240, 180, 80, 0.18) 0%,
      rgba(255, 210, 140, 0.08) 40%,
      transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%,
      rgba(201, 122, 8, 0.06) 0%,
      transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 30%,
      rgba(255, 200, 100, 0.04) 0%,
      transparent 55%);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 2.5rem;
  text-align: center;
  animation: fadeUp 0.65s var(--ease) both;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Form Card ─── */
.search-form {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0 5rem;
  animation: fadeUp 0.65s 0.1s var(--ease) both;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow:
    0 2px 0 var(--border),
    0 12px 40px rgba(100, 70, 20, 0.07),
    0 4px 12px rgba(100, 70, 20, 0.05);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.45rem;
}

.label-required { color: var(--gold); }
.label-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-3);
  font-size: 0.72rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 88px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a89a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── TLD Checkboxes ─── */
.tld-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tld-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.tld-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tld-option span {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  user-select: none;
}

.tld-option input:checked + span {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.tld-option span:hover {
  border-color: var(--border-3);
  color: var(--text);
}

/* ─── Primary button ─── */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.9rem 2rem;
  margin-top: 0.75rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 122, 8, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201, 122, 8, 0.2);
}

.btn-primary.loading {
  background: var(--text-2);
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn-primary__icon { font-size: 1.1rem; transition: transform 0.2s var(--ease); }
.btn-primary:hover .btn-primary__icon { transform: translateX(3px); }

.trust-copy {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.74rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ─── Form errors ─── */
.form-errors {
  background: rgba(192, 57, 43, 0.04);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.form-errors__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-errors ul {
  padding-left: 1.1rem;
  color: var(--red);
  font-size: 0.85rem;
}

.form-group--error input,
.form-group--error textarea,
.form-group--error select {
  border-color: rgba(192, 57, 43, 0.4);
}

.field-error {
  color: var(--red);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

/* ══════════════════════════════════════════════════════
   RESULTS PAGE
══════════════════════════════════════════════════════ */

.results-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%,
      rgba(240, 200, 100, 0.12) 0%,
      transparent 60%);
}

.results-header {
  position: relative;
  z-index: 1;
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.5s var(--ease) both;
}

.results-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.results-header__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.results-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  max-width: 560px;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.results-header__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.results-meta-chip {
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 99px;
  color: var(--text-2);
  text-transform: capitalize;
}

.link-back {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  transition: all 0.15s var(--ease);
  white-space: nowrap;
  background: var(--surface);
}

.link-back:hover {
  border-color: var(--border-3);
  color: var(--text);
  background: var(--surface-2);
}

.results-body {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 5rem;
}

.results-count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.75rem;
}

/* Alert boxes */
.alert {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid;
}
.alert-error {
  background: rgba(192, 57, 43, 0.04);
  border-color: rgba(192, 57, 43, 0.2);
  color: var(--red);
}
.alert-info {
  background: rgba(45, 91, 227, 0.04);
  border-color: rgba(45, 91, 227, 0.15);
  color: var(--blue);
}
.alert p { margin-bottom: 0.85rem; font-size: 0.9rem; }

.btn-secondary {
  display: inline-block;
  padding: 0.42rem 1rem;
  background: transparent;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s var(--ease);
}
.btn-secondary:hover {
  border-color: var(--border-3);
  color: var(--text);
  background: var(--surface-2);
}

/* ─── Affiliate notice ─── */
.affiliate-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.55;
}

.affiliate-notice__icon {
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Search cost notice ── */
.search-cost-notice {
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.search-cost-notice__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.75rem;
}

.search-cost-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.search-cost-stat__value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.search-cost-stat__label {
  font-size: 0.73rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-cost-notice__pitch {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.6;
  border-top: 1px solid var(--gold-border);
  padding-top: 0.65rem;
  margin: 0;
}

.search-cost-notice__pitch strong {
  color: var(--text);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   RESULT CARD
══════════════════════════════════════════════════════ */

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  animation: fadeUp 0.5s var(--ease) both;
}

.result-card:hover {
  border-color: var(--border-3);
  box-shadow: 0 8px 32px rgba(100, 70, 20, 0.08), 0 2px 0 var(--border-2);
  transform: translateY(-1px);
}

/* Stagger card animations */
.result-card:nth-child(1) { animation-delay: 0.04s; }
.result-card:nth-child(2) { animation-delay: 0.10s; }
.result-card:nth-child(3) { animation-delay: 0.16s; }
.result-card:nth-child(4) { animation-delay: 0.22s; }
.result-card:nth-child(5) { animation-delay: 0.28s; }
.result-card:nth-child(6) { animation-delay: 0.34s; }
.result-card:nth-child(7) { animation-delay: 0.40s; }
.result-card:nth-child(8) { animation-delay: 0.46s; }

.result-card__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.result-card__name-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.result-card__name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* Tier badges */
.tier-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.tier-badge--Excellent { background: rgba(201, 122, 8, 0.1);  color: var(--gold);       border: 1px solid var(--gold-border); }
.tier-badge--Strong    { background: rgba(45, 91, 227, 0.08); color: var(--blue);        border: 1px solid rgba(45, 91, 227, 0.2); }
.tier-badge--Good      { background: rgba(26, 122, 70, 0.08); color: var(--green-text);  border: 1px solid var(--green-border); }
.tier-badge--Fair      { background: var(--surface-2);         color: var(--text-3);      border: 1px solid var(--border-2); }

.result-card__explanation {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.result-card__score {
  font-size: 0.74rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.result-card__score strong { color: var(--text-2); font-weight: 600; }
.score-max { opacity: 0.5; }

/* ─── Domain options ─── */
.domain-options__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.55rem;
}

.domain-options__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  flex-wrap: wrap;
  transition: border-color 0.15s var(--ease);
}

.domain-row--available {
  border-color: var(--green-border);
  background: var(--green-dim);
}

.domain-row--unavailable {
  opacity: 0.5;
}

.domain-row__left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

/* Glowing green dot for available */
.avail-pip {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(26, 122, 70, 0.5);
  animation: pip-pulse 2.5s ease-in-out infinite;
}

.domain-row__name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.domain-row--available .domain-row__name { color: var(--green-text); }

.domain-row__variant {
  font-size: 0.66rem;
  padding: 0.08rem 0.38rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.domain-row__premium {
  font-size: 0.7rem;
  color: var(--yellow);
  font-weight: 600;
}

.domain-row__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Availability badges */
.badge {
  display: inline-block;
  padding: 0.16rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--available   { background: rgba(26, 122, 70, 0.1);  color: var(--green-text); border: 1px solid var(--green-border); }
.badge--unavailable { background: var(--surface-3);          color: var(--text-3);     border: 1px solid var(--border); }
.badge--unknown     { background: rgba(192, 122, 0, 0.08); color: var(--yellow);      border: 1px solid rgba(192, 122, 0, 0.2); }

/* Buy button */
.btn-buy {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.btn-buy:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 3px 10px rgba(201, 122, 8, 0.3);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pip-pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 5px rgba(26, 122, 70, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 9px rgba(26, 122, 70, 0.8); }
}

/* ══════════════════════════════════════════════════════
   LOADING OVERLAY
══════════════════════════════════════════════════════ */

.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(28, 23, 16, 0.96);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.loading-overlay.active {
  display: flex;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loading-wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  opacity: 0.7;
}

/* Three-dot pulse spinner */
.loading-spinner {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.loading-spinner span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: spinner-pulse 1.4s ease-in-out infinite;
}

.loading-spinner span:nth-child(1) { animation-delay: 0s;    }
.loading-spinner span:nth-child(2) { animation-delay: 0.2s;  }
.loading-spinner span:nth-child(3) { animation-delay: 0.4s;  }

@keyframes spinner-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40%           { transform: scale(1);   opacity: 1;    }
}

.loading-status {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: rgba(253, 250, 244, 0.75);
  min-height: 1.5em;
  transition: opacity 0.3s;
}

.loading-counter {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(253, 250, 244, 0.45);
  opacity: 0;
  transition: opacity 0.4s;
}

.loading-counter.visible {
  opacity: 1;
}

.loading-counter__num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  min-width: 3ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.loading-counter__sep,
.loading-counter__total {
  color: rgba(253, 250, 244, 0.4);
}

.loading-counter__total {
  min-width: 3ch;
}

.loading-counter__label {
  color: rgba(253, 250, 244, 0.4);
  font-size: 0.8rem;
  align-self: center;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem 1.25rem; }
  .hero { padding: 3.5rem 0 1.75rem; }
  .results-header__inner { flex-direction: column; gap: 1rem; }
  .result-card { padding: 1.25rem; }
  .result-card__name { font-size: 2rem; }
  .domain-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .domain-row__right { width: 100%; justify-content: flex-end; }
}
