:root {
  --sky: #bfe3f5;
  --mist: #eaf6ee;
  --paper: #fbfdfb;
  --nest: #edf3ee;
  --hedge: #1e4d40;
  --robin: #b5441a;
  --bark: #7a5638;
  --leaf: #6ba860;
  --quiet: #55605b;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: #17231f;
  font: 1.125rem/1.65 var(--body);
}

a { color: var(--hedge); text-underline-offset: 0.2em; }
a:hover { color: var(--robin); }
:focus-visible { outline: 3px solid var(--robin); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--hedge); line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.25rem; margin: 1.6rem 0 0.4rem; }
p { margin: 0 0 1rem; max-width: 40rem; }

.wrap { width: min(62rem, calc(100% - 2.5rem)); margin-inline: auto; }

/* The perch: sky, a branch, and the listening bird. */
.perch {
  position: relative;
  overflow: hidden;
  background: linear-gradient(var(--sky), var(--mist));
}
.perch .wrap { position: relative; padding: 3.2rem 0 11rem; }
.perch h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); max-width: 12ch; text-wrap: balance; }
.perch .lede { font-size: 1.3rem; max-width: 30rem; margin: 1.1rem 0 1.6rem; color: #1f3d34; }
.branch { position: absolute; left: 0; bottom: 0; width: 100%; height: 190px; pointer-events: none; }
.bird {
  position: absolute;
  right: clamp(0px, 4vw, 3rem);
  bottom: 46px;  /* its stand rests on the branch */
  width: clamp(150px, 26vw, 250px);
  height: auto;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; }
.button {
  display: inline-block;
  background: var(--hedge);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
}
.button:hover { background: #163a30; color: #fff; }
.soon { color: #28463d; }
.facts { margin: 1rem 0 0; font-size: 1rem; color: #28463d; max-width: none; }

main section { padding: 3.2rem 0 0; }
main section:last-of-type { padding-bottom: 3.5rem; }

/* How it works beside the latest-visitor slip. */
.together { display: grid; gap: 2.5rem 3.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) { .together { grid-template-columns: 1.15fr 0.85fr; } }
.steps { margin: 0; padding-left: 1.4rem; }
.steps li { margin-bottom: 1.1rem; padding-left: 0.4rem; max-width: 34rem; }
.steps li::marker { color: var(--robin); font-family: var(--serif); font-weight: 600; font-size: 1.2em; }
.steps strong { color: var(--hedge); font-weight: 600; }

.slip {
  margin: 0;
  background: #fff;
  border: 1px solid #d9e5dd;
  border-radius: 6px;
  padding: 0.9rem 0.9rem 1.1rem;
  box-shadow: 0 1px 0 #d9e5dd, 0 14px 28px -16px rgba(30, 77, 64, 0.45);
  transform: rotate(1.6deg);
  max-width: 21rem;
}
.slip img { display: block; width: 100%; height: auto; border-radius: 2px; background: var(--nest); }
.slip h3 { margin: 0.9rem 0 0.1rem; font-size: 1.55rem; }
.slip .latin { font-family: var(--serif); font-style: italic; color: var(--quiet); margin: 0; }
.slip .heard { margin: 0.5rem 0 0; }
.slip .sure { color: var(--robin); font-weight: 600; margin: 0; }
.slip small { display: block; margin-top: 0.7rem; color: var(--quiet); font-size: 0.85rem; line-height: 1.4; }

.two { display: grid; gap: 0 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; } }

footer { background: var(--nest); padding: 2.2rem 0 2.6rem; font-size: 0.95rem; color: var(--quiet); }
footer p { max-width: 44rem; }
footer nav { display: flex; gap: 0.4rem 1.4rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: 1rem; }

/* Plain pages: privacy and support. */
.page { padding: 3rem 0 3.5rem; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.4rem; }
.page .when { color: var(--quiet); margin-bottom: 2rem; }
.page dl { margin: 0; max-width: 42rem; }
.page dt { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--hedge); margin-top: 1.7rem; }
.page dd { margin: 0.35rem 0 0; }
.band { background: linear-gradient(var(--sky), var(--mist)); padding: 1.1rem 0; }
.band a { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .bird { animation: settle 0.9s ease-out both; }
  @keyframes settle { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 40rem) {
  .perch .wrap { padding-bottom: 12rem; }
  .bird { right: 0.5rem; }
}
