:root {
  color-scheme: dark;

  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface-alt: #222222;
  --text: #e8e4db;
  --text-muted: #a8a29e;
  --text-faint: #6f6f78;
  --border: #333333;

  --primary: #f26522;
  --primary-hover: #d9541a;

  /* Font scale. Five base sizes + two heading clamps. Don't introduce new sizes. */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-h2: clamp(1.5rem, 4vw, 2.25rem);
  --text-h1: clamp(2rem, 5vw, 3rem);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius: 6px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html {
  background: var(--bg);
}

body {
  max-width: 980px;
  padding: var(--space-md);
  background: var(--bg);
  color: var(--text);
  font-size: var(--text-base);
}

a {
  color: var(--primary);
}
a:hover {
  color: var(--primary-hover);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header .brand-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.site-header .login-link {
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
}
.site-header .login-link:hover {
  background: var(--primary);
  color: #fff;
}

.hero {
  padding: var(--space-md) 0 var(--space-xl);
}
.hero h1 {
  font-size: var(--text-h1);
  line-height: 1.15;
  margin: 0 0 var(--space-lg);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero .lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  margin-top: var(--space-md);
}
.cta:hover {
  background: var(--primary-hover);
  color: #fff;
}

.numbered {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}
.numbered .num {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.numbered h2 {
  font-size: var(--text-h2);
  margin: 0 0 var(--space-lg);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 720px;
  text-wrap: pretty;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.features article {
  background: var(--surface);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.features h3 {
  font-size: var(--text-base);
  color: var(--primary);
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
}
.features p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.5;
}

.numbered pre {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--space-md);
  border-radius: var(--radius);
  font-size: var(--text-base);
  overflow-x: auto;
}
.price strong {
  color: var(--primary);
}

.about-body,
.contact-body {
  padding: var(--space-lg) 0;
}
.about-body h2,
.contact-body h2 {
  margin-top: var(--space-xl);
  text-wrap: balance;
}

.contact-form {
  display: grid;
  gap: var(--space-md);
  max-width: 480px;
  margin-top: var(--space-md);
}
.contact-form label {
  display: grid;
  gap: var(--space-xs);
  font-size: var(--text-base);
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  padding: var(--space-sm) var(--space-md);
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
}
.contact-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

#legal {
  padding: var(--space-lg) 0 var(--space-xl);
}
#legal h1 {
  font-size: var(--text-h2);
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
}
#legal .updated {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-xl);
}
#legal h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-lg);
  color: var(--primary);
}
#legal p {
  line-height: 1.65;
}
#legal .back {
  text-decoration: none;
  font-size: var(--text-sm);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}
.site-footer p {
  margin: var(--space-xs) 0;
}
.site-footer .agents-line {
  color: var(--text-muted);
}
.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 240px;
  margin: var(--space-md) auto;
}
.site-footer .copyright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-size: var(--text-sm);
}
.copyright-egg {
  width: 24px;
  height: 24px;
  display: inline-block;
  opacity: 0.9;
}

/* Single-line muted text used on the About page for the contact and
   the "Not affiliated" disclaimer. Matches the copyright line style. */
.about-meta {
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.about-meta a {
  color: var(--text-muted);
  text-decoration: underline;
}
.about-meta a:hover {
  color: var(--primary);
}
