:root {
  --color-ground: #7a8b6f;
  --color-ground-deep: #4f5d47;
  --color-cream: #f5f0eb;
  --color-cream-soft: #ead9c7;
  --color-form-rule: rgba(122, 139, 111, .78);
  --color-ink: #1a1a1a;
  --font-serif: "Bodoni 72", Didot, "DM Serif Display", "Playfair Display", Georgia, serif;
  --font-sans: "Avenir Next", "Work Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

:root[data-theme="terracotta"] {
  --color-ground: #c95c36;
  --color-ground-deep: #a8462f;
  --color-form-rule: rgba(201, 92, 54, .78);
}

:root[data-theme="amber"] {
  --color-ground: #c4956a;
  --color-ground-deep: #8f6a47;
  --color-form-rule: rgba(196, 149, 106, .78);
}

:root[data-theme="clay"] {
  --color-ground: #b8836a;
  --color-ground-deep: #805843;
  --color-form-rule: rgba(184, 131, 106, .78);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--color-ground);
  color: var(--color-cream);
  font-family: var(--font-sans);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transition: background-color 220ms var(--ease-out);
}

.launch::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(2deg, rgba(245, 240, 235, .025) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(91deg, rgba(26, 26, 26, .018) 0 1px, transparent 1px 9px);
  mix-blend-mode: soft-light;
  opacity: .52;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.launch {
  --hero-top-space: clamp(116px, 14vh, 154px);

  min-height: 100svh;
  padding: var(--hero-top-space) 0 0;
  background: var(--color-ground);
  overflow-x: hidden;
  position: relative;
}

.poster {
  width: min(100%, 1168px);
  min-height: calc(100svh - var(--hero-top-space));
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  text-align: center;
}

.title-wrap {
  display: inline-block;
  position: relative;
}

h1 {
  margin: 0;
  color: var(--color-cream);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 18.2vw, 16.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .78;
}

.tagline {
  width: min(100%, 900px);
  margin: clamp(52px, 5.5vw, 66px) auto 0;
  position: relative;
  color: var(--color-cream);
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 5.1vw, 4.55rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.02;
}

.calm-phrase {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.divider {
  display: block;
  width: min(100%, 860px);
  height: 30px;
  margin: clamp(42px, 4vw, 56px) auto clamp(28px, 3vw, 36px);
}

.notify-form {
  width: min(100%, 720px);
  margin: 0 auto;
}

.notify-form label {
  display: block;
  margin-bottom: 22px;
  color: var(--color-cream);
  font-size: clamp(1.28rem, 1.85vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 0;
  min-height: 82px;
  overflow: hidden;
  background: rgba(245, 240, 235, .94);
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 1px rgba(245, 240, 235, .48),
    0 12px 28px rgba(26, 26, 26, .06);
}

.notify-form input,
.notify-form button {
  min-height: 82px;
  border: 0;
  border-radius: 0;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.notify-form input {
  width: 100%;
  background: transparent;
  color: var(--color-ink);
  outline: none;
  padding: 0 44px;
}

.notify-form input::placeholder {
  color: rgba(26, 26, 26, .47);
  opacity: 1;
}

.notify-form input:focus {
  box-shadow:
    inset 0 0 0 2px rgba(26, 26, 26, .22);
}

.notify-form button {
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  border-left: 1.5px solid var(--color-form-rule);
  padding: 0 30px;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.notify-form button:hover,
.notify-form button:focus-visible {
  background: rgba(234, 217, 199, .5);
  color: var(--color-ink);
}

.notify-form button:active {
  transform: translateY(1px);
}

.form-status {
  min-height: 0;
  margin: 0;
  color: rgba(245, 240, 235, .82);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.form-status:not(:empty) {
  margin-top: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: clamp(42px, 4vw, 52px);
  color: rgba(245, 240, 235, .76);
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.manifesto-section {
  background: var(--color-cream);
  color: var(--color-ink);
  padding: clamp(72px, 8vw, 112px) 24px clamp(92px, 10vw, 144px);
  position: relative;
}

.manifesto-section::before {
  content: "";
  width: min(84%, 840px);
  height: 30px;
  background: var(--color-cream-soft);
  position: absolute;
  left: 50%;
  top: -15px;
  transform: translateX(-50%) rotate(.8deg);
  clip-path: polygon(0 0, 98% 0, 96% 24%, 100% 50%, 96% 76%, 98% 100%, 0 100%, 2% 76%, 0 50%, 2% 24%);
}

.manifesto-shell {
  display: grid;
  grid-template-columns: minmax(220px, .54fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  width: min(100%, 1040px);
  margin: 0 auto;
}

.manifesto-shell h2 {
  max-width: 360px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .88;
}

.manifesto-copy {
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
  max-width: 680px;
}

.manifesto-copy p {
  margin: 0;
  color: rgba(26, 26, 26, .76);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
}

.manifesto-copy p:last-child {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  font-weight: 700;
  line-height: .98;
}

.category-section {
  background: var(--color-cream);
  color: var(--color-ink);
  padding: clamp(72px, 8vw, 116px) 24px clamp(86px, 9vw, 132px);
  position: relative;
}

.category-section::before {
  content: "";
  width: min(84%, 960px);
  height: 34px;
  background: var(--color-cream-soft);
  position: absolute;
  left: 50%;
  top: -17px;
  transform: translateX(-50%) rotate(-1deg);
  clip-path: polygon(0 0, 98% 0, 96% 24%, 100% 50%, 96% 76%, 98% 100%, 0 100%, 2% 76%, 0 50%, 2% 24%);
}

.category-shell {
  display: grid;
  grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr);
  gap: clamp(44px, 6vw, 88px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 18px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.category-copy h2 {
  max-width: 440px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .88;
}

.category-copy p:not(.section-kicker) {
  max-width: 440px;
  margin: 28px 0 0;
  color: rgba(26, 26, 26, .72);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}

.category-grid {
  display: grid;
  gap: 18px;
}

.category-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0 24px;
  padding: clamp(24px, 3vw, 34px);
  border: 1.5px solid rgba(26, 26, 26, .16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(122, 139, 111, .08), transparent 42%),
    rgba(255, 255, 255, .22);
}

.category-count {
  grid-row: 1 / span 3;
  width: 44px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  background: var(--color-ground);
  color: var(--color-cream);
  font-family: "Courier New", Courier, monospace;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-3deg);
}

.category-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .95;
}

.category-card p {
  margin: 14px 0 0;
  color: rgba(26, 26, 26, .76);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.36;
}

.category-card small {
  margin-top: 18px;
  color: rgba(26, 26, 26, .55);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-page {
  background: var(--color-cream);
  color: var(--color-ink);
}

.legal-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 24px clamp(72px, 9vw, 120px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.legal-shell h1 {
  color: var(--color-ink);
  font-size: clamp(4rem, 10vw, 7.6rem);
}

.legal-intro {
  margin: 22px 0 44px;
  color: rgba(26, 26, 26, .68);
  font-size: 1.2rem;
  line-height: 1.45;
}

.legal-section {
  padding: 30px 0;
  border-top: 1.5px solid rgba(26, 26, 26, .16);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1;
}

.legal-section p,
.legal-section li,
.legal-section address {
  margin: 0;
  color: rgba(26, 26, 26, .72);
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.58;
}

.legal-section p + p,
.legal-section address + p,
.legal-section ul {
  margin-top: 14px;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section code {
  color: var(--color-ink);
  font-family: "Courier New", Courier, monospace;
  font-size: .94em;
  font-weight: 700;
}

.doodle {
  pointer-events: none;
  color: var(--color-ink);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.doodle-circle {
  width: clamp(128px, 14vw, 196px);
  height: clamp(128px, 14vw, 196px);
  position: absolute;
  left: clamp(18px, 7vw, 84px);
  top: clamp(-36px, -2.8vw, -26px);
  transform: rotate(-12deg);
}

.calm-underline {
  width: 100%;
  height: 18px;
  position: absolute;
  left: 0;
  bottom: -.13em;
  color: var(--color-ink);
  stroke-width: 2.1;
}

.doodle-star {
  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);
  margin-left: 18px;
  position: relative;
  top: .18em;
  transform: rotate(7deg);
  stroke-width: 2.8;
}

.divider {
  color: var(--color-ink);
  stroke-width: 3;
}

.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 70px;
  padding: 11px 24px 10px;
  background: var(--color-cream-soft);
  color: var(--color-ink);
  position: absolute;
  right: clamp(-190px, -12vw, -124px);
  top: clamp(152px, 15.6vw, 236px);
  transform: rotate(-5deg);
  box-shadow: 0 1px 0 rgba(26, 26, 26, .08);
}

.sticker-word {
  width: clamp(98px, 9.4vw, 132px);
  height: auto;
  display: block;
  overflow: visible;
  transform: rotate(2deg) skewX(-4deg);
}

.sticker-word path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5.2;
}

.sticker-word-overdraw {
  opacity: .72;
  stroke-width: 2.4;
}

.sticker::before,
.sticker::after {
  content: "";
  width: 12px;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(245, 240, 235, .36) 42% 58%, transparent 58%),
    var(--color-cream-soft);
  position: absolute;
  top: 0;
}

.sticker::before {
  left: -8px;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 34% 75%, 0 48%, 34% 25%);
}

.sticker::after {
  right: -8px;
  clip-path: polygon(0 0, 82% 0, 66% 25%, 100% 48%, 66% 75%, 100% 100%, 0 100%);
}

.color-cycle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px 9px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 240, 235, .9);
  color: var(--color-ink);
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  box-shadow:
    0 10px 24px rgba(26, 26, 26, .08),
    inset 0 0 0 1px rgba(245, 240, 235, .4);
  transition:
    background-color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.color-cycle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-ground);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.color-cycle:hover,
.color-cycle:focus-visible {
  background: var(--color-cream);
}

.color-cycle:active {
  transform: translateY(1px) rotate(-1deg);
}

@media (max-width: 820px) {
  .launch {
    --hero-top-space: 18vh;

    height: auto;
  }

  .poster {
    width: min(100%, 620px);
    min-height: auto;
  }

  h1 {
    font-size: clamp(5.4rem, 15vw, 7.6rem);
    line-height: .82;
  }

  .tagline {
    width: min(100%, 560px);
    margin-top: 34px;
    font-size: clamp(2.25rem, 6.7vw, 3.25rem);
    line-height: 1.08;
  }

  .doodle-circle {
    width: 120px;
    height: 120px;
    left: 0;
    top: -54px;
  }

  .sticker {
    right: -78px;
    top: 74px;
    min-width: 118px;
    min-height: 48px;
    padding: 9px 16px 8px;
  }

  .sticker-word {
    width: 82px;
  }

  .email-row {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .notify-form input,
  .notify-form button {
    min-height: 62px;
    border-radius: 999px;
    background: rgba(245, 240, 235, .94);
  }

  .notify-form button {
    border-left: 0;
  }

  .color-cycle {
    right: 18px;
    bottom: 18px;
  }

  .manifesto-shell {
    grid-template-columns: 1fr;
  }

  .manifesto-shell h2,
  .manifesto-copy {
    max-width: 620px;
  }

  .category-shell {
    grid-template-columns: 1fr;
  }

  .category-copy h2,
  .category-copy p:not(.section-kicker) {
    max-width: 620px;
  }
}

@media (min-width: 821px) and (max-height: 980px) {
  .launch {
    --hero-top-space: clamp(86px, 11vh, 106px);

    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  h1 {
    font-size: clamp(8rem, 15.5vw, 13.25rem);
  }

  .tagline {
    width: min(100%, 790px);
    margin-top: clamp(36px, 4vw, 48px);
    font-size: clamp(3rem, 4.5vw, 3.9rem);
  }

  .divider {
    margin-top: 36px;
    margin-bottom: 24px;
  }

  .email-row,
  .notify-form input,
  .notify-form button {
    min-height: 70px;
  }

  .site-footer {
    margin-top: 34px;
  }

  .sticker {
    top: clamp(128px, 13.5vw, 178px);
  }
}

@media (max-width: 520px) {
  .launch {
    --hero-top-space: 20vh;
  }

  h1 {
    font-size: 3.9rem;
    letter-spacing: 0;
  }

  .tagline {
    width: min(100%, 332px);
    font-size: 1.75rem;
    line-height: 1.24;
  }

  .divider {
    margin-top: 40px;
  }

  .notify-form label {
    font-size: .9rem;
  }

  .notify-form input,
  .notify-form button {
    min-height: 52px;
    font-size: .95rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
    font-size: .82rem;
  }

  .site-footer nav {
    gap: 16px;
  }

  .category-section {
    padding-inline: 18px;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-count {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .doodle-circle {
    width: 82px;
    height: 82px;
    left: 4px;
    top: -54px;
  }

  .doodle-star {
    width: 42px;
    height: 42px;
    margin-left: 5px;
    top: 6px;
    stroke-width: 2.5;
  }

  .sticker {
    right: -12px;
    top: -50px;
    min-width: 96px;
    min-height: 40px;
    padding: 8px 13px 7px;
    transform: rotate(5deg);
  }

  .sticker-word {
    width: 68px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .poster {
    animation: poster-in 600ms var(--ease-out) both;
  }
}

@keyframes poster-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
