/* /app: static product page built from real app recordings (2026-11-26 rebuild). */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src:
    url(/fonts/inter-latin-wght.woff2) format('woff2-variations'),
    url(/fonts/inter-latin-wght.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src:
    url(/fonts/jetbrains-mono-latin-wght.woff2) format('woff2-variations'),
    url(/fonts/jetbrains-mono-latin-wght.woff2) format('woff2');
}
:root {
  --bg: #05070a;
  --ink: #f2f4f7;
  --mid: #c2c9d4;
  --mute: #8a919c;
  --mint: #3ecf8e;
  --line: #ffffff1a;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 6px;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  background: #05070acc;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand svg {
  color: var(--mint);
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--mint);
}

main section {
  padding: 120px max(24px, calc((100vw - 1200px) / 2));
}
.hero,
.row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}
.row .media {
  order: 0;
}
.row .copy {
  order: 1;
}
.row.flip .media {
  order: 1;
}
.row.flip .copy {
  order: 0;
}
.hero {
  min-height: calc(100svh - 64px);
  padding-top: 72px;
  padding-bottom: 72px;
}
figure {
  margin: 0;
}
.media {
  display: flex;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  font: 500 12px var(--mono);
  letter-spacing: 0.16em;
  color: var(--mint);
}
h1,
h2 {
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h1 {
  font-size: clamp(52px, 7.4vw, 104px);
}
h2 {
  font-size: clamp(42px, 5.6vw, 80px);
}
.lede {
  margin: 0;
  max-width: 30em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--mid);
}
.center {
  text-align: center;
}
.center .lede {
  margin: 0 auto;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}
.primary {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 10px;
  background: var(--mint);
  color: #04130c;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.primary:focus-visible,
.nav-link:focus-visible,
a.launch-secondary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.launch-secondary {
  font-size: 14px;
  color: var(--mid);
}

/* Device frames: a plain dark bezel around a real screen recording. */
.frame {
  background: linear-gradient(160deg, #22272d, #0d1013 55%, #1a1e23);
  box-shadow:
    0 0 0 1px #ffffff14,
    0 40px 120px #000000c0;
}
.frame video,
.frame img {
  width: 100%;
}
.frame.watch {
  width: min(340px, 78vw);
  padding: 16px;
  border-radius: 64px;
}
.frame.watch video,
.frame.watch img {
  border-radius: 48px;
}
.frame.phone {
  width: min(360px, 78vw);
  padding: 11px;
  border-radius: 46px;
}
.frame.phone video {
  border-radius: 36px;
}
.frame.tablet {
  padding: 10px;
  border-radius: 24px;
}
.frame.tablet video {
  border-radius: 15px;
}

.big .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
  margin-top: 72px;
}
figcaption {
  margin-top: 16px;
  font: 500 12px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
}

.lineup {
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}
.cards article {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0f13;
}
.cards h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.cards p {
  margin: 0;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.5;
}
.fine {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}
.final {
  text-align: center;
}
.final .cta-row {
  justify-content: center;
}

footer {
  padding: 36px max(24px, calc((100vw - 1200px) / 2)) 110px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 12px;
}
footer p {
  margin: 0 0 10px;
}
footer a {
  text-underline-offset: 4px;
}

.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: #10151df7;
  border-top: 1px solid #313c46;
  color: var(--mid);
  font-size: 12px;
}
.consent p {
  max-width: 720px;
  margin: 0;
}
.consent a {
  color: var(--mint);
}
.consent button {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 5px;
  border: 1px solid #78828f;
  background: transparent;
  color: var(--ink);
  font: 600 13px var(--sans);
  cursor: pointer;
}
.consent[hidden] {
  display: none;
}

