:root {
  color-scheme: light;
  --ink: #1b1517;
  --ink-soft: #5e5054;
  --paper: #fff7ef;
  --paper-strong: #ffffff;
  --night: #171114;
  --night-2: #27151f;
  --rose: #f34f7e;
  --rose-deep: #b91649;
  --lime: #d7ff64;
  --gold: #ffc857;
  --line: rgba(27, 21, 23, 0.14);
  --shadow: 0 24px 70px rgba(47, 14, 26, 0.22);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

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

.site-body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 6%, rgba(243, 79, 126, 0.2), transparent 28rem),
    linear-gradient(180deg, #fff7ef 0%, #ffece2 42%, #fff9f3 100%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 12px;
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--night);
  box-shadow: inset -8px -8px 0 rgba(243, 79, 126, 0.46);
  font-weight: 900;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-mark small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(27, 21, 23, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.site-nav nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav nav a:hover {
  color: var(--ink);
  background: #fff;
}

main {
  overflow: clip;
}

.opening-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: 44px 0 70px;
}

.overline {
  margin: 0 0 14px;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opening-copy h1 {
  max-width: 700px;
  margin: 0;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7.8vw, 7.8rem);
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: #4d3c41;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.primary-cta,
.quiet-link {
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  background: var(--night);
  box-shadow: 8px 8px 0 var(--lime);
}

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

.quiet-link {
  display: inline-flex;
  align-items: center;
  color: var(--rose-deep);
}

.opening-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.preview-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(96px, 138px);
  gap: 20px;
  align-items: center;
  width: min(92vw, 500px);
  min-height: 610px;
}

.app-showcase::before {
  position: absolute;
  inset: 42px 26px 54px 34px;
  z-index: 0;
  border-radius: 42px;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.52), rgba(243, 79, 126, 0.28)),
    #fff2e7;
  box-shadow: 0 28px 90px rgba(47, 14, 26, 0.18);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(64vw, 304px);
  margin: 0;
  padding: 14px 12px 18px;
  border: 10px solid #120d10;
  border-radius: 38px;
  background: #120d10;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: #261d22;
  transform: translateX(-50%);
}

.main-phone {
  position: relative;
  justify-self: end;
  z-index: 4;
  transform: rotate(-1.5deg);
}

.thumb-rail {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 14px;
  justify-self: start;
}

.preview-thumb {
  width: min(23vw, 128px);
  margin: 0;
  padding: 7px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(47, 14, 26, 0.2);
}

.preview-thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.preview-thumb figcaption {
  margin-top: 8px;
  color: var(--night);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.watch-note {
  position: absolute;
  right: 4%;
  bottom: 7%;
  z-index: 6;
  width: 178px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  color: #fff;
  background: rgba(23, 17, 20, 0.86);
  box-shadow: 0 18px 52px rgba(23, 17, 20, 0.22);
}

.watch-note span,
.watch-note strong {
  display: block;
}

.watch-note span {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
}

.watch-note strong {
  margin-top: 6px;
  font-size: 1rem;
}

.story-shelf,
.watch-flow,
.studio-note,
.reach-box,
.page-end {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.story-shelf {
  padding: 62px 0;
}

.shelf-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 28px;
  align-items: end;
}

.shelf-heading h2,
.studio-note h2,
.reach-box h2 {
  margin: 0;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.shelf-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-top: 44px;
}

.shelf-media {
  justify-self: center;
  width: min(100%, 360px);
  padding: 10px;
  border: 8px solid var(--night);
  border-radius: 34px;
  overflow: hidden;
  background: var(--night);
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow);
}

.shelf-media img {
  width: 100%;
  height: auto;
  border-radius: 23px;
}

.shelf-notes {
  display: grid;
  gap: 18px;
}

.shelf-notes article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.shelf-notes article:last-child {
  border-bottom: 1px solid var(--line);
}

.shelf-notes span {
  color: var(--rose-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 900;
}

.shelf-notes p {
  margin: 4px 0 0;
  color: #3f3337;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.watch-flow {
  padding: 38px 0 74px;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--night);
  border-bottom: 1px solid var(--night);
}

.flow-item {
  min-height: 196px;
  padding: 22px 20px;
  border-right: 1px solid var(--night);
  background: rgba(255, 255, 255, 0.34);
}

.flow-item:first-child {
  border-left: 1px solid var(--night);
  background: var(--lime);
}

.flow-item span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--night);
  font-size: 0.86rem;
  font-weight: 900;
}

.flow-item p {
  margin: 36px 0 0;
  color: var(--night);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.studio-note {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 72px);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-note > p {
  margin: 34px 0 0;
  color: #44363a;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.75;
}

.reach-box {
  display: grid;
  grid-template-columns: 0.5fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 64px 0;
}

.reach-box a {
  justify-self: end;
  padding: 14px 18px;
  border: 2px solid var(--night);
  border-radius: 999px;
  color: var(--night);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--rose);
}

