/* lowk.link — marketing surfaces (landing + report).
   Tokens translated from lowk.dc.html. Two deliberate departures from that
   file: the animated eyeball motif is gone (flames and aura orbs from the app
   carry the decoration instead), and there is no Google Play badge because
   lowk is iOS-only today. */

:root {
  --lav: #ede9f8;
  --lilac: #dcd4f5;
  --cream: #f5f0e4;
  --deep: #1b1240;
  --purple: #7c5ce0;
  --purple-hot: #7c4dff;
  --gold: #f5b942;
  --ink: #1b1d36;
  --ink-soft: #43466b;
  --ink-mute: #5c5f85;
  --line: #14141f;
  --on-deep: #f5f0e4;
  --on-deep-soft: #c9bfee;
  --on-deep-mute: #8c82be;

  --display: "Baloo 2", ui-rounded, -apple-system, "Segoe UI", sans-serif;
  --body: Inter, -apple-system, "Segoe UI", sans-serif;
  --voice: "Instrument Serif", "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--lav);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-hot); }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
}

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

/* The symbol sheet is markup, not a graphic. */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- motion ---------- */

@keyframes mq-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Every floating element is also rotated. An animation's `transform` beats an
   inline one, so the tilt has to ride inside the keyframes as `--rot` rather
   than sitting in a `transform` declaration that the animation would erase. */
@keyframes floaty {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(-13px); }
}
@keyframes bob {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(7px); }
}
@keyframes drift  { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(18px, -24px, 0); } }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.09) rotate(-3deg); } }
@keyframes ember {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx, 0px), var(--dy, -90px)) scale(0.3); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; }
.wrap-narrow { width: 100%; max-width: 900px; margin-inline: auto; }

.band {
  position: relative;
  z-index: 10;
  padding: clamp(38px, 5.5vw, 68px) 18px;
}
.band-lav { background: var(--lav); }
.band-lilac { background: var(--lilac); }
.band-deep { background: var(--deep); color: var(--on-deep); }
.rule-top { border-top: 4px solid var(--line); }
.rule-bottom { border-bottom: 4px solid var(--line); }
.clip { overflow: hidden; }

.stack { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row-center { justify-content: center; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
}

/* ---------- type ---------- */

.h1, .h2, .h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.h1 { font-size: clamp(42px, 8.4vw, 82px); line-height: 0.98; }
.h2 { font-size: clamp(30px, 5.4vw, 50px); line-height: 1.02; }
.h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }

.lede {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.band-deep .lede { color: var(--on-deep-soft); }

.body-sm { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.voice {
  font-family: var(--voice);
  font-style: italic;
  line-height: 1.1;
  color: var(--ink);
}

/* The knocked-out word in a headline. Eight offset copies fake a stroke that
   `-webkit-text-stroke` can't do together with a drop edge. */
.knock {
  color: var(--cream);
  text-shadow:
    4px 0 var(--line), -4px 0 var(--line), 0 4px var(--line), 0 -4px var(--line),
    3px 3px var(--line), -3px 3px var(--line), 3px -3px var(--line), -3px -3px var(--line),
    0 11px 0 var(--line);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  padding: 14px 28px 15px;
  border: 3px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--line);
  background: var(--purple);
  color: var(--cream);
  cursor: pointer;
  transition: transform 90ms linear, box-shadow 90ms linear, background 90ms linear;
}
.btn:hover { color: var(--cream); background: var(--purple-hot); transform: translateY(3px); box-shadow: 0 3px 0 var(--line); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--line); }

.btn-sm { font-size: clamp(14px, 1.7vw, 17px); padding: 8px 18px 9px; box-shadow: 0 5px 0 var(--line); }
.btn-sm:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--line); }
.btn-sm:active { transform: translateY(5px); }

.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fffaf0; color: var(--ink); }

.btn-lilac {
  background: var(--lilac);
  color: var(--ink);
  font-size: 16px;
  padding: 9px 18px 10px;
  box-shadow: 0 5px 0 var(--line);
}
.btn-lilac:hover { background: #e6e0fa; color: var(--ink); transform: translateY(3px); box-shadow: 0 2px 0 var(--line); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc95c; color: var(--ink); }

/* App Store badge. Google Play is deliberately absent — there is no Android
   build, and a dead badge is worse than one platform stated plainly. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px 10px;
  background: var(--cream);
  border: 3px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--line);
  transition: transform 90ms linear, box-shadow 90ms linear;
}
.store:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--line); }
.store:active { transform: translateY(6px); box-shadow: 0 0 0 var(--line); }
.store svg { width: 22px; height: 26px; flex: 0 0 auto; }
.store-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.store-name { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); }

.free-line {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-mute);
}

/* The product name, set beside or below the wordmark. The logo alone reads as
   "lowk"; this is the half that says what lowk actually is. */
.tagline {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--ink-mute);
}
.band-deep .tagline,
.site-footer .tagline { color: var(--on-deep-mute); }

