/* Valing, LLC — site styles. Fonts are self-hosted (no third-party requests). */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --paper: #F7F6F2;
  --paper-2: #EEECE5;
  --ink: #152226;
  --ink-soft: #3E4B4F;
  --green: #145743;
  --green-dark: #0E4233;
  --line: #D9D6CC;
  --focus: #C26A1B;
  --max: 72rem;
  --text: 40rem;
  --head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { top: 1rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.wordmark {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }

/* Type */
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); margin-top: 0; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1rem; max-width: var(--text); }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  margin-top: 1.75rem;
}
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.link-arrow {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}
.link-arrow:hover { border-bottom-color: var(--green); color: var(--ink); }

/* Hero */
.hero { padding: 4rem 0 4.5rem; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-art {
  border-radius: 6px;
  overflow: hidden;
  background: var(--green);
}
@media (max-width: 52rem) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* Sections */
.section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--paper-2); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 2.5rem;
}
@media (max-width: 52rem) {
  .section { padding: 3rem 0; }
  .split { grid-template-columns: 1fr; gap: 0.5rem; }
}

.page-head { padding: 3.5rem 0 2.5rem; }
.page-head .lead { margin-top: 0.5rem; }
.subtitle {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--green);
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* Feature list */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 48rem;
}
.features li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
}
.features li:last-child { border-bottom: 1px solid var(--line); }
.features .num {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1.2;
}
.features h3 { margin-bottom: 0.35rem; }
.features p { margin: 0; color: var(--ink-soft); }

/* Status note */
.note {
  border-left: 4px solid var(--green);
  background: #fff;
  padding: 1.25rem 1.5rem;
  max-width: 48rem;
  margin: 0 0 1.5rem;
}
.note p { margin: 0; }

/* Facts table */
.facts { margin: 0; max-width: 44rem; }
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 34rem) {
  .facts div { grid-template-columns: 1fr; gap: 0.15rem; }
}

.email-big {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  overflow-wrap: anywhere;
  user-select: all;
}

/* Prose pages */
.prose { max-width: var(--text); padding-bottom: 4rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }
.updated { color: var(--ink-soft); font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 48rem; padding-bottom: 4rem; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
}
.faq details p { margin: 0.75rem 0 0; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #DCE3E1;
  padding: 2.5rem 0;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer a { color: #fff; }
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.site-footer p { margin: 0.2rem 0; max-width: none; }
.site-footer .wordmark { color: #fff; font-size: 1.2rem; }
.site-footer :focus-visible { outline-color: #F2A65A; }

@media (max-width: 22rem) {
  .nav ul { gap: 1rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
