/* Mindling landing, in the app's ink sticker idiom (JourneyKit / HomeScreen). */

/* Self-hosted and preloaded: with Google Fonts' swap every page painted in the
   fallback first and then jumped, which read as a flicker between pages. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: optional;
  src: url('/assets/fonts/nunito-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/fredoka-one-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Gochi Hand';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/gochi-hand-latin.woff2') format('woff2');
}

:root {
  --bg: #fdfaf4;
  --bg-tint: #f5efe3;
  --ink: #1c2233;
  --ink-soft: #5c5548;
  --white: #ffffff;
  --teal: #28b0a5;
  --teal-deep: #12706a;
  --teal-pale: #cef0ec;
  --gold: #ffd966;
  --coral: #ff8fa3;
  --lav-pale: #f0e8fc;

  --font-heading: 'Fredoka One', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-note: 'Gochi Hand', cursive;

  --border: 3px;
  --lift: 6px;
  --radius: 28px;

  --g1: #8fe3da;
  --g2: #28b0a5;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: var(--border) solid var(--ink);
  border-radius: 12px;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

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

/* ── Building blocks ─────────────────────────────────────────────────────── */

.ink-card {
  background: var(--white);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--lift) var(--lift) 0 var(--ink);
}

.heading {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.005em;
}

.heading--xl {
  font-size: clamp(3rem, 6.4vw, 5.5rem);
}

.heading--lg {
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  margin-bottom: 1rem;
}

/* The highlighted second line: a white plate with a hard ink shadow, tilted. */
.plate {
  display: table;
  margin-top: 0.12em;
  padding: 0 0.3em 0.08em;
  background: var(--white);
  border-radius: 0.24em;
  box-shadow: 0.06em 0.08em 0 var(--ink);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.ink-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.75rem;
  border: var(--border) solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ink-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.ink-button:active {
  transform: translate(4px, 4px);
  box-shadow: 1px 1px 0 var(--ink);
}

.ink-button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.ink-button--small {
  min-height: 44px;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
  box-shadow: 4px 4px 0 var(--ink);
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.95rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.sticky {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.8rem 0.35rem;
  background: var(--white);
  border: var(--border) solid var(--ink);
  border-radius: 12px;
  font-family: var(--font-note);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  transform: rotate(-3deg);
}

.sticky--tilt-r {
  transform: rotate(3deg);
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 244, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border) solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-weight: 800;
  font-size: 1rem;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
  padding: 0.6rem 0;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 1.1rem;
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .site-header__inner > .ink-button {
    margin-left: auto;
  }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  padding: 1.5rem 0 5rem;
}

.hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 4rem;
  border-radius: 40px;
  box-shadow: 9px 10px 0 var(--ink);
  background: linear-gradient(160deg, #8fe3da 0%, #28b0a5 100%);
  overflow: hidden;
}

/* The soft white glow the Home hero carries in its corner. */
.hero__panel::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.14;
  pointer-events: none;
}

.hero__copy {
  position: relative;
}

.hero__copy .tag {
  margin-bottom: 1.75rem;
}

.hero__lede {
  margin: 1.75rem 0 2rem;
  max-width: 32rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.device {
  margin: 0;
  width: min(300px, 100%);
  border: var(--border) solid var(--ink);
  border-radius: 44px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(2deg);
}

@media (max-width: 900px) {
  .hero__panel {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 3.5rem;
  }
}

/* ── Promo video ─────────────────────────────────────────────────────────── */

.promo__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.promo__clip {
  position: relative;
  justify-self: center;
  width: min(300px, 100%);
  margin: 0;
  transform: rotate(-1.5deg);
}

.promo__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1560;
  border: var(--border) solid var(--ink);
  border-radius: 34px;
  background: var(--teal);
  box-shadow: 8px 8px 0 var(--ink);
  object-fit: cover;
}

.promo__sound {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  translate: -50% 0;
}

.promo__sound[hidden] {
  display: none;
}

