/* =====================================================
   HORIZON FOUNDRY — GLOBAL THEME VARIABLES
   Light-first system theme with dark-mode override
===================================================== */

:root {
  --bg: #F5F5F3;
  --text: #111315;
  --accent: #B87333;
  --border: #E2E2DF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --text: #E8E8E6;
    --border: #2A2C2F;
  }
}


/* =====================================================
   BASE TYPOGRAPHY & DOCUMENT STYLES
===================================================== */

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 0 1rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.05rem;
  max-width: 48ch;
}


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

/* Main content container */
.container {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 2rem;
}

/* Hero + Guiding split layout */
.hero-layout {
  display: grid;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.hero {
  margin-bottom: 4rem;
}

.what {
  margin-top: 4rem;
}


/* =====================================================
   HEADER & NAVIGATION
===================================================== */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 2rem;
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 64px;
  border-radius: 50%;
  display: block;
}

.brand-title {
  font-weight: 450;
  opacity: 0.88;
  line-height: 1;
}


.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
}

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


/* =====================================================
   COMPONENTS
===================================================== */

/* Guiding questions panel */
.guiding-panel {
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.02);
}

@media (prefers-color-scheme: dark) {
  .guiding-panel {
    background: rgba(255, 255, 255, 0.02);
  }
}

.guiding-panel h3 {
  margin-top: 0;
}

/* Grid cards */
.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
}

/* Clickable card variant */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--accent);
  color: white;
}

.btn.secondary {
  border-color: var(--border);
}

