:root {
  color-scheme: light;
  --ink: #102d27;
  --body: #41594f;
  --muted: #58695f;
  --line: #d0dcd4;
  --green: #1a634b;
  --paper: #f6f7f1;
  --white: #fff;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 system-ui, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
a { color: var(--green); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid #917020; outline-offset: 4px; }
.skip { position: absolute; inset-block-start: -6rem; inset-inline-start: 1rem; background: var(--white); padding: .65rem 1rem; }
.skip:focus { inset-block-start: .6rem; z-index: 1; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.header-inner { min-height: 5rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand img, .hero-card img { border-radius: .8rem; object-fit: cover; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
nav a { color: var(--ink); font-size: .9rem; font-weight: 600; }
nav a[aria-current="page"] { color: var(--green); text-decoration-thickness: .14em; }

.hero { background: #0c3a2f; color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(3rem, 9vw, 7rem); }
h1, h2, h3 { line-height: 1.16; margin: 0 0 .7em; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 7vw, 5.4rem); margin-bottom: .28em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); text-wrap: balance; }
h3 { font-size: 1.2rem; margin-bottom: .45em; }
p { margin: 0 0 1rem; }
.kicker { font-size: .88rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: #d5bf7e; }
.lead { color: #deeee6; max-width: 39rem; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-card { padding: clamp(1.35rem, 4vw, 2.35rem); background: #164b3d; border: 1px solid #417367; border-radius: 1.15rem; }
.hero-card h2 { font-size: 1.8rem; margin: 0 0 .5em; }
.hero-card img { display: block; margin-bottom: 1.35rem; }
.hero-card p { color: #deeee6; }
.hero-card a { color: #fff2c8; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.actions a, .integration-callout a { display: inline-flex; align-items: center; min-height: 2.8rem; border: 1px solid transparent; border-radius: .55rem; padding: .6rem 1rem; font-size: .95rem; font-weight: 700; text-decoration: none; }
.primary { color: #132b24; background: #f0d689; }
.hero .secondary { color: var(--white); border-color: #8eaea0; }
.integration-callout .secondary { border-color: #6a9a87; color: var(--ink); }
.actions a:hover, .integration-callout a:hover { text-decoration: underline; }

.section { padding-block: clamp(2.2rem, 6vw, 4.5rem); }
.section p, .section li { color: var(--body); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.scope-grid { grid-template-columns: repeat(2, 1fr); }
.grid article { padding: clamp(1.2rem, 3vw, 2rem); border-radius: .85rem; border: 1px solid var(--line); background: var(--white); }
.grid article p, .integration-callout p, .site-footer p { margin-bottom: 0; }
.integration-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: clamp(1.25rem, 4vw, 2.5rem); margin-bottom: 2.5rem; border: 1px solid var(--line); border-radius: .85rem; background: #e7efe7; }
.integration-callout a { flex-shrink: 0; }
.steps { margin: 0; padding-inline-start: 1.4rem; }
.steps li { margin: .55rem 0; padding-inline-start: .2rem; }
.legal { max-width: 51rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: .55em; }
.legal h2 { margin-top: 1.35em; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.legal h3 { margin-top: 1.35em; }
.site-footer { padding-block: 1.5rem 2.25rem; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-size: .9rem; }

@media (max-width: 48rem) {
  .header-inner, .site-footer, .integration-callout { align-items: flex-start; flex-direction: column; }
  .hero-inner, .grid { grid-template-columns: 1fr; }
}
@media (max-width: 25rem) {
  .shell { width: calc(100% - 1.5rem); }
  .brand { font-size: .94rem; }
}
