/* Pigeon. The palette is lifted from the app icon: deep indigo, violet, and the bird's pearl lavender.
   The page runs from a night sky down to a pale lavender morning, where the last call to action sits. */
/* Fraunces, self-hosted. Licensed under the SIL Open Font License: assets/fonts/OFL.txt */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0e0b26;
  --indigo: #16123d;
  --violet: #3b2f8f;
  --iris: #7563e8;
  --lilac: #b3a6ff;
  --pearl: #f5f2ff;
  --dusk: #3b2f8f; /* where every page's night sky ends and the pearl morning begins */
  --ink: #1b1645;
  --text: #f3f0ff;
  --text-soft: rgba(243, 240, 255, 0.74);
  --tint: rgba(22, 18, 61, 0.48);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  /* Keep content clear of the island, corners and home indicator. */
  --edge: max(1.5rem, env(safe-area-inset-left), env(safe-area-inset-right));
  --page: min(1080px, 100% - 2 * var(--edge));
  --gap: clamp(4.5rem, 9vw, 7rem); /* one rhythm between all sections */
}

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

html {
  background-color: var(--night);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  background-color: var(--night);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Film grain over everything, as on the studio's other sites. */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: 50;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 -.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
code { font: 0.92em var(--mono); color: var(--pearl); }

:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ───────── Top bar ───────── */
.bar {
  position: fixed;
  top: max(0.875rem, env(safe-area-inset-top));
  left: 50%;
  translate: -50% 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(660px, 100% - 2 * var(--edge));
  height: 48px;
  padding: 0 5px 0 0.9rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 25px), #1f1a4d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 30px -8px rgba(6, 4, 22, 0.5);
  transition: background-color 0.35s ease, color 0.35s ease;
}
/* Over the lavender morning the bar goes light and the text goes dark (site.js). */
.bar.on-light {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 25px), #ece7ff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  font: 400 1.35rem/1 var(--serif);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  text-decoration: none;
}
.bar-mark {
  width: 20px;
  height: 22px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("/assets/pigeon-mark.svg") center / contain no-repeat;
  mask: url("/assets/pigeon-mark.svg") center / contain no-repeat;
}

.bar nav { display: flex; align-items: center; }
.bar nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 0.8rem;
  border-radius: 18px;
  color: inherit;
  opacity: 0.74;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.bar nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }

