@font-face {
  font-family: "Inter Tally";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --hole { syntax: "<number>"; inherits: true; initial-value: 100; }
@property --a { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --bar-h: 92px; /* sticky header height, used for section offsets */
  --bg: #17161a;
  --deep: #0c0b0e;
  --panel: #222127;
  --raised: #3a3940;
  --ink: #fffffa;
  --muted: rgba(255, 255, 250, .66);
  --line: rgba(255, 255, 250, .1);
  --red: #ff312e;
  --amber: #ffb020;
  --font: "Inter Tally", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul, figure { margin: 0; }
a { color: inherit; text-decoration-color: rgba(255, 255, 250, .4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.small { font-size: .9rem; color: var(--muted); }

/* header: stays at the top while scrolling; semi-transparent with a background blur so content shows through softly */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 22, 26, .72); /* --bg at 72% */
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .bar { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.logo { display: block; line-height: 0; }
.logo img { height: 34px; width: auto; display: block; }
.pill-link {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none;
  background: var(--panel); border: 1px solid rgba(255, 255, 250, .16);
}
.pill-link:hover { background: var(--raised); }

/* layout: copy and features on the left, one phone on the right */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  grid-template-areas: "intro demo" "features demo";
  column-gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.intro { grid-area: intro; padding: clamp(28px, 7vh, 80px) 0 clamp(48px, 9vh, 104px); }
.demo { grid-area: demo; position: sticky; top: calc(var(--bar-h) + 16px); display: grid; justify-items: center; gap: 16px; padding-top: 8px; }
.features { grid-area: features; padding-bottom: clamp(48px, 8vh, 96px); }

h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .96;
  max-width: 9.5em;
}
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--muted); }

/* waitlist form */
.wishlist-form { margin-top: 36px; max-width: 30rem; }
.pill-field {
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: var(--panel); border: 1px solid rgba(255, 255, 250, .16); border-radius: 999px;
}
.pill-field:focus-within { border-color: var(--ink); }
.pill-field.flash { animation: flash .9s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 49, 46, 0); } 30% { box-shadow: 0 0 0 6px rgba(255, 49, 46, .45); } }
.pill-field input[type="email"] {
  flex: 1; min-width: 0; padding: 12px 16px; background: transparent; border: 0; border-radius: 999px; font-size: 1rem; color: var(--ink);
}
.pill-field input::placeholder { color: rgba(255, 255, 250, .42); }
.pill-field input:focus-visible { outline: none; }
.pill-field button {
  padding: 12px 22px; border: 0; border-radius: 999px; background: var(--red); color: #17161a; font-weight: 700; white-space: nowrap;
}
.pill-field button:hover { background: #ff5350; }
.pill-field button:disabled { opacity: .6; cursor: default; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .9rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.status { min-height: 1.5em; margin-top: 10px; font-size: .95rem; color: var(--ink); }
.status.error { color: #ff7b78; }
.intro .small { margin-top: 18px; }

/* the phone: flat Android style, no brand parts */
.phone {
  --pw: min(300px, calc((100svh - 210px) * 9 / 19.5), 78vw);
  width: max(var(--pw), 210px);
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  background: #050507;
  border-radius: 14% / 6.6%;
  box-shadow: 0 0 0 1.5px #3b3a42, 0 30px 70px rgba(0, 0, 0, .55);
}
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; container-type: inline-size;
  background: #000; border-radius: 12% / 5.6%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  isolation: isolate;
}
.screen:active { cursor: grabbing; }
.screen:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.feed { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; overflow: hidden;
  background: hsl(var(--h) 20% 11%);
  transition: transform .34s cubic-bezier(.2, .7, .2, 1);
}
.slide.from-below { transform: translateY(100%); }
.slide.from-above { transform: translateY(-100%); }
.slide .cap { position: absolute; left: 5cqw; right: 22cqw; bottom: 9cqw; z-index: 1; }
.slide .cap b { display: block; font-size: 4.2cqw; font-weight: 700; }
.slide .cap span { display: block; margin-top: 1.2cqw; font-size: 4cqw; opacity: .85; }
.rail { position: absolute; right: 3.5cqw; bottom: 11cqw; z-index: 2; display: grid; gap: 5cqw; }
.rail svg { width: 7cqw; height: 7cqw; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }

.veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  --hole: 100; --a: 0;
  background: radial-gradient(circle farthest-corner at 50% 50%, transparent calc(var(--hole) * 1%), rgba(0, 0, 0, var(--a)) calc(var(--hole) * 1% + 32%));
  transition: --hole .5s ease, --a .5s ease;
}

.overlay {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; display: grid; place-content: center; justify-items: center;
  transition: opacity .25s ease;
}
.overlay.hidden { opacity: 0; }
.num {
  position: relative; font-weight: 900; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums;
  font-size: calc(var(--nz, 31) * 1cqw); color: var(--c, #fffffa);
  transition: color .3s ease;
}
.mins { position: relative; margin-top: 2.4cqw; font-size: 6.4cqw; font-weight: 500; color: rgba(255, 255, 250, .72); }
.overlay[data-mode="swipes"] .mins, .overlay[data-mode="time"] .num { display: none; }
.overlay[data-mode="time"] .mins { margin-top: 0; font-size: 17cqw; font-weight: 900; letter-spacing: -.05em; color: var(--c, #fffffa); }
.rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.rings::before, .rings::after {
  content: ""; position: absolute; left: 50%; top: 50%; border: 1.5px solid var(--red); border-radius: 50%;
  width: 40cqw; height: 40cqw; margin: -20cqw 0 0 -20cqw; opacity: 0;
}
.rings.pulse::before { animation: ring 1s ease-out; }
.rings.pulse::after { animation: ring 1s .15s ease-out; }
@keyframes ring { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }

.statusbar { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 3.2cqw 7cqw 0; font-size: 3.6cqw; font-weight: 600; pointer-events: none; }
.statusbar svg { width: 6.5cqw; height: 3cqw; fill: currentColor; }
.cam { position: absolute; z-index: 6; left: 50%; top: 3.4cqw; width: 3.6cqw; height: 3.6cqw; margin-left: -1.8cqw; border-radius: 50%; background: #000; box-shadow: 0 0 0 .6cqw #1b1b20; pointer-events: none; }
.hint { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34cqw; text-align: center; font-size: 4cqw; font-weight: 600; pointer-events: none; animation: nudge 1.6s ease-in-out infinite; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hint.gone { display: none; }
@keyframes nudge { 0%, 100% { transform: translateY(0); opacity: .95; } 50% { transform: translateY(-2.4cqw); opacity: .6; } }
.gesture { position: absolute; z-index: 6; left: 50%; bottom: 2.2cqw; width: 30cqw; height: 1.1cqw; margin-left: -15cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .7); pointer-events: none; }

/* controls under the phone */
.controls { display: grid; gap: 12px; width: 100%; max-width: 330px; }
.btn-row { display: flex; gap: 10px; }
.btn { flex: 1; padding: 12px 16px; border-radius: 999px; background: var(--panel); border: 1px solid rgba(255, 255, 250, .16); font-weight: 600; }
.btn:hover { background: var(--raised); }
.btn.primary { background: var(--ink); color: #17161a; border-color: var(--ink); }
.btn.primary:hover { background: #fff; }

/* the eye switch */
.eye {
  --k: 1;
  position: relative; flex: none; width: calc(80px * var(--k)); height: calc(40px * var(--k)); padding: 0; border: 0; border-radius: 999px;
  background: var(--raised); box-shadow: inset 0 calc(4px * var(--k)) calc(8px * var(--k)) rgba(0, 0, 0, .45);
  transition: background .25s ease;
}
.eye::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(36px * var(--k)); height: calc(3px * var(--k)); border-radius: 999px;
  background: rgba(255, 255, 250, .55); transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.eye[aria-checked="true"] { background: var(--ink); }
.eye[aria-checked="true"]::before { width: calc(26px * var(--k)); height: calc(40px * var(--k)); background: var(--red); }
.eye.small-eye { --k: .7; }

/* feature blocks */
.feat { padding: 30px 0 34px; border-top: 1px solid var(--line); max-width: 34rem; }
.feat h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.feat p { margin-top: 12px; color: var(--muted); }
.seg { display: inline-flex; margin-top: 20px; padding: 4px; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.seg button { padding: 9px 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #17161a; }
.slider { margin-top: 20px; max-width: 22rem; }
.slider label { display: block; margin-bottom: 10px; font-weight: 600; }
.slider input { width: 100%; height: 10px; margin: 0; border-radius: 5px; appearance: none; -webkit-appearance: none; --p: 50%; background: linear-gradient(var(--red), var(--red)) 0 / var(--p) 100% no-repeat, var(--raised); }
.slider input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 3px solid var(--panel); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); cursor: pointer; }
.slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid var(--panel); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); cursor: pointer; }
.slider .ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.step { display: inline-flex; align-items: center; gap: 18px; margin-top: 20px; }
.step button { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 250, .1); border: 1px solid rgba(255, 255, 250, .14); font-size: 1.3rem; line-height: 1; }
.step button:hover { background: rgba(255, 255, 250, .18); }
.step output { min-width: 2ch; text-align: center; font-size: 1.5rem; font-weight: 900; }
.clock { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; margin-top: 22px; max-width: 24rem; }
.clock span { height: 14px; border-radius: 3px; background: var(--panel); }
.clock span.on { background: var(--red); }
.clock-label { display: flex; justify-content: space-between; max-width: 24rem; margin-top: 8px !important; font-size: .78rem; font-variant-numeric: tabular-nums; }

/* widgets */
.band { background: var(--deep); padding: clamp(56px, 10vh, 112px) 0; }
.widgets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.widgets h2, .never h2, .cta h2, .privacy h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; }
.widgets-copy p { margin-top: 16px; max-width: 30rem; color: var(--muted); }
.widgets-copy .small { font-size: .88rem; }
.homescreen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 28px); padding: clamp(16px, 3vw, 32px); background: #121115; border: 1px solid var(--line); border-radius: 32px; max-width: 460px; width: 100%; justify-self: end; }
.wcol { display: grid; gap: clamp(12px, 2.4vw, 20px); align-content: start; }
.wname { text-align: center; font-size: .9rem; color: var(--muted); }
.widget { position: relative; container-type: inline-size; background: var(--panel); border: 1px solid rgba(255, 255, 250, .08); width: 100%; }
.w-square { aspect-ratio: 1; border-radius: 17cqw; border-radius: 28px; }
.w-small { height: 72px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.w-square .small-eye { position: absolute; top: 12px; right: 12px; }
.w-label { font-size: .82rem; font-weight: 600; color: rgba(255, 255, 250, .6); }
.w-square .w-label { position: absolute; top: 16px; left: 16px; }
.w-num { display: block; font-weight: 900; letter-spacing: -.06em; line-height: .9; color: var(--red); font-variant-numeric: tabular-nums; transition: color .25s ease; }
.w-square .w-num { position: absolute; left: 16px; bottom: 38px; font-size: clamp(2.4rem, 22cqw, 3.6rem); }
.w-cap { position: absolute; left: 16px; right: 12px; bottom: 14px; font-size: .78rem; line-height: 1.25; color: rgba(255, 255, 250, .6); }
.w-small .w-right { display: grid; justify-items: end; gap: 3px; }
.w-small .w-num { font-size: 2rem; }
.w-num.t { color: var(--ink); }
.w-num small { font-size: .42em; font-weight: 700; letter-spacing: 0; }
.t-small { display: grid; align-content: center; gap: 4px; justify-content: start; }
.t-small .w-num { font-size: 1.7rem; }
.w-cap2 { font-size: .74rem; color: rgba(255, 255, 250, .6); line-height: 1.2; }
.widget.off .w-num:not(.t) { color: rgba(255, 255, 250, .35); }

/* never, cta, privacy, footer */
.never { padding-top: clamp(64px, 11vh, 120px); padding-bottom: clamp(32px, 5vh, 56px); }
.never ul { list-style: none; padding: 0; margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); max-width: 60rem; }
.never li { padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); }
.never li strong { display: block; margin-bottom: 4px; font-size: 1.15rem; color: var(--ink); }
.cta { padding-top: clamp(56px, 9vh, 96px); padding-bottom: clamp(56px, 9vh, 96px); }
.cta .lede { margin-top: 14px; }
.privacy { padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.privacy h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.privacy p { margin-top: 12px; max-width: 40rem; color: var(--muted); }
.foot { padding-top: 24px; padding-bottom: 48px; color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "demo" "features"; }
  .demo { position: static; padding-top: 0; }
  .intro { padding-bottom: 36px; }
  .phone { --pw: min(280px, 74vw); }
  .widgets { grid-template-columns: minmax(0, 1fr); }
  .homescreen { justify-self: start; }
  .never ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .pill-field { flex-wrap: wrap; border-radius: 28px; }
  .pill-field input[type="email"] { flex: 1 1 100%; }
  .pill-field button { flex: 1 1 100%; }
  .logo img { height: 30px; }
}
/* motion: press and hover feedback, hero entrance, scroll reveal (script.js adds .js and .shown) */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
a { transition: text-decoration-color .25s ease; }
.btn, .pill-link, .pill-field button, .seg button, .step button, .nav-links a {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease);
}
.btn:active, .pill-link:active, .pill-field button:active, .seg button:active, .step button:active, .nav-links a:active { transform: scale(.96); }
.pill-field { transition: border-color .25s ease, box-shadow .25s ease; }
.clock span { transition: background-color .4s ease; }
.slider input::-webkit-slider-thumb { transition: transform .2s var(--ease); }
.slider input::-webkit-slider-thumb:hover { transform: scale(1.12); }
.slider input::-moz-range-thumb { transition: transform .2s var(--ease); }
.slider input::-moz-range-thumb:hover { transform: scale(1.12); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.intro > * { animation: rise .8s var(--ease) both; }
.intro > :nth-child(2) { animation-delay: .08s; }
.intro > :nth-child(3) { animation-delay: .16s; }
.intro > :nth-child(4) { animation-delay: .24s; }
.demo { animation: rise .9s .12s var(--ease) both; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .veil, .overlay, .eye, .eye::before, .num { transition: none; }
  .hint, .rings.pulse::before, .rings.pulse::after, .pill-field.flash { animation: none; }
  .intro > *, .demo { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pill-link, .pill-field button, .seg button, .step button, .nav-links a, .btn:active, .pill-link:active, .pill-field button:active, .seg button:active, .step button:active, .nav-links a:active { transition: none; transform: none; }
}


/* nav and gallery sections */
.top .bar { gap: 20px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 6px; margin-left: auto; margin-right: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); background: rgba(255, 255, 250, .1); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }
.gal { padding-top: clamp(56px, 9vh, 104px); padding-bottom: clamp(24px, 4vh, 48px); border-top: 1px solid var(--line); }
.gal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.gal-txt { grid-column: 1; grid-row: 1 / span 2; }
.gal-txt h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: 20px; }
.gal-txt p { color: var(--muted); max-width: 32rem; margin: 0 0 14px; }
.gal img { grid-column: 2; grid-row: 1; display: block; width: 100%; height: auto; }
.gal .cap { grid-column: 2; grid-row: 2; }
.cap { font-size: .9rem; color: var(--muted); max-width: 40rem; margin: 6px 0 0; }
@media (max-width: 900px) {
  :root { --bar-h: 124px; }
  .top .bar { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .nav-links { order: 3; width: 100%; margin: 0 -6px; overflow-x: auto; }
  .gal { grid-template-columns: minmax(0, 1fr); }
  .gal-txt, .gal img, .gal .cap { grid-column: 1; grid-row: auto; }
  .gal img { margin-top: 24px; }
}
@media (max-width: 480px) {
  .nav-links { justify-content: space-between; margin: 0 -8px; }
  .nav-links a { padding: 8px 9px; font-size: .88rem; }
}
.w-square .w-num.t { bottom: 58px; }


@media (min-width: 901px) {
  .flip.gal .gal-txt { grid-column: 2; }
  .flip.gal img, .flip.gal .cap { grid-column: 1; }
  .widgets.flip .widgets-copy { order: 2; }
  .widgets.flip .homescreen { justify-self: start; }
}