@media (max-width: 860px) {
  .promo__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .promo__clip {
    width: min(280px, 100%);
  }
}

/* ── Waitlist ────────────────────────────────────────────────────────────── */

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  max-width: 34rem;
}

.waitlist--center {
  margin: 0 auto;
  justify-content: center;
}

.waitlist__input {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 56px;
  padding: 0 1.25rem;
  border: var(--border) solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.waitlist__input::placeholder {
  color: #6b6458;
}

.waitlist__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.waitlist__status {
  min-height: 1.6em;
  margin: 0.9rem 0 0;
  font-weight: 800;
}

.waitlist__status.is-error {
  color: #a12626;
}

/* ── Store badges ──────────────────────────────────────────────────────── */

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.stores--center {
  justify-content: center;
}

.stores__badge {
  display: inline-block;
  border-radius: 10px;
  transition: transform 0.12s ease;
}

.stores__badge[hidden] {
  display: none;
}

.stores__badge:hover {
  transform: translate(-1px, -1px);
}

.stores__badge img {
  display: block;
  width: auto;
  height: 50px;
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.section {
  padding: 6.5rem 0;
}

.section--tint {
  background: var(--bg-tint);
  border-top: var(--border) solid var(--ink);
  border-bottom: var(--border) solid var(--ink);
}

/* Whole-section mood gradients, like the app's ScreenBackground; light end first so ink stays readable. */
.section--mood {
  background: linear-gradient(170deg, var(--s1) 0%, var(--s2) 100%);
  border-top: var(--border) solid var(--ink);
  border-bottom: var(--border) solid var(--ink);
}

.section--mood + .section--mood,
.section--tint + .section--mood,
.section--mood + .section--tint {
  border-top: 0;
}

.section--mood .section__lede {
  color: var(--ink);
}

.section--tired {
  --s1: #ffe7b3;
  --s2: #f5a623;
}

.section--anxious {
  --s1: #e3d8fd;
  --s2: #9b7bf0;
}

.section--content {
  --s1: #dbe4fd;
  --s2: #6a8bf0;
}

.section__lede {
  max-width: 38rem;
  margin: 1.25rem 0 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ── Ribbon ──────────────────────────────────────────────────────────────── */

.ribbon {
  position: relative;
  height: 160px;
  margin: 1rem 0 4rem;
}

.ribbon svg {
  width: 100%;
  height: 140px;
  overflow: visible;
  margin-top: 20px;
}

.ribbon svg circle {
  stroke: var(--ink);
  stroke-width: 3;
}

.ribbon__edge,
.ribbon__fill {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.ribbon__edge {
  stroke: var(--ink);
  stroke-width: 34;
}

.ribbon__fill {
  stroke: var(--bg);
  stroke-width: 24;
}

.ribbon__pip {
  position: absolute;
  left: 23.5%;
  top: -24px;
  width: 92px;
  animation: pip-bob 2.6s ease-in-out infinite;
}

@keyframes pip-bob {
  50% {
    transform: translateY(-8px) rotate(-4deg);
  }
}

.ribbon__time {
  position: absolute;
  bottom: -18px;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

.ribbon__time--start {
  left: 0;
}

.ribbon__time--end {
  right: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}

.step {
  padding: 2rem;
}

.step--tilt-r {
  transform: rotate(1.5deg);
}

.step h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 1.1rem 0 0.5rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: var(--border) solid var(--ink);
  border-radius: 50%;
  background: var(--teal-pale);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

/* ── Mood demo ───────────────────────────────────────────────────────────── */

.mood-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.mood-demo__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26rem;
  padding: 3rem 2rem;
  border-radius: 36px;
  box-shadow: 8px 8px 0 var(--ink);
  background: linear-gradient(160deg, var(--g1) 0%, var(--g2) 100%);
  transition: background 0.35s ease;
  overflow: hidden;
}

.mood-demo__pip {
  width: min(220px, 60%);
  filter: drop-shadow(0 10px 0 rgba(28, 34, 51, 0.18));
}

.sticky--mood {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
}

.mood-demo__name {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--mood-ink, var(--teal-deep));
}

.mood-demo__label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mood-demo__label output {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 6.5vw, 2.2rem);
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}

.mood-demo__range {
  width: 100%;
  height: 44px;
  margin: 0.25rem 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.mood-demo__scale {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* A usual day is 100 on a 0-250 range, so it sits 40% along the track. */
.mood-demo__usual {
  position: absolute;
  left: 40%;
  translate: -50% 0;
  color: var(--ink);
}

.mood-demo__usual::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -0.55rem;
  width: 3px;
  height: 0.5rem;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--ink);
}

.mood-demo__note {
  max-width: 38rem;
  margin: 2.5rem 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 0.9375rem;
  cursor: pointer;
}

.chip::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--dot);
}