.bar-get {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 1rem;
  border-radius: 19px;
  color: var(--ink);
  background: var(--pearl);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.bar.on-light .bar-get { color: var(--pearl); background: var(--ink); }
@media (max-width: 720px) { .bar nav { display: none; } }
/* The coming-soon bar: the name and one button, so it can be narrower. */
.bar-soon { width: auto; padding-right: 1.1rem; }

/* ───────── Sky ───────── */
.sky {
  padding-bottom: var(--gap);
  background:
    radial-gradient(60% 50% at 50% 0, rgba(117, 99, 232, 0.28), transparent 70%),
    linear-gradient(180deg, var(--night) 0, var(--indigo) min(900px, 25%), #241c63 55%, var(--dusk) 100%);
}

.hero {
  width: var(--page);
  margin: 0 auto;
  padding: calc(6.5rem + env(safe-area-inset-top)) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-icon {
  width: clamp(72px, 9vw, 88px);
  border-radius: 24%;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 60px -12px rgba(117, 99, 232, 0.7);
  animation: settle 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes settle {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-icon { animation: none; } }

h1 {
  max-width: 12em;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.lede {
  max-width: 31em;
  margin: 1rem 0 1.8rem;
  text-wrap: balance;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--text-soft);
}
.hero-note { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--text-soft); }


/* Real framed screenshots share a baseline, with a soft violet glow. */
.hero-devices {
  position: relative;
  width: min(1000px, 100%);
  margin: clamp(2.3rem, 5vw, 3.5rem) 0 0;
  padding: 0 7% 0 9%;
}
.hero-devices::before {
  content: "";
  position: absolute;
  inset: 5% 0 -5%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(117, 99, 232, 0.5), transparent);
  filter: blur(24px);
}
.hero-devices img { display: block; filter: drop-shadow(0 30px 50px rgba(6, 4, 22, 0.55)); }
.hero-devices .shot-mac { width: 100%; }
/* All three stand on one floor, the MacBook's: the iPad in front at left, the iPhone in front at right. Sizes are close to
   the real devices' relative widths, so none reads as a toy. */
.hero-devices .shot-ipad { position: absolute; left: 0; bottom: -2%; width: 46%; }
.hero-devices .shot-phone { position: absolute; right: 0; bottom: -2%; width: 19%; }

.btn {
  display: inline-flex;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, #fff, var(--pearl));
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(6, 4, 22, 0.3), 0 14px 34px -10px rgba(179, 166, 255, 0.6);
}
.btn-dark {
  color: var(--pearl);
  background: linear-gradient(180deg, #3a3192, var(--ink));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 14px 30px -12px rgba(27, 22, 69, 0.7);
}

/* ───────── Sections ───────── */
.path {
  width: var(--page);
  margin: clamp(4.5rem, 9vw, 8rem) auto 0;
  display: grid;
  gap: var(--gap);
}
.path h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; max-width: 15em; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
}
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.05em 0.4em;
  border-radius: 6px;
  font: 500 0.9em var(--sans);
  text-align: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* ───────── Platforms ─────────
   One section per device, each opened by a header and holding only what that device does best. */
.platform { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.platform-head { max-width: 40em; }
/* A screenshot still to come: the framed device's proportions, saying what goes there and how to capture it. */
.placeholder {
  box-sizing: border-box;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.5rem;
  border: 2px dashed rgba(179, 166, 255, 0.45);
  border-radius: 28px;
  text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 14px, transparent 14px 28px);
}
.ph-device { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac); }
.ph-what { max-width: 22em; font: 300 clamp(1.1rem, 2vw, 1.5rem)/1.2 var(--serif); }
.ph-source { font: 400 0.8rem var(--sans); color: var(--text-soft); }

.sub { max-width: 36em; margin: 0.7rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); text-wrap: pretty; }

/* Stat strips: a big word, a line of proof. */
.stats ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  margin: 2.2rem 0 0;
  padding: 0;
}
.stats li { padding-top: 1.15rem; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.stats strong {
  display: block;
  font: 300 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.025em;
  color: var(--lilac);
}
.stats li p { margin: 0.7rem 0 0; color: rgba(243, 240, 255, 0.86); text-wrap: pretty; }
.stats-title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.stats-note { margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--text-soft); }
.features.traits ul { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .features.traits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .features.traits ul { grid-template-columns: 1fr; } }
.text-link { display: inline-block; margin-top: 1.8rem; color: var(--lilac); text-underline-offset: 0.2em; }
@media (max-width: 720px) { .stats ul { grid-template-columns: 1fr; } }

/* ───────── Rows ─────────
   Devices of one kind always show at one size: three iPhones in a row, two iPads or two Macs side by side, each with its
   caption underneath. One wide feature (the Duo) sits centred at the same width as a pair. */
.row { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem); align-items: start; }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row figure, .feature { margin: 0; display: grid; gap: 1.3rem; justify-items: center; text-align: center; }
.row-3 .shot-img { width: min(100%, 250px); }
.row .shot-img, .feature .shot-img { display: block; height: auto; filter: drop-shadow(0 24px 40px rgba(6, 4, 22, 0.5)); }
.row-2 .shot-img, .row-2 .placeholder { width: 100%; }
.row h3, .feature h3, .styles h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
.row figcaption p, .feature figcaption p { max-width: 26em; margin: 0.5rem auto 0; color: var(--text-soft); text-wrap: pretty; }
.feature .shot-img { width: min(100%, 760px); }
/* Each device gets a different pace: three phone stories, alternating iPad views, one generous Mac window. */
.duo-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); align-items: center; gap: 3rem; text-align: left; }
.duo-feature figcaption p { margin-inline: 0; }
.ipad-tour { display: grid; gap: 3.5rem; }
.ipad-tour figure { margin: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 3rem; align-items: center; }
.ipad-tour .ipad-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); }
.ipad-split .shot-img { order: 2; }
.ipad-tour img { display: block; width: 100%; filter: drop-shadow(0 24px 40px rgba(6, 4, 22, 0.4)); }
.ipad-tour h3, .mac-workflow h3 { font-size: clamp(1.5rem, 2.7vw, 2rem); line-height: 1.15; }
.ipad-tour p, .mac-workflow p { margin: 0.65rem 0 0; color: var(--text-soft); text-wrap: pretty; }
.mac-main .shot-img { width: min(100%, 1000px); }
.mac-main figcaption p { max-width: 35em; }
.mac-workflow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: center; }

