/* Self-hosted OFL fonts. Licenses: /fonts/OFL-Fraunces.txt, /fonts/OFL-InstrumentSans.txt, /fonts/OFL-DMMono.txt. */
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/fonts/dm-mono-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --grove: #0b3f43;
  --teal: #1a6f74;
  --lagoon: #2f8f8a;
  --mist: #d6e8e2;
  --bark: #45270f;
  --fur: #a26a39;
  --gold: #edb850;
  --face: #fcdeaa;
  --parch: #f7eedb;
  --swirl: #f1e4c3;
  --paper: #fff9ee;
  --clay: #d8693f;
  --ink: #2a1a0c;
  --ink-soft: #5c3e24;
  --muted: #5b4329;
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parch);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
:focus-visible {
  outline: 3px solid var(--bark);
  outline-offset: 3px;
}
.hero :focus-visible,
.day :focus-visible,
.final :focus-visible,
footer :focus-visible {
  outline-color: var(--gold);
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--bark);
  border: 2.5px solid var(--bark);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { transform: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: inherit;
}
h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 0; }
h3 { font-size: 24px; line-height: 1.2; margin: 0; }
em { font-style: italic; font-variation-settings: "WONK" 1; }
p { margin: 0; }
.eyebrow {
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mono { font-family: var(--mono); }

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

/* Navigation on the dark hero */
.hero-nav { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.hero-nav .wrap,
.top .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
  font: 600 26px/1 var(--serif);
  font-style: italic;
  font-variation-settings: "WONK" 1;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
}
.links { display: flex; gap: 8px 22px; align-items: center; flex-wrap: wrap; }
.links a {
  color: var(--swirl);
  text-decoration: none;
  font-size: 15px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.links a.btn-gold { color: var(--bark); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 26px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  border: 2.5px solid var(--bark);
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--bark); box-shadow: 0 4px 0 var(--bark); }
.btn-ghost { color: var(--paper); border-color: rgba(241, 228, 195, 0.7); background: transparent; }
.btn-sm { padding: 10px 18px; font-size: 14px; box-shadow: 0 3px 0 var(--bark); min-height: 48px; }

.hero {
  background: radial-gradient(1200px 600px at 75% 40%, #155a5e 0%, var(--grove) 60%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 150px 0 0;
}
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); font-weight: 400; margin: 0; }
.hero h1 em { color: var(--gold); }
.hero .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--swirl);
  max-width: 38ch;
  margin: 26px 0 34px;
}
.hero .eyebrow { color: var(--gold); margin-bottom: 24px; display: block; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.fine { margin: 18px 0 0; font: 400 13px/1.5 var(--mono); color: #c5ddd8; }
.stage-box { position: relative; min-height: 460px; }
.stage { width: 58%; margin-left: auto; height: auto; display: block; }
.meter {
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--bark);
  border-radius: 28px;
  padding: 18px 20px 16px;
  box-shadow: 0 6px 0 var(--bark);
}
.hero .meter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;
}
.meter .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.meter .tag, .note, .band, .verb, .len, .ex-list span, .soon {
  font-family: var(--mono);
}
.meter .tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.meter .state { font: 500 13px/1.3 var(--mono); color: var(--ink); }
.dial { width: 100%; height: auto; display: block; margin-top: 4px; }
.leaf { fill: #efe3c7; stroke: #cdb98f; stroke-width: 1.5; }
.leaf.on { fill: var(--gold); stroke: var(--bark); stroke-width: 2.5; }
.dnum { font: 500 54px/1 var(--serif); fill: var(--ink); }
.dlab { font: 400 12px/1.2 var(--mono); fill: var(--ink-soft); }
.meter dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1.5px dashed #d9c7a2; padding-top: 12px; margin: 4px 0 0; }
.meter dt { font: 400 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); white-space: nowrap; }
.meter dd { font: 500 18px/1.3 var(--mono); margin: 0; white-space: nowrap; }
.note { font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--muted); margin-top: 10px; }
.hero-foot { height: 56px; }