.chip[aria-pressed='true'] {
  background: var(--ink);
  color: var(--white);
}

.chip[aria-pressed='true']::before {
  border-color: var(--white);
}

@media (max-width: 860px) {
  .mood-demo {
    grid-template-columns: 1fr;
  }

  .mood-demo__stage {
    min-height: 20rem;
  }
}

/* ── Lock screen ─────────────────────────────────────────────────────────── */

.section--night {
  background: var(--ink);
  color: var(--white);
  border-top: var(--border) solid var(--ink);
}

.section--night .plate {
  color: var(--ink);
  box-shadow: 0.06em 0.08em 0 var(--teal);
}

.section--night .section__lede {
  color: #d9d5cb;
}

.lock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

/* A wallpaper-ish lock screen: the card has to read on whatever photo is behind it. */
.lock__screen {
  padding: 3rem 2rem 3.5rem;
  border: var(--border) solid #3a4160;
  border-radius: 40px;
  background:
    radial-gradient(120% 80% at 20% 0%, #5a2340 0%, transparent 60%),
    radial-gradient(100% 70% at 90% 100%, #2c3d6b 0%, transparent 60%),
    #1a1426;
  text-align: center;
}

.lock__date {
  margin: 0;
  font-weight: 700;
  color: #e9e3f2;
}

.lock__time {
  margin: 0 0 2.25rem;
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 9vw, 6.5rem);
  line-height: 1;
  color: #f4effa;
}

.live {
  display: flex;
  max-width: 30rem;
  margin: 0 auto;
  text-align: left;
  background: var(--bg);
  border: var(--border) solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
}

.live__mascot {
  position: relative;
  flex: 0 0 34%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #8fe3da 0%, #28b0a5 100%);
  border-right: var(--border) solid var(--ink);
  overflow: hidden;
}

.live__glow {
  position: absolute;
  top: -30%;
  right: -30%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.14;
}

.live__halo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg);
}

.live__halo img {
  width: 62%;
}

.live__stats {
  flex: 1;
  min-width: 0;
  padding: 1.1rem 1.25rem 1rem;
}

.live__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.live__name {
  margin: 0;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.05;
  color: var(--ink);
}

