:root {
  --ink: #141414;
  --paper: #f3f0e8;
  --paper-2: #e7e3d9;
  --soft: #57534e;
  --lime: #c6f35c;
  --blue: #2f5ce8;
  --coral: #ff8a65;
  --m: clamp(16px, 2.8vw, 40px);
  --gap: clamp(16px, 2vw, 28px);
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --t-small: 15px;
  --t-body: 18px;
  --t-head: clamp(28px, 2.6vw, 36px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
p,
figure {
  margin: 0;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--t-head);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: var(--m);
  top: -60px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  z-index: 200;
}

.skip:focus {
  top: 12px;
}

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

/* Buttons: one shape for the whole page, square-ish corners. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 6px;
  font: 700 var(--t-body) var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button.lime {
  background: var(--lime);
  color: var(--ink);
}

.button.lime:hover {
  background: #d4f77e;
}

.button.big {
  min-height: 60px;
  padding: 0 32px;
  font-size: 18px;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.text-link:hover {
  text-decoration-thickness: 4px;
}

/* Hero: one blue field, the name in two inks. */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--blue);
  color: var(--paper);
  padding: 24px var(--m) 40px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-small);
}

.mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark svg {
  width: 12px;
  height: 20px;
}

.mark-drop {
  fill: var(--paper);
}

.mark-arrow {
  fill: none;
  stroke: var(--lime);
  stroke-width: 70;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.links {
  display: flex;
  gap: 24px;
}

.links a {
  text-decoration: none;
  font-weight: 500;
}

.links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stack {
  align-self: start;
  margin-top: 9vh;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(110px, 22vw, 330px);
  line-height: 0.84;
  letter-spacing: -0.045em;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.line-in {
  display: block;
}

.light {
  color: var(--paper);
}

.dark {
  color: var(--ink);
}

.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-left: auto;
  max-width: 34ch;
  text-align: right;
}

.lede {
  font-size: 20px;
  line-height: 1.45;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-get {
  font-size: var(--t-small);
}

/* Full-bleed screenshot */
.bleed {
  background: var(--ink);
}

.bleed figcaption {
  padding: 14px var(--m) 18px;
  color: var(--paper);
  font-size: var(--t-small);
}

/* Thirty, then two */
.compare {
  padding: clamp(96px, 12vw, 180px) var(--m) clamp(48px, 6vw, 96px);
  overflow: clip;
}

.compare-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}

.compare-head h2 {
  grid-column: 1 / 6;
}

.compare-head p {
  grid-column: 7 / 13;
  font-size: var(--t-body);
}

.specimens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: 12vh;
}

.specimen-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(110px, 15vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

/* Settings as sentences with switches */
.fits {
  padding-top: clamp(96px, 12vw, 180px);
}

.fits-title {
  padding: 0 var(--m) 32px;
}

.bands {
  margin: 0;
  padding: 0;
  list-style: none;
}

.band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--gap);
  row-gap: 8px;
  min-height: 20vh;
  padding: 24px var(--m);
  background: var(--paper);
  color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.band:nth-child(even)[data-on='false'] {
  background: var(--paper-2);
}

.band-text {
  display: contents;
}

.band-line {
  grid-column: 1 / 7;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.band-more {
  grid-column: 7 / 11;
  font-size: var(--t-body);
}

.band .switch {
  grid-column: 11 / 13;
  justify-self: end;
}

.band.lime[data-on='true'] {
  background: var(--lime);
}

.band.coral[data-on='true'] {
  background: var(--coral);
}

.band.blue[data-on='true'] {
  background: var(--blue);
  color: #ffffff;
}

.band.ink[data-on='true'] {
  background: var(--ink);
  color: var(--paper);
}

.band.paper[data-on='true'] {
  background: var(--lime);
}

/* The product's own switch, sized to the sentence. */
.switch {
  position: relative;
  width: 76px;
  height: 44px;
  border: none;
  border-radius: 22px;
  background: rgba(20, 20, 20, 0.18);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}

.switch i {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.25s var(--ease);
}

.switch[aria-checked='true'] {
  background: var(--ink);
}

.switch[aria-checked='true'] i {
  transform: translateX(32px);
  background: var(--lime);
}

.band.ink[data-on='true'] .switch {
  background: var(--paper);
}

.band.ink[data-on='true'] .switch i {
  background: var(--ink);
}

.band.blue[data-on='true'] .switch {
  background: var(--ink);
}

.switch:focus-visible {
  outline-color: currentColor;
}

/* Small when it should be */
.corner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  align-items: end;
  padding: clamp(96px, 12vw, 180px) var(--m);
  background: var(--paper-2);
}

