/* Shared styles for subpages */
:root {
  --cream: #EBF0F8;
  --cream-2: #DDE5F2;
  --ink: #0D1525;
  --ink-soft: #1C2B42;
  --muted: #5A6B82;
  --line: rgba(13,21,37,0.12);
  --accent: #2952D9;
  --card: #F0F4FB;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: 'Geist', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.mono { font-family: 'Geist Mono', monospace; letter-spacing: 0.08em; }
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.02em; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Geist Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.14em;
}
.logo .name { font-weight: 600; }
.logo .tld { font-weight: 400; opacity: 0.55; }
.top-nav { display: flex; gap: 36px; }
.top-nav a {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.top-nav a:hover,
.top-nav a.active { color: var(--ink); }
.top-nav a.active { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Page hero */
.page-hero {
  padding: clamp(48px, 8vw, 120px) clamp(24px, 5vw, 64px) clamp(32px, 5vw, 64px);
  max-width: 1400px;
  margin: 0 auto;
}
.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--muted);
}
.page-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(54px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.page-title em { font-style: italic; }
.page-lead {
  font-family: 'Geist', sans-serif;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 32px;
}

/* Content */
.content {
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 64px);
  max-width: 1400px;
  margin: 0 auto;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  position: sticky;
  top: 32px;
}
.prose { max-width: 720px; }
.prose p { margin-bottom: 20px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.prose h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  margin: 56px 0 16px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.prose h3:first-child { margin-top: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px clamp(24px, 5vw, 64px) 32px;
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 20px; }
.site-footer a:hover { color: var(--ink); }

/* Decorative mountain band */
.mountain-band {
  background: linear-gradient(180deg, #060c1a 0%, #112040 70%, #1e3878 100%);
  height: clamp(160px, 18vw, 240px);
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 80px);
}
.mountain-band svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.card .tag {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.card h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.card .meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card .arrow { font-size: 18px; transform: translateY(-1px); }

/* FAQ */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: 'Geist Mono', monospace;
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.2s;
}
details.faq[open] summary::after { content: "−"; }
details.faq p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}