.orbit { transform-box: fill-box; transform-origin: center; animation: drift 6s ease-in-out infinite; }
.o2 { animation-duration: 5s; animation-delay: -1s; }
.o3 { animation-duration: 7s; animation-delay: -2s; }
.o4 { animation-duration: 4.5s; }
.o5 { animation-duration: 5.5s; animation-delay: -3s; }
.o6 { animation-duration: 6.5s; animation-delay: -2.5s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  50% { transform: translate(6px, -12px) rotate(5deg); }
}
.jitter { transform-box: fill-box; transform-origin: 50% 90%; animation: jit 2.4s ease-in-out infinite; }
@keyframes jit {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.5deg); }
}
.leaf.on { animation: grow 0.5s both; animation-delay: calc(var(--i) * 60ms + 300ms); }
@keyframes grow {
  from { opacity: 0; }
  to { opacity: 1; }
}

section { padding: 110px 0; }
.sec-head { max-width: 760px; margin-bottom: 54px; }
.sec-head p { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 58ch; }
.sec-head .eyebrow, .familiar .eyebrow { display: block; margin-bottom: 14px; }

.familiar .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.familiar .art {
  background: #b85a36;
  border: 2.5px solid var(--bark);
  border-radius: 28px;
  box-shadow: 0 6px 0 var(--bark);
  display: grid;
  place-items: center;
  padding: 30px;
}
.familiar .art .monkey { width: 100%; max-width: 360px; }
.symptoms { list-style: none; margin: 30px 0 0; padding: 0; }
.symptoms li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1.5px dashed #d9c7a2;
}
.symptoms li:last-child { border: 0; }
.symptoms .n {
  font: 500 14px/1 var(--mono);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--bark);
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--bark);
}
.symptoms b { display: block; font: 500 22px/1.25 var(--serif); }
.symptoms span { color: var(--muted); font-size: 16px; }
.coda { margin-top: 22px; font: italic 400 20px/1.5 var(--serif); color: var(--ink-soft); }

