/* Base CSS — Shared across all domain sites */
/* Each site overrides with its own :root variables */

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

:root {
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --text: #1a1a1a;
  --text-muted: #666;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --border: #e5e5e5;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --max-width: 860px;
  --radius: 6px;
}

html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; margin-bottom: 0.5em; letter-spacing: -0.03em; }
h2 { font-size: 1.6rem; margin: 2em 0 0.6em; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; margin: 1.5em 0 0.4em; }
p { margin-bottom: 1.2em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }
blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.8em 1.2em;
  margin: 1.5em 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2em;
  line-height: 1.6;
}
.content { padding: 2rem 0 3rem; }
.content img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(12px);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
nav a:hover { color: var(--accent); text-decoration: none; }

/* Ad Placeholders */
.ad-unit {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.ad-unit.leaderboard { min-height: 90px; }
.ad-unit.rectangle { min-height: 250px; max-width: 336px; margin: 2rem auto; }
.ad-unit.in-article { min-height: 120px; }

/* Domain For Sale Banner */
.domain-banner {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 3rem 0 0;
}
.domain-banner h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5em;
  color: #fff;
}
.domain-banner p {
  opacity: 0.9;
  margin-bottom: 1.2em;
  font-size: 0.95rem;
}
.domain-banner a.cta {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 0.7em 2em;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.domain-banner a.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); }

/* Cards / Sections */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* Table of Contents */
.toc {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.6em; }
.toc ul { list-style: none; padding: 0; }
.toc li { padding: 0.25em 0; }
.toc a { font-size: 0.92rem; color: var(--text); }
.toc a:hover { color: var(--accent); }

/* Info Box */
.info-box {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

/* Tags */
.tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.2em 0.7em;
  border-radius: 50px;
  margin: 0.2em;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
  html { font-size: 15px; }
  h1 { font-size: 1.8rem; }
  .hero { padding: 2.5rem 0 2rem; }
  nav a { margin-left: 1rem; font-size: 0.82rem; }
  .card-grid { grid-template-columns: 1fr; }
}

/* Inquiry Form */
.inquiry-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 400px;
  margin: 0 auto;
}
.inquiry-form input[type="email"] {
  padding: 0.7em 1.2em;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  flex: 1;
  min-width: 200px;
  outline: none;
}
.inquiry-form button.cta {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 0.7em 2em;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.inquiry-form button.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Print */
@media print {
  .ad-unit, .domain-banner, header, nav { display: none; }
  body { font-size: 12pt; }
}
