@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  color-scheme: light;
  --paper: var(--kehilio-surface);
  --ink: #1f372c;
  --muted: #4c6355;
  --line: #cdd9cb;
  --green: var(--kehilio-primary);
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 "DM Sans", system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid var(--kehilio-accent); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.invocation { text-align: right; font-size: .8rem; padding: 5px 16px 0; }
header { border-bottom: 1px solid var(--line); }
.site-navigation, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px 28px; padding-block: 14px; }
.nav-links, .footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.nav-links a, .footer-links a { font-size: .92rem; font-weight: 600; }
.nav-links a[aria-current="page"] { text-decoration-thickness: 2px; }
.skip { position: absolute; inset: 12px auto auto 12px; padding: 8px 14px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.hero { padding-block: clamp(46px, 8vw, 112px) clamp(30px, 5vw, 62px); border-bottom: 1px solid var(--line); }
.hero h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; overflow-wrap: break-word; }
.hero h1 { font-size: clamp(3rem, 7.3vw, 6.4rem); max-width: 14ch; letter-spacing: -.02em; }
.hero p { max-width: 60ch; font-size: clamp(1.02rem, 2vw, 1.27rem); color: var(--muted); margin: 18px 0 0; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h3 { font-size: 1.95rem; }
.section, .closing { padding-block: clamp(32px, 6vw, 66px); }
.section + .section, footer, .closing { border-top: 1px solid var(--line); }
.section p, .closing p { max-width: 65ch; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 16px; }
.cols article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fcfcf7; }
.cols article p { margin-bottom: 0; color: var(--muted); }
.cols article h3 + p { margin-top: 10px; }
.cols article + article { margin-top: 0; }
blockquote { margin: 0; padding: clamp(23px, 5vw, 58px); border-radius: 14px; background: var(--green); color: var(--paper); }
blockquote p { margin: 0 0 18px; font: clamp(2rem, 5vw, 3.55rem)/1.12 var(--serif); max-width: 22ch; }
blockquote footer { padding-top: 12px; border-color: #b8d0bc55; }
.button { display: inline-block; padding: 11px 19px; border-radius: 7px; text-decoration: none; background: var(--green); color: white; font-weight: 700; }
.small { color: var(--muted); font-size: .91rem; }
.ledger { margin: 16px 0 0; }
.ledger > div { display: grid; grid-template-columns: minmax(145px, 1fr) 2fr; gap: 16px; padding-block: 15px; border-top: 1px solid var(--line); }
.ledger dt { font-weight: 700; }
.ledger dd { margin: 0; color: var(--muted); }
.ledger .provider-name { display: grid; justify-items: start; align-content: start; gap: 7px; }
.provider-logo { display: block; height: auto; width: min(100%, 126px); }
.stripe-logo { width: min(100%, 70px); }
@media (max-width: 620px) {
  .site-navigation, .site-footer { flex-direction: column; align-items: flex-start; }
  .nav-links, .footer-links { gap: 8px 16px; }
  .ledger > div { grid-template-columns: 1fr; gap: 3px; }
}
