/* Coming-soon home page. The headline does the one loud thing: it gets quieter, letter by letter. */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --fog: #ecf0ef;
  --ink: #1b2a31;
  --stone: #6f7d81;
  --hair: #d3dbd9;
  --sage: #7d9a84;
  font: 400 17px/1.6 "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--fog);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fog: #0e181c;
    --ink: #dde5e3;
    --stone: #7f8f93;
    --hair: #22323a;
    --sage: #8fae96;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 56px) 0;
}

.top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.gloss {
  margin: 0;
  color: var(--stone);
  font-size: 15px;
}
.gloss i {
  font-style: normal;
  color: var(--ink);
}

/* The headline: heavy and dark at "Your", whisper-thin and pale by "quieter." */
.say {
  margin: clamp(72px, 16vh, 168px) 0 0;
  font-size: clamp(60px, 13.5vw, 172px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 400;
}
.say span {
  animation: settle 1500ms cubic-bezier(0.2, 0.7, 0.15, 1) backwards;
}
@keyframes settle {
  from {
    font-weight: 860;
    color: var(--ink);
  }
}
.say span:nth-of-type(1) { font-weight: 860; color: color-mix(in oklab, var(--ink) 100%, var(--stone)); animation-delay: 420ms; }
.say span:nth-of-type(2) { font-weight: 819; color: color-mix(in oklab, var(--ink) 95%, var(--stone)); animation-delay: 475ms; }
.say span:nth-of-type(3) { font-weight: 778; color: color-mix(in oklab, var(--ink) 90%, var(--stone)); animation-delay: 530ms; }
.say span:nth-of-type(4) { font-weight: 736; color: color-mix(in oklab, var(--ink) 85%, var(--stone)); animation-delay: 585ms; }
.say span:nth-of-type(5) { font-weight: 695; color: color-mix(in oklab, var(--ink) 80%, var(--stone)); animation-delay: 640ms; }
.say span:nth-of-type(6) { font-weight: 654; color: color-mix(in oklab, var(--ink) 75%, var(--stone)); animation-delay: 695ms; }
.say span:nth-of-type(7) { font-weight: 613; color: color-mix(in oklab, var(--ink) 70%, var(--stone)); animation-delay: 750ms; }
.say span:nth-of-type(8) { font-weight: 572; color: color-mix(in oklab, var(--ink) 65%, var(--stone)); animation-delay: 805ms; }
.say span:nth-of-type(9) { font-weight: 531; color: color-mix(in oklab, var(--ink) 60%, var(--stone)); animation-delay: 860ms; }
.say span:nth-of-type(10) { font-weight: 489; color: color-mix(in oklab, var(--ink) 54%, var(--stone)); animation-delay: 915ms; }
.say span:nth-of-type(11) { font-weight: 448; color: color-mix(in oklab, var(--ink) 49%, var(--stone)); animation-delay: 970ms; }
.say span:nth-of-type(12) { font-weight: 407; color: color-mix(in oklab, var(--ink) 44%, var(--stone)); animation-delay: 1025ms; }
.say span:nth-of-type(13) { font-weight: 366; color: color-mix(in oklab, var(--ink) 39%, var(--stone)); animation-delay: 1080ms; }
.say span:nth-of-type(14) { font-weight: 325; color: color-mix(in oklab, var(--ink) 34%, var(--stone)); animation-delay: 1135ms; }
.say span:nth-of-type(15) { font-weight: 284; color: color-mix(in oklab, var(--ink) 29%, var(--stone)); animation-delay: 1190ms; }
.say span:nth-of-type(16) { font-weight: 242; color: color-mix(in oklab, var(--ink) 24%, var(--stone)); animation-delay: 1245ms; }
.say span:nth-of-type(17) { font-weight: 201; color: color-mix(in oklab, var(--ink) 19%, var(--stone)); animation-delay: 1300ms; }
.say span:nth-of-type(18) { font-weight: 160; color: color-mix(in oklab, var(--ink) 14%, var(--stone)); animation-delay: 1355ms; }

.intro {
  max-width: 34em;
  margin: clamp(36px, 6vh, 56px) 0 0;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
}
.when {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--stone);
}
/* One dot, the same sage the extension uses for posts it keeps. */
.when::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(32px, 6vw, 88px);
  max-width: 880px;
  margin: clamp(80px, 14vh, 140px) 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--hair);
}
.tiers h2 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tiers p {
  margin: 0;
  max-width: 30em;
  color: var(--stone);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 56px) 36px;
  font-size: 14px;
  color: var(--stone);
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}
footer .mail {
  margin-left: auto;
}

@media (max-width: 640px) {
  .tiers {
    grid-template-columns: 1fr;
  }
  footer .mail {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .say span {
    animation: none;
  }
}
