/* Deck — coming soon. One stylesheet, no script: the page's whole behaviour is in here. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Colour lives on the tiles; the page itself is monochrome. The nine tints are the app's own
   palette (DeckTint in DeckKit), dark values here and light values below. */
:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --surface: #121418;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  /* The edge of a control has to stand 3:1 off the page; --line-strong does not. */
  --field-line: rgba(255, 255, 255, 0.42);
  --text: #f2f3f5;
  --muted: #a6abb6;
  --faint: #868c98;
  --dot: rgba(255, 255, 255, 0.1);
  --bezel: #26282e;
  --screen: #000;
  --screen-text: #fff;
  --shadow: 0 48px 90px -28px rgba(0, 0, 0, 0.85);
  --t-graphite: #929296;
  --t-blue: #0a84ff;
  --t-teal: #32a0b6;
  --t-green: #28a94a;
  --t-yellow: #ae9008;
  --t-orange: #d08208;
  --t-red: #ff453a;
  --t-pink: #ff375f;
  --t-purple: #bf5af2;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 32px);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f3f4f6;
    --surface: #fff;
    --line: rgba(12, 14, 18, 0.1);
    --line-strong: rgba(12, 14, 18, 0.26);
    --field-line: rgba(12, 14, 18, 0.52);
    --text: #0c0e12;
    --muted: #4a505c;
    --faint: #636a77;
    --dot: rgba(12, 14, 18, 0.12);
    --bezel: #1a1b1f;
    --screen: #fff;
    --screen-text: #000;
    --shadow: 0 48px 90px -32px rgba(12, 14, 18, 0.38);
    --t-graphite: #8e8e93;
    --t-blue: #007aff;
    --t-teal: #2a9eb2;
    --t-green: #2aa44a;
    --t-yellow: #b8860b;
    --t-orange: #d07a00;
    --t-red: #ff3b30;
    --t-pink: #ff2d55;
    --t-purple: #af52de;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.wrap {
  width: 100%;
  max-width: 1264px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.label {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--t-green);
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.brand svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--surface);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
  padding-block: clamp(32px, 5vw, 56px) clamp(64px, 9vw, 104px);
}

.hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

h1 {
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lede {
  max-width: 540px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  text-wrap: pretty;
}

.requires {
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Signup ---------- */

.signup {
  width: 100%;
  max-width: 480px;
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.field::placeholder {
  color: var(--faint);
  opacity: 1;
}

.btn {
  flex: none;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.btn:active {
  transform: scale(0.96);
}

/* At phone width the field has wrapped onto its own row; the button takes the next one whole. */
@media (max-width: 480px) {
  .btn {
    flex: 1 1 100%;
  }
}

/* The honeypot: off-screen rather than display:none, which the simplest bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The endpoint answers a signup it could not save by sending the browser back to /#invalid,
   /#slow or /#error. Each is one of these messages, beside the form at the foot of the page. */
.signup-msg {
  display: none;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  scroll-margin-top: 240px;
}

.signup-msg:target {
  display: block;
}

/* ---------- The phone ---------- */

.hero-device {
  flex: 0 1 400px;
  min-width: 0;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(372px, 100%);
  padding: 18px 16px 26px;
  border: 10px solid var(--bezel);
  border-radius: 58px;
  background: var(--screen);
  color: var(--screen-text);
  box-shadow: var(--shadow);
}

.island {
  width: 96px;
  height: 28px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: #000;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.phone-title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.phone-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.72;
}

.phone-status .dot {
  width: 7px;
  height: 7px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 76px;
  gap: 10px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background-color: var(--tint);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0) 58%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.tile-glyph {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-cap {
  padding: 0 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  font-weight: 600;
  font-size: 9.5px;
  line-height: 20px;
  letter-spacing: 0.01em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.span2 {
  grid-column: span 2;
}

.t-graphite { --tint: var(--t-graphite); }
.t-blue { --tint: var(--t-blue); }
.t-teal { --tint: var(--t-teal); }
.t-green { --tint: var(--t-green); }
.t-yellow { --tint: var(--t-yellow); }
.t-orange { --tint: var(--t-orange); }
.t-red { --tint: var(--t-red); }
.t-pink { --tint: var(--t-pink); }
.t-purple { --tint: var(--t-purple); }

.slider {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.slider > * {
  position: relative;
}

.slider .fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(255, 255, 255, 0.24);
}

.fill-64 { width: 64%; }
.fill-80 { width: 80%; }

.slider-name {
  font-weight: 600;
  font-size: 13px;
}

.slider-value {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
}

.live-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 12px;
}

.live-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.92;
}

.live-name .dot {
  width: 6px;
  height: 6px;
  background: #fff;
}

.live-state {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.live .tile-cap {
  padding: 0 12px;
  text-align: left;
}

.pages {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.pages span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
}

.pages span:first-child {
  opacity: 1;
}

/* ---------- What a button can do ---------- */

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 48px;
}

h2 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-head p {
  font-size: 18px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.card-icon {
  width: 52px;
  height: 52px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card p,
.point p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

.card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}

.card-wide .card-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.card-wide p {
  max-width: 640px;
}

.live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.live-tag .dot {
  background: var(--t-orange);
}

/* ---------- Live tiles and how it works ---------- */

.more {
  padding-bottom: clamp(64px, 9vw, 112px);
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.band-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.band h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
}

.band-copy p {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.band-tiles {
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 14px;
}

.band-tiles .tile {
  height: 136px;
  border-radius: 24px;
}

.band-tiles .live-body {
  gap: 6px;
  padding: 0 20px;
}

.band-tiles .live-name {
  gap: 8px;
  font-size: 14px;
}

.band-tiles .live-name .dot {
  width: 8px;
  height: 8px;
}

.band-tiles .live-state {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.band-tiles .tile-cap {
  padding: 0 20px;
  font-size: 12.5px;
  line-height: 32px;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 40px;
  margin-top: 72px;
}

.point {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.point h3 {
  font-size: 24px;
}

.point p {
  line-height: 1.6;
}

/* ---------- Notify ---------- */

.notify {
  border-top: 1px solid var(--line);
}

.notify-inner {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(64px, 9vw, 112px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.notify h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.notify-lede {
  max-width: 520px;
  font-size: 18px;
  color: var(--muted);
  text-wrap: pretty;
}

.notify .signup {
  margin-top: 16px;
}

.notify .signup-form {
  justify-content: center;
}

.pricing {
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Footer ---------- */

.foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 28px 36px;
}

.foot-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.foot-legal small {
  font-size: 12.5px;
  color: var(--faint);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--text);
}

/* ---------- Plain pages: privacy, not found ---------- */

.prose {
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(64px, 9vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  margin-bottom: 8px;
}

.prose h2 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.prose ul {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose a {
  color: var(--text);
  text-underline-offset: 3px;
}

.prose .updated {
  color: var(--faint);
}

/* ---------- Motion ---------- */

@keyframes press {
  0%,
  7%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  3.5% {
    transform: scale(0.92);
    filter: brightness(1.12);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .press-a { animation: press 7.5s ease-in-out 1.2s infinite; }
  .press-b { animation: press 7.5s ease-in-out 3.6s infinite; }
  .press-c { animation: press 7.5s ease-in-out 6s infinite; }
  .breathe { animation: breathe 2.4s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