.corner-text {
  grid-column: 1 / 5;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corner-tray {
  grid-column: 5 / 8;
}

.corner-water {
  grid-column: 8 / 13;
}

figure figcaption {
  margin-top: 10px;
  font-size: var(--t-small);
}

/* When will it ask? */
.ask {
  min-height: 88svh;
  padding: clamp(96px, 12vw, 180px) var(--m) 64px;
  background: var(--lime);
  display: flex;
  flex-direction: column;
}

.ask-input {
  width: 100%;
  margin-top: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 128px);
  line-height: 1;
  letter-spacing: -0.035em;
  caret-color: var(--blue);
  outline: none;
}

.ask-input:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 12px;
}

.ask-answer {
  max-width: 600px;
  margin-top: 40px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
}

.ask-summary {
  font-weight: 700;
}

.ask-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ask-times li {
  padding: 6px 12px;
  border-radius: 8px;
  background: #2a2a2a;
  font-variant-numeric: tabular-nums;
  font-size: var(--t-small);
}

.ask-times li.lunch {
  background: var(--coral);
  color: var(--ink);
}

.ask-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: auto;
  padding-top: 48px;
}

.ask-examples button {
  padding: 8px 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font: 500 var(--t-body) var(--body);
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.ask-examples button:hover {
  text-decoration-thickness: 3px;
}

/* See your week */
.week {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  padding: clamp(96px, 12vw, 180px) var(--m);
}

.week-text {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.week-text h2 {
  grid-column: 1 / 6;
}

.week-text p {
  grid-column: 7 / 13;
}

.week-settings {
  grid-column: 1 / 7;
}

.week-stats {
  grid-column: 7 / 13;
}

.week img,
.corner img {
  border-radius: 10px;
}

/* Or the calm one */
.aurora {
  padding: clamp(96px, 12vw, 180px) var(--m);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
}

.aurora h2 {
  grid-column: 1 / 6;
}

.aurora > p {
  grid-column: 7 / 13;
}

.aurora-shot {
  grid-column: 1 / 13;
  margin-top: 24px;
}

.aurora figure img {
  border-radius: 10px;
}

.aurora-tray {
  grid-column: 1 / 5;
  align-self: end;
}

.aurora-water {
  grid-column: 5 / 13;
  align-self: end;
}

.aurora-settings {
  grid-column: 1 / 7;
}

.aurora-stats {
  grid-column: 7 / 13;
}

.aurora figcaption {
  color: #c9c5bb;
}

/* Questions */
.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding: clamp(96px, 12vw, 180px) var(--m);
}

.faq h2 {
  grid-column: 1 / 4;
}

.faq-text {
  grid-column: 5 / 13;
  columns: 2;
  column-gap: 56px;
}

.faq-text p {
  break-inside: avoid;
  margin-bottom: 20px;
}

.faq-text strong {
  font-weight: 700;
}

/* The close, inverted */
.close {
  position: relative;
  z-index: 2;
  padding: clamp(96px, 12vw, 160px) var(--m) 40px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 14vw, 220px);
}

.close-title {
  font-size: clamp(64px, 10vw, 170px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.close-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.close-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.close-foot p {
  max-width: 36ch;
  font-size: 20px;
}

/* Footer */
.footer {
  display: grid;
  grid-template-rows: auto auto auto auto;
  row-gap: clamp(72px, 10vw, 160px);
  padding: 40px var(--m) 24px;
  background: var(--lime);
  color: var(--ink);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  font-size: var(--t-small);
}

.footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-cols a {
  text-decoration: none;
}

.footer-cols a:hover {
  text-decoration: underline;
}

.footer-head {
  font-weight: 700;
}

.wordmark {
  grid-row: 3;
  width: 100%;
  height: auto;
}

.wordmark text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 200px;
  letter-spacing: -10px;
  fill: var(--ink);
}

.legal {
  grid-row: 4;
  margin-top: calc(clamp(72px, 10vw, 160px) * -1 + 20px);
  font-size: var(--t-small);
}

/* The live break */
.demo {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo[hidden] {
  display: none;
}

.demo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--m);
}

.orb-wrap {
  position: relative;
  width: min(280px, 34vh, 64vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--lime);
  animation: halo 8s ease-in-out infinite;
}

.orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: var(--lime);
  animation: breathe 8s ease-in-out infinite;
}

.orb-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
}

.orb-time {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 8vh, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.orb-breath {
  margin-top: 6px;
  font-size: var(--t-small);
  font-weight: 700;
}

.demo-title {
  margin-top: 48px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--lime);
}

.demo-sub {
  margin-top: 16px;
  color: #c9c4ba;
}

.demo-meme {
  position: absolute;
  right: var(--m);
  top: clamp(24px, 8vh, 100px);
  width: 280px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(3deg);
  font-size: var(--t-small);
}

.meme-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: #5b8cff;
  font-weight: 700;
}

.meme-dots {
  display: flex;
  gap: 5px;
}

.meme-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.meme-head {
  padding: 14px 14px 0;
  font-weight: 700;
  font-size: 16px;
}

.meme-body {
  padding: 4px 14px 0;
  color: var(--soft);
}

.meme-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px 14px;
}

.meme-buttons span {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
}

.meme-buttons .go {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.demo-escape {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: #1f1f1f;
}

.demo-escape button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--paper);
  font: 500 15px var(--body);
  white-space: nowrap;
  cursor: pointer;
}

.demo-escape button:hover {
  background: #2a2a2a;
}

.demo-escape .esc-meeting {
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
}

.demo-escape .esc-meeting:hover {
  background: #ff9e80;
}

.hold-ring {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hold-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.hold-track,
.hold-fill {
  fill: none;
  stroke-width: 3;
}

.hold-track {
  stroke: #3a3a3a;
}

.hold-fill {
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-dasharray: 88;
  stroke-dashoffset: 88;
}

.esc-hold.holding .hold-fill {
  transition: stroke-dashoffset 3s linear;
  stroke-dashoffset: 0;
}

.hold-key {
  font-size: 11px;
  font-weight: 700;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.86);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes halo {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 1;
  }
  50% {
    transform: scale(1.14);
    opacity: 0.3;
  }
}

/* Motion: entrances, and the masked headline. */
.js .line-in {
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .line:nth-child(2) .line-in {
  transition-delay: 0.11s;
}

.js .shown .line-in,
.js .line-in.shown {
  transform: translateY(0);
}

.js .hero-foot {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
}

.js .hero.shown .hero-foot {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.shot-break img {
  transform-origin: center;
}

@media (max-width: 900px) {
  .compare-head h2,
  .compare-head p,
  .week-text h2,
  .week-text p,
  .aurora h2,
  .aurora > p,
  .aurora-tray,
  .aurora-water,
  .aurora-settings,
  .aurora-stats,
  .faq h2,
  .faq-text,
  .corner-text,
  .corner-tray,
  .corner-water,
  .week-settings,
  .week-stats {
    grid-column: 1 / -1;
  }

  .compare-head p,
  .week-text p {
    margin-top: 16px;
  }

  .faq-text {
    columns: 1;
    margin-top: 24px;
  }

  .corner-tray,
  .aurora-tray {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .links a:not(:last-child) {
    display: none;
  }

  .stack {
    font-size: 30vw;
    margin-top: 8vh;
  }

  .hero-foot {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .lede {
    font-size: var(--t-body);
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .compare {
    height: auto;
    padding-bottom: 0;
  }

  .specimens {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .specimen {
    height: 38svh;
    overflow: hidden;
    padding: 24px var(--m) 0;
    margin: 0 calc(var(--m) * -1);
  }

  .specimen:nth-child(2) {
    background: var(--ink);
    color: var(--paper);
  }

  .specimen-num {
    font-size: 28vw;
  }

  .band {
    min-height: 132px;
  }

  .band-line {
    grid-column: 1 / 10;
    font-size: 22px;
  }

  .band-more {
    grid-column: 1 / 10;
    grid-row: 2;
  }

  .band .switch {
    grid-column: 10 / 13;
    grid-row: 1 / 3;
  }

  .ask-input {
    font-size: 11vw;
  }

  .ask-examples button {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--ink);
    color: var(--lime);
    text-decoration: none;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .close-actions {
    width: 100%;
    align-items: stretch;
    text-align: center;
  }

  .close-foot .button {
    width: 100%;
  }



  .demo-meme {
    display: none;
  }

  .demo-escape {
    left: 16px;
    right: 16px;
    transform: none;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .line-in,
  .js .reveal,
  .js .hero-foot {
    transform: none;
    opacity: 1;
    transition: none;
  }
}
