/* ===============================
   THE PIONEER FOREST – CORE STYLE
   =============================== */

:root {
  --bg-dark: #061a12;
  --bg-deep: #04140d;
  --forest-accent: #a6e3b3;
  --forest-accent-soft: rgba(166, 227, 179, 0.4);
  --forest-accent-hover: #d8f7df;
  --text-primary: #e6f5ec;
  --text-secondary: #b9d7c7;
  --border-soft: rgba(255,255,255,0.06);
}

/* ===============================
   GLOBAL RESET
   =============================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===============================
   BACKGROUND LAYERS
   =============================== */

.bg-base {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep));
  z-index: -4;
}

.bg-geometry {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      135deg,
      rgba(255,255,255,0.03) 1px,
      transparent 1px
    );
  background-size: 120px 120px;
  opacity: 0.2;
  z-index: -3;
}

.bg-pulse {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(40,120,80,0.25), transparent 70%);
  animation: pulse 12s infinite ease-in-out;
  z-index: -2;
}

.bg-grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.4; }
}

/* ===============================
   LAYOUT
   =============================== */

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 100px 20px 80px; /* slightly increased for balance */
}

/* TOP ANCHOR LINE FIX */
.anchor-line {
  width: 60px;
  height: 1px;
  background: var(--forest-accent-soft);
  margin-bottom: 28px;
  opacity: 0.7;
}

/* ===============================
   HEADER
   =============================== */

.header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
}

.logo {
  width: 64px;
  height: auto;
}

.title-block .kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.title-block h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ===============================
   CONTENT SECTIONS
   =============================== */

.intro {
  margin-bottom: 60px;
}

.intro h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.intro p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* ===============================
   FOREST LINK SYSTEM
   =============================== */

a {
  color: var(--forest-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--forest-accent-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--forest-accent-hover);
  border-bottom-color: rgba(216, 247, 223, 0.8);
}

/* ===============================
   NAVIGATION CARDS (Forest Hub)
   =============================== */

.paths {
  display: flex;
  flex-direction: column;
  gap: 18px;   /* uniform spacing only */
  margin-bottom: 60px;
}

.paths a {
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: all 0.2s ease;
  margin: 0;   /* prevent margin stacking */
}

.paths a:hover {
  border-color: var(--forest-accent-soft);
  background: rgba(166, 227, 179, 0.05);
}

.paths .link-title {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.paths .link-hint {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===============================
   FOOTER
   =============================== */

.footer {
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
}

.footer-line {
  margin-bottom: 6px;
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--text-secondary);
}