/* ───────── Styles switcher ─────────
   Plain anchors and all three figures work without JS. JS adds tab behavior and hides inactive panels. */
.personal { display: grid; gap: 3rem; }
.styles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.styles h3 { font-size: clamp(1.5rem, 2.7vw, 2rem); }
.pills { display: inline-flex; gap: 4px; margin-top: 1.5rem; padding: 4px; border-radius: 999px; background: rgba(6,4,22,0.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.pills a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; color: var(--text-soft); font: 500 0.95rem var(--sans); text-decoration: none; }
.pills a:hover { color: var(--text); }
.pills a[aria-selected="true"] { color: var(--ink); background: var(--pearl); }
.styles-shots { display: grid; gap: 2rem; }
.styles-shots figure { display: grid; justify-items: center; gap: 1rem; margin: 0; }
.styles-shots figure[hidden] { display: none; }
.styles-shots img { display: block; width: min(100%, 260px); filter: drop-shadow(0 24px 40px rgba(6,4,22,0.4)); }
.styles-shots figcaption { max-width: min(24em, 100%); min-height: 3em; color: var(--text-soft); text-align: center; }
.styles-copy { align-self: start; padding-top: 6rem; }
.styles.is-enhanced .styles-copy { align-self: center; padding-top: 0; }

@media (min-width: 721px) { .mac-workflow.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } .mac-workflow.flip > :first-child { order: 1; } }

@media (max-width: 720px) {
  /* The iPhone row swipes sideways, a card at a time, bleeding to the screen edges. */
  .row-3 {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none;
    margin-inline: calc(-1 * var(--edge)); padding: 0.5rem var(--edge) 1rem;
  }
  .row-3::-webkit-scrollbar { display: none; }
  .row-3 figure { flex: 0 0 min(78%, 320px); scroll-snap-align: start; }
  .row-3 .shot-img { width: min(100%, 230px); }
  .row h3 { font-size: clamp(1.3rem,4.6vw,1.65rem); }
  .row-3 figcaption p { font-size: 1rem; }
  .duo-feature, .ipad-tour figure, .ipad-tour .ipad-split, .mac-workflow { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .duo-feature, .ipad-tour figure { text-align: left; }
  .duo-feature figcaption, .ipad-tour figcaption { max-width: 29em; }
  .ipad-split .shot-img { order: 0; }
  .ipad-tour { gap: 3rem; }
  .mac-workflow > div:last-child { order: -1; }
  .styles { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .styles-copy { text-align: center; padding-top: 0; }
  .styles-shots img { width: min(260px,64vw); }
}

/* ───────── Features ───────── */
.features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
  margin: 2.4rem 0 0;
  padding: 0;
}
.features svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--lilac);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.features h3 { margin-top: 0.6rem; font: 600 1.05rem/1.3 var(--sans); letter-spacing: 0; }
.features p { margin: 0.35rem 0 0; color: var(--text-soft); text-wrap: pretty; }

