:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --ink: #182b25;
  --muted: #5d6b63;
  --line: #cfd6cf;
  --card: #e9eee9;
  --green: #214a38;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, input { font: inherit; }

button, a, input { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

::selection { background: #cbdccf; color: var(--ink); }

.page-shell { width: min(100% - 64px, 1240px); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  flex-shrink: 0;
  font-weight: 720;
  font-size: 1.3rem;
  letter-spacing: -.05em;
  text-decoration: none;
}

.wordmark-dot { color: #5b8b65; }

.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }

.main-nav a, .back-to-top {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.main-nav a:hover, .back-to-top:hover { color: var(--ink); }

.hero { padding: clamp(70px, 9vw, 128px) 0 108px; }

.eyebrow, .section-label, .card-kicker, .aside-top, .aside-bottom, .footer-label {
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 15px; color: var(--green); }
.eyebrow-line { display: block; width: 25px; height: 1px; background: currentColor; }

h1, h2, p { margin-top: 0; }

h1 {
  margin: 34px 0 55px;
  max-width: 1150px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7.55rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.067em;
}

h1 em, .story-grid h2 em { font-weight: 400; }

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1030px;
}

.hero-bottom p {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.55;
}

.text-link {
  flex-shrink: 0;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--ink);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link span, .button-link span, .input-row button span, .social-list a span:last-child { margin-left: 10px; }

.section { border-top: 1px solid var(--line); scroll-margin-top: 28px; }

.section-label {
  display: flex;
  gap: 34px;
  padding: 24px 0 48px;
  color: var(--muted);
}

.section-label span:first-child { color: var(--ink); }

.project-section { padding-bottom: 116px; }

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr);
  min-height: 476px;
  overflow: hidden;
  background: #fbf6ec;
  color: #2a2118;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.project-main { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(36px, 5vw, 68px); }

.card-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 52px; color: #7a4583; }
.card-kicker img { display: block; width: 44px; height: 44px; }

.project-main h2 {
  margin: 0 0 19px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(4.4rem, 6.5vw, 6.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.signup-grid h2 span { color: #6a9b70; }

.project-description { max-width: 470px; margin-bottom: 30px; font-size: 1.16rem; line-height: 1.55; }

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 53px;
  padding: 15px 20px;
  background: #7a4583;
  color: var(--white);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.button-link:hover { background: #5f3168; transform: translateY(-2px); }

.platform-links { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: 22px; }
.platform-links a { border-bottom: 1px solid #b690bc; color: #603069; font-size: .87rem; font-weight: 650; line-height: 1.5; text-decoration: none; }
.platform-links a:hover { border-color: currentColor; }

.project-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 43px;
  background: #eee1ef;
  color: #603069;
}

.aside-top { align-self: flex-end; }
.aside-bottom { align-self: flex-start; }
.befree-mascot { align-self: center; display: block; width: min(74%, 225px); height: auto; filter: drop-shadow(0 16px 14px rgb(57 32 63 / 9%)); }

.story-section { padding-bottom: 120px; }

.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8%; align-items: end; }

.story-grid h2, .elsewhere-grid h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.1vw, 5.4rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.06em;
}

.story-grid p { max-width: 450px; margin-bottom: 4px; font-size: 1.16rem; line-height: 1.67; }

.signup-section { padding-bottom: 120px; }

.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }

.signup-grid h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 5.5vw, 6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.065em;
}

.signup-grid > div:first-child p { max-width: 455px; margin-bottom: 0; font-size: 1.1rem; line-height: 1.65; }

.signup-panel { align-self: end; padding-bottom: 5px; }
.signup-panel label { display: block; margin-bottom: 12px; font-size: .87rem; font-weight: 700; }

.input-row { display: flex; border: 1px solid var(--ink); background: var(--white); }

.input-row input {
  width: 100%;
  min-width: 0;
  padding: 18px 16px;
  border: 0;
  border-radius: 0;
  outline-offset: -4px;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.input-row input::placeholder { color: #79847c; }

.input-row button {
  flex-shrink: 0;
  min-width: 165px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.input-row button:hover, .input-row button:focus-visible { background: var(--green); }
.input-row button:disabled { opacity: .72; cursor: wait; }

.form-note, .form-status { margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.form-status { min-height: 1.4em; font-weight: 650; }
.form-status.error { color: #a33731; }
.form-status.success { color: var(--green); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.elsewhere-section { padding-bottom: 124px; }
.elsewhere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.elsewhere-grid h2 { margin-bottom: 18px; }
.elsewhere-grid p { margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.handle { color: var(--ink); font-weight: 650; }

.social-list { border-top: 1px solid var(--line); }

.social-list a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  font-weight: 600;
  text-decoration: none;
  transition: padding .2s ease, color .2s ease;
}

.social-list a:hover { padding-left: 6px; color: var(--green); }
.social-list a span:last-child { color: var(--muted); }

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 43px 0 58px;
  border-top: 1px solid var(--ink);
}

.site-footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-label { color: var(--muted); }
.site-footer > div a { font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 620; letter-spacing: -.045em; text-decoration-thickness: 1px; text-underline-offset: 5px; }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 40px, 720px); }
  .site-header { min-height: 78px; }
  .hero { padding: 84px 0 90px; }
  h1 { font-size: clamp(3.45rem, 9vw, 5.8rem); }
  .project-card { grid-template-columns: 1fr 40%; min-height: 440px; }
  .project-main { padding: 38px; }
  .project-aside { padding: 28px; }
  .story-grid, .signup-grid, .elsewhere-grid { gap: 7%; }
}

@media (max-width: 650px) {
  .page-shell { width: min(100% - 36px, 500px); }
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding: 18px 0; }
  .wordmark { font-size: 1.22rem; }
  .main-nav { justify-content: space-between; width: 100%; gap: 10px; }
  .main-nav a { font-size: .76rem; }
  .hero { padding: 67px 0 80px; }
  .eyebrow { font-size: .69rem; }
  h1 { margin: 29px 0 38px; font-size: clamp(3.3rem, 12vw, 5rem); line-height: 1.01; }
  h1 br { display: none; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 26px; }
  .hero-bottom p { font-size: 1.07rem; }
  .section-label { gap: 24px; padding: 20px 0 34px; font-size: .69rem; }
  .project-section, .story-section, .signup-section, .elsewhere-section { padding-bottom: 78px; }
  .project-card { grid-template-columns: 1fr; }
  .project-main { padding: 32px 27px 36px; }
  .card-kicker { margin-bottom: 42px; }
  .project-main h2 { font-size: clamp(4.6rem, 17vw, 6rem); }
  .project-description { font-size: 1.04rem; }
  .project-aside { min-height: 260px; padding: 19px 27px; }
  .aside-top, .aside-bottom { font-size: .61rem; }
  .befree-mascot { width: min(42%, 150px); }
  .story-grid, .signup-grid, .elsewhere-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-grid h2, .elsewhere-grid h2 { font-size: clamp(3.1rem, 11vw, 4.5rem); }
  .story-grid p, .signup-grid > div:first-child p { font-size: 1.04rem; }
  .signup-grid h2 { font-size: clamp(3.6rem, 12vw, 5rem); }
  .input-row { flex-direction: column; }
  .input-row input { min-height: 55px; }
  .input-row button { min-height: 52px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 32px; padding: 32px 0 44px; }
  .site-footer > div a { font-size: clamp(1.2rem, 6vw, 1.65rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
