/* Fraunces, SIL Open Font License 1.1 (see ../fonts/OFL.txt) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 650;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 650;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f6f1e7;
  --paper-light: #fbf8f2;
  --sand: #ede5d5;
  --sky: #f5eedf;
  --ink: #1d2a23;
  --ink-soft: #3a4a40;
  --ink-muted: #56645b;
  --line: rgb(29 42 35 / 14%);
  --field-border: #9a8f7b;
  --green-950: #13281d;
  --green-900: #1c3a2c;
  --green-800: #234b37;
  --green-700: #2f5d45;
  --green-600: #3f7352;
  --sun: #f4bd57;
  --ochre: #d99a2b;
  --ochre-light: #f2c96e;
  --error: #9b3a26;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(29 42 35 / 6%), 0 12px 32px -12px rgb(29 42 35 / 22%);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p,
ul,
ol,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--green-700);
  text-underline-offset: 0.18em;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

.container {
  width: min(1160px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--green-900);
  color: var(--paper-light);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--green-800);
  color: var(--paper-light);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--green-900);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  transition: transform 0.2s;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn[disabled] {
  opacity: 0.75;
  cursor: progress;
}

.btn--small {
  padding: 0.6rem 1.1rem;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(245 238 223 / 85%);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green-900);
  font: 600 1.3rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand__mark {
  width: 2.1rem;
  height: 2.1rem;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
  }

  .site-header .btn {
    margin-left: auto;
  }
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 4.3rem);
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(180deg, var(--sky) 0%, #f7e9cf 45%, #f4dbb0 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  padding-block: clamp(2.5rem, 1rem + 4vw, 5.5rem) 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border: 1px solid rgb(29 42 35 / 10%);
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  color: var(--green-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4f9a5f;
}

.hero__title {
  max-width: 15.5ch;
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 1.2rem + 4.4vw, 4.75rem);
  font-weight: 480;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero__title em {
  padding-bottom: 0.04em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8.5C50 3.5 120 2.5 197 6' fill='none' stroke='%23f0b44c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 94% / 100% 0.22em;
  color: var(--green-700);
  font-style: italic;
  font-weight: 450;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem);
}

.hero .signup {
  max-width: 33rem;
  margin-top: 2rem;
}

.hero__art {
  position: relative;
  flex: none;
  width: 100%;
  height: max(240px, 30vw);
  margin-top: clamp(-10rem, 4rem - 16vw, 0rem);
  margin-bottom: -1px;
}

/* Signup forms */

