:root {
  --paper: #faf6ec;
  --paper-deep: #f1ead8;
  --surface: #fffdf7;
  --ink: #17231b;
  --ink-soft: #5b6357;
  --rule: #dcd3ba;
  --rule-strong: #c7bb96;
  --brand: #1f6f4a;
  --brand-strong: #144830;
  --brand-soft: #e4efe7;
  --credit: #1f6f4a;
  --debit: #b23b22;
  --debit-soft: #f7e6e0;
  --warning: #9a6818;
  --warning-soft: #f6ead2;
  --blue: #2f6fa4;
  --shadow-sm: 0 12px 30px rgba(38, 49, 31, 0.08);
  --shadow-lg: 0 28px 80px rgba(38, 49, 31, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Hind Siliguri", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 47px,
    rgba(122, 105, 55, 0.08) 47px,
    rgba(122, 105, 55, 0.08) 48px
  );
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 8%, rgba(31, 111, 74, 0.08), transparent 24rem),
    radial-gradient(circle at 94% 30%, rgba(168, 113, 27, 0.07), transparent 26rem);
  content: "";
  pointer-events: none;
}

main {
  display: block;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.3rem);
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
  color: var(--ink-soft);
}

ul,
ol {
  padding: 0;
}

::selection {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

:focus-visible {
  outline: 3px solid #2f7fe0;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.container--narrow {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(76px, 9vw, 132px);
}

.section--compact {
  padding-block: clamp(52px, 6vw, 84px);
}

.section--surface {
  border-block: 1px solid var(--rule);
  background: rgba(255, 253, 247, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.section-heading--center > p:not(.eyebrow) {
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  background: var(--brand);
  content: "";
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  width: 36px;
  height: 2px;
  background: var(--brand);
  content: "";
}

.lede {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(31, 111, 74, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--brand-strong);
  text-decoration-color: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 111, 74, 0.2);
}

.button--primary:hover {
  background: var(--brand-strong);
}

.button--secondary {
  border-color: var(--rule-strong);
  background: rgba(255, 253, 247, 0.78);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.button--light {
  background: var(--paper);
  color: var(--brand-strong);
}

.button--ghost-light {
  border-color: rgba(250, 246, 236, 0.45);
  color: var(--paper);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container,
  .container--narrow {
    width: min(100% - 28px, 1180px);
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
