:root {
  --paper: #fbfaf7;
  --panel: #f3f2ee;
  --white: #ffffff;
  --ink: #141516;
  --ink-2: #5e5d58;
  --ink-3: #6d6b65;
  --line: #e7e5df;
  --line-2: #e1ded7;
  --mint: #69d6aa;
  --mint-deep: #0b7a55;
  --warm-white: #f2f1ed;
  --hud: #1c1d20;
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono-ui: ui-monospace, "SF Mono", Menlo, monospace;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --max: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono-ui); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */

.nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: max-content;
  margin: 24px auto 0;
  height: 52px;
  padding: 0 6px 0 16px;
  border-radius: 14px;
  background: var(--ink);
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 8px 24px -12px rgba(20, 21, 22, .5);
}
.nav a { color: var(--warm-white); font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--mint); }
.nav-mark { display: flex; align-items: center; gap: 8px; }
.nav .beta-tag { height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(105, 214, 170, .16); color: var(--mint); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; }
.nav .nav-cta {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
}
.nav .nav-cta:hover { color: var(--ink); background: #7fe0b8; }
/* On wide screens the links sit in the bar; on phones they fold into a menu behind .nav-toggle. */
.nav-links { display: contents; }
.nav-toggle { display: none; }

/* Buttons */

.btn {
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s, box-shadow .15s;
}
.btn-dark { background: var(--ink); color: var(--paper); padding-left: 20px; padding-right: 24px; }
.btn-dark:hover { background: #2a2c2e; }
.btn-mint { height: 56px; border-radius: 14px; background: var(--mint); color: var(--ink); font-size: 17px; font-weight: 600; }
.btn-mint:hover { background: #7fe0b8; }

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px var(--gutter) 140px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.lede {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
}
.meta { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }

/* Homebrew install line, quieter than the Download button above it */

.brew-cmd { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 5px 5px 14px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; }
.brew-cmd code { min-width: 0; overflow-x: auto; white-space: nowrap; font: 14px/1.5 var(--mono-ui); color: var(--ink-2); scrollbar-width: none; }
.brew-prompt { color: var(--ink-3); user-select: none; }
.brew-cmd button { flex: none; height: 30px; padding: 0 12px; border: none; border-radius: 8px; background: var(--warm-white); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; }
.brew-cmd button:hover { background: var(--line); }
.brew-lead { margin-top: 28px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.brew-lead + .brew-cmd { margin-top: 10px; }
.inline-code { font: 0.9em var(--mono-ui); padding: 1px 6px; border-radius: 6px; background: var(--warm-white); }

/* Waitlist form (main.js submits it to Formspark in place) */

.waitlist { position: relative; width: 100%; max-width: 560px; margin-top: 36px; display: flex; gap: 12px; }
.waitlist input[type="email"] {
  flex-grow: 1;
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid #dcd9d2;
  background: var(--white);
  font: 400 17px var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.waitlist input[type="email"]::placeholder { color: #8a877f; }
.waitlist input[type="email"]:focus { border-color: var(--mint-deep); box-shadow: 0 0 0 3px rgba(11, 122, 85, .16); }
.waitlist .btn { height: 56px; padding: 0 26px; border: none; border-radius: 14px; font: 500 17px var(--sans); cursor: pointer; flex: none; }
.waitlist .btn:disabled { opacity: .6; cursor: default; }
.honeypot { display: none; }
.waitlist-done {
  display: none;
  flex-grow: 1;
  height: 56px;
  border-radius: 14px;
  background: #e3f6ee;
  color: #0b5a40;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
}
.waitlist-done svg { color: var(--mint-deep); }
.waitlist.is-done > :not(.waitlist-done, .waitlist-status) { display: none; }
.waitlist.is-done .waitlist-done { display: flex; animation: done-in .3s ease both; }
@keyframes done-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .waitlist.is-done .waitlist-done { animation: none; } }
.waitlist-status { position: absolute; top: 100%; left: 0; right: 0; margin-top: 10px; font-size: 14px; color: #b3402f; }
.waitlist.is-done .waitlist-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.waitlist-dark input[type="email"] { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--warm-white); }
.waitlist-dark input[type="email"]::placeholder { color: rgba(242, 241, 237, .45); }
.waitlist-dark input[type="email"]:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(105, 214, 170, .2); }
.waitlist-dark .btn { font-weight: 600; }
.waitlist-dark .waitlist-done { background: rgba(105, 214, 170, .14); color: var(--mint); }
.waitlist-dark .waitlist-done svg { color: var(--mint); }
.waitlist-dark .waitlist-status { color: #f0a597; }

/* Hero download */

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-actions .btn { height: 56px; border-radius: 14px; font-size: 17px; }
.btn-quiet { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); padding: 0 24px; }
.btn-quiet:hover { box-shadow: inset 0 0 0 1px #cfccc4; background: #fdfcfa; }
.btn-download svg { margin-top: -3px; }

/* A big Pill-coloured pointer beside the headline, clicking now and then. */
.hero-title { position: relative; }
.hero-cursor { position: absolute; left: calc(100% + 19px); top: calc(40% - 9px); transform: rotate(-6deg); filter: drop-shadow(0 14px 22px rgba(20, 21, 22, .18)); }
.hero-cursor-ring { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-cursor { animation: hero-cursor 4.8s cubic-bezier(.45, 0, .2, 1) infinite; transform-origin: 23px 22px; }
  .hero-cursor-ring { animation: hero-cursor-ring 4.8s infinite; }
}
@keyframes hero-cursor {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  38% { transform: translate(-10px, -8px) rotate(-6deg); }
  46% { transform: translate(-10px, -8px) rotate(-6deg) scale(.9); }
  52% { transform: translate(-10px, -8px) rotate(-6deg) scale(1); }
}
@keyframes hero-cursor-ring { 0%, 45% { opacity: 0; } 48%, 62% { opacity: 1; } 72%, 100% { opacity: 0; } }
@media (max-width: 900px) { .hero-cursor { display: none; } }

/* Demo frame: the scene is drawn at 1200×750 and scaled to fit (main.js sets --scale). */

.demo {
  --scale: 1;
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 1200 / 750;
  margin-top: 72px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #5f8f96 0%, #8fb3a7 48%, #d8c4a2 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 40px 80px -20px rgba(20, 21, 22, .35);
  text-align: left;
}
.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  transition: opacity .3s;
}
.demo.has-video .demo-video { opacity: 1; }
.demo.has-video .scene { visibility: hidden; }

.demo-toggle {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  height: 44px;
  padding: 0 18px 0 7px;
  border: none;
  border-radius: 22px;
  background: rgba(20, 21, 22, .72);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 14px var(--mac);
  cursor: pointer;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.demo-toggle[hidden] { display: none; }
.demo-toggle-icon { width: 30px; height: 30px; border-radius: 15px; background: var(--warm-white); display: grid; place-items: center; }
.demo-toggle .icon-play { display: none; }
.demo-toggle.paused .icon-play { display: block; }
.demo-toggle.paused .icon-pause { display: none; }

.scene {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 750px;
  transform: scale(var(--scale));
  transform-origin: 0 0;
  font-family: var(--mac);
  color: #1d1d1f;
}
.scene-menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 28px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .22);
  font-size: 13px;
}
.scene-menubar .row { display: flex; gap: 18px; }

.relay {
  position: absolute;
  left: 60px;
  top: 72px;
  width: 700px;
  height: 560px;
  border-radius: 12px;
  background: #f8f7f4;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 24px 60px rgba(0, 0, 0, .28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.relay-titlebar {
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid #e4e1db;
  background: #efede8;
}
.relay-titlebar i { width: 12px; height: 12px; border-radius: 6px; }
.relay-titlebar span { flex-grow: 1; text-align: center; font-size: 13px; font-weight: 600; color: #55524c; margin-right: 52px; }
.relay-body { flex-grow: 1; display: flex; min-height: 0; }
.relay-sidebar {
  width: 180px;
  flex: none;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #efede8;
  border-right: 1px solid #e4e1db;
  font-size: 13px;
  color: #55524c;
}
.relay-sidebar b { font-size: 14px; color: #1d1d1f; padding: 0 8px 10px; }
.relay-sidebar div { padding: 5px 8px; }
.relay-sidebar .active { border-radius: 6px; background: rgba(0, 0, 0, .07); color: #1d1d1f; font-weight: 600; }
.relay-sidebar small { padding: 14px 8px 4px; font-size: 11px; font-weight: 600; color: #8a877f; }
.relay-main { flex-grow: 1; display: flex; flex-direction: column; min-width: 0; }
.relay-channel { height: 46px; flex: none; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid #e4e1db; font-weight: 700; font-size: 15px; }
.relay-messages { flex-grow: 1; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.msg { display: flex; gap: 12px; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 8px; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.msg-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }
.msg-head b { font-size: 14px; font-weight: 600; }
.msg-head span { font-size: 12px; color: #77746c; }
.msg p { font-size: 14px; line-height: 20px; }
.relay-composer {
  margin: 0 16px 16px;
  height: 78px;
  flex: none;
  padding: 10px 12px;
  border: 1px solid #d6d3cc;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
}
.relay-composer div { display: flex; align-items: center; }
.relay-composer small { align-self: flex-end; font-size: 11px; color: #77746c; }

.caret { display: inline-block; width: 2px; height: 18px; background: #1d1d1f; }
.caret.light { width: 1.5px; height: 15px; margin-left: 1px; background: var(--warm-white); }

.pill-card {
  position: absolute;
  left: 800px;
  top: 104px;
  width: 340px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(28, 29, 32, .94);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14), 0 12px 32px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}
.pill-card-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 8px; }
.pill-card-head span { flex-grow: 1; font-weight: 500; }
.app-badge { width: 16px; height: 16px; border-radius: 4px; background: #7c5cf0; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.item { display: flex; gap: 10px; padding: 8px; border-radius: 10px; line-height: 18px; }
.item.done { opacity: .45; }
.item.done > div:last-child { text-decoration: line-through; }
.item.lifted { align-items: center; background: rgba(255, 255, 255, .08); transform: scale(1.03); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.check { width: 16px; height: 16px; flex: none; border-radius: 8px; background: var(--mint); display: grid; place-items: center; margin-top: 1px; }
.check.empty { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); margin-top: 0; }
.check.none { background: none; }
.thumb { width: 150px; height: 64px; padding: 9px 10px; border-radius: 8px; background: #f7f3f2; display: flex; flex-direction: column; gap: 6px; }
.thumb div { display: flex; align-items: center; gap: 6px; line-height: 1; }
.thumb i { width: 8px; height: 8px; border-radius: 4px; background: #d6453a; }
.thumb b { font-size: 9px; color: #7a2a24; }
.thumb > span { height: 5px; border-radius: 3px; background: #e6dcda; }
.pill-input {
  margin-top: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .5);
}
.flight { position: absolute; inset: 0; pointer-events: none; }
.ghost {
  position: absolute;
  left: 540px;
  top: 284px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(28, 29, 32, .9);
  box-shadow: inset 0 0 0 1px rgba(105, 214, 170, .6), 0 10px 24px rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  font: 12px var(--mono-ui);
  color: var(--warm-white);
  transform: scale(.9);
}

/* Features */

.features { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 140px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 56px; text-align: center; }
.section-head h2 { max-width: 880px; }
.section-head p { max-width: 640px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--ink-2); }
h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }

.feature-grid { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
.feature { display: flex; flex-direction: column; gap: 6px; }
.feature-icon { margin-bottom: 10px; color: var(--ink-2); }
.feature-icon svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.features-more { margin-top: 64px; text-align: center; font-size: 17px; color: var(--ink-3); }

/* Works in your favorite apps */

.apps { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter) 140px; }
.apps h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.035em; }
.apps > p { margin-top: 20px; max-width: 640px; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--ink-2); }
.app-grid {
  list-style: none;
  width: 100%;
  max-width: 800px;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 34px 0;
  justify-items: center;
}
.app-grid img { width: min(72px, 100%); height: auto; }
/* The last row washes out into the page: "and the rest". Centered under the 8 columns. */
.app-grid .more {
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 45%, transparent 92%);
}
.app-grid .more:nth-child(17) { grid-column: 3; }

/* Waitlist call to action */

.cta { background: var(--panel); display: flex; justify-content: center; padding: 120px var(--gutter) 140px; }
.cta-card {
  width: 100%;
  max-width: 720px;
  padding: 56px;
  border-radius: 32px;
  background: var(--ink);
  color: var(--warm-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(20, 21, 22, .45);
}
.cta-logos { display: flex; align-items: center; gap: 14px; color: rgba(242, 241, 237, .45); }
.cta-card h2 { margin-top: 24px; font-size: clamp(32px, 4.6vw, 44px); line-height: 1.08; }
.cta-card > p { margin-top: 14px; max-width: 460px; font-size: 18px; line-height: 1.55; color: rgba(242, 241, 237, .68); }
.cta-card .waitlist { max-width: 520px; margin-top: 32px; gap: 10px; }
.cta-card > small { margin-top: 18px; font-size: 14px; color: rgba(242, 241, 237, .6); }

/* Footer */

.footer { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 56px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-top > span { font-size: 16px; color: var(--ink-2); }
.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark span { font-family: Nunito, ui-rounded, sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 40px; }
.footer-bottom p { font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; font-weight: 500; }
.footer-bottom a:hover { color: var(--mint-deep); }

.nowrap { white-space: nowrap; }
/* Responsive */


@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav { width: calc(100% - 2 * var(--gutter)); justify-content: space-between; padding-left: 14px; }
  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--warm-white);
    cursor: pointer;
    display: grid;
    place-content: center;
    gap: 4px;
  }
  .nav-toggle span { width: 18px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px;
    border-radius: 14px;
    background: var(--ink);
    box-shadow: 0 16px 32px -16px rgba(20, 21, 22, .6);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  /* Fade only while the menu is being opened or closed, never when a resize crosses the breakpoint. */
  .nav.nav-anim .nav-links { transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
  .nav.nav-anim.open .nav-links { transition: opacity .18s ease, transform .18s ease; }
  .nav-links a { padding: 12px; border-radius: 10px; font-size: 16px; }
  .nav-links a:hover { background: rgba(242, 241, 237, .06); }
  .nav .nav-links .nav-cta { height: 40px; margin-top: 6px; padding: 0 12px; justify-content: center; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .hero-actions { width: 100%; flex-direction: column; margin-top: 28px; }
  .waitlist { flex-direction: column; gap: 10px; margin-top: 24px; }
  .waitlist input[type="email"], .waitlist .btn, .waitlist-done { height: 52px; }
  .demo { margin-top: 40px; }
  .apps { padding-bottom: 72px; }
  .app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 12px; margin-top: 36px; }
  .app-grid img { width: 56px; }
  .app-grid .more { display: none; }
  .cta { padding-top: 72px; padding-bottom: 72px; }
  .cta-card { padding: 40px 20px; border-radius: 24px; }
  .demo { border-radius: 14px; }
  .demo-toggle { left: 10px; bottom: 10px; height: 36px; padding-right: 14px; font-size: 13px; }
  .demo-toggle-icon { width: 24px; height: 24px; }
  .features { padding-bottom: 96px; }
  .section-head { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom nav { flex-direction: column; gap: 14px; }
}

/* Beta install guide (install.html) */

.guide { width: 100%; max-width: calc(960px + 2 * var(--gutter)); margin: 0 auto; padding: 96px var(--gutter) 120px; }
.guide-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.guide-head h1 { margin-top: 14px; font-size: clamp(40px, 6.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; }
.guide-head .lede { margin-bottom: 32px; }
.guide-head .btn { height: 56px; border-radius: 14px; font-size: 17px; }
.guide-tag { height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(105, 214, 170, .22); color: var(--mint-deep); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.downloaded { margin-bottom: 20px; height: 36px; padding: 0 14px; border-radius: 18px; background: var(--ink); color: var(--warm-white); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.downloaded svg { color: var(--mint); }
.downloaded[hidden] { display: none; }

.steps { list-style: none; margin: 88px 0 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.step-num { width: 34px; height: 34px; border-radius: 17px; background: var(--ink); color: var(--white); font-weight: 600; display: grid; place-items: center; }
.step h2 { margin-top: 18px; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.step-text p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.step b { color: var(--ink); font-weight: 600; }

code.inline { font: 14px var(--mono-ui); color: var(--ink); background: var(--panel); padding: 1px 6px; border-radius: 6px; }

/* Small macOS window illustrations */
.step-art { display: flex; justify-content: center; }
.mac-win { width: 100%; max-width: 380px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 20px 40px -16px rgba(20, 21, 22, .3); font-family: var(--mac); }
.mac-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #f4f3f1; border-bottom: 1px solid #e6e4df; }
.mac-bar i { width: 11px; height: 11px; border-radius: 6px; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; } .mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar span { margin-left: auto; margin-right: auto; padding-right: 40px; font-size: 12px; font-weight: 600; color: #555; }
.dmg-body { height: 170px; display: flex; align-items: center; justify-content: center; gap: 28px; background: linear-gradient(180deg, #fbfaf7, #f1efe9); }
.dmg-body figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #333; }
.dmg-arrow { color: var(--mint-deep); }
.folder { width: 64px; height: 50px; margin: 7px 0; border-radius: 6px; background: linear-gradient(180deg, #8fc6f6, #5aa6ec); position: relative; }
.folder::before { content: ""; position: absolute; left: 0; top: -6px; width: 26px; height: 10px; border-radius: 4px 4px 0 0; background: #7ab8f2; }
.ax-list { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.ax-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: #1d1d1f; }
.ax-row.is-pill { background: rgba(105, 214, 170, .14); box-shadow: inset 0 0 0 1px rgba(11, 122, 85, .25); }
.switch { margin-left: auto; width: 34px; height: 20px; border-radius: 10px; background: #dcdad5; position: relative; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch.on { background: #34c759; }
.switch.on::after { left: 16px; }
.edge-screen { width: 100%; max-width: 380px; height: 200px; border-radius: 14px; position: relative; background: linear-gradient(160deg, #2f5d86 0%, #5f9a96 60%, #e0b48e 100%); box-shadow: 0 20px 40px -16px rgba(20, 21, 22, .3); }
.edge-screen { overflow: hidden; }
.edge-menubar { position: absolute; left: 0; right: 0; top: 0; height: 22px; padding: 0 10px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: rgba(20, 30, 40, .28); }
.edge-menubar span { width: 12px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.edge-menubar b { font: 600 11px var(--mac); color: #fff; }
.edge-menu-mark { padding: 2px; box-sizing: content-box; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.edge-capsule b { color: var(--warm-white); font-weight: 600; }
.edge-capsule { position: absolute; right: 8px; top: 46px; height: 28px; padding: 0 8px 0 12px; border-radius: 14px; background: var(--hud); color: var(--warm-white); display: flex; align-items: center; gap: 8px; font-size: 13px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
@media (prefers-reduced-motion: no-preference) {
  .edge-capsule { animation: edge-hint 3.2s ease-in-out infinite; }
  @keyframes edge-hint { 0%, 100% { box-shadow: 0 6px 16px rgba(0,0,0,.3), 0 0 0 0 rgba(105, 214, 170, 0); } 50% { box-shadow: 0 6px 16px rgba(0,0,0,.3), 0 0 0 6px rgba(105, 214, 170, .35); } }
}

.faq { margin-top: 96px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { overflow: hidden; }
.faq-a > p { margin: 0 0 22px; max-width: 720px; }
.faq-a > p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }

@media (max-width: 760px) {
  .guide { padding-top: 64px; padding-bottom: 72px; }
  .steps { margin-top: 56px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; }
  .faq { margin-top: 64px; }
}

/* Phones: steps drop their cards and sit on the page, split by a rule, so content is only padded once. */
@media (max-width: 640px) {
  .guide { padding-top: 48px; }
  .guide-head h1 { font-size: 36px; }
  .guide-head .lede { font-size: 16px; margin-bottom: 24px; }
  .guide-head .btn { width: 100%; height: 52px; font-size: 16px; }
  .steps { margin-top: 40px; gap: 0; }
  .step { gap: 24px; padding: 32px 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line); }
  .step:last-child { padding-bottom: 0; }
  .step-num { width: 28px; height: 28px; font-size: 14px; }
  .step h2 { margin-top: 14px; font-size: 22px; }
  .step-text p { font-size: 15px; }
  /* The DMG window stands upright: Pill above, an arrow down, Applications below. */
  .art-dmg .mac-win { max-width: 200px; }
  .art-dmg .mac-bar span { padding-right: 30px; }
  .dmg-body { height: auto; padding: 24px 0 22px; flex-direction: column; gap: 10px; }
  /* Turned upright, the 44 × 20 arrow pokes 12px past its box at each end; the margin makes room for that. */
  .dmg-arrow { width: 44px; margin: 18px 0; transform: rotate(90deg); }
  .faq h2 { font-size: 30px; margin-bottom: 20px; }
  .faq summary { padding: 18px 32px 18px 0; font-size: 16px; }
  .faq-a > p { font-size: 15px; }
}