@media (max-width: 860px) {
  main section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero,
  .row {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero {
    min-height: 0;
  }
  .row .copy,
  .row.flip .copy {
    order: 0;
  }
  .row .media,
  .row.flip .media {
    order: 1;
  }
  .big .grid,
  .cards {
    grid-template-columns: 1fr;
  }
  .lede {
    font-size: 17px;
  }
  .consent {
    flex-wrap: wrap;
  }
  .consent p {
    flex-basis: 100%;
  }
  .consent button {
    flex: 1;
  }
}
.fine.left {
  margin: 18px 0 0;
  text-align: left;
}

/* Landing: one dark full-screen scene with the film, then "Find out more" opens the suite page. */
.masthead {
  position: fixed;
  left: 0;
  right: 0;
  background: #05070a66;
}
.landing {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}
.landing-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.landing-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #05070a99 0%, transparent 22%, transparent 48%, #05070ae6 100%),
    linear-gradient(90deg, #05070acc 0%, transparent 55%);
}
.landing-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(72px, 11svh);
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
}
.landing-copy h1 {
  max-width: 13em;
  font-size: clamp(40px, 6.2vw, 92px);
}
.landing-copy h1 span {
  color: var(--mint);
}
.landing-fine {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: max(20px, env(safe-area-inset-bottom));
  margin: 0;
  font-size: 12px;
  color: var(--mute);
}
.more {
  cursor: pointer;
}
/* Until "Find out more" is pressed (JS only), the suite page waits below the film. */
.gate .suite {
  display: none;
}
.suite .hero {
  padding-top: 136px;
}
@media (max-width: 860px) {
  .landing-copy {
    bottom: max(64px, 9svh);
  }
  .landing-fine {
    left: 24px;
    right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-film {
    display: none;
  }
  .landing {
    background: #05070a url(/app-suite/v/landing-film.jpg) center / cover no-repeat;
  }
}
/* The app's own lockup (components/chrome/BrandWordmark.tsx): box logomark + bold wordmark with a glowing square period. */
.lockup {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(22px, 3svh, 36px);
}
.logomark {
  width: clamp(52px, 6vw, 84px);
  height: auto;
  color: var(--mint);
  filter: drop-shadow(0 0 18px #3ecf8e59);
}
.wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.06em;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.wordmark i {
  width: 0.21em;
  height: 0.21em;
  margin-bottom: 0.14em;
  border-radius: 2px;
  background: var(--mint);
  box-shadow: 0 0 0.3em #3ecf8e99;
}
/* Header = the big lockup on a transparent bar with even padding (owner 2026-11-26).
   It turns glassy once the page scrolls past the film (JS adds .scrolled). */
.masthead {
  height: auto;
  padding: 22px max(24px, calc((100vw - 1200px) / 2));
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    padding 0.3s ease;
}
.masthead.scrolled {
  padding-block: 14px;
  background: #05070acc;
  border-bottom-color: var(--line);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.brand.lockup {
  margin: 0;
  gap: 14px;
  text-decoration: none;
}
.brand.lockup .logomark {
  width: 52px;
}
.brand.lockup .wordmark {
  font-size: 38px;
}
.masthead.scrolled .logomark {
  width: 40px;
}
.masthead.scrolled .wordmark {
  font-size: 30px;
}
.brand.lockup .logomark,
.brand.lockup .wordmark {
  transition:
    width 0.3s ease,
    font-size 0.3s ease;
}
.nav-link {
  font-size: 15px;
}
.suite .hero {
  padding-top: 168px;
}
.product section,
.suite section {
  scroll-margin-top: 96px;
}
@media (max-width: 860px) {
  .masthead {
    padding: 16px 20px;
  }
  .brand.lockup .logomark {
    width: 38px;
  }
  .brand.lockup .wordmark {
    font-size: 27px;
  }
  .masthead.scrolled .logomark {
    width: 32px;
  }
  .masthead.scrolled .wordmark {
    font-size: 23px;
  }
}
/* Landing headline: exactly two lines, each kept whole; size follows the viewport (owner 2026-11-26). */
.landing-copy h1 {
  max-width: none;
  font-size: clamp(30px, 4.8vw, 70px);
}
.landing-copy h1 span {
  display: block;
  white-space: nowrap;
}
.landing-copy h1 .l1 {
  color: var(--ink);
}
.landing-copy h1 .l2 {
  color: var(--mint);
}
@media (max-width: 640px) {
  .landing-copy h1 {
    font-size: clamp(32px, 9vw, 44px);
  }
  .landing-copy h1 span {
    white-space: normal;
  }
}

/* Launch email (pre-launch only; app.js removes it once APP_LIVE). One glass
   field with the button set inside it, the same family as the home popup. */
.notify {
  position: relative;
  max-width: 540px;
  margin: 56px auto 0;
  padding: 26px 26px 22px;
  border-radius: 22px;
  border: 1px solid #ffffff14;
  background:
    radial-gradient(120% 90% at 50% 0%, #3ecf8e14, transparent 60%),
    linear-gradient(180deg, #ffffff0a, #ffffff03);
  box-shadow:
    0 30px 80px #00000080,
    inset 0 1px 0 #ffffff12;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: center;
}
.notify-k {
  margin: 0 0 16px;
  font: 600 11.5px var(--mono);
  letter-spacing: 0.18em;
  color: var(--mint);
}
.notify-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid #ffffff1f;
  background: #05080acc;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.notify-row:focus-within {
  border-color: #3ecf8e8c;
  box-shadow: 0 0 0 4px #3ecf8e1f;
}
.notify input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1 inherit;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.notify input[type='email']::placeholder {
  color: #7d8891;
}
.notify button {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #4fdc9c, #2fbf7f);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    0 8px 24px #3ecf8e33;
  color: #03261a;
  font: 700 13px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}
.notify button:hover {
  filter: brightness(1.06);
}
.notify button:active {
  transform: translateY(1px);
}
.notify button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.notify button[disabled] {
  opacity: 0.6;
  cursor: default;
}
.notify-fine {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #8a949c;
}
.notify.done .notify-row {
  display: none;
}
.notify.done .notify-fine {
  margin-top: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--mint);
}
.notify .hp,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
@media (max-width: 520px) {
  .notify {
    padding: 22px 16px 18px;
  }
  .notify-row {
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
  }
  .notify input[type='email'] {
    flex: none;
    text-align: center;
  }
  .notify button {
    width: 100%;
  }
}