@media (max-width: 1000px) { .features ul { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .features ul { grid-template-columns: minmax(0,1fr); gap: 1.6rem; } }

/* ───────── FAQ ───────── */
.faq { display: grid; grid-template-columns: minmax(0,0.65fr) minmax(0,1.6fr); gap: 3rem; align-items: start; }
.faq h2 { margin-bottom: 1.6rem; }
@media (max-width: 720px) { .faq { grid-template-columns: minmax(0,1fr); gap: 0; } }
.faq-list { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 0 -3px;
  opacity: 0.7;
  transition: rotate 0.25s ease, translate 0.25s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq .answer p { max-width: 44em; margin: 0 0 1.3rem; color: var(--text-soft); }
.faq .answer a { color: var(--lilac); }

/* ───────── Morning: the last call ───────── */
.get {
  padding: var(--gap) var(--edge);
  text-align: center;
  color: var(--ink);
  background: linear-gradient(180deg, #3b2f8f 5.0%, #3e3293 12.1%, #473a9f 19.2%, #5547b2 26.2%, #6759c5 33.3%, #7c6ed8 40.4%, #9386e9 47.5%, #aaa1f2 54.6%, #c1b9f9 61.7%, #d7cfff 68.8%, #e7e1ff 75.8%, #f1eeff 82.9%, #f5f2ff 90.0%);
}
.get-icon { width: 88px; border-radius: 24%; margin: 4rem 0 1.4rem; box-shadow: 0 20px 44px -14px rgba(27, 22, 69, 0.6); }
.get h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.04; }
.get > p { margin: 0.8rem auto 1.8rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(27, 22, 69, 0.78); }
.get .get-note { margin: 1.1rem 0 0; font-size: 0.95rem; }
.get-note a { color: var(--ink); text-underline-offset: 0.2em; }

/* ───────── Footer ───────── */
footer {
  padding: clamp(3rem, 7vw, 5rem) var(--edge) calc(2rem + env(safe-area-inset-bottom));
  color: var(--ink);
  background: var(--pearl);
}
/* Pages without the last call (the lander, the documents, 404) still end the night with the same ramp into the footer. */
body:not(:has(.get)) footer {
  padding-top: calc(18rem + clamp(1rem, 3vw, 2rem));
  background: linear-gradient(180deg, #3b2f8f 0.0rem, #3e3293 1.5rem, #473a9f 3.0rem, #5547b2 4.5rem, #6759c5 6.0rem, #7c6ed8 7.5rem, #9386e9 9.0rem, #aaa1f2 10.5rem, #c1b9f9 12.0rem, #d7cfff 13.5rem, #e7e1ff 15.0rem, #f1eeff 16.5rem, #f5f2ff 18.0rem);
}
.foot-cols {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.foot-cols h2 { margin-bottom: 0.8rem; font: 600 0.8rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.foot-cols nav { display: grid; align-content: start; gap: 0.55rem; }
.foot-cols a { text-decoration: none; opacity: 0.85; }
.foot-cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.2em; }
.foot-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  color: inherit;
  text-decoration: none;
}
.foot-mark img { width: clamp(40px, 6vw, 64px); filter: brightness(0.25) saturate(4) hue-rotate(-10deg); }
.foot-mark span { font: 300 clamp(3.5rem, 12vw, 8rem)/1 var(--serif); font-kerning: normal; font-synthesis: none; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -0.04em; }
.foot-base { margin: 2rem 0 0; text-align: center; font-size: 0.85rem; opacity: 0.6; }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ───────── Plain pages ───────── */
.doc main { min-height: 80dvh; display: grid; place-items: center; }
/* Plain pages (documents, 404): the home page's sky, ending at dusk where the footer's ramp picks it up. */
body.doc main { background: linear-gradient(180deg, var(--night) 0, var(--indigo) min(70vh, 45%), #241c63 80%, var(--dusk) 100%); }
.doc-page { width: var(--page); padding: 8rem 0 4rem; text-align: center; }
.doc-page p { margin: 1rem 0 2rem; color: var(--text-soft); }

/* Small-screen rhythm and light-background keyboard focus. */
.get :focus-visible, footer :focus-visible { outline-color: var(--ink); }
@media (max-width: 520px) {
  :root { --edge: max(1.25rem, env(safe-area-inset-left), env(safe-area-inset-right)); --gap: 4.5rem; }
  .hero { padding-top: calc(6rem + env(safe-area-inset-top)); }
  .hero .lede { max-width: 25em; font-size: 1.075rem; }
  .hero-devices { margin-top: 2.5rem; }
  .hero .btn, .get .btn { padding-inline: 1.2rem; font-size: 0.95rem; }
  .path h2 { font-size: clamp(2rem,8vw,2.5rem); }
  .stats ul { gap: 1.4rem; }
  .stats strong { font-size: 2.5rem; }
  .row-3 figure { gap: 1.2rem; }
  .personal { gap: 2.5rem; }
  .get-icon { margin-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ───────── Coming soon ─────────
   The home page's hero, with the sign-up where the button would be. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lander .sky { min-height: 100svh; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.lander-hero { padding-top: calc(9rem + env(safe-area-inset-top)); }
.lander-devices { position: relative; width: min(1040px, 100%); margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding-right: 11%; }
.lander-devices::before {
  content: ""; position: absolute; inset: 5% 0 -5%; z-index: -1;
  background: radial-gradient(closest-side, rgba(117, 99, 232, 0.5), transparent); filter: blur(24px);
}
.lander-devices img { display: block; height: auto; filter: drop-shadow(0 30px 50px rgba(6, 4, 22, 0.55)); }
.lander-devices .shot-ipad { width: 100%; }
.lander-devices .shot-phone { position: absolute; right: 0; bottom: -4%; width: 23%; }
.lander-points {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem clamp(1.5rem, 3vw, 2.5rem);
  width: min(1040px, 100%); margin: clamp(4rem, 8vw, 6rem) 0 0; padding: 0; text-align: left;
}
.lander-points li { display: grid; align-content: start; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.lander-points span { color: var(--text-soft); text-wrap: pretty; }
@media (max-width: 960px) { .lander-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .lander-points { grid-template-columns: minmax(0, 1fr); }
  /* On a phone the pair runs to the screen's edges, so the screens stay readable. */
  /* On a phone the pair runs to the screen's edges, so the screens stay readable. */
  .lander-devices { width: calc(100% + var(--edge)); margin-left: calc(var(--edge) * -0.5); margin-right: calc(var(--edge) * -0.5); padding-right: 7%; }
  .lander-devices .shot-phone { width: 29%; bottom: -6%; }
  .lander-points { gap: 1.2rem; margin-top: clamp(4.5rem, 14vw, 5.5rem); }
}

.soon-eyebrow { margin: 0 0 1.1rem; font-size: clamp(1rem, 1.3vw, 1.1rem); font-weight: 500; letter-spacing: 0.01em; color: var(--lilac); }

.signup { display: grid; justify-items: center; gap: 0.9rem; width: min(30rem, 100%); }
.signup-row {
  position: relative; display: flex; width: 100%; padding: 6px; border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.8s;
  background: rgba(6, 4, 22, 0.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.signup-row:focus-within { box-shadow: inset 0 0 0 1px var(--lilac), 0 0 0 4px rgba(179, 166, 255, 0.2); }
.signup input[type="email"] {
  flex: 1; min-width: 0; padding: 0 0.6rem 0 1.1rem; border: 0; background: none; color: var(--text);
  font: inherit; font-size: 1rem; outline: none;
}
.signup input[type="email"]::placeholder { color: rgba(243, 240, 255, 0.45); }
.signup .btn { justify-content: center; padding: 0.75rem 1.3rem; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.signup .btn:disabled { opacity: 0.6; cursor: default; }
.signup-note { max-width: 26em; margin: 0; font-size: 0.875rem; color: var(--text-soft); text-wrap: balance; }
.signup-fields { display: flex; gap: 6px; width: 100%; transition: opacity 0.3s ease; }
/* The thank-you waits inside the pill; on success the pill shrinks to fit it and the fields fade as it goes. */
.signup-thanks {
  position: absolute; inset: 0; display: grid; place-items: center; white-space: nowrap;
  font-weight: 600; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.signup.is-done .signup-fields { opacity: 0; pointer-events: none; }
.signup.is-done .signup-thanks { opacity: 1; transition-delay: 0.35s; }
.signup.is-done .signup-row:focus-within { box-shadow: inset 0 0 0 1px rgba(27, 22, 69, 0.16), 0 12px 30px -16px rgba(27, 22, 69, 0.5); }
/* The status line keeps the words for screen readers; the pill shows them. */
.signup-note.is-quiet { color: transparent !important; }
@media (prefers-reduced-motion: reduce) { .signup-row, .signup-fields, .signup-thanks { transition: none; } }

@media (max-width: 520px) {
  .signup-row { border-radius: 22px; }
  .signup-fields { flex-direction: column; }
  .signup input[type="email"] { padding: 0.8rem 1rem; text-align: center; }
}

/* The sign-up as the page's last call, on the morning gradient: ink on pearl instead of pearl on night. */
.signup-section .signup { margin: 0 auto; }
.signup-section .signup-row { background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(27, 22, 69, 0.16), 0 12px 30px -16px rgba(27, 22, 69, 0.5); }
.signup-section .signup-row:focus-within { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px rgba(27, 22, 69, 0.12); }
.signup-section .signup input[type="email"] { color: var(--ink); }
.signup-section .signup input[type="email"]::placeholder { color: rgba(27, 22, 69, 0.45); }
.signup-section .signup-note { color: rgba(27, 22, 69, 0.7); }
.signup-section { background: linear-gradient(180deg, var(--dusk) 0, #3b2f8f 32.0%, #3e3293 37.0%, #473a9f 42.0%, #5547b2 47.0%, #6759c5 52.0%, #7c6ed8 57.0%, #9386e9 62.0%, #aaa1f2 67.0%, #c1b9f9 72.0%, #d7cfff 77.0%, #e7e1ff 82.0%, #f1eeff 87.0%, #f5f2ff 92.0%); }
.signup-section > p { color: rgba(245, 242, 255, 0.86); }
.signup-section h2 { color: var(--pearl); text-shadow: 0 2px 24px rgba(27, 22, 69, 0.35); }
.signup-section { padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.signup-section > p { max-width: 30em; text-wrap: balance; }
/* Before launch every public page has this footer: two short columns, centred, and a smaller wordmark. */
body.lander footer { padding-top: clamp(2.5rem, 6vw, 4rem); }
body.teaser .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(440px, 100%); text-align: center; }
body.teaser .foot-cols nav { justify-items: center; }
body.teaser .foot-mark { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
body.teaser .foot-mark img { width: clamp(34px, 4.5vw, 48px); }
body.teaser .foot-mark span { font-size: clamp(3rem, 9vw, 5.5rem); }

/* 404: a joke IRC log on the bar's material. */
.lost h1 { max-width: 11em; margin-inline: auto; }
.lost > p { text-wrap: balance; }
.lost-log {
  width: min(34rem, 100%); margin: 1.6rem auto 2.2rem; padding: 1rem 1.2rem 1.1rem; border-radius: 20px; text-align: left;
  font: 0.95rem/1.55 var(--mono);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 25px), #1f1a4d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px -8px rgba(6, 4, 22, 0.5);
}
.doc-page .lost-log p { display: flex; gap: 0.8rem; margin: 0.15rem 0 0; color: var(--text); }
.doc-page .lost-log .lost-head { align-items: center; gap: 0.5rem; margin: 0 0 0.7rem; padding-bottom: 0.7rem; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.lost-head > span:not(.lost-dot) { font-weight: 400; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lost-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #e0727f; }
.lost-log time { flex: none; color: rgba(243, 240, 255, 0.4); }
.lost-nick { flex: none; color: var(--lilac); font-weight: 600; }
.lost-nick::before { content: "<"; opacity: 0.5; }
.lost-nick::after { content: ">"; opacity: 0.5; }
.lost-event { color: var(--text-soft); font-style: italic; overflow-wrap: anywhere; }
@media (max-width: 520px) { .lost-log { font-size: 0.82rem; padding-inline: 0.9rem; } .doc-page .lost-log p { gap: 0.55rem; } }

/* ───────── Page transitions ─────────
   Moving between pages cross-fades, with the new page rising slightly into place. The bar has its own name, so it stays put
   (or morphs, when the coming-soon bar meets the full one) instead of fading with the page. Browsers without cross-document
   view transitions just navigate. */
@view-transition { navigation: auto; }
.bar { view-transition-name: bar; }
::view-transition-old(root) { animation: 0.2s ease-out both page-out; }
::view-transition-new(root) { animation: 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both page-in; }
::view-transition-group(bar) { animation-duration: 0.38s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
