/* Salix26. Ink, willow leaf, and the white field from the mark. */

:root {
  --ink: #0e1822;
  --ink-soft: #1c2a34;
  --leaf: #3f9a78;
  --leaf-bright: #44a480;
  --leaf-deep: #2c7358;
  --numeral: #3d826f;
  --paper: #f3f6f4;
  --white: #ffffff;
  --line: #d5deda;
  --muted: #4c5c66;
  --sage: #e5f3ed;
  --display: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --max: 70rem;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--leaf);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  top: 0.6rem;
}

.container {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 3px solid var(--leaf);
  backdrop-filter: blur(10px);
}

.header-bar {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  width: 158px;
  height: auto;
}

.site-nav ul {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--leaf-deep);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-leaf {
  background: var(--leaf);
  color: var(--white);
}

.btn-leaf:hover {
  background: var(--leaf-deep);
}

.btn-line {
  border-color: currentColor;
  background: transparent;
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.header-cta {
  white-space: nowrap;
}

.hero {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(68, 164, 128, 0.18), transparent 60%),
    var(--ink);
  color: #f4f7f6;
  padding: 4.5rem 0 4.75rem;
}

.hero-grid,
.split,
.contact-grid,
.two-col {
  display: grid;
  gap: 2.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  align-items: end;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--leaf-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  margin-top: 1.15rem;
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero .lede,
.band-ink .lede,
.contact-card .sheet-kicker {
  color: #d7e3de;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero .btn-line {
  color: #f4f7f6;
}

.sheet {
  background: var(--white);
  color: var(--ink);
  padding: 1.35rem 1.35rem 0.4rem;
  border-top: 4px solid var(--leaf-bright);
}

.sheet-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin-bottom: 0.8rem;
}

.sheet ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sheet li {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.sheet strong {
  color: var(--ink);
  font-size: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-intro p,
.prose p + p,
.card p,
.step p,
.trade p,
.note p + p {
  margin-top: 0.75rem;
}

.muted {
  color: var(--muted);
}

.band {
  background: var(--paper);
}

.band-ink {
  background: var(--ink);
  color: #f4f7f6;
}

.band-ink .muted,
.band-ink .lede {
  color: #c9d6d1;
}

.band-sage {
  background: var(--sage);
}

.card-grid,
.step-grid,
.trade-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step,
.trade {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.35rem;
  text-decoration: none;
}

a.card:hover,
a.trade:hover {
  border-color: var(--leaf);
}

.num {
  margin: 0 0 0.7rem;
  color: var(--numeral);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.card h3,
.step h3,
.trade h3 {
  margin-bottom: 0.45rem;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trade-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leave-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.leave-list li {
  padding-left: 1.1rem;
  position: relative;
}

.leave-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--leaf-bright);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.4rem;
}

.page-hero {
  padding: 3.4rem 0 1rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.faq {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 1rem 0;
  cursor: pointer;
}

.faq-panel {
  padding: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-card {
  background: var(--ink);
  color: #f4f7f6;
  padding: 1.5rem;
}

.contact-card a {
  color: var(--leaf-bright);
}

.contact-card dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb2ab;
  margin-top: 1rem;
}

.contact-card dd {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
}

.site-footer {
  background: var(--ink);
  color: #d5e0dc;
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer a {
  color: #f4f7f6;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-brand img {
  width: 140px;
  height: auto;
  background: var(--white);
  padding: 0.35rem 0.45rem;
}

.legal {
  margin-top: 1.8rem;
  color: #8ea09a;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--leaf-bright);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid,
  .step-grid,
  .contact-grid,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .trade-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.2rem 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-nav a {
    display: block;
    padding: 0.55rem 0;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 560px) {
  .trade-grid,
  .leave-list {
    grid-template-columns: 1fr;
  }

  .container,
  .header-bar {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero,
  .section {
    padding: 3rem 0;
  }
}
