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

:root {
  --background: #fafaf7;
  --foreground: #111111;
  --muted: #666666;
  --border: #e5e5e0;
  --secondary: #f0f0eb;
  --accent: #2b4c7e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 24px;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 24px;
  }
}

.border-top {
  border-top: 1px solid var(--border);
}

/* Typography */
.heading-primary {
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .heading-primary {
    font-size: 2.25rem;
  }
}

.heading-secondary {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .heading-secondary {
    font-size: 1.5rem;
  }
}

.body-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .body-text {
    font-size: 1.125rem;
  }
}

.body-small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

.hero-eyebrow {
  width: 100%;
  font-size: clamp(1.6rem, 2.1vw, 1.6rem);;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1.15;
}

/* Force it to span across both hero columns on desktop */
@media (min-width: 768px) {
  .hero-eyebrow {
    grid-column: 1 / -1;
    white-space: nowrap; /* keep it one line on desktop */
  }
}

/* Let it wrap naturally on small screens */
@media (max-width: 767px) {
  .hero-eyebrow {
    white-space: normal;
  }
}

.marker-list {
  margin-top: 32px;
}

.marker-item {
  margin-bottom: 24px;
}

.marker-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--accent); /* MATCH PANEL NAME BLUE */
}

.marker-subtitle {
  font-weight: 400;
  color: inherit; /* INHERIT BLUE FROM .marker-title */
}

/* Navigation */
.nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.nav-brand {
  font-weight: 500;
  color: var(--foreground);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
}

/* Grids */
.hero-grid {
  display: grid;
  gap: 24px;
  margin-top: -24px; /* Pull hero up (reduces whitespace above eyebrow) */
}

/* Desktop: first row spans both columns, second row is two columns */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 48px;
    row-gap: 24px;
    margin-top: -32px; /* Slightly more pull-up on larger screens */
  }
}


.two-col-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Buttons */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.8;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--foreground);
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-secondary:hover {
  opacity: 0.7;
}

/* Image Placeholders */
.image-placeholder {
   width: 100%;
  min-width: 0;
  border: 1px dashed var(--border);
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.875rem;
  border-radius: 2px;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Lists */
.list {
  list-style: none;
  margin-bottom: 24px;
}

.list li {
  margin-bottom: 8px;
}

/* Form */
.form {
  max-width: 448px;
  margin-top: 32px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .form-row {
    flex-direction: row;
  }
}

.input-field {
  flex: 1;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--foreground);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.input-field:focus {
  outline: none;
  border-color: var(--foreground);
}

.input-field::placeholder {
  color: var(--muted);
}

.form .body-small {
  margin-top: 16px;
}

/* Footer */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 16px;
  margin: 16px 0;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--foreground);
}

