/* ============================================================================
   WhoIsIdea.com — Main Stylesheet
   Version: 1.0
   Mobile-first responsive design
   ============================================================================ */

/* ── Custom Properties (Design Tokens) ─────────────────────────────────────── */
:root {
  --primary:        #2563EB;
  --primary-dark:   #1d4ed8;
  --accent:         #7C3AED;
  --gradient:       linear-gradient(135deg, #2563EB 0%, #5b45e5 50%, #7C3AED 100%);
  --gradient-text:  linear-gradient(90deg, #2563EB 0%, #7C3AED 100%);

  --success:        #16A34A;
  --success-bg:     #f0fdf4;
  --success-border: #bbf7d0;

  --danger:         #DC2626;
  --danger-bg:      #fef2f2;
  --danger-border:  #fecaca;

  --warn:           #D97706;
  --warn-bg:        #fffbeb;
  --warn-border:    #fde68a;

  --info:           #0284C7;
  --info-bg:        #f0f9ff;
  --info-border:    #bae6fd;

  --bg:             #F1F5F9;
  --surface:        #FFFFFF;
  --surface-2:      #F8FAFC;
  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;

  --text:           #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;

  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:         0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:      0 10px 30px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);

  --font-sans:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --transition:     0.2s ease;
}

/* ── Reset & Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

/* ── Google Fonts Import ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================================
   LAYOUT
   ============================================================================ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

main { flex: 1; }

/* ============================================================================
   HEADER & LOGO
   ============================================================================ */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  user-select: none;
}

.site-logo-img {
  height: 32px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 25px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-who  { color: var(--text); }
.logo-is   { color: var(--primary); }
.logo-idea { color: var(--accent); }

.logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gradient);
  border-radius: 50%;
  margin-left: 3px;
  margin-bottom: 2px;
  vertical-align: middle;
}

.header-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  display: none; /* show on md+ */
}

/* ── Header mini search (shown on result pages) ─────────────────────────────── */
.header-search-form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 480px;
}

.header-search-form input {
  flex: 1;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 0;
}

