:root {
  color-scheme: light;
  --paper: #f8f9f5;
  --ink: #182c27;
  --muted: #4b6058;
  --line: #cdd8d1;
  --green: #205948;
  --night: #122e28;
  --light: #e7f3ec;
  --mint: #b9ebcc;
  font-family: system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol { margin: 0; }
a { color: var(--green); text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #448a75; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }

.skip-link { position: fixed; z-index: 2; top: .5rem; left: .5rem; padding: .5rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--night); color: white; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.25rem; }
.brand { color: inherit; display: block; width: 7.5rem; flex: 0 0 auto; }
.brand svg { display: block; fill: currentColor; width: 100%; }
.nav-links, .footer-links, .bio-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.nav-links a { color: inherit; font-size: .9375rem; text-decoration: none; }
.nav-links a:hover, .nav-links [aria-current] { text-decoration: underline; }

.hero { color: white; background: linear-gradient(120deg, var(--night) 20%, #164639 100%); }
.hero-inner { padding-block: clamp(3rem, 7vw, 6rem); }
h1 { max-width: 62rem; font-size: clamp(2.8rem, 7vw, 6.9rem); line-height: .99; letter-spacing: -.055em; font-weight: 650; }
.hero p { max-width: 39rem; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--light); }
.hero-link { display: inline-block; margin-top: 1.65rem; background: var(--mint); color: var(--night); padding: .65rem 1.05rem; border-radius: .3rem; text-decoration: none; font-weight: 650; }
.hero-link:hover { background: white; }

.section { padding-block: clamp(2.5rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 650; }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; }
.section p { color: var(--muted); }
.product-grid { margin-top: 1.65rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .6rem; background: #fff; overflow: hidden; }
.product-visual { display: grid; place-items: center; aspect-ratio: 1.5; overflow: hidden; border-bottom: 1px solid var(--line); }
.sigil-visual { background: #e5e9ff; }
.sigil-visual img { width: 43%; align-self: start; margin-top: 1.25rem; border-radius: 1.15rem; box-shadow: 0 8px 24px #121d6240; }
.passport-visual { background: #dcece5; padding: 1rem; }
.passport-visual img { width: 100%; border-radius: .38rem; box-shadow: 0 8px 24px #122e2833; }
.liquidity-visual { background: #dbe8ee; padding: 1rem; }
.liquidity-visual img { width: 100%; border-radius: .38rem; box-shadow: 0 8px 24px #142c3d35; }
.product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.15rem; gap: .6rem; }
.product-copy p { flex: 1; }
.product-copy a, .open-grid a, .text-link { font-weight: 650; }

.open-source { background: #e7efe9; }
.open-grid, .work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.65rem; }
.open-grid article { border-top: 1px solid #9fb7ac; padding-top: 1.2rem; }
.open-grid p { max-width: 36rem; margin: .6rem 0 .9rem; }
.article-links { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.validator-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.validator-strip p, .about > p { margin-top: .75rem; max-width: 42rem; }
.about, .team { border-top: 1px solid var(--line); }
.work-grid ul { list-style: none; padding: 0; margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; }
.bio-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.65rem; }
.bio img { width: 5.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: .75rem; }
.bio h3 { font-size: 1.12rem; }
.bio-links { gap: .3rem .75rem; font-size: .875rem; margin-top: .3rem; }

.site-footer { background: var(--night); color: var(--light); }
.site-footer a { color: inherit; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: 2.25rem; }
.footer-brand { font-weight: 650; font-size: 1.15rem; margin-bottom: .35rem; }
#mc_embed_signup_scroll { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
#mc_embed_signup_scroll label { flex-basis: 100%; }
#mc_embed_signup_scroll :is(input[type=email], input[type=submit]) { font: inherit; padding: .42rem .65rem; border: 1px solid transparent; border-radius: .25rem; }
#mc_embed_signup_scroll input[type=email] { width: min(100%, 13rem); }
#mc_embed_signup_scroll input[type=submit] { background: var(--mint); color: var(--night); font-weight: 650; cursor: pointer; }
#mc_embed_signup_scroll input[type=submit]:hover { background: white; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.validator-main { max-width: 54rem; }
.validator-main h1 { max-width: 45rem; font-size: clamp(2.6rem, 7.5vw, 5.5rem); }
.validator-main .intro { margin-top: 1rem; font-size: 1.125rem; }
.validator-main section { margin-top: 2rem; }
.validator-main ol { padding-left: 1.3rem; margin-top: 1rem; }
.validator-main li + li { margin-top: .55rem; }
.validator-address { display: block; margin: .85rem 0; padding: .8rem; background: #e7efe9; border: 1px solid var(--line); border-radius: .35rem; overflow-wrap: anywhere; }
.validator-main .text-link { display: inline-block; margin-top: .5rem; }

@media (max-width: 52rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bio-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  .wrap { width: calc(100% - 2rem); }
  .nav { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .nav-links { gap: .2rem .8rem; }
  .nav-links a { font-size: .875rem; }
  .hero-break { display: none; }
  .product-grid, .open-grid, .work-grid { grid-template-columns: 1fr; }
  .validator-strip { align-items: flex-start; flex-direction: column; }
}
