/* plausebtw.com. Light and dark follow the system, or the light bulb in the nav. */
:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --nav: rgba(251, 251, 253, 0.72);
  --link: #0066cc;
  --button: #0071e3;
  --button-hover: #0077ed;
  --frame: #1d1d1f;
  --grad: linear-gradient(100deg, #6e3bff 0%, #c63bd0 38%, #ff5a5f 70%, #ff9f0a 100%);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Dark follows the system unless the light bulb picked a theme (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000;
    --bg-alt: #101012;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #6e6e73;
    --line: rgba(255, 255, 255, 0.12);
    --nav: rgba(22, 22, 23, 0.72);
    --link: #2997ff;
    --button: #0071e3;
    --button-hover: #0077ed;
    --frame: #3a3a3c;
    --grad: linear-gradient(100deg, #8f6bff 0%, #e05ce6 38%, #ff6b6f 70%, #ffb340 100%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #101012;
  --fg: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, 0.12);
  --nav: rgba(22, 22, 23, 0.72);
  --link: #2997ff;
  --button: #0071e3;
  --button-hover: #0077ed;
  --frame: #3a3a3c;
  --grad: linear-gradient(100deg, #8f6bff 0%, #e05ce6 38%, #ff6b6f 70%, #ffb340 100%);
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  transition: background-color .35s var(--ease), color .35s var(--ease);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

::selection { background: color-mix(in srgb, var(--button) 25%, transparent); }

.dot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 48px;
  background: transparent;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.scrolled .nav, .not-found-page .nav {
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  height: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 max(22px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  color: var(--fg);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.wordmark:hover, .nav-link:hover { text-decoration: none; opacity: .7; }
.nav-link { color: var(--fg); font-size: 13px; letter-spacing: -0.01em; opacity: .85; transition: opacity .2s; }
.nav-right { display: flex; align-items: center; gap: 18px; }

/* ---------- light bulb theme toggle ---------- */
.bulb {
  --glow: #ffcc33;
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
@media (hover: hover) { .bulb:hover { background: var(--line); } }
.bulb:active { transform: scale(.9); }
.bulb:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.bulb svg { width: 20px; height: 20px; overflow: visible; }
.bulb .glass { fill: transparent; transition: fill .35s var(--ease); }
.bulb .rays { opacity: 0; transform: scale(.6); transform-origin: 12px 9px; transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
/* Light mode: the bulb is on. */
.bulb .glass { fill: var(--glow); }
.bulb .rays { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bulb .glass { fill: transparent; }
  :root:not([data-theme="light"]) .bulb .rays { opacity: 0; transform: scale(.6); }
}
:root[data-theme="dark"] .bulb .glass { fill: transparent; }
:root[data-theme="dark"] .bulb .rays { opacity: 0; transform: scale(.6); }

/* The Bulldog screenshot swaps with the theme. */
.shot-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none !important; }
  :root:not([data-theme="light"]) .shot-dark { display: block !important; }
}
:root[data-theme="dark"] .shot-light { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }

/* ---------- shared sticky pin ---------- */
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---------- hero ---------- */
.hero {
  --p: 0;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 0 22px;
  text-align: center;
}
.hero-inner {
  transform: scale(calc(1 - var(--p) * 0.12)) translateY(calc(var(--p) * -6vh));
  opacity: calc(1 - var(--p) * 1.25);
  filter: blur(calc(var(--p) * 6px));
  will-change: transform, opacity;
}
.hero-title {
  margin: 0;
  font-size: clamp(80px, 22vw, 220px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.065em;
}
.hero-title span {
  display: inline-block;
  animation: rise 1.1s var(--ease-out) both;
}
.hero-title span:nth-child(1) { animation-delay: .05s; }
.hero-title span:nth-child(2) { animation-delay: .1s; }
.hero-title span:nth-child(3) { animation-delay: .15s; }
.hero-title span:nth-child(4) { animation-delay: .2s; }
.hero-title span:nth-child(5) { animation-delay: .25s; }
.hero-title span:nth-child(6) { animation-delay: .3s; }
.hero-title span:nth-child(7) { animation-delay: .4s; }
.hero-sub {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 3.2vw, 28px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  animation: fade-up 1.2s var(--ease-out) .6s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  bottom: calc(28px + env(safe-area-inset-bottom));
  left: 50%;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  opacity: clamp(0, calc(0.8 - var(--p) * 4), 0.8);
}
.scroll-cue::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--faint);
  border-radius: 12px;
  animation: fade-in 1s var(--ease) 1.2s both;
}
.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--faint);
  animation: cue 1.8s var(--ease) 2s infinite;
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- statement ---------- */
.statement { height: 220vh; }
.statement .sticky { padding: 0 24px; }
.statement-text {
  max-width: 980px;
  margin: 0;
  font-size: clamp(34px, 6.4vw, 72px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.word { opacity: .18; transition: opacity .12s linear; }

/* ---------- showcase ---------- */
.showcase {
  --p: 0;
  /* rise runs 0 → 1 over the first 30% of the section */
  --rise: clamp(0, calc(var(--p) / 0.3), 1);
  height: 420vh;
  background: var(--bg-alt);
}
.showcase .sticky { padding: 64px 22px 24px; gap: 20px; }
.showcase-head {
  text-align: center;
  opacity: calc(0.25 + var(--rise) * 0.75);
  transform: translateY(calc((1 - var(--rise)) * 4vh));
}
.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.showcase-title {
  margin: 0;
  font-size: clamp(56px, 11vw, 112px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.showcase-body {
  perspective: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.phone {
  --h: min(56svh, 620px);
  position: relative;
  height: var(--h);
  aspect-ratio: 390 / 844;
  padding: calc(var(--h) * 0.016);
  border-radius: calc(var(--h) * 0.075);
  background: var(--frame);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 30px 80px -20px rgba(0, 0, 0, 0.35);
  transform:
    translateY(calc((1 - var(--rise)) * 30vh))
    scale(calc(0.82 + var(--rise) * 0.18))
    rotateX(calc((1 - var(--rise)) * 18deg));
  transform-origin: 50% 100%;
  will-change: transform;
}
.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--h) * 0.06);
  background: #fff;
}
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-island {
  position: absolute;
  top: calc(var(--h) * 0.03);
  left: 50%;
  width: 30%;
  height: calc(var(--h) * 0.036);
  transform: translateX(-50%);
  border-radius: 99px;
  background: #000;
}
.captions {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 420px);
  height: 4.6em;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.38;
  font-weight: 500;
  text-align: center;
}
.captions li {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  transition: opacity .6s var(--ease), transform .7s var(--ease-out), filter .6s var(--ease);
}
.captions li.on { opacity: 1; transform: none; filter: none; }
.captions strong { color: var(--fg); font-weight: 600; }

@media (min-width: 900px) {
  .showcase-body { flex-direction: row; gap: 72px; }
  .phone { --h: min(64svh, 680px); }
  .captions { width: 340px; height: 9em; text-align: left; font-size: 24px; line-height: 1.3; }
  .captions strong { display: block; font-size: 1.15em; }
}

/* ---------- call to action ---------- */
.cta {
  padding: 120px 22px 80px;
  text-align: center;
  background: var(--bg-alt);
}
.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 10px 30px -8px rgba(122, 0, 25, 0.45);
}
.cta h2 {
  margin: 22px 0 6px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.cta p { margin: 0; color: var(--muted); font-size: clamp(19px, 2.4vw, 24px); font-weight: 500; }
.cta-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}
.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  background: var(--button);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.button:hover { background: var(--button-hover); text-decoration: none; }
.button:active { transform: scale(.97); }
.text-link { font-size: 17px; }
.text-link span { display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(3px); }

/* ---------- outro ---------- */
.outro {
  padding: 26vh 22px;
  text-align: center;
}
.outro-text {
  margin: 0;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
}

/* ---------- reveal on view ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease-out);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: -0.01em;
}
.footer a { color: var(--muted); }
.footer-links { display: flex; gap: 18px; }

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100svh - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 80px 22px 40px;
  text-align: center;
}
.not-found .hero-sub { margin: -10px 0 0; }

/* ---------- privacy and terms: a plain, formal legal document ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 116px 22px 96px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
}
.legal-head {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--fg);
}
.legal-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.legal-dates { display: flex; flex-wrap: wrap; gap: 6px 32px; margin: 0; font-size: 14px; }
.legal-dates div { display: flex; gap: 8px; }
.legal-dates dt { font-weight: 600; }
.legal-dates dd { margin: 0; color: var(--muted); }
.legal-toc {
  margin: 28px 0 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-alt);
}
.legal-toc-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-toc ol { margin: 0; padding-left: 1.6em; columns: 2 220px; column-gap: 32px; }
.legal-toc li { margin: 0 0 4px; break-inside: avoid; }
.legal section { scroll-margin-top: 72px; }
.legal h2 {
  margin: 40px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal .num { font-variant-numeric: tabular-nums; font-weight: 700; margin-right: 4px; }
.legal p { margin: 0 0 14px; }
.legal p .num { font-weight: 600; }
.legal strong { font-weight: 600; }
.legal-alpha { margin: 0 0 14px; padding-left: 2em; list-style: lower-alpha; }
.legal-alpha li { margin-bottom: 6px; padding-left: 4px; }
.legal-caps { text-transform: uppercase; font-size: 14px; letter-spacing: 0.01em; }
.legal-see { margin-top: 28px; color: var(--muted); font-size: 14px; }
/* Black and white: links are underlined text, not blue. */
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal a:focus-visible { outline-color: var(--fg); }
@media print {
  .nav, .footer, .legal-toc { display: none; }
  .legal { padding-top: 0; }
}

/* ---------- reduced motion: everything just sits still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-inner, .showcase-head, .phone { transform: none !important; opacity: 1 !important; filter: none !important; }
  .scroll-cue { display: none; }
  .statement, .showcase { height: auto; }
  .statement .sticky, .showcase .sticky { position: static; height: auto; padding-top: 18vh; padding-bottom: 18vh; }
  .captions { height: auto; display: grid; gap: 14px; }
  .captions li { position: static; opacity: 1; transform: none; filter: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Site version: 0.1.<PR number> of the change that shipped it. */
.version { font-variant-numeric: tabular-nums; }
