/* ============================================
   Agnes shared CSS — used by contact, terms, privacy
   ============================================ */

:root {
  --bg:           #FAFAF7;
  --surface:      #FFFFFF;
  --surface-2:    #F4F5F1;
  --surface-tint: #EEF5EE;
  --ink:          #0E1411;
  --ink-2:        #1F2A23;
  --mute:         #5C6661;
  --soft:         #8A9389;
  --rule:         #E5E7E1;
  --rule-strong:  #D2D6CE;
  --field:        #1B6E3F;
  --field-2:      #155A33;
  --field-3:      #2F8A57;
  --field-tint:   #E1F0E6;
  --field-tint-2: #C7E4D2;
  --wheat:        #C8923C;
  --wheat-tint:   #FAEFD7;
  --soil:         #15201A;
  --soil-2:       #0C1410;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Vollkorn', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--field);
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 760px; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ========== buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14.5px; font-weight: 500;
  transition: all .15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--field); color: #fff;
  border-color: var(--field);
}
.btn-primary:hover {
  background: var(--field-2); border-color: var(--field-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(27,110,63,0.45);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ink {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
}
.btn-ink:hover {
  background: #000; border-color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.35);
}
.btn-lg {
  padding: 14px 22px;
  font-size: 15.5px;
  border-radius: 12px;
}

/* ========== nav ========== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand .word {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: 30px;
  letter-spacing: -0.015em;
  line-height: 1;
}
.nav-center { display: flex; gap: 28px; align-items: center; }
.nav-center a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-center a:hover { color: var(--field); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.nav-right .signin { font-size: 14px; color: var(--mute); padding: 0 8px; }
.nav-right .signin:hover { color: var(--ink); }

/* ========== closing + footer dark band ========== */
.closing-band {
  position: relative;
  background-color: var(--soil-2);
  background-image:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='140' viewBox='0 0 480 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='1'%3E%3Cpath d='M -10 36 Q 120 18 240 36 T 490 36'/%3E%3Cpath d='M -10 72 Q 120 54 240 72 T 490 72'/%3E%3Cpath d='M -10 108 Q 120 90 240 108 T 490 108'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1.6px);
  background-size: 480px 140px, 26px 26px;
  background-repeat: repeat;
  color: #98A29C;
  padding: 56px 0 32px;
}
.ftr-divider { border: none; border-top: 1px solid #243029; margin: 0 0 40px; }
.ftr-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 28px;
}
.closing-band .brand .word { color: #fff; }
.ftr-tag { margin-top: 12px; color: #6E7872; font-size: 14px; max-width: 280px; line-height: 1.55; }
.ftr-links {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px;
  font-size: 14px;
}
.ftr-links a { color: #B8C0BB; }
.ftr-links a:hover { color: #fff; }
.ftr-bot {
  padding-top: 20px;
  border-top: 1px solid #243029;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: #4F5953; letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 12px;
}
.ftr-bot a { color: #6E7872; margin-left: 22px; }
.ftr-bot a:hover { color: #B8C0BB; }

/* ========== page-header (reusable hero for subpages) ========== */
.page-head {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { color: var(--field); margin-bottom: 22px; display: inline-block; }
.page-head h1 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.0;
  margin-bottom: 24px;
}
.page-head .lead {
  font-size: 18px; color: var(--mute); max-width: 60ch; line-height: 1.5;
}

/* ========== responsive ========== */
@media (max-width: 1000px) {
  .nav-center { display: none; }
  .ftr-row { grid-template-columns: 1fr; }
  .ftr-links { justify-content: flex-start; }
}
