/* momputer's page: black and white like the widget (and a Nothing phone), with mom on a round
   white screen. Colour only ever comes from tiny lights: green when things are fine, red for
   "this one". Nothing moves on a loop: lights and letters come on once when the page opens, and
   after that things move when you scroll, point or press (see "alive", at the end). */

:root {
  --bg: #ececec;
  --card: #ffffff;
  --card-2: #f3f3f3;
  --line: #e6e6e6;
  --line-2: #d2d2d2;
  --edge: rgba(0, 0, 0, 0.05);
  --ink: #000000;
  --ink-2: #5a5a5a;
  --ink-3: #8c8c8c;
  --screen-edge: #dcdcdc;
  --red: #d71921;
  --green: #0fa548;
  --led-off: #c4c4c4;
  --glow: 45%;
  --grid: rgba(0, 0, 0, 0.075);
  --grid-on: rgba(0, 0, 0, 0.42);
  --spot: rgba(0, 0, 0, 0.035);
  --font-ui: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-dot: "Doto", "Geist Mono", ui-monospace, monospace;
  --mono: "Geist Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --radius: 24px;
  --bar: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #121212;
    --card-2: #1c1c1c;
    --line: #232323;
    --line-2: #383838;
    --edge: rgba(255, 255, 255, 0.06);
    --ink: #ffffff;
    --ink-2: #a8a8a8;
    --ink-3: #6c6c6c;
    --screen-edge: #2a2a2a;
    --red: #ff3b3b;
    --green: #2fe07a;
    --led-off: #3b3b3b;
    --glow: 75%;
    --grid: rgba(255, 255, 255, 0.07);
    --grid-on: rgba(255, 255, 255, 0.5);
    --spot: rgba(255, 255, 255, 0.06);
    color-scheme: dark;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* the page keeps its width when BIG MODE opens over it and scrolling stops */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  /* the faint dot grid from the README art */
  background-image: radial-gradient(var(--grid) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 16px/1.55 var(--font-ui);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-3);
}

a:hover {
  text-decoration-color: var(--ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

main:focus {
  outline: 0;
}

code,
pre {
  font-family: var(--mono);
  font-size: 0.9em;
}

:not(pre) > code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--card-2);
}

b {
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

p,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.small {
  font-size: 14px;
  color: var(--ink-2);
}

/* for screen readers only */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  z-index: 30;
}

.skip:focus {
  top: 12px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--edge);
}

/* ------------------------------------------------------------------ the little lights */

.led {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led-off);
}

.led.green {
  background: var(--green);
  box-shadow: 0 0 6px color-mix(in srgb, var(--green) var(--glow), transparent);
}

.led.red {
  background: var(--red);
  box-shadow: 0 0 6px color-mix(in srgb, var(--red) var(--glow), transparent);
}

/* ------------------------------------------------------------------ dot matrix type */

.dot {
  font-family: var(--font-dot);
  font-weight: 800;
  font-variation-settings: "ROND" 100;
  letter-spacing: 0.02em;
  line-height: 1;
}

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

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px 0 24px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--bg);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 120ms ease, opacity 140ms ease;
}

.primary:hover {
  opacity: 0.88;
}

.primary:active {
  transform: scale(0.98);
}

.primary .led {
  width: 7px;
  height: 7px;
}

.primary.compact {
  gap: 9px;
  min-height: 44px;
  padding: 0 20px 0 17px;
  border-radius: 22px;
  font-size: 15.5px;
}

.primary.compact .led {
  width: 6px;
  height: 6px;
}

/* ------------------------------------------------------------------ top bar */

.top {
  background: var(--bg);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--bar);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  text-decoration: none;
}

.wordmark {
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* the page's own tabs, like a view's tabs in the widget: quiet, and the one you're
   reading lifts onto a card with a dot under it */
.nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  border-radius: 20px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

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

.nav a[aria-current] {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--edge);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transition: opacity 200ms ease;
}

.nav a[aria-current]::after {
  opacity: 1;
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--edge);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}

.gh svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* how many stars she has, once GitHub has said */
.count {
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--card-2);
  color: var(--ink-2);
  font: 600 12.5px/1 var(--mono);
}

.bar .primary.compact {
  min-height: 40px;
  border-radius: 20px;
  font-size: 15px;
}

