@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/fonts/bricolage-wdth.woff2) format("woff2-variations"), url(/fonts/bricolage-wdth.woff2) format("woff2");
}
:root {
  --ink: #17132B;
  --well: #1D1836;
  --panel: #262046;
  --rule: #3B3361;
  --paper: #F4EFFF;
  --mute: #A9A1CC;
  --brass: #F4B740;
  --sharp: #FF8098;
  --face: "Bricolage Grotesque", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 18px/1.55 var(--face); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, p, dl, dt, dd, figure { margin: 0; }

/* top bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 18px) var(--gutter) 0;
  max-width: 1240px; margin: 0 auto;
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 22px; letter-spacing: -0.01em; }
.mark img { border-radius: 8px; }
.top-cta { font-size: 15px; font-weight: 600; color: var(--mute); text-decoration: none; padding: 8px 0; }
.top-cta:hover { color: var(--paper); }

/* hero */
.hero {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
h1 {
  font-size: clamp(52px, 8.6vw, 112px); line-height: 0.9; letter-spacing: -0.035em;
  font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96;
  max-width: 11ch; text-wrap: balance;
}
.lead { margin-top: 28px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: var(--mute); }

/* waitlist form */
.join { margin-top: 36px; max-width: 520px; }
.join-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.join-row { display: flex; gap: 10px; }
.join input[type=email] {
  flex: 1; min-width: 0; height: 54px; padding: 0 18px;
  font: inherit; font-size: 17px; color: var(--paper);
  background: var(--well); border: 1.5px solid var(--rule); border-radius: 14px;
}
.join input[type=email]::placeholder { color: #7D75A6; }
.join input[type=email]:focus { border-color: var(--brass); outline: none; }
.join button {
  height: 54px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); background: var(--brass);
  white-space: nowrap;
}
.join button:disabled { opacity: 0.6; cursor: default; }
.phone { border: 0; padding: 0; margin: 14px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.phone legend { float: left; font-size: 15px; color: var(--mute); margin-right: 6px; padding: 0; }
.phone label { position: relative; cursor: pointer; }
.phone input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.phone span { display: inline-block; padding: 7px 14px; font-size: 15px; font-weight: 600; border-radius: 999px; background: var(--panel); color: var(--mute); }
.phone input:checked + span { background: var(--paper); color: var(--ink); }
.phone input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--mute); }
.join-note.is-ok { color: var(--paper); font-size: 16px; font-weight: 600; }
.join-note.is-bad { color: var(--sharp); }
.join.is-done .join-row, .join.is-done .phone, .join.is-done .join-label { display: none; }

/* the note roll */
.roll { position: relative; }
.roll svg { display: block; width: 100%; height: auto; }
.roll figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); max-width: 36em; }
.roll .row { stroke: var(--rule); stroke-width: 1; }
.roll .row.sa { stroke: #5A4F8C; }
.roll .lab { font: 500 17px var(--face); fill: #8F87B8; }
.roll .lab.sa { fill: var(--paper); font-weight: 700; }
.roll .n rect { fill: var(--brass); }
.roll .n.off rect { fill: var(--sharp); }
.roll .n text { font: 700 12px var(--face); fill: var(--ink); }
.roll .tag { font: 700 18px var(--face); fill: var(--sharp); }
.roll .tagline { stroke: var(--sharp); stroke-width: 1.5; }
.roll-head { stroke: var(--paper); stroke-width: 2; opacity: 0; }
.roll.play .n { opacity: 0; transform-box: fill-box; transform-origin: left center; animation: sing 0.32s ease-out forwards; animation-delay: calc(var(--i) * 0.19s + 0.3s); }
.roll.play .tagg { opacity: 0; animation: show 0.4s ease-out forwards; animation-delay: 2s; }
.roll.play .roll-head { animation: head 3.9s linear 0.3s forwards; }
@keyframes sing { from { opacity: 0; transform: scaleX(0.2); } to { opacity: 1; transform: none; } }
@keyframes show { to { opacity: 1; } }
@keyframes head { 0% { opacity: 0.9; transform: translateX(0); } 92% { opacity: 0.9; } 100% { opacity: 0; transform: translateX(430px); } }
@media (prefers-reduced-motion: reduce) {
  .roll.play .n, .roll.play .tagg { animation: none; opacity: 1; }
  .roll.play .roll-head { animation: none; }
}

/* phones */
.phones {
  max-width: 1240px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px);
  border-top: 1px solid var(--rule);
}
.frame {
  border-radius: 34px; overflow: hidden; background: var(--well);
  border: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(8, 5, 24, 0.9);
  max-width: 340px;
}
.frame img { display: block; width: 100%; height: auto; }
.phones figcaption { margin-top: 24px; max-width: 340px; }
.phones h2, .more dt { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; font-variation-settings: "wdth" 90; }
.phones p, .more dd { margin-top: 8px; font-size: 17px; color: var(--mute); }

/* more */
.more { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.more > h2, .last > h2 {
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.025em; font-weight: 800;
  font-variation-settings: "wdth" 80, "opsz" 96; max-width: 14ch; text-wrap: balance;
}
.more dl { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); row-gap: 36px; max-width: 980px; }
.more dl > div { padding-top: 18px; border-top: 2px solid var(--brass); }
.more dd { max-width: 32em; }

/* last */
.last { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); }
.last > p { margin-top: 18px; max-width: 34em; color: var(--mute); }

.foot {
  max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) calc(env(safe-area-inset-bottom) + 32px);
  display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--mute); border-top: 1px solid var(--rule);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }

/* privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) 64px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); max-width: none; }
.doc .stamp { margin-top: 14px; color: var(--mute); font-size: 15px; }
.doc h2 { margin-top: 40px; font-size: 22px; font-weight: 700; }
.doc p, .doc li { color: var(--mute); }
.doc p { margin-top: 10px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--paper); font-weight: 600; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .roll { max-width: 560px; }
  .phones {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    padding-bottom: 40px; overscroll-behavior-x: contain;
  }
  .phones figure { scroll-snap-align: start; }
  .more dl { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .join-row { flex-direction: column; }
  .join input[type=email] { flex: none; width: 100%; }
  .join button { width: 100%; }
  .top-cta { display: none; }
}