.page-end {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 28px 0 38px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-end::before {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 42vh;
  content: "";
  background: linear-gradient(180deg, rgba(23, 17, 20, 0), var(--night));
  pointer-events: none;
}

.page-end strong,
.page-end span,
.page-end p {
  display: block;
}

.page-end span,
.page-end p,
.page-end a {
  color: rgba(255, 255, 255, 0.72);
}

.page-end nav {
  display: flex;
  gap: 16px;
}

.page-end nav a {
  font-weight: 800;
  text-decoration: none;
}

.page-end p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.94rem;
}

.legal-body {
  min-height: 100vh;
  color: #202020;
  background: #fff;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.legal-page {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.legal-brand {
  display: inline-block;
  margin-bottom: 42px;
  color: #31282b;
  font-weight: 800;
  text-decoration: none;
}

.legal-page h1 {
  margin: 0;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.effective-date {
  margin: 16px 0 34px;
  color: #606060;
}

.legal-page section {
  padding: 22px 0;
  border-top: 1px solid #e9e2dc;
}

.legal-page h2 {
  margin: 0 0 12px;
  color: #171717;
  font-size: 1.18rem;
  line-height: 1.35;
}

.legal-page h3 {
  margin: 22px 0 10px;
  color: #232323;
  font-size: 1.05rem;
  line-height: 1.35;
}

.legal-page h4 {
  margin: 18px 0 8px;
  color: #333;
  font-size: 1rem;
  line-height: 1.35;
}

.legal-page p {
  margin: 0 0 13px;
  color: #333;
  font-size: 1rem;
  line-height: 1.76;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 14px;
  padding-left: 1.4rem;
  color: #333;
}

.legal-page li {
  margin: 0 0 8px;
  line-height: 1.7;
}

.legal-page p:last-child {
  margin-bottom: 0;
}

.legal-page a {
  color: #a71343;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-nav {
    align-items: flex-start;
  }

  .site-nav nav {
    max-width: 58vw;
    overflow-x: auto;
    border-radius: 20px;
    scrollbar-width: none;
  }

  .site-nav nav::-webkit-scrollbar {
    display: none;
  }

  .opening-panel,
  .shelf-heading,
  .shelf-grid,
  .studio-note,
  .reach-box {
    grid-template-columns: 1fr;
  }

  .opening-panel {
    min-height: 0;
    padding-top: 34px;
  }

  .opening-copy h1 {
    font-size: clamp(3.15rem, 15vw, 5.8rem);
  }

  .preview-stack {
    grid-template-columns: minmax(210px, 286px) minmax(86px, 118px);
    justify-content: center;
    min-height: 560px;
  }

  .watch-note {
    right: 0;
    bottom: 2%;
  }

  .flow-strip {
    grid-template-columns: 1fr 1fr;
  }

  .flow-item:nth-child(odd) {
    border-left: 1px solid var(--night);
  }

  .reach-box a {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-nav {
    width: min(100% - 24px, 1120px);
    padding-top: 12px;
  }

  .brand-mark small {
    display: none;
  }

  .brand-glyph {
    width: 38px;
    height: 38px;
  }

  .site-nav nav {
    max-width: 55vw;
    padding: 4px;
  }

  .site-nav nav a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .opening-panel,
  .story-shelf,
  .watch-flow,
  .studio-note,
  .reach-box,
  .page-end {
    width: min(100% - 24px, 1120px);
  }

  .opening-panel {
    padding-bottom: 42px;
  }

  .lead {
    font-size: 1rem;
  }

  .preview-stack {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    min-height: 0;
    gap: 18px;
    padding: 18px 0 118px;
  }

  .app-showcase::before {
    inset: 0 14px 96px;
    border-radius: 34px;
  }

  .main-phone {
    justify-self: center;
  }

  .phone-frame {
    width: min(72vw, 260px);
    border-width: 8px;
    border-radius: 32px;
  }

  .thumb-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(86vw, 300px);
    justify-self: center;
  }

  .preview-thumb {
    width: 100%;
    border-radius: 18px;
    padding: 6px 6px 9px;
  }

  .watch-note {
    right: 50%;
    bottom: 0;
    width: 154px;
    padding: 13px;
    font-size: 0.88rem;
    transform: translateX(50%);
  }

  .story-shelf {
    padding-top: 34px;
  }

  .shelf-notes article {
    grid-template-columns: 52px 1fr;
  }

  .flow-strip {
    grid-template-columns: 1fr;
  }

  .flow-item,
  .flow-item:first-child {
    min-height: 150px;
    border-left: 1px solid var(--night);
  }

  .flow-item p {
    margin-top: 22px;
  }

  .studio-note {
    padding: 58px 0;
  }

  .reach-box {
    padding: 52px 0;
  }

  .page-end {
    grid-template-columns: 1fr;
  }

  .page-end nav {
    flex-wrap: wrap;
  }
}