@media (min-width: 960px) {
  .top {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .top.scrolled {
    box-shadow: 0 1px 0 var(--line-2);
  }

  .nav {
    display: flex;
  }

  /* nothing you jump to, or tab to, hides under the bar */
  html {
    scroll-padding-top: calc(var(--bar) + 16px);
  }
}

/* between 960 and 1100 the bar is full: GitHub keeps its mark and drops its word */
@media (min-width: 960px) and (max-width: 1099px) {
  .gh {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .gh-label,
  .gh .count {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

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

.hero {
  display: grid;
  gap: 32px;
  padding: 28px 20px 0;
  overflow: hidden;
}

.hero-text {
  min-width: 0;
}

.hello {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* mom's round white screen, as in the widget */
.screen {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--screen-edge);
  overflow: hidden;
}

.screen img {
  width: 100%;
  height: 100%;
}

.wordmark-big {
  margin: 0;
  min-width: 0;
  font-size: clamp(32px, 10.5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(30px, 7.6vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.lead {
  margin-top: 16px;
  max-width: 33em;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.get {
  margin-top: 28px;
}

.meta {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
}

.meta + .meta {
  margin-top: 4px;
}

.meta .sep {
  margin: 0 7px;
}

.hint {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--card-2);
  color: var(--ink-2);
  font-size: 14px;
}

.lights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.lights li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 17px;
  background: var(--card-2);
  font-size: 14px;
  font-weight: 500;
}

/* The one thing that moves by itself: the three lights come on, once. */
@media (prefers-reduced-motion: no-preference) {
  .lights .led {
    animation: light-on 0.01s linear both;
  }

  .lights li:nth-child(1) .led {
    animation-delay: 350ms;
  }

  .lights li:nth-child(2) .led {
    animation-delay: 600ms;
  }

  .lights li:nth-child(3) .led {
    animation-delay: 850ms;
  }
}

@keyframes light-on {
  from {
    background: var(--led-off);
    box-shadow: none;
  }
}

/* The hero's lines come up one after the other, and the widget slides into place, once, as the
   page opens. (They fill backwards only: once it's over, nothing is left on the widget's column
   that would hold the live widget in when it goes BIG.) */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * {
    animation: come-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .hero-text > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-text > :nth-child(3) {
    animation-delay: 160ms;
  }

  .hero-text > :nth-child(4) {
    animation-delay: 240ms;
  }

  .hero-text > :nth-child(5) {
    animation-delay: 320ms;
  }

  .hero-side {
    animation: slide-up 800ms cubic-bezier(0.2, 0.7, 0.2, 1) 100ms backwards;
  }
}

@keyframes come-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes slide-up {
  from {
    transform: translateY(26px);
  }
}

/* the widget, peeking up from the bottom of the card on a phone, whole on a wide screen */
.hero-side {
  justify-self: center;
  width: min(100%, 340px);
  min-width: 0;
}

.hero-shot {
  position: relative;
  max-height: 430px;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 0 0 1px var(--line-2);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

.hero-shot img {
  width: 100%;
}

@media (min-width: 900px) {
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) var(--demo-w, 330px);
    align-items: center;
    gap: 44px;
    padding: 40px 40px 40px 52px;
  }

  .hero-side {
    width: var(--demo-w, 330px);
  }

  .screen {
    width: 96px;
    height: 96px;
  }

  .hello {
    gap: 20px;
    margin-bottom: 30px;
  }

  .wordmark-big {
    font-size: clamp(44px, 5.4vw, 76px);
  }

  h1 {
    font-size: clamp(34px, 3.5vw, 46px);
  }

  .lead {
    font-size: 18px;
  }

  .hero-shot {
    max-height: none;
    border-radius: 26px;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (min-width: 1160px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) var(--demo-w, 350px);
    gap: 64px;
    padding: 44px 48px 44px 64px;
  }

  .hero-side {
    width: var(--demo-w, 350px);
  }
}

/* ------------------------------------------------------------------ why */

.why {
  margin-top: clamp(48px, 8vw, 96px);
  padding: 0 4px;
}

.statement {
  max-width: 23em;
  font-size: clamp(23px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 22px;
  color: var(--ink-2);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ------------------------------------------------------------------ sections */

.section {
  margin-top: clamp(64px, 9vw, 120px);
}

.section-head {
  margin: 0 4px 22px;
}

.section-head h2 {
  font-size: clamp(30px, 4.6vw, 44px);
  letter-spacing: -0.035em;
}

.section-head p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 17px;
}

.section-head p a {
  color: var(--ink);
}

.block {
  padding: 24px 22px 26px;
}

.block > h3,
.skills-head h3,
.privacy h3,
.verify-head h3 {
  font-size: 22px;
}

.block > h3 + p,
.skills-head h3 + p,
.privacy h3 + p {
  margin-top: 8px;
  color: var(--ink-2);
}

.block h3 code {
  font-size: 0.92em;
  font-weight: 600;
}

/* a link that stands on its own line */
.go a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ the tour */

.tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tile-text {
  flex: 1;
  padding: 24px 22px 14px;
}

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

.tile-text > p {
  margin-top: 8px;
  max-width: 34em;
  color: var(--ink-2);
}

/* "More": one sentence first, the rest if you ask */
.more {
  margin-top: 4px;
}

.more summary {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 40px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-3);
  list-style: none;
  cursor: pointer;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more summary:hover {
  text-decoration-color: var(--ink);
}

.more[open] summary {
  color: var(--ink-2);
}

.more ul {
  display: grid;
  gap: 8px;
  max-width: 36em;
  padding: 2px 0 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.more li {
  position: relative;
  padding-left: 16px;
}

.more li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--led-off);
}

.tile-shots {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0 10px 10px;
}

.tile-shots > * {
  width: 100%;
}

/* a shot is never shown bigger than the widget really is */
.tile-shots img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line-2);
}

.tile.full .tile-shots img {
  max-width: none;
}

/* BIG MODE, as the widget's title bar says it */
.badge {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px 0 15px;
  border-radius: 17px;
  background: var(--ink);
  color: var(--bg);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

@media (min-width: 560px) {
  .tile-shots.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  .tour {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile.wide,
  .tile.full {
    grid-column: 1 / -1;
  }

  /* two shots in one card stand where two cards would: they line up with the row below */
  .tile-shots.two {
    column-gap: 32px;
  }

  .tile-text {
    padding: 26px 26px 14px;
  }
}

@media (min-width: 1040px) {
  .tour {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile.wide {
    grid-column: span 2;
  }
}

/* ------------------------------------------------------------------ for your agents */

.pair {
  display: grid;
  gap: 12px;
}

@media (min-width: 860px) {
  .pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .block {
    padding: 28px 28px 30px;
  }
}

/* a few real commands, the way `mom` lists them */
.cmds {
  margin-top: 18px;
  padding: 4px 16px;
  border-radius: 16px;
  background: var(--card-2);
}

.cmds > div {
  display: grid;
  gap: 0 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}

.cmds > div:last-child {
  border-bottom: 0;
}

.cmds code {
  padding: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.cmds dd {
  color: var(--ink-2);
  font-size: 14.5px;
}

@media (min-width: 480px) {
  .cmds > div {
    grid-template-columns: 10.5em minmax(0, 1fr);
    align-items: baseline;
  }
}

.block .go {
  margin-top: 8px;
  margin-bottom: -10px;
}

/* rows with a light, as in the widget's lists */
.rows {
  margin-top: 14px;
}

.rows li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--line);
}

.rows li:last-child {
  border-bottom: 0;
}

.rows li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px color-mix(in srgb, var(--green) var(--glow), transparent);
}

.rows li span {
  color: var(--ink-2);
  font-size: 15px;
}

.rows + .small {
  margin-top: 14px;
}

/* the skills */
.skills {
  margin-top: 12px;
}

.skills-head {
  display: grid;
  gap: 14px;
}

.skills-head p {
  max-width: 40em;
}

/* a number the way the widget shows one */
.readout {
  display: flex;
  align-items: flex-start;
  color: var(--ink);
}

.readout .dot {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0;
}

.skills-install {
  margin-top: 22px;
}

.skills-install .code {
  margin: 8px 0 0;
  max-width: 46em;
}

.skill-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.skill-list li {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 15px 16px 14px;
  border-radius: 16px;
  background: var(--card-2);
}

.skill-list span {
  color: var(--ink-2);
  font-size: 15px;
}

.skill-list .say {
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.skill-list .skill-more {
  align-content: center;
  background: none;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.skill-more a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-weight: 600;
}

@media (min-width: 640px) {
  .skill-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
  }

  .readout .dot {
    font-size: 72px;
  }
}

@media (min-width: 1040px) {
  .skill-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ what mom will never do */

.never {
  display: grid;
  gap: 12px;
}

.never-main {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.promises {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.promises li {
  padding-top: 15px;
  padding-bottom: 15px;
}

.promises li::before {
  top: 24px;
}

/* what isn't built yet: a light that's off */
.next li::before {
  background: var(--led-off);
  box-shadow: none;
}

.promises b {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.privacy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.never-main .go {
  margin: -4px 4px 0;
}

.proof {
  align-self: start;
  padding: 10px 10px 0;
}

.proof img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line-2);
}

.proof figcaption {
  padding: 14px 12px 16px;
  color: var(--ink-2);
  font-size: 15px;
  text-align: center;
}

@media (min-width: 800px) {
  .never {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .never {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 26px;
}

.step-num {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.step h3 {
  font-size: 22px;
}

.step p {
  color: var(--ink-2);
}

.step b {
  color: var(--ink);
}

/* a black-and-white sketch of Windows' "protected your PC" box, pointing at what to click */
.mock {
  margin: 4px 0;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: var(--card-2);
  font-size: 13.5px;
  line-height: 1.4;
}

.step .mock-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.step .mock-text {
  margin-top: 6px;
  color: var(--ink-2);
}

.step .mock-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
}

.mock-link u {
  text-underline-offset: 3px;
}

.mock-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}

.mock-btn.on {
  box-shadow: inset 0 0 0 1.5px var(--ink);
  color: var(--ink);
  font-weight: 600;
}

/* and one of the corner of the taskbar: the arrow, mom, the clock */
.tray {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 18px;
  color: var(--ink-2);
  font-weight: 500;
}

.tray svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tray-mom {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 5px var(--card);
}

.tray-mom img {
  border-radius: 50%;
}

.tray-mom .led {
  position: absolute;
  right: -2px;
  bottom: -1px;
  box-shadow: 0 0 0 1.5px var(--card);
}

/* ------------------------------------------------------------------ check the download, updates */

.after {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 900px) {
  .after {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.verify-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.verify p {
  max-width: 46em;
  color: var(--ink-2);
}

.verify p b,
.verify p a {
  color: var(--ink);
}

.code {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  background: var(--card-2);
}

.code pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy {
  flex: none;
  min-width: 72px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
  font: 600 14px/1 var(--font-ui);
  cursor: pointer;
  transition: opacity 140ms ease;
}

.copy:hover {
  opacity: 0.85;
}

.updates {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.updates p {
  color: var(--ink-2);
}

.updates p b {
  color: var(--ink);
}

.updates .small {
  margin-top: auto;
}

/* the "i" in the widget's title bar, with its light on */
.i-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-2);
  color: var(--ink);
}

.i-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.i-btn .led {
  position: absolute;
  top: 8px;
  right: 8px;
}

/* ------------------------------------------------------------------ questions */

.faq {
  display: grid;
  gap: 8px;
}

.faq details {
  padding: 0 22px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* a plus that turns into a minus */
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 2px 14px no-repeat;
}

.faq details[open] summary::after {
  background: linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 2px no-repeat;
}

.faq details p {
  max-width: 46em;
  color: var(--ink-2);
}

.faq details p b,
.faq details p a {
  color: var(--ink);
}

.faq details p + p {
  margin-top: 10px;
}

.faq details > p:last-child {
  padding-bottom: 22px;
}

@media (min-width: 960px) {
  .faq-sec {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px;
    align-items: start;
  }

  .faq-sec .section-head {
    position: sticky;
    top: calc(var(--bar) + 24px);
    margin-bottom: 0;
  }
}

/* ------------------------------------------------------------------ footer */

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: clamp(64px, 9vw, 112px);
  padding-bottom: 48px;
  text-align: center;
  color: var(--ink-2);
  font-size: 15px;
}

.foot-mom {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--screen-edge);
  overflow: hidden;
}

.foot a {
  color: var(--ink);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
  margin: 2px 0 6px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-weight: 550;
}

.foot .small {
  max-width: 44em;
  font-size: 13.5px;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ phones, and calm */

/* ------------------------------------------------------------------ like her? */

.ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 22px;
  background: var(--card-2);
  color: var(--ink);
  font: 600 15.5px/1 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease;
}

.ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.ghost:active {
  transform: scale(0.98);
}

.ghost svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 160ms ease;
}

/* the star fills in under the pointer */
.ghost:hover .star-ico {
  fill: currentColor;
}

.ghost .count {
  background: var(--card);
}

.go-live {
  margin-top: 16px;
}

.thanks {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .thanks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  }
}

.thank-do {
  margin-top: 18px;
}

.share-to {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.share-to a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  background: var(--card-2);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: color 160ms ease;
}

.share-to a:hover {
  color: var(--ink);
}

.coins {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.coin {
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 20px;
  background: var(--card-2);
  color: var(--ink-2);
  font: 550 14px/1 var(--font-ui);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.coin:hover {
  color: var(--ink);
}

.coin[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.coffee .code {
  margin: 10px 0 0;
}

/* ------------------------------------------------------------------ alive (live.js)

   Everything below is switched on by the script, and the page is whole without it. */

/* mom says a word, at the foot of the window */
.says {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 18px 7px 7px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 220ms ease, transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1.25);
}

.says.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.says img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

/* mom herself, in her screen: she follows the pointer and doesn't mind a boop */
.screen.alive {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.screen.alive .mom {
  display: block;
  width: 112%;
  height: auto;
  margin-top: -5%;
  overflow: visible;
  pointer-events: none;
}

/* things arrive as you reach them, neighbours one after the other */
html.motion .rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease var(--wait, 0ms), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--wait, 0ms);
}

html.motion .rise.in {
  opacity: 1;
  transform: none;
}

/* the big wordmark's letters switch on, one by one, once */
.switch-on span {
  display: inline-block;
  animation: letter-on 0.01s linear both;
  animation-delay: calc(150ms + var(--i) * 60ms);
}

@keyframes letter-on {
  from {
    opacity: 0.1;
  }
}

/* around the pointer, the page's dots light up */
html.pointer body {
  position: relative;
}

html.pointer body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(var(--grid-on) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(230px circle at var(--px, -999px) var(--py, -999px), #000, transparent 72%);
  mask-image: radial-gradient(230px circle at var(--px, -999px) var(--py, -999px), #000, transparent 72%);
}

/* a card is lit where the pointer is */
html.pointer .card {
  background-image: radial-gradient(300px circle at var(--mx, -999px) var(--my, -999px), var(--spot), transparent 72%);
}

/* a picture leans a little toward the pointer */
html.pointer .tile-shots,
html.pointer .proof {
  perspective: 1200px;
}

html.pointer .tile-shots img,
html.pointer .proof img {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* the live widget: its own page in a frame, where its picture was */
.live-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13.5px;
}

/* for the keyboard: the way into the live widget shows when Tab reaches it */
.live-note {
  position: relative;
}

.vh.on-focus:focus {
  position: absolute;
  left: 50%;
  top: 100%;
  width: auto;
  height: 40px;
  margin-top: 6px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
  font: 600 14px/1 var(--font-ui);
  clip-path: none;
  transform: translateX(-50%);
  z-index: 3;
}

.demo-live {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  background: var(--bg);
  opacity: 0;
  transition: opacity 420ms ease;
}

.hero-shot.live .demo-live {
  opacity: 1;
}

.demo-live iframe {
  display: block;
  border: 0;
  transform-origin: 0 0;
}

/* BIG MODE, over the page: the frame at the size of mom's real window, scaled to fit yours */
.demo-live.big {
  position: fixed;
  inset: auto;
  z-index: 70;
  transform-origin: 0 0;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line-2);
  opacity: 1;
  transition: none;
}

.big-shade {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.big-shade.on {
  opacity: 1;
}

/* the plain card that travels between the two sizes while the real thing changes unseen */
.big-card {
  position: fixed;
  z-index: 75;
  transform-origin: 0 0;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line-2);
  pointer-events: none;
}

.big-back {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 76;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #000;
  font: 600 14px/1 var(--font-ui);
  cursor: pointer;
  transform: translateX(-50%);
}

html.big-open {
  overflow: hidden;
}

@media (max-width: 420px) {
  .get .primary {
    width: 100%;
  }

  .lights li {
    font-size: 13px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
