:root{
  --ink: #3a50a3;         /* blue */
  --bg: #F6DCBA;          /* light orange */
  --paper: rgba(255,255,255,.72);
  --paper-2: rgba(255,255,255,.62);
  --rule: rgba(58,80,163,.25);
  --muted: rgba(20,24,40,.72);
  --shadow: 0 14px 30px rgba(0,0,0,.10);
  --radius: 18px;
  --max: 900px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:
    radial-gradient(1100px 520px at 18% 0%, rgba(255,255,255,.20), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(255,255,255,.12), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height:1.7;
  font-size: 18px;
  font-family:
    "Source Serif 4",
    Georgia,
    "Times New Roman",
    Times,
    serif;
}

h1, h2, h3,
.site-header,
.brand,
.brand-name,
.strong,
.button,
.nav,
label,
input,
textarea,
select{
  font-family:
    "Source Sans 3",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

p { margin-bottom: 1em; }

.wrap{
  width:min(var(--max), calc(100% - 2rem));
  margin:0 auto;
}

a{ color: var(--ink); }
a:hover{ opacity: .9; }

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
}
.skip-link:focus{
  left: 1rem;
  top: 1rem;
  background: rgba(255,255,255,.92);
  padding: .6rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  color: var(--ink);
}

/* Header: no nav, just brand */
.site-header{
  position: sticky;
  top: 0;
  background: rgba(240,194,136,1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  z-index: 10;
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding: .95rem 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:.55rem;
  text-decoration:none;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: .2px;
}
.brand-mark{
  display:inline-grid;
  place-items:center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.45);
}

.brand-logo{
  height: 44px;      /* try 24–40px */
  width: auto;
  display: block;
  opacity: 0.9;
}

.brand-name{ 
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  color: #3a50a3;
}

/* Layout + type */
.hero{ padding: 2.1rem 0 0; }
.title{
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  letter-spacing: -0.2px;
}
.lede{
  margin: 0 0 1.2rem;
  max-width: 60ch;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 600;
  color: #3a50a3;

}

.section{ padding: 1.2rem 0; }
h2{
  margin: 0 0 .75rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.1px;
}
p{ margin: .65rem 0; }

.strong{ font-weight: 700; }
.muted{ color: var(--muted); }

.rule{
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2rem 0 0;
}

.card{
  background: var(--paper);
  border: 1px solid rgba(58,80,163,.20);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: none; /*var(--shadow)*/
}

.stack {
  display: grid;
  gap: 1rem; /* adjust: 0.75rem, 1rem, 1.25rem */
}

.callout{
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(58,80,163,.18);
}

.divider{
  height: 1px;
  background: var(--rule);
  margin: 1rem 0;
}

.people{ line-height: 1.75; }

/* Lists */
.bullets{
  margin: .5rem 0 0;
  padding-left: 1.8rem;
}
.bullets li{ margin: .45rem 0; }

/* Join layout */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: .8rem;
}

.two-col > .card{
  min-width: 0;
}

@media (max-width: 820px){
  .two-col{ grid-template-columns: 1fr; }
}

/* Buttondown form */
.embeddable-buttondown-form{ margin-top: .6rem; }
.embeddable-buttondown-form label{
  display:block;
  font-weight: 800;
  margin-bottom: .35rem;
}
.form-row{
  display:flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.embeddable-buttondown-form input[type="email"]{
  flex: 1 1 260px;
  padding: .65rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(58,80,163,.28);
  background: rgba(255,255,255,.8);
  color: #18214a;
}
.embeddable-buttondown-form input[type="submit"]{
  padding: .65rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(58,80,163,.10);
  color: var(--ink);
  font-weight: 900;
  cursor:pointer;
}
.embeddable-buttondown-form input[type="submit"]:hover{
  background: rgba(58,80,163,.16);
}
.fineprint{
  margin-top: .6rem;
  font-size: .92rem;
  color: var(--muted);
}

/* Footer */
.site-footer{
  margin-top: 4rem;
  padding: 3rem 1rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,.15);
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo{
  height: 56px;   /* slightly larger than header feels nice here */
  width: auto;
  opacity: 0.85;
}

.footer-name{
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  color: #3a50a3;
}


:focus { outline: none; }

:focus-visible{
  outline: 3px solid rgba(58,80,163,.7);
  outline-offset: 3px;
  border-radius: 10px;
}

@media (max-width: 520px){

  .wrap{
    width: min(var(--max), calc(100% - 1.25rem));
  }

  a[href^="mailto:"]{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .header-row{
    padding: .6rem 0;
  }
  .brand{
    gap: .6rem;
  }
  .brand-logo{
    height: 36px;
  }
  .brand-name{
    font-size: 1.5rem;
    line-height: 1.15;
  }

  .hero{
    padding: 1.2rem 0 0;
  }
  .lede{
    font-size: 1.2rem;
  }

  .section{
    padding: 1rem 0;
  }
  .stack{
    gap: .85rem;
  }
  .card{
    padding: .95rem 1rem;
    border-radius: 14px;
  }
  .rule{
    margin-top: 1.25rem;
  }

  .bullets{
    padding-left: 1.5rem;
  }
  .bullets li{
    margin: .35rem 0;
  }

  .form-row{
    gap: .5rem;
  }
  .embeddable-buttondown-form input[type="email"],
  .embeddable-buttondown-form input[type="submit"]{
    width: 100%;
  }

  .two-col > .card{
    min-width: 0;
  }

  .two-col .embeddable-buttondown-form input[type="email"]{
    flex: 1 1 100%;
  }

  .site-footer{
    margin-top: 3rem;
    padding: 2.25rem 1rem 1.75rem;
  }
  .footer-logo{
    height: 48px;
  }
}