.helps { background: var(--swirl); border-top: 2.5px solid var(--bark); border-bottom: 2.5px solid var(--bark); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.card {
  background: var(--paper);
  border: 2.5px solid var(--bark);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 6px 0 var(--bark);
}
.three .card h3 { margin: 10px 0 8px; font-size: 28px; }
.three .card p, .state-card p, .install-grid .card p { color: var(--muted); }
.verb { font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase; }
.meter-row { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 24px; align-items: stretch; }
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.state-card .art {
  border-radius: 20px;
  border: 2.5px solid var(--bark);
  display: grid;
  place-items: center;
  height: 190px;
  margin-bottom: 22px;
  background: var(--teal);
  overflow: hidden;
}
.state-card:nth-child(1) .art { background: #b85a36; }
.state-card:nth-child(2) .art { background: #c49434; }
.monkey { width: 160px; height: auto; display: block; }
.band { font-size: 13px; font-weight: 500; color: var(--ink-soft); margin: 0 0 10px; }
.state-card p { margin-top: 10px; }

.day { background: var(--grove); color: var(--paper); }
.day .sec-head p { color: var(--swirl); }
.day .eyebrow { color: var(--gold); }
.timeline { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.tl { list-style: none; border-left: 2px dashed rgba(241, 228, 195, 0.45); padding: 0 0 0 28px; margin: 0; }
.tl li { position: relative; padding-bottom: 34px; }
.tl li::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grove);
  border: 2.5px solid var(--gold);
}
.tl time { font: 500 14px/1 var(--mono); color: var(--gold); }
.tl h3 { font-size: 22px; margin: 8px 0 6px; }
.tl p { color: #d5e6e2; font-size: 16px; }
.mirror {
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--bark);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 6px 0 #062628;
}
.mirror .from { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mirror .from img { width: 40px; height: 40px; border-radius: 50%; }
.mirror .from b { font: 600 16px/1.2 var(--sans); }
.mirror .from small { display: block; font: 400 12px/1.3 var(--mono); color: var(--ink-soft); }
.mirror .quote { font: 400 19px/1.55 var(--serif); margin: 0; }
.rate { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.rate span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bark);
  display: grid;
  place-items: center;
  font: 500 15px var(--mono);
  color: var(--ink);
}
.rate .picked { background: var(--gold); }
.sunday { margin-top: 24px; }
.sunday h3 { font: 600 18px/1.2 var(--sans); margin-bottom: 6px; }
.week { width: 100%; height: auto; margin: 10px 0 6px; }
.wl { font: 400 12px var(--mono); fill: var(--ink-soft); }

.ex-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.breath {
  background: var(--teal);
  color: var(--paper);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.breath .ring {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 2.5px solid var(--bark);
  background: var(--face);
  display: grid;
  place-items: center;
  animation: breathe 10s ease-in-out infinite;
  box-shadow: 0 0 0 14px rgba(237, 184, 80, 0.35);
}
.breath .ring img { width: 120px; height: 120px; border-radius: 50%; }
@keyframes breathe {
  0% { transform: scale(0.82); }
  40% { transform: scale(1); }
  100% { transform: scale(0.82); }
}
.breath .len { font-size: 13px; font-weight: 500; color: var(--paper); }
.breath h3 { font-size: 34px; margin: 8px 0; color: var(--paper); }
.breath p { color: var(--paper); }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1.5px dashed #d9c7a2;
  font-size: 17px;
}
.ex-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ex-list li:first-child { padding-top: 0; }
.ex-list b { font-weight: 600; }
.ex-list small { display: block; color: var(--muted); font-size: 14px; }
.ex-list span { font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }

.quiet { background: var(--swirl); border-top: 2.5px solid var(--bark); border-bottom: 2.5px solid var(--bark); }
.rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2.5px solid var(--bark);
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
}
.rules div { padding: 30px 26px; border-left: 2.5px solid var(--bark); }
.rules div:first-child { border-left: 0; }
.rules b { display: block; font: 400 46px/1 var(--serif); margin-bottom: 12px; color: var(--teal); }
.rules span { font-size: 15px; color: var(--muted); }

.install-grid { display: grid; grid-template-columns: minmax(0, 640px); gap: 24px; }
.install-grid .card h3 { margin: 12px 0 8px; }
.install-grid .card h4 { margin: 18px 0 8px; font: 600 16px/1.3 var(--sans); }
.install-grid .card p { margin-top: 8px; }
.soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px solid var(--bark);
  background: var(--gold);
  color: var(--bark);
}
.soon-live { background: var(--mist); }