.signup__row {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup__row:focus-within {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgb(63 115 82 / 18%), var(--shadow);
}

.signup__row:has([aria-invalid="true"]) {
  border-color: var(--error);
}

.signup__row input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.1rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.signup__row input::placeholder {
  color: #66706a;
}

.signup__error {
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 600;
}

.signup__error:not(:empty) {
  margin-top: 0.75rem;
}

.signup__note {
  margin-top: 0.9rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.signup__success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgb(63 115 82 / 25%);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.signup__success:focus {
  outline: none;
}

.signup__tick {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
}

.signup__success-title {
  margin-bottom: 0.25rem;
  color: var(--green-900);
  font: 500 1.35rem/1.2 var(--font-display);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 540px) {
  .signup__row {
    flex-direction: column;
    border-radius: 22px;
  }

  .signup__row input {
    padding: 0.8rem 0.9rem;
  }
}

/* At a glance */

.facts {
  padding-block: 1.5rem 3.5rem;
  background: var(--green-900);
  color: var(--paper);
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  padding: 0;
  list-style: none;
}

.fact {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgb(246 241 231 / 18%);
}

.fact__value {
  color: var(--ochre-light);
  font: 450 clamp(2.6rem, 2rem + 2vw, 3.75rem)/1 var(--font-display);
  letter-spacing: -0.02em;
}

.fact__label {
  max-width: 17rem;
  color: rgb(246 241 231 / 82%);
  font-size: 0.9375rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .facts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Sections */

.section {
  padding-block: var(--space-section);
}

.kicker {
  margin-bottom: 1rem;
  color: var(--green-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
}

/* The idea */

.idea__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.idea h2 {
  max-width: 13ch;
}

.prose {
  display: grid;
  gap: 1.25rem;
  padding-top: 2.2rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.idea__aside {
  padding-left: 1.25rem;
  border-left: 3px solid var(--sun);
  color: var(--green-800);
  font: italic 450 1.35rem/1.4 var(--font-display);
}

@media (max-width: 880px) {
  .idea__grid {
    grid-template-columns: 1fr;
  }

  .prose {
    padding-top: 0;
  }
}

/* Self-contained systems */

.systems {
  background: var(--sand);
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head h2 + p {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}

.card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.card h3 {
  margin-top: 0.5rem;
  font-size: 1.6rem;
}

.card__label {
  display: block;
  margin-bottom: 0.5rem;
  font: 700 0.8125rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card p {
  color: var(--ink-muted);
}

.card--power .card__icon {
  background: #f8e3b5;
  color: #8a5a0b;
}

.card--power .card__label {
  color: #8a5a0b;
}

.card--water .card__icon {
  background: #d4e6ec;
  color: #2c6880;
}

.card--water .card__label {
  color: #2c6880;
}

.card--waste .card__icon {
  background: #d8e8d1;
  color: var(--green-700);
}

.card--waste .card__label {
  color: var(--green-700);
}

.systems__note {
  margin-top: 2rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Concept plan */

.plan__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.plan__figure {
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.plan__art {
  width: 100%;
  height: auto;
}

.plan__nums {
  fill: #6d8063;
  font: 600 10px var(--font-body);
}

.plan__badge {
  color: #fff;
}

.plan__badge circle {
  stroke: #fff;
  stroke-width: 2.5;
}

.plan__badge--power circle {
  fill: var(--ochre);
}

.plan__badge--water circle {
  fill: #3f86a0;
}

.plan__badge--waste circle {
  fill: var(--green-600);
}

.legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem;
  margin-top: 1.25rem;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.35;
  list-style: none;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legend__key {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #fff;
}

.legend__key svg {
  width: 0.95rem;
  height: 0.95rem;
}

.legend__key--power {
  background: var(--ochre);
}

.legend__key--water {
  background: #3f86a0;
}

.legend__key--waste {
  background: var(--green-600);
}

.legend__key--block {
  border: 1px dashed #a2b693;
  border-radius: 5px;
  background: #d8e4c7;
}

.legend__key--block::after {
  content: "";
  width: 0.6rem;
  height: 0.42rem;
  border-radius: 1px;
  background: #5a646c;
}

.plan__disclaimer {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.plan__intro {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.timeline {
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
}

.timeline__item {
  position: relative;
  padding: 0 0 1.75rem 2.25rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 0.875rem;
  height: 0.875rem;
  border: 2px solid var(--green-600);
  border-radius: 50%;
  background: var(--paper);
}

.timeline__item::after {
  content: "";
  position: absolute;
  top: 1.45rem;
  bottom: 0.15rem;
  left: calc(0.4375rem - 1px);
  width: 2px;
  background: rgb(63 115 82 / 25%);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item:last-child::after {
  display: none;
}

.timeline__item.is-current::before {
  border-color: var(--ochre);
  background: var(--sun);
  box-shadow: 0 0 0 4px rgb(244 189 87 / 30%);
}

.timeline__tag {
  color: var(--green-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-top: 0.2rem;
  font-size: 1.3rem;
}

.timeline h3 + p {
  margin-top: 0.3rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

@media (max-width: 960px) {
  .plan__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .legend {
    grid-template-columns: 1fr;
  }
}

/* Questions */

.faq {
  background: var(--sand);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq__intro {
  max-width: 26rem;
  margin-top: 1.25rem;
  color: var(--ink-muted);
}

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

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  color: var(--green-900);
  font: 500 1.25rem/1.3 var(--font-display);
  list-style: none;
  cursor: pointer;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary:hover {
  color: var(--green-700);
}

.faq__icon {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0.35rem;
  border-radius: 50%;
  background: var(--paper-light);
  color: var(--green-700);
  transition: transform 0.25s, background-color 0.25s, color 0.25s;
}

.faq__list details[open] .faq__icon {
  background: var(--green-800);
  color: var(--paper-light);
  transform: rotate(45deg);
}

.faq__list details p {
  max-width: 40rem;
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }
}

/* Register */

.register {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background: var(--green-900);
  color: var(--paper);
}

.register::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(244 189 87 / 20%), transparent 65%);
  pointer-events: none;
}

.register__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.register .kicker {
  color: var(--ochre-light);
}

.register h2 {
  color: var(--paper-light);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
}

.register__lead {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: rgb(246 241 231 / 85%);
  font-size: 1.15rem;
}

.ticks {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgb(246 241 231 / 92%);
}

.ticks .icon {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: rgb(242 201 110 / 18%);
  color: var(--ochre-light);
}

.signup--card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: 24px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 45%);
}

.signup--card .signup__success {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.signup--card .signup__error:not(:empty) {
  margin: 0 0 1rem;
}

.signup--card .signup__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.field {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.optional {
  color: var(--ink-muted);
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  border-color: var(--green-600);
  outline: none;
  box-shadow: 0 0 0 4px rgb(63 115 82 / 18%);
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.3;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.chip:hover span {
  border-color: var(--green-600);
}

.chip input:checked + span {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--paper-light);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

@media (max-width: 880px) {
  .register__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  background: var(--green-950);
  color: rgb(246 241 231 / 72%);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
}

.site-footer .brand {
  color: var(--paper-light);
  font-size: 1.15rem;
}

.site-footer .brand__mark {
  width: 1.75rem;
  height: 1.75rem;
}

.site-footer__legal {
  flex: 1 1 20rem;
}

/* Plain confirmation page the server returns when JavaScript is off */

.notice-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.notice {
  max-width: 32rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  text-align: center;
}

.notice h1 {
  font-size: 2.2rem;
}

.notice p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.notice .btn {
  margin-top: 0.75rem;
}

/* Motion */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .pill__dot {
    animation: pulse 2.4s ease-out infinite;
  }

  .hero__inner > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__inner > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero__inner > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero__inner > :nth-child(4) {
    animation-delay: 0.18s;
  }

  .hero-cloud {
    animation: drift 48s ease-in-out infinite alternate;
  }

  .hero-cloud--b {
    animation-duration: 64s;
    animation-delay: -20s;
  }

  .hero-cloud--c {
    animation-duration: 40s;
    animation-delay: -8s;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(79 154 95 / 45%);
  }

  70%,
  100% {
    box-shadow: 0 0 0 0.5rem rgb(79 154 95 / 0%);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes drift {
  from {
    transform: translateX(-30px);
  }

  to {
    transform: translateX(40px);
  }
}