.header-search-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.header-search-form button {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius);
  background: #212121;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), transform var(--transition);
}
.header-search-form button:hover  { background: #000000; transform: translateY(-1px); }
.header-search-form button:active { background: #111111; transform: translateY(0); }

/* ============================================================================
   HERO SECTION (Homepage)
   ============================================================================ */

.hero {
  padding: 48px 16px 40px;
  text-align: center;
  background: linear-gradient(180deg, #EEF2FF 0%, var(--bg) 100%);
}

.hero-logo-block {
  margin-bottom: 20px;
}

.hero-main-title {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-logo {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.hero-tagline {
  margin-top: 10px;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── Hero Search Box ─────────────────────────────────────────────────────────── */
.hero-search-wrap {
  margin: 28px auto 0;
  max-width: 680px;
}

.hero-search-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid #212121;
  background: var(--surface);
  transition: box-shadow var(--transition);
}

.hero-search-form:focus-within {
  box-shadow: 0 0 0 4px rgba(33, 33, 33, .15), var(--shadow-lg);
}

.hero-search-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: var(--text);
  background: transparent;
  outline: none;
  min-width: 0;
}

.hero-search-input::placeholder { color: var(--text-muted); }

.hero-search-btn {
  padding: 0 28px;
  border: none;
  background: #212121;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), opacity var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-search-btn:hover  { background: #000000; }
.hero-search-btn:active { background: #111111; }
.hero-search-btn:disabled { opacity: .6; cursor: not-allowed; }

.hero-hint {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-hint code {
  background: rgba(37,99,235,.09);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ============================================================================
   RESULT PAGE
   ============================================================================ */

.result-section {
  padding: 28px 0 48px;
}

/* ── Domain Header Card ──────────────────────────────────────────────────────── */
/* ── Domain Header Bar (whois.com style) ─────────────────────────────────── */
.result-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 4px 0;
}

.result-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.domain-title {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  word-break: break-all;
  line-height: 1.2;
}

.result-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #ea580c;
  text-decoration: none;
}

/* ── Section Cards (whois.com style) ─────────────────────────────────────────── */
.whois-section-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  margin-bottom: 20px;
}

.whois-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.whois-section-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.whois-section-icon.globe {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.whois-section-icon.registrar {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fed7aa;
  font-weight: 800;
  font-size: 0.82rem;
}

.whois-section-icon.user {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.whois-section-icon.admin {
  background: #faf5ff;
  color: #7c3aed;
  border-color: #e9d5ff;
}

.whois-section-icon.tech {
  background: #f8fafc;
  color: #475569;
  border-color: #cbd5e1;
}

.whois-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.2px;
}

.whois-section-body {
  padding: 6px 20px;
}

/* ── Field Rows (Table-like rows) ────────────────────────────────────────────── */
.whois-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.whois-row:last-child {
  border-bottom: none;
}

.whois-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  min-width: 170px;
  width: 170px;
  flex-shrink: 0;
}

.whois-value {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 500;
  word-break: break-word;
  flex: 1;
  line-height: 1.5;
}

.whois-value a {
  color: var(--primary);
  text-decoration: none;
}
.whois-value a:hover {
  text-decoration: underline;
}

.whois-subline {
  margin-bottom: 3px;
}
.whois-subline:last-child {
  margin-bottom: 0;
}

/* ── Similar Domains Card (Right rail) ───────────────────────────────────────── */
.similar-domains-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  margin-bottom: 20px;
}

.similar-domains-header {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}

.similar-domains-list {
  padding: 4px 0;
}

.similar-domain-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid #f1f5f9;
  gap: 10px;
}

.similar-domain-row:last-child {
  border-bottom: none;
}

.similar-domain-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  word-break: break-all;
}

.btn-buy-alt {
  padding: 6px 14px;
  min-width: 92px;
  justify-content: center;
  text-align: center;
  border-radius: 6px;
  border: none;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-buy-alt:hover {
  transform: translateY(-1px);
}

.btn-buy-alt.available {
  background: #16a34a;
  color: #ffffff;
}

.btn-buy-alt.available:hover {
  background: #15803d;
}

.btn-buy-alt.registered {
  background: #212121;
  color: #ffffff;
}

.btn-buy-alt.registered:hover {
  background: #000000;
}

.btn-buy-alt.unknown {
  background: #64748b;
  color: #ffffff;
}

.btn-buy-alt.unknown:hover {
  background: #475569;
}

.badge-pill-status {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* ── Legacy Aliases for Compatibility ────────────────────────────────────────── */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.info-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff7ed;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.info-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}

.info-card-body {
  padding: 6px 20px;
}

.field-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.field-row:last-child { border-bottom: none; }

.field-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  min-width: 170px;
  width: 170px;
  flex-shrink: 0;
}

.field-value {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 500;
  word-break: break-word;
  flex: 1;
  line-height: 1.5;
}

/* ── Name Servers List ────────────────────────────────────────────────────────── */
.ns-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ns-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  background: var(--surface-2);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.ns-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ── Alternative TLDs Section ────────────────────────────────────────────────── */
.alt-tlds-section {
  margin-bottom: 20px;
}

.section-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.tld-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tld-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tld-card.available  { border-color: var(--success-border); background: var(--success-bg); }
.tld-card.registered { border-color: var(--border); }
.tld-card.unknown    { border-color: var(--border); opacity: .75; }

.tld-card.available:hover { border-color: var(--success); }

.tld-domain-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}

.tld-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.tld-status-badge.available  { color: var(--success); }
.tld-status-badge.registered { color: var(--text-muted); }
.tld-status-badge.unknown    { color: var(--warn); }

.tld-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tld-status-dot.available  { background: var(--success); }
.tld-status-dot.registered { background: var(--text-muted); }
.tld-status-dot.unknown    { background: var(--warn); }

/* ── Raw WHOIS Panel ─────────────────────────────────────────────────────────── */
.raw-whois-section { margin-bottom: 20px; }

.raw-whois-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.raw-whois-details summary {
  padding: 14px 20px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.raw-whois-details summary::-webkit-details-marker { display: none; }
.raw-whois-details summary::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.raw-whois-details[open] summary::after { transform: rotate(180deg); }

.raw-whois-pre {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: #1E293B;
  color: #CBD5E1;
  padding: 20px;
  overflow-x: auto;
  max-height: 420px;
  white-space: pre;
  margin: 0;
}

/* ── V2.0 Coming Soon Section ────────────────────────────────────────────────── */
.v2-section {
  margin-bottom: 20px;
}

.v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.v2-card {
  background: var(--surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: .6;
}

.v2-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.v2-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.v2-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.v2-label {
  margin-left: auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================================
   ERROR & EMPTY STATES
   ============================================================================ */

.error-banner {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.error-banner .error-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.available-banner {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.deleted-banner {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── Loading Skeleton ────────────────────────────────────────────────────────── */
.skeleton-wrap { display: none; }
.skeleton-wrap.active { display: block; }

.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 16px;
}

.skeleton-line {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 10px;
}

.skeleton-line.w-80  { width: 80%; }
.skeleton-line.w-60  { width: 60%; }
.skeleton-line.w-40  { width: 40%; }
.skeleton-line.w-100 { width: 100%; }
.skeleton-line.h-20  { height: 20px; margin-bottom: 14px; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Spinner ─────────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}

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

/* ============================================================================
   FOOTER
   ============================================================================ */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--primary); }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ============================================================================
   UTILITIES
   ============================================================================ */

.hidden { display: none !important; }
.mt-4   { margin-top: 4px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mb-16  { margin-bottom: 16px; }

/* ── Scroll to top ───────────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #212121;
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: #000000;
  transform: translateY(-3px);
}

/* ============================================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================================ */
@media (min-width: 768px) {

  .header-tagline { display: block; }

  .hero { padding: 64px 16px 56px; }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-label { min-width: 160px; }
}

/* ============================================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================================ */
@media (min-width: 1024px) {

  .container { padding: 0 24px; }

  .hero { padding: 80px 24px 72px; }

  .result-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
  }

  .result-sidebar {
    position: sticky;
    top: 76px; /* below sticky header */
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 4px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus { left: 4px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