.privacy-band { padding: 80px 0; }
.pgrid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.privacy-band h2 { font-size: clamp(32px, 4vw, 44px); }
.privacy-band .pgrid > div > p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2.5px solid var(--bark);
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 6px 0 var(--bark);
}
.ledger > div { padding: 22px 24px; }
.ledger .keeps { background: #f3e6cb; border-left: 2.5px solid var(--bark); }
.ledger h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 18px; }
.ledger ul { list-style: none; margin: 0; padding: 0; font: 400 14px/1.5 var(--mono); }
.ledger li {
  padding: 8px 0;
  border-bottom: 1.5px dashed #dccba6;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.ledger li:last-child { border: 0; }
.ledger .keeps li { text-decoration: line-through; text-decoration-color: var(--clay); text-decoration-thickness: 2px; color: var(--muted); }
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--bark);
  background: var(--lagoon);
  flex: none;
  display: inline-block;
}
.dot-gold { background: var(--gold); margin-top: 6px; }
.why {
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.keeps .dot { background: var(--clay); }
.promises { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chip {
  font: 500 13px/1.3 var(--mono);
  padding: 10px 14px;
  border: 2px solid var(--bark);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.name .grid { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.name .greek {
  font: 400 120px/1 var(--serif);
  color: var(--teal);
  font-style: italic;
  font-variation-settings: "WONK" 1;
  margin: 0;
}
.name .prose { font: 400 22px/1.55 var(--serif); max-width: 44ch; color: #3f2c1c; margin-top: 14px; }
.meander {
  height: 22px;
  background-color: var(--parch);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M0 20 H20 V2 H4 V16 H16 V6 H8 V12 H12' fill='none' stroke='%23EDB850' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}

.care { padding: 44px 0; background: var(--paper); border-top: 2.5px solid var(--bark); }
.care .wrap { display: flex; gap: 22px; align-items: flex-start; }
.care p { font-size: 16px; color: #3f2c1c; max-width: 78ch; }
.care a { color: #0e4e52; font-weight: 600; }

.final { background: var(--grove); color: var(--paper); text-align: center; padding: 110px 0 70px; }
.final img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--gold);
  margin-bottom: 28px;
}
.final h2 { max-width: 16ch; margin: 0 auto 18px; }
.final h2 em { color: var(--gold); }
.final .closer { color: var(--swirl); margin: 0 auto 32px; max-width: 48ch; font-size: 19px; }

footer {
  background: var(--grove);
  color: #d5e6e2;
  font: 400 13px/1.6 var(--mono);
  padding: 30px 0 40px;
  border-top: 1px solid rgba(241, 228, 195, 0.25);
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a {
  color: #f1e4c3;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 2px;
}

/* Privacy page */
.top { background: var(--parch); border-bottom: 2.5px solid var(--bark); }
.top .brand { color: var(--ink); }
.top .links a { color: var(--ink); }
.top .links a[aria-current="page"] { text-decoration: underline; font-weight: 600; }
.page { padding: 56px 0 0; }
.page-narrow { max-width: 820px; }
.page h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 400; margin: 0 0 18px; }
.page .lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.page h2 { font-size: clamp(28px, 3vw, 36px); margin: 40px 0 12px; }
.page p { margin: 0 0 14px; }
.page a { font-weight: 600; }
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 2.5px solid var(--bark);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 6px 0 var(--bark);
}
.table-wrap:focus-visible { outline: 3px solid var(--bark); outline-offset: 3px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
caption { text-align: left; padding: 16px 16px 0; font: 500 14px/1.4 var(--mono); color: var(--ink-soft); }
th, td { text-align: left; padding: 10px 16px; border-bottom: 1.5px dashed #d9c7a2; vertical-align: top; }
th { font: 500 13px/1.3 var(--mono); color: var(--ink-soft); }
code { font-family: var(--mono); font-size: 0.92em; }

@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .links { flex-wrap: nowrap; }
  .links a:not(.btn) { display: none; }
  .hero { padding-top: 108px; }
  .stage-box { min-height: 0; }
  .stage { width: 100%; margin-left: 0; }
  .hero .grid,
  .familiar .grid,
  .timeline,
  .ex-grid,
  .name .grid,
  .pgrid,
  .meter-row { grid-template-columns: 1fr; }
  .hero .lede { font-size: 18px; }
  .hero .meter { position: relative; left: auto; top: auto; width: 100%; margin-top: 8px; }
  .hero-foot { height: 28px; }
  section { padding: 76px 0; }
  .ledger { grid-template-columns: 1fr; }
  .ledger .keeps { border-left: 0; border-top: 2.5px solid var(--bark); }
  .states, .three, .install-grid { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules div:nth-child(odd) { border-left: 0; }
  .rules div:nth-child(n + 3) { border-top: 2.5px solid var(--bark); }
  .rules b { font-size: 34px; }
  .breath { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .name .greek { font-size: 72px; }
  .name .prose { font-size: 19px; }
  .symptoms b { font-size: 19px; }
  .final { padding: 76px 0 48px; }
}

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