.brand-lockup { display: flex; flex-direction: column; gap: 7px; }
.band-deep .free-line { color: var(--on-deep-mute); }

/* ---------- cards ---------- */

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px 22px;
  background: var(--cream);
  border: 3px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 9px 0 var(--line);
}
.card-lilac { background: var(--lilac); }
.card-white { background: #fff; }
.card-deep { background: var(--deep); color: var(--on-deep); }

/* Rotations are per-card so a grid never reads as a stack of identical boxes.
   `--tilt` is also the base transform site.js restores after a pointer tilt. */
.tilt {
  --tilt: 0deg;
  transform: rotate(var(--tilt));
  transition: transform 140ms ease-out;
}

.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  line-height: 0.9;
  color: #fff;
  text-shadow:
    3px 0 var(--line), -3px 0 var(--line), 0 3px var(--line), 0 -3px var(--line),
    2px 2px var(--line), -2px 2px var(--line), 2px -2px var(--line), -2px -2px var(--line),
    0 8px 0 var(--line);
}

/* The little inset preview at the bottom of each step card. */
.mini {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: var(--lav);
  border: 3px solid var(--line);
  border-radius: 14px;
}
.mini-deep { background: var(--deep); align-items: center; text-align: center; gap: 7px; padding: 12px 10px; }

.pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 2px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
}
.pill-on { background: var(--purple); color: var(--cream); }
.pill-gold { background: var(--gold); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 9px;
  border: 3px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--line);
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
}
.tag-gold { background: var(--gold); color: var(--ink); }
.tag-deep { background: var(--deep); color: var(--on-deep); }
.tag-purple { background: var(--purple); color: var(--cream); }

/* ---------- motifs (the app's flame / coin / aura, not eyeballs) ---------- */

.flame { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
.flame-live { animation: flicker 3.4s ease-in-out infinite; }
.coin { display: block; width: 24px; height: 24px; flex: 0 0 auto; }

/* Soft aura wash, lifted from the app's KnowmiAuraBackdrop. This replaces the
   floating-eye layer: same job (ambient depth), none of the staring. */
.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.5;
  pointer-events: none;
}
.aura-purple { background: radial-gradient(circle, #9b6bff, transparent 70%); }
.aura-sky { background: radial-gradient(circle, #5bc8ff, transparent 70%); }
.aura-gold { background: radial-gradient(circle, #f2b63c, transparent 70%); }
.band-deep .aura { opacity: 0.42; }

.decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 160ms linear, box-shadow 160ms linear;
}
.site-header.is-stuck {
  background: rgba(245, 240, 228, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 0 var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}
.site-logo { flex: 0 0 auto; display: flex; }
.site-logo img { height: 34px; width: auto; display: block; }
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 17px);
}
.site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--purple-hot); }

@media (max-width: 620px) {
  .site-nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 0;
  background: var(--purple);
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  overflow: hidden;
}
.marquee-track { display: flex; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-a { animation: mq-left 38s linear infinite; }
.marquee-b { animation: mq-right 44s linear infinite; }
.marquee-run {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--cream);
  white-space: nowrap;
}
.marquee-b .marquee-run { color: var(--lilac); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 10;
  padding: clamp(26px, 4vw, 52px) 18px clamp(34px, 5vw, 62px);
  background: var(--lav);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(26px, 4vw, 44px);
}
.hero-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-art {
  flex: 1 1 380px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px) 0;
}

.scroll-cue {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: clamp(10px, 2vw, 22px);
}
.scroll-cue .flame { width: 24px; height: 24px; animation: bob 1.9s ease-in-out infinite; }

/* ---------- phone mock ---------- */

.phone {
  position: relative;
  z-index: 2;
  width: min(280px, 74vw);
  padding: 10px;
  background: var(--lilac);
  border: 4px solid var(--line);
  border-radius: 38px;
  box-shadow: 0 14px 0 var(--line);
}
.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  background: var(--lav);
  border: 3px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
}
.phone-bar-solid {
  padding: 12px 14px;
  background: var(--lilac);
  border-bottom: 3px solid var(--line);
  font-size: 17px;
}
.phone-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 9px; padding: 12px 14px; }

