:root {
  --ink: #172019;
  --paper: #f4f0e4;
  --paper-deep: #e8e2d1;
  --green: #24553a;
  --green-dark: #163c29;
  --line: rgba(23, 32, 25, 0.18);
  --white: #fffdf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 7%, rgba(36, 85, 58, .13), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mark {
  width: 34px;
  height: 26px;
  position: relative;
  display: inline-block;
}
.mark i {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--paper);
}
.mark i:nth-child(1) { left: 0; top: 1px; }
.mark i:nth-child(2) { left: 9px; top: 8px; }
.mark i:nth-child(3) { right: 0; top: 1px; }

.header-link {
  font-size: .9rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.hero {
  padding: clamp(72px, 10vw, 136px) 0 clamp(72px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--green);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 930px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 500;
}
h1 em { color: var(--green); font-weight: 500; }

.lede {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  color: #34433a;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--green-dark);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 780;
}
.button.primary { color: var(--white); background: var(--green-dark); }
.button.secondary { background: transparent; }
.button:hover { transform: translateY(-1px); }

.live {
  padding: 70px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}
.live h2,
.about h2,
.network-note h2 {
  margin-bottom: 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 500;
}
.live > div > p:last-child,
.network-note > p:last-child { max-width: 600px; color: #415047; }

.town-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: clamp(28px, 4vw, 46px);
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  text-decoration: none;
  overflow: hidden;
}
.town-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -62px;
  bottom: -72px;
  border: 34px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.town-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 3rem; font-weight: 500; }
.town-card span:not(.town-status) { max-width: 520px; color: rgba(255,255,255,.82); }
.town-card b { margin-top: auto; font-size: 1.8rem; }
.town-status { justify-self: start; padding: 5px 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; font-size: .67rem; font-weight: 900; letter-spacing: .13em; }

.about { padding: 78px 0 88px; border-bottom: 1px solid var(--line); }
.principles {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principles article { padding: 30px 30px 36px 0; }
.principles article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.principles span { color: var(--green); font-size: .75rem; font-weight: 850; letter-spacing: .1em; }
.principles h3 { margin: 54px 0 12px; font-size: 1.15rem; }
.principles p { margin-bottom: 0; color: #4c5a51; }

.network-note { padding: 84px 0 96px; }
.network-note h2 { max-width: 680px; }
.network-note > p:last-child { font-size: 1.12rem; }

footer {
  min-height: 110px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #566159;
  font-size: .85rem;
}
footer span:first-child { color: var(--ink); font-weight: 800; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; }
  .header-link { font-size: .8rem; }
  .hero { padding-top: 64px; }
  .live { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles article,
  .principles article + article { padding: 26px 0 30px; border-left: 0; border-bottom: 1px solid var(--line); }
  .principles article:last-child { border-bottom: 0; }
  .principles h3 { margin-top: 24px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