.live__species {
  margin: 0.1rem 0 0;
  white-space: nowrap;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.live__tag {
  padding: 0.15rem 0.6rem;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  font-weight: 900;
  font-size: 1rem;
  color: #1a7f78;
}

.live__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.live__icon {
  flex: none;
  width: 18px;
  height: 18px;
}

.live__icon--heart {
  fill: #e85a5a;
}

.live__icon--mana {
  fill: #7b5ff0;
}

.live__icon--phone {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.live__bar {
  flex: 1;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #efeae0;
  overflow: hidden;
}

.live__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #28b0a5;
}

.live__fill--mana {
  background: #9b7bf0;
}

.live__value {
  min-width: 2.2rem;
  text-align: right;
  font-weight: 900;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.live__value--mana {
  color: #7b5ff0;
}

.live__today {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.live__today b {
  color: #a12626;
}

@media (max-width: 900px) {
  .lock {
    grid-template-columns: 1fr;
  }

  .lock__screen {
    padding: 2.25rem 1rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .live__name {
    font-size: 1.35rem;
  }

  .live__species {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .live__stats {
    padding: 0.9rem 0.9rem 0.8rem;
  }

  .live__tag {
    font-size: 0.85rem;
  }

  .live__today {
    font-size: 0.85rem;
  }
}

/* ── Missions ─────────────────────────────────────────────────────────────── */

.missions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}

.mission {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
}

.mission--tilt {
  transform: rotate(-1.5deg);
}

.mission h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 1rem 0 0.4rem;
}

.mission p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.mission .tag {
  margin-top: auto;
}

.mission__icon {
  width: 44px;
  height: 44px;
  padding: 8px;
  border: var(--border) solid var(--ink);
  border-radius: 14px;
  background: var(--teal-pale);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.missions__focus {
  margin: 2.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ── Modes ───────────────────────────────────────────────────────────────── */

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 2.5rem;
}

.mode {
  position: relative;
  padding: 2.75rem 2.5rem 2.5rem;
}

.mode--gentle {
  background: var(--teal-pale);
  transform: rotate(-1deg);
}

.mode--classic {
  background: #ffe1e7;
  transform: rotate(1deg);
}

.mode h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  margin: 0 0 0.35rem;
}

.mode p {
  margin: 0;
}

.mode__kicker {
  margin-bottom: 1rem !important;
  font-weight: 800;
}

.mode--gentle .mode__kicker {
  color: var(--teal-deep);
}

.mode--classic .mode__kicker {
  color: #a12626;
}

.mode__pip {
  position: absolute;
  top: -2.25rem;
  right: 1.75rem;
  width: 84px;
}

.sticky--mode {
  position: absolute;
  top: -1.25rem;
  left: 1.75rem;
  font-size: 1.3rem;
}

/* ── Studio ──────────────────────────────────────────────────────────────── */

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio__art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.studio__photo,
.studio__result {
  position: relative;
  margin: 0;
  width: 15rem;
  overflow: visible;
}

.studio__photo {
  padding: 0.6rem;
  transform: rotate(-3deg);
}

.studio__photo img {
  border-radius: 18px;
}

.studio__result {
  padding: 1.5rem;
  background: var(--white);
  transform: rotate(2.5deg);
}

.studio__arrow {
  flex: none;
  width: 64px;
  height: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sticky--studio {
  position: absolute;
  bottom: -1.1rem;
  right: -0.75rem;
  font-size: 1.3rem;
}

@media (max-width: 860px) {
  .studio {
    grid-template-columns: 1fr;
  }

  .studio__art {
    flex-direction: column;
  }

  .studio__arrow {
    transform: rotate(90deg);
  }
}

/* ── Screens ─────────────────────────────────────────────────────────────── */

.screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
}

.screen {
  position: relative;
  margin: 0;
  transform: rotate(-1.5deg);
}

.screen--tilt-r {
  transform: rotate(1.5deg);
}

.device--flat {
  width: 100%;
  border-radius: 34px;
  transform: none;
}

.screen .sticky {
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  font-size: 1.3rem;
}

@media (max-width: 900px) {
  .screens {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.75rem;
    padding: 0.5rem 1rem 2.5rem;
  }

  .screen {
    flex: 0 0 62%;
    max-width: 240px;
    scroll-snap-align: center;
  }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.faq__item {
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--teal-pale);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:focus-visible {
  border-radius: 20px;
}

.faq__answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
}

.faq__answer p {
  max-width: 46rem;
  margin: 0;
}

.faq__answer p + p {
  margin-top: 0.75rem;
}

.faq__answer a {
  color: var(--teal-deep);
  font-weight: 800;
}

@media (max-width: 600px) {
  .faq__item summary {
    padding: 1rem 1.15rem;
    font-size: 1.15rem;
  }

  .faq__answer {
    padding: 0 1.15rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item summary::after {
    transition: none;
  }
}

/* ── Join ────────────────────────────────────────────────────────────────── */

.join__panel {
  position: relative;
  padding: 5rem 2rem 4rem;
  border-radius: 40px;
  box-shadow: 9px 10px 0 var(--ink);
  text-align: center;
  background: linear-gradient(160deg, #ffc2cb 0%, #ff8fa3 100%);
}

.join__panel .plate {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

.join__pip {
  position: absolute;
  top: -3.5rem;
  left: 50%;
  width: 90px;
  margin-left: -45px;
}

.join__lede {
  margin: 1.5rem auto 2rem;
  max-width: 30rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.join .waitlist__status {
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: var(--border) solid var(--ink);
  padding: 2.5rem 0 3rem;
  font-size: 1rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__brand p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}

.site-footer__brand .site-footer__entity {
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-weight: 800;
}

/* ── Subpages: legal, 404, invite ────────────────────────────────────────── */

.site-header__home {
  margin-left: auto;
}

.ink-button--deep {
  background: var(--teal-deep);
  color: var(--white);
}

.page-hero {
  padding: 4rem 0 7rem;
  background: linear-gradient(160deg, #8fe3da 0%, #28b0a5 100%);
  border-bottom: var(--border) solid var(--ink);
}

.page-hero .heading {
  margin: 0 0 0.75rem;
}

.page-hero .legal-meta {
  margin: 0;
  font-weight: 700;
}

.legal {
  max-width: 52rem;
  margin-top: -4.5rem;
  padding-bottom: 6rem;
}

.legal-doc {
  padding: 3rem 3.25rem;
}

.legal-doc h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 2.5rem 0 0.75rem;
}

.legal-doc h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-doc > :first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc li {
  font-weight: 500;
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.legal-doc li {
  margin-bottom: 0.6rem;
}

.legal-doc a {
  color: var(--teal-deep);
  font-weight: 800;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .legal-doc {
    padding: 2rem 1.4rem;
  }
}

.lost {
  padding: 4rem 0 7rem;
}

.lost__panel {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 2rem 3.25rem;
  border-radius: 40px;
  box-shadow: 9px 10px 0 var(--ink);
  text-align: center;
  background: linear-gradient(160deg, #ffc2cb 0%, #ff8fa3 100%);
}

.lost__panel .plate {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

.lost__art {
  position: relative;
  width: 130px;
  margin: 0 auto 1.5rem;
}

.lost__art .sticky {
  position: absolute;
  right: -3.25rem;
  bottom: 0.5rem;
}

.lost__lede {
  margin: 1.5rem auto 2rem;
  max-width: 30rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.invite {
  min-height: 100vh;
  background: linear-gradient(160deg, #8fe3da 0%, #28b0a5 100%);
}

.invite__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5rem 1.25rem 3rem;
}

.invite__card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  padding: 3.5rem 1.75rem 2rem;
  border-radius: 32px;
  box-shadow: 8px 9px 0 var(--ink);
  text-align: center;
}

.invite__pip {
  position: absolute;
  top: -3.6rem;
  left: 50%;
  width: 84px;
  margin-left: -42px;
}

.invite__title {
  margin: 1.1rem 0 0;
  font-size: 1.75rem;
}

.invite__title .plate {
  background: var(--teal-pale);
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

.invite__lead {
  margin: 1.1rem 0 1.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.invite__code {
  margin: 0 0 1.75rem;
  padding: 0.9rem 1rem 1rem;
  border: var(--border) dashed var(--ink);
  border-radius: 18px;
  background: var(--bg);
}

.invite__code-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.invite__code-value {
  margin-top: 0.2rem;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  letter-spacing: 0.18em;
}

.invite__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.invite__actions .ink-button {
  white-space: normal;
  text-align: center;
  font-size: 0.9375rem;
  padding: 0 1.1rem;
}

.invite__hint {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.invite__foot {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--teal-deep);
}

/* ── Reveal ──────────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.5s ease, translate 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .ribbon__pip {
    animation: none;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 1rem;
  }

  .device {
    width: 230px;
  }

  .heading--xl {
    font-size: 2.8rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .brand span {
    display: none;
  }
}