.meter { display: flex; align-items: center; gap: 8px; padding: 4px 14px 0; }
.meter-track {
  flex: 1 1 auto;
  height: 9px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.meter-fill { height: 100%; background: var(--purple); }
.meter-count { font-family: var(--display); font-weight: 800; font-size: 11px; color: var(--ink-soft); }

.opt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  padding: 11px 13px;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}
.opt-picked { background: var(--purple); color: var(--cream); box-shadow: 0 4px 0 var(--line); }

.inbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 15px;
}
.inbox-row .flame { width: 21px; height: 21px; }
.inbox-text { display: flex; flex-direction: column; }
.inbox-title { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--ink); }
.inbox-sub { font-size: 11px; color: var(--ink-mute); }

.inbox-locked { position: relative; overflow: hidden; }
.inbox-locked .flame, .inbox-locked .inbox-text { filter: blur(4.5px); }
.inbox-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.inbox-lock span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}

/* ---------- floating chips around the art ---------- */

/* Base transform as well as the keyframes, so the tilt survives when the
   animation is switched off for reduced motion. */
.floaty {
  transform: rotate(var(--rot, 0deg));
  animation: floaty 8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .floaty { animation: none; }
}

.float { position: absolute; z-index: 3; }
.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--cream);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--line);
}
.float-card .flame { width: 26px; height: 26px; }
.float-title { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); }
.float-sub { font-size: 12px; color: var(--ink-mute); }

@media (max-width: 720px) {
  /* Chips pinned to the phone's corners collide with it once the column
     collapses, so drop the outliers and keep the phone legible. */
  .float-drop { display: none; }
}

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: transform 620ms cubic-bezier(0.34, 1.5, 0.5, 1), opacity 340ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- safety cards ---------- */

.safety-grid { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 26px); }
.safety-cell { flex: 1 1 220px; }
.safety-cell-wide { flex: 1 1 420px; }
.safety-card { position: relative; margin-top: 26px; padding: 30px 20px 22px; border-radius: 24px; box-shadow: 0 10px 0 var(--line); }
.safety-badge {
  position: absolute;
  top: -32px;
  left: 16px;
  display: block;
  font-size: 52px;
  line-height: 1;
}
.safety-badge .flame, .safety-badge .coin { width: 56px; height: 56px; }
.safety-age {
  position: absolute;
  top: -30px;
  left: 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--line);
  border-radius: 14px;
  padding: 2px 14px 4px;
  box-shadow: 0 5px 0 var(--line);
}

.fineprint {
  margin: 0;
  max-width: 70ch;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ---------- callout banner ---------- */

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 38px);
  background: var(--purple);
  border: 4px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 12px 0 var(--line);
}
.callout .h2 { flex: 1 1 280px; color: var(--cream); font-size: clamp(26px, 4.2vw, 40px); }
.callout p { flex: 1 1 320px; margin: 0; font-size: clamp(15px, 1.9vw, 17.5px); line-height: 1.6; color: var(--lav); }

/* ---------- final cta + footer ---------- */

.finale {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.finale img { width: clamp(140px, 24vw, 210px); height: auto; }
.finale .h2 { font-size: clamp(34px, 7.2vw, 66px); color: var(--on-deep); text-wrap: balance; }

.site-footer {
  position: relative;
  z-index: 10;
  padding: clamp(26px, 4vw, 42px) 18px clamp(24px, 3vw, 34px);
  background: var(--deep);
  border-top: 4px solid var(--line);
  color: var(--on-deep);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 30px;
}
.site-footer img { height: 30px; width: auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}
.footer-nav a { color: var(--on-deep-soft); }
.footer-nav a:hover { color: #fff; }
.footer-note {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  margin: 0;
  padding-top: 10px;
  border-top: 3px solid rgba(201, 191, 238, 0.22);
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--on-deep-mute);
}

/* ---------- simple document page (report) ---------- */

.doc {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 26px);
}
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 24px;
  background: var(--cream);
  border: 3px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 9px 0 var(--line);
}
.doc-card h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.doc-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
