/* One family for the whole site: a geometric sans chosen to match the "fluence" wordmark. */
@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --paper: #fcfbf8;
  --ink: #17132a;
  --ink-2: #4a4560;
  --mute: #6c6781;
  --faint: #b4afc3;
  --line: rgba(23, 19, 42, 0.1);
  --accent: #4b34c9;
  --accent-soft: #eeeaff;
  --rose: #d2648b;

  --sans: "Nunito Sans", "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

/* ---------- Type ---------- */

.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.display,
.h2 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.display {
  font-size: clamp(50px, 8.4vw, 124px);
  line-height: 1;
}

.h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
}

/* The second half of every headline, in the app's purple. */
.display em,
.h2 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 33em;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.note {
  font-size: 14px;
  color: var(--mute);
}

.center-head {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-bottom: clamp(56px, 7vw, 96px);
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-ghost {
  border-color: rgba(23, 19, 42, 0.18);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-small svg {
  width: 15px;
  height: 15px;
}

/* ---------- Keycaps ---------- */

.keys {
  display: inline-flex;
  gap: 6px;
}

.key {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(23, 19, 42, 0.16);
  border-bottom-width: 3px;
  border-radius: 8px;
  background: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.key-wide {
  min-width: 78px;
}

.keys-lg {
  gap: 8px;
}

.keys-lg .key {
  min-width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 20px;
}

.keys-lg .key-wide {
  min-width: 132px;
  font-size: 16px;
}

/* ---------- Header: one floating capsule ---------- */

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding-inline: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100%, 860px);
  height: 60px;
  margin-inline: auto;
  padding: 0 10px 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled .nav {
  border-color: var(--line);
  background: rgba(252, 251, 248, 0.82);
  box-shadow: 0 10px 40px rgba(23, 19, 42, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.09em;
  text-decoration: none;
}

.brand svg {
  width: 22px;
  height: 27px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-inline: auto;
  font-size: 14.5px;
}

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.hero {
  position: relative;
  padding-top: clamp(48px, 6.4vw, 88px);
}

/* A wash of the app's own colours, kept very light. */
.hero::before {
  content: "";
  position: absolute;
  inset: -180px 0 auto;
  z-index: -1;
  height: 1100px;
  background:
    radial-gradient(46% 42% at 22% 30%, rgba(196, 181, 255, 0.34), transparent 70%),
    radial-gradient(40% 40% at 80% 22%, rgba(255, 204, 178, 0.3), transparent 70%),
    radial-gradient(40% 36% at 60% 66%, rgba(186, 222, 255, 0.28), transparent 70%);
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- The take: speech as spoken, then tidied in place ---------- */

.take {
  display: grid;
  justify-items: center;
  margin-top: clamp(36px, 3.6vw, 52px);
  padding-inline: 24px;
}

/* Sized by main.js to the tallest take, so nothing below it moves. */
.take-text {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 4.2em;
  font-size: clamp(21px, 2.7vw, 38px);
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: -0.012em;
}

.take-words {
  width: 100%;
  max-width: 24em;
  margin-inline: auto;
  color: #a8a3b8;
  text-align: center;
  text-wrap: balance;
  transition: opacity 0.4s;
}

.take-words.is-leaving {
  opacity: 0;
}

.take-probe {
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
}

/* Each word is two boxes: the outer one slides to its new place, the inner one carries the look. */
.take .w,
.take .w > span,
.take .cap,
.take .pt {
  display: inline-block;
}

.take .w > span {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(10px);
  transition: opacity 0.3s, filter 0.3s, color 0.5s, transform 0.6s var(--ease);
}

/* Spoken words sit a little unevenly until they are written. */
.take .w.is-said > span {
  opacity: 1;
  filter: none;
  transform: translateY(var(--y)) rotate(var(--r));
}

.take .w.is-um > span,
.take .w.is-marked > span {
  color: var(--rose);
}

.take .w.is-gone {
  position: absolute;
}

.take .w.is-gone > span {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(-0.8em) rotate(var(--r));
  transition: opacity 0.55s, filter 0.55s, transform 0.75s var(--ease);
}

.take-words.is-clean .w > span {
  color: var(--ink);
  transform: none;
}

/* New capitals and punctuation arrive in the app's purple, then settle into the sentence. */
.take .cap,
.take .pt {
  font-style: normal;
  animation: take-mark 1.5s var(--ease) both;
}

.take .pt {
  transform-origin: 30% 80%;
}

@keyframes take-mark {
  0% {
    color: var(--accent);
    opacity: 0;
    transform: scale(0.3);
  }

  22% {
    opacity: 1;
    transform: scale(1.35);
  }

  45%,
  70% {
    color: var(--accent);
    transform: none;
  }

  100% {
    color: inherit;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(96px, 12vw, 190px) 0 0;
}

/* ---------- How it works ---------- */

.try {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

/* A rail that fills as the demo moves through its three steps. */
.rail {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 26px;
}

.rail::before,
.rail::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.rail::after {
  bottom: auto;
  height: calc((100% - 12px) * var(--fill, 0.33));
  background: var(--accent);
  transition: height 0.6s var(--ease);
}

.rail[data-step="talk"] {
  --fill: 0.66;
}

.rail[data-step="paste"] {
  --fill: 1;
}

.rail li {
  display: grid;
  gap: 4px;
  opacity: 0.38;
  transition: opacity 0.4s;
}

.rail[data-step="hold"] li[data-step="hold"],
.rail[data-step="talk"] li[data-step="talk"],
.rail[data-step="paste"] li[data-step="paste"] {
  opacity: 1;
}

.rail strong {
  font-family: var(--sans);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.rail span {
  max-width: 22em;
  font-size: 16px;
  color: var(--ink-2);
}

.stage {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.tabs {
  display: flex;
  gap: 22px;
}

.tab {
  padding: 4px 0;
  border: 0;
  border-bottom: 1.5px solid transparent;
  background: none;
  font-size: 14.5px;
  color: var(--mute);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

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

.tab[aria-selected="true"] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

/* ---------- Demo app windows ----------
   Each scenario types into a small replica of the app it belongs in. They use system
   fonts and each app's own colours on purpose, so they read as "that app", not as Fluence. */

.sheet {
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 430px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  color: #1d1d1f;
}

.sheet p {
  margin: 0;
}

.sheet .ico {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lights {
  display: inline-flex;
  flex: none;
  gap: 7px;
}

.lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.lights i:nth-child(2) {
  background: #febc2e;
}

.lights i:nth-child(3) {
  background: #28c840;
}

.field {
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.field.is-empty::before {
  content: attr(data-placeholder);
  color: #a9a9b2;
}

.field .caret {
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: #0a84ff;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Messages */

.im-top {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #e6e6ea;
  background: #f6f6f7;
  color: #8e8e93;
}

.im-to {
  flex: 1;
  font-size: 13px;
}

.im-to b {
  font-weight: 500;
  color: #1d1d1f;
}

.im-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 18px 12px;
}

.im-time {
  align-self: center;
  margin-bottom: 4px;
  font-size: 11px;
  color: #8e8e93;
}

.im-b {
  max-width: 72%;
  padding: 7px 13px;
  border-radius: 18px;
  font-size: 15px;
}

.im-b.in {
  align-self: flex-start;
  background: #e9e9eb;
}

.im-b.out {
  align-self: flex-end;
  background: #0a84ff;
  color: #fff;
}

.im-compose {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 16px 16px;
}

.im-plus {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9e9eb;
  color: #6e6e73;
}

.im-input {
  flex: 1;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #d8d8dc;
  border-radius: 18px;
  font-size: 15px;
}

/* Slack */

.sheet[data-app="slack"] {
  flex-direction: row;
  font-family: "Lato", var(--ui);
}

.sl-side {
  display: grid;
  align-content: start;
  gap: 16px;
  width: 168px;
  padding: 16px 14px;
  background: #3f0e40;
  color: #cfc3cf;
}

.sl-side b {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.sl-side ul {
  display: grid;
  gap: 2px;
  margin: 0 -6px;
  font-size: 14.5px;
}

.sl-side li {
  padding: 4px 10px;
  border-radius: 6px;
}

.sl-side li.on {
  background: #1164a3;
  color: #fff;
}

.sl-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.sl-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid #e8e8e8;
}

.sl-head b {
  font-size: 16px;
  font-weight: 800;
}

.sl-head span {
  font-size: 12.5px;
  color: #616061;
}

.sl-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 18px;
}

.sl-msg {
  display: flex;
  gap: 10px;
  font-size: 15px;
}

.sl-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e8912d;
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

.sl-msg b {
  font-weight: 800;
}

.sl-msg time {
  margin-left: 8px;
  font-size: 12px;
  color: #616061;
}

.sl-compose {
  margin: 0 18px 18px;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
}

.sl-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 12px;
  border-radius: 9px 9px 0 0;
  background: #f8f8f8;
  font-size: 14px;
  color: #9a9a9a;
}

.sl-tools u {
  width: 1px;
  height: 16px;
  background: #ddd;
}

.sl-compose .field {
  min-height: 3em;
  padding: 9px 12px 4px;
  font-size: 15px;
  line-height: 1.46;
}

.sl-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 8px 12px;
  color: #7a7a7a;
}

.sl-send {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  margin-left: auto;
  border-radius: 5px;
  background: #007a5a;
  color: #fff;
}

/* Gmail */

.sheet[data-app="gmail"] {
  font-family: "Google Sans", Roboto, var(--ui);
  color: #202124;
}

.gm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
  background: #f2f6fc;
  font-size: 14px;
  font-weight: 500;
  color: #041e49;
}

.gm-win {
  display: flex;
  gap: 14px;
  color: #444746;
}

.gm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 0 16px;
  border-bottom: 1px solid #e3e5e8;
  font-size: 14px;
  color: #5f6368;
}

.gm-chip {
  padding: 3px 10px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 400;
  color: #202124;
}

.gm-subj {
  color: #202124;
}

.gm-body {
  flex: 1;
  padding: 14px 16px 0;
  font-size: 14px;
  line-height: 1.5;
}

.gm-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px 14px;
  color: #444746;
}

.gm-send {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding-left: 22px;
  border-radius: 999px;
  background: #0b57d0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.gm-send i {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 34px;
  margin-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.gm-trash {
  margin-left: auto;
}

/* Claude */

.sheet[data-app="claude"] {
  background: #faf9f5;
  color: #3d3d3a;
}

.cl-top {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  font-size: 13px;
  color: #87867f;
}

.cl-mid {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 0 clamp(18px, 6%, 56px) 30px;
}

.cl-hello {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #3d3d3a;
}

.cl-hello svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #d97757;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.cl-box {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 16px 14px 12px 18px;
  border: 1px solid #e3e1d8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(60, 50, 30, 0.06);
}

.cl-box .field {
  min-height: 3em;
  font-size: 15.5px;
  line-height: 1.5;
}

.cl-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #73726c;
}

.cl-round {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e3e1d8;
  border-radius: 9px;
}

.cl-model {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 13.5px;
}

.cl-model .ico {
  width: 14px;
  height: 14px;
}

.cl-send {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #d97757;
  color: #fff;
}

.cl-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: #5e5d59;
}

.cl-chips li {
  padding: 6px 12px;
  border: 1px solid #e3e1d8;
  border-radius: 9px;
}

/* Outlook */

.sheet[data-app="outlook"] {
  font-family: "Segoe UI", var(--ui);
  color: #242424;
}

.ol-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 44px;
  padding: 0 16px;
  background: #0f6cbd;
  color: #fff;
}

.ol-bar b {
  font-size: 15px;
  font-weight: 600;
}

.ol-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  max-width: 320px;
  height: 30px;
  padding: 0 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.84);
  font-size: 13.5px;
  color: #44546a;
}

.ol-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-bottom: 1px solid #e6e6e6;
  font-size: 13.5px;
  color: #424242;
}

.ol-actions span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ol-actions .ol-send {
  height: 32px;
  padding-left: 12px;
  border-radius: 5px;
  background: #0f6cbd;
  font-weight: 600;
  color: #fff;
}

.ol-send i {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 30px;
  margin-left: 5px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.ol-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin: 0 16px;
  border-bottom: 1px solid #e6e6e6;
}

.ol-btn {
  width: 44px;
  padding: 3px 0;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  font-size: 13.5px;
  text-align: center;
}

.ol-chip {
  padding: 2px 10px;
  border-radius: 999px;
  background: #ebf3fc;
  font-size: 13.5px;
  font-weight: 400;
  color: #0f548c;
}

.ol-subj {
  font-size: 16px;
  font-weight: 600;
}

.ol-body {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
}

.transcript {
  min-height: calc(2 * 1.6em);
  max-width: 560px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
  color: var(--mute);
  transition: opacity 0.4s;
}

.transcript .w {
  transition: color 0.3s;
}

.transcript .w.is-new {
  color: var(--ink);
}

.transcript .w.is-cut {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: var(--rose);
}

.talk {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(23, 19, 42, 0.16);
  border-radius: 999px;
  background: none;
  font-size: 14.5px;
  color: var(--ink-2);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s var(--ease);
}

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

.talk.is-held {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: scale(0.98);
}

/* ---------- Apps line ---------- */

.apps {
  margin-top: clamp(80px, 9vw, 130px);
}

.apps-head {
  margin-bottom: 22px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  color: var(--mute);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee ul {
  display: flex;
}

.marquee li {
  padding: 0 clamp(18px, 2.4vw, 34px);
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 40px);
  white-space: nowrap;
  color: var(--faint);
}

.marquee li:nth-child(3n + 1) {
  color: var(--ink-2);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Three keys, stepping down a line ---------- */

.platform-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.platform-toggle button {
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 13.5px;
  color: var(--mute);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.platform-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.platform-toggle em {
  font-style: normal;
  opacity: 0.7;
}

.trio {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 110px;
}

.trio-line {
  position: absolute;
  top: 0;
  left: -8vw;
  z-index: -1;
  width: calc(100% + 16vw);
  max-width: none;
  height: 100%;
}

.trio-line path {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.2;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.trio-item {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 14px;
}

.trio-item:nth-of-type(2) {
  margin-top: clamp(40px, 9vw, 130px);
}

.trio-item:nth-of-type(3) {
  margin-top: clamp(80px, 18vw, 260px);
}

.trio-item h3 {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.trio-item p {
  max-width: 17em;
  color: var(--ink-2);
}

/* ---------- Assistant ---------- */

.assist {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.assist-copy {
  display: grid;
  gap: 24px;
}

.asks {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.asks button {
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  text-align: left;
  color: var(--faint);
  cursor: pointer;
  transition: color 0.35s;
}

.asks button:hover {
  color: var(--mute);
}

.asks button[aria-selected="true"] {
  color: var(--ink);
}

.compose {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: clamp(90px, 11vw, 160px);
  text-align: center;
}

.compose-lead {
  font-family: var(--sans);
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.015em;
  color: var(--accent);
}

.compose-ask {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 1.6em;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mute);
}

.mic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.compose-out {
  width: min(100%, 30em);
  min-height: 9.6em;
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.4;
  text-align: left;
  white-space: pre-wrap;
}

/* ---------- Translate: one sentence, many languages ---------- */

.xlate {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.xlate-in {
  font-size: 17px;
  color: var(--mute);
}

.xlate-out {
  display: grid;
  align-items: center;
  max-width: 17em;
  min-height: 3.3em;
  font-family: var(--sans);
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  transition: opacity 0.25s, transform 0.35s var(--ease), filter 0.25s;
}

.xlate-out.is-swapping {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(8px);
}

.xlate-lang {
  font-size: 15px;
  color: var(--mute);
}

.xlate-lang span {
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 860px);
  margin-inline: auto;
}

.plan {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 22px;
  padding: 8px clamp(24px, 5vw, 64px) 8px 0;
}

.plan + .plan {
  padding: 8px 0 8px clamp(24px, 5vw, 64px);
  border-left: 1px solid var(--line);
}

.plan h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price strong {
  font-family: var(--sans);
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.price span {
  color: var(--mute);
}

.ticks {
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

.plan-foot {
  font-size: 14px;
  color: var(--mute);
}

.pricing-foot {
  margin-top: 56px;
  font-size: 15px;
  text-align: center;
  color: var(--mute);
}

/* ---------- FAQ ---------- */

.faq-wrap {
  width: min(100% - 48px, 760px);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--mute);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 36em;
  padding-bottom: 26px;
  color: var(--ink-2);
}

.faq-wrap .note {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Final call ---------- */

.final {
  position: relative;
  margin-top: clamp(96px, 12vw, 190px);
  padding: clamp(110px, 14vw, 220px) 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(50% 70% at 20% 100%, rgba(196, 181, 255, 0.4), transparent 70%),
    radial-gradient(46% 70% at 82% 100%, rgba(255, 204, 178, 0.36), transparent 70%);
}

.final-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-line path {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.22;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.final .wrap {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 44px;
}

.final .display {
  max-width: 11em;
  font-size: clamp(46px, 7.4vw, 108px);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.final .note {
  margin-top: -24px;
}

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

.site-footer {
  padding: 36px 0 44px;
  font-size: 14px;
  color: var(--mute);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer .brand {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a {
  text-decoration: none;
}

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

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.trio-item.reveal:nth-of-type(2) {
  transition-delay: 0.12s;
}

.trio-item.reveal:nth-of-type(3) {
  transition-delay: 0.24s;
}


/* ====================================================================================
   The current app, drawn in HTML: the notch, the Assistant card, the meeting recorder.
   Colours and sizes follow NotchVisualizer.css and RecorderWindow.css, scaled to the page.
   ==================================================================================== */

:root {
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --meter: #b59cff;
  --label: #dcd3ff;
  --desk:
    radial-gradient(70% 90% at 18% 0%, rgba(201, 188, 255, 0.55), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, rgba(221, 212, 255, 0.6), transparent 70%),
    linear-gradient(165deg, #f1edff, #f9f7ff 55%, #fdfcff);
}

.nav {
  width: min(100%, 980px);
  gap: 22px;
}

.nav-links {
  gap: 22px;
}

/* ---------- A screen: menu bar on top, the notch in the middle of it ---------- */

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--desk);
}

.menubar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.5);
  font: 500 12.5px/1 var(--sys);
  color: rgba(23, 19, 42, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.menubar b {
  margin-right: 16px;
  font-weight: 700;
}

.menubar i {
  margin-right: 16px;
  font-style: normal;
}

.nl {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  color: var(--label);
}

.nl:empty {
  display: none;
}

.nl .q {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Hero take, on a screen ---------- */

.take.screen {
  display: grid;
  justify-items: center;
  margin-top: clamp(44px, 5vw, 72px);
  padding: clamp(96px, 9vw, 130px) clamp(20px, 5vw, 72px) clamp(36px, 4vw, 56px);
}

.take-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: clamp(28px, 3vw, 44px);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.take-steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0.38;
  transition: opacity 0.35s, color 0.35s;
}

.take-steps span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.take-steps li.is-on {
  opacity: 1;
  color: var(--accent);
}

.take-steps li.is-done {
  opacity: 0.75;
}

/* ---------- How it works: the app window on a desk ---------- */

.desk {
  width: 100%;
  padding: 62px clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px);
}

.desk .sheet {
  height: 380px;
}

.stage .field-note {
  margin-top: -10px;
}

.field-note {
  min-height: 1.4em;
  font-size: 14.5px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.4s;
}

.field-note.is-on {
  opacity: 1;
}

/* ---------- Cleanup, explained ---------- */

.fx {
  display: grid;
  width: min(100%, 1040px);
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.fx-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.fx-k {
  display: grid;
  gap: 4px;
}

.fx-k b {
  font-size: 19px;
  font-weight: 500;
}

.fx-k span {
  font-size: 14.5px;
  color: var(--mute);
}

.fx-said {
  position: relative;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.fx-said::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-0.5 * clamp(18px, 3vw, 44px) - 5px);
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--faint);
  border-right: 1.5px solid var(--faint);
  transform: translateY(-50%) rotate(45deg);
}

.fx-said s,
.fx-said u {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.4s;
}

.fx-said s::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 1.5px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.fx-said u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.fx-row.is-done .fx-said s {
  color: var(--faint);
}

.fx-row.is-done .fx-said s::after,
.fx-row.is-done .fx-said u::after {
  transform: none;
}

.fx-out {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.6s 0.35s, transform 0.6s 0.35s var(--ease);
}

.fx-row.is-done .fx-out {
  opacity: 1;
  transform: none;
}

.fx-out mark {
  padding: 0 3px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
}

.fx-tones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fx-tones span {
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  line-height: 26px;
  color: var(--mute);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.fx-tones span::before {
  content: attr(data-app) " · ";
  color: var(--faint);
}

.fx-tones span.is-on {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent);
}

.fx-tones span.is-on::before {
  color: rgba(75, 52, 201, 0.55);
}

.fx-tones p {
  flex-basis: 100%;
  min-height: 1.45em;
  margin-top: 6px;
  transition: opacity 0.25s;
}

.fx-tones p.is-swapping {
  opacity: 0;
}

/* ---------- Three keys ---------- */

.mini-desk {
  position: relative;
  width: min(100%, 340px);
  height: 74px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--desk);
}

.trio-foot {
  margin-top: -40px;
  font-size: 15px;
  text-align: center;
  color: var(--mute);
}

/* ---------- Assistant ---------- */

.ask-desk {
  height: 560px;
}

/* ---------- Meetings ---------- */

.tag-new {
  margin-right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 700;
  color: var(--accent);
}

.mt {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.mt-rail {
  display: grid;
  gap: 6px;
}

.mt-rail button {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 14px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.35s;
}

.mt-rail button:hover {
  opacity: 0.7;
}

.mt-rail button[aria-selected="true"] {
  opacity: 1;
}

.mt-rail span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
}

.mt-rail button[aria-selected="true"] span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.mt-rail b {
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}

.mt-rail em {
  font-size: 15px;
  font-style: normal;
  color: var(--ink-2);
}

/* The time left on this step, as a hairline that fills. */
.mt-rail button::after {
  content: "";
  position: absolute;
  left: 44px;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.mt.is-auto .mt-rail button[aria-selected="true"]::after {
  animation: mt-fill var(--step, 6s) linear both;
}

@keyframes mt-fill {
  to {
    transform: none;
  }
}

.mt-scene {
  position: relative;
  height: 560px;
}

.mt-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.5s, transform 0.6s var(--ease);
  pointer-events: none;
}

.mt-pane.is-on {
  opacity: 1;
  transform: none;
}







/* The meeting page: transcript and summary. */
.doc {
  height: 100%;
  overflow: hidden;
  padding: 30px clamp(20px, 3vw, 36px);
  border-radius: 22px;
  background: #fff;
}

.doc-meta {
  font-size: 13px;
  color: var(--mute);
}

.doc-title {
  margin-top: 4px;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.doc-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--mute);
}

.doc-tabs {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 999px;
  background: #f1eff6;
}

.doc-tabs > * {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
}

.doc-tabs b {
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 19, 42, 0.12);
  color: var(--ink);
}

.turns {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.turns li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s, transform 0.5s var(--ease);
}

.turns li.is-in {
  opacity: 1;
  transform: none;
}

.turns .who {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.3s;
}

.turns .who::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--c);
}

.turns .who.is-guess {
  color: var(--mute);
}

.turns .who.is-named {
  animation: named 1.2s var(--ease);
}

@keyframes named {
  0% {
    background: var(--accent-soft);
  }
}

.turns time {
  font-size: 13px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}

.turns p {
  grid-column: 1 / -1;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.sum {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.sum-sec h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 52%, #17132a);
}

.sum-sec h4 span {
  padding: 1px 7px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c) 22%, #fff);
  letter-spacing: 0;
}

.sum-sec li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s, transform 0.5s var(--ease);
}

.sum-sec h4 {
  opacity: 0;
  transition: opacity 0.4s;
}

.sum-sec.is-in h4,
.sum-sec li.is-in {
  opacity: 1;
  transform: none;
}

.sum-bars li {
  padding: 2px 0 2px 12px;
  border-left: 2.5px solid var(--c);
}

.sum-bars li + li {
  margin-top: 6px;
}

.sum-bars i {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--c) 18%, #fff);
  font: 500 11px/1 var(--mono);
  font-style: normal;
  color: color-mix(in srgb, var(--c) 50%, #17132a);
}

.sum-tasks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.sum-tasks li + li {
  border-top: 1px solid var(--line);
}

.sum-tasks .box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid #cfcbdc;
  border-radius: 50%;
}

.sum-tasks b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--c) 55%, #17132a);
}

.sum-tasks em {
  width: 34px;
  font-size: 13px;
  font-style: normal;
  text-align: right;
  color: var(--mute);
}

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

.sum-dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--c);
}

/* Share: the popover, then the email and the PDF it makes. */
.share {
  position: relative;
  height: 100%;
  border-radius: 22px;
  background: var(--desk);
}

/* The app's share popover (app-ui.css), placed on the wallpaper the way it opens over the meeting. */
.share-pop.mt-share {
  position: absolute;
  top: 34px;
  left: 50%;
  z-index: 3;
  width: min(320px, calc(100% - 32px));
  margin: 0 0 0 calc(min(320px, calc(100% - 32px)) / -2);
  font-family: -apple-system, BlinkMacSystemFont, "Inter Variable", "Segoe UI", sans-serif;
}

.share-pop.is-closed {
  visibility: hidden;
  animation: none;
}

.share-input {
  display: flex;
  align-items: center;
  min-height: 31px;
  padding: 0 12px;
  font-size: 13px;
  color: #fbfcff;
}

.share-input .caret {
  width: 1.5px;
  height: 15px;
  margin-left: 1px;
  background: #b59cff;
  animation: blink 1s steps(2) infinite;
}

.share-pop .mt-share__send {
  opacity: 0.45;
  transition: opacity 0.2s, scale 0.3s var(--lg-spring-soft);
}

.share-pop .mt-share__send.is-ready {
  opacity: 1;
}

.share-pop .is-press {
  scale: 0.94;
}

.share-pop .mt-share__pdf {
  transition: background-color 0.15s, color 0.15s, scale 0.3s var(--lg-spring-soft);
}

.share-pop .mt-share__pdf.is-hover {
  background: rgb(255 255 255 / .08);
  color: #fbfcff;
}

.mail,
.pdf {
  position: absolute;
  bottom: 30px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.6s, transform 0.8s var(--ease);
}

.mail {
  left: 6%;
  width: 50%;
  transform: translateY(40px) rotate(-2deg);
}

.pdf {
  right: 7%;
  width: 32%;
  aspect-ratio: 1 / 1.3;
  transform: translateY(40px) rotate(3deg);
}

.mail.is-in {
  opacity: 1;
  transform: rotate(-2deg);
}

.pdf.is-in {
  opacity: 1;
  transform: rotate(3deg);
}

.mail-from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mail-from .nm {
  box-sizing: content-box;
  padding: 8px 9px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.mail-from span {
  display: grid;
  font-size: 13px;
  line-height: 1.3;
}

.mail-from em {
  font-size: 12px;
  font-style: normal;
  color: var(--mute);
}

.mail-title,
.pdf-title {
  margin: 12px 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.pdf-title {
  margin-top: 6px;
  font-size: 12.5px;
}

.mail-line {
  height: 7px;
  margin-top: 7px;
  border-radius: 4px;
  background: #eeecf3;
}

.mail-line.is-short {
  width: 64%;
}

.mail-line.is-mid {
  width: 82%;
}

.mail-h {
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 52%, #17132a);
}

.pdf-h {
  width: 40%;
  height: 6px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--c);
}

.pdf-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

/* ---------- Points: a hairline row of short notes ---------- */

.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 40px);
  margin-top: clamp(64px, 7vw, 100px);
}

.points-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.points li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.points strong {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.points span {
  font-size: 15.5px;
  color: var(--ink-2);
}

/* ---------- Unplugged ---------- */

.unp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.unp-switch {
  display: flex;
  align-items: center;
  gap: 12px;
}

.unp-switch b {
  font-size: 18px;
  font-weight: 500;
}

.unp-switch em {
  font-size: 14.5px;
  font-style: normal;
  color: var(--mute);
}

.switch {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #d8d5e2;
  transition: background-color 0.3s;
}

.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 19, 42, 0.25);
  transition: transform 0.3s var(--ease);
}

.switch.is-on {
  background: var(--accent);
}

.switch.is-on i {
  transform: translateX(18px);
}

.note-win {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  font-family: var(--sys);
}

.note-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #efedf3;
  background: #faf9fc;
}

.offline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff4dc;
  font-size: 12px;
  font-weight: 600;
  color: #9a6a12;
}

.offline svg {
  width: 13px;
  height: 13px;
}

.note-page {
  padding: 18px 22px 24px;
}

.note-page small {
  font-size: 12px;
  color: var(--mute);
}

.note-page h4 {
  margin: 4px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.note-page ul {
  padding-left: 18px;
  list-style: disc;
  font-size: 15px;
  color: var(--ink-2);
}

.note-page p {
  min-height: 3em;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.note-page .caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: blink 1s steps(2) infinite;
}

.unp-cap {
  font-size: 14.5px;
  color: var(--mute);
}

.modes {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.modes-h {
  font-size: 18px;
  font-weight: 500;
}

.modes-cols,
.modes-list li {
  display: grid;
  grid-template-columns: minmax(118px, 0.9fr) 1fr 1fr;
  align-items: center;
  gap: 10px;
}

.modes-cols span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--mute);
}

.modes-list {
  display: grid;
}

.modes-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  opacity: 0.5;
  transition: opacity 0.4s;
}

.modes-list li.is-on {
  opacity: 1;
}

.modes-list p {
  display: grid;
}

.modes-list b {
  font-size: 16px;
  font-weight: 600;
}

.modes-list em {
  font-size: 13px;
  font-style: normal;
  color: var(--mute);
}

/* Plain text and a line icon: where each step runs, no chips. */
.cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.35s;
}

.cell svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.modes-list li.is-on .cell.is-lit {
  color: var(--accent);
}

.modes-list li.is-on .cell.is-cloud.is-lit {
  color: #2b6cb0;
}

.modes-foot {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- The small things ---------- */

.smalls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.smalls li {
  display: grid;
  align-content: start;
  gap: 8px;
}

.smalls strong {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
}

.smalls li > span {
  color: var(--ink-2);
}

.small-vis {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--desk);
}

.small-dict s {
  position: absolute;
  top: 36px;
  font-family: var(--mono);
  font-size: 15px;
  text-decoration: none;
  color: var(--mute);
}

.small-dict s::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 52%;
  height: 1.5px;
  background: var(--rose);
  transform-origin: left;
  animation: dict-strike 4s var(--ease) infinite;
}

.small-dict span {
  margin-top: 30px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  animation: dict-name 4s var(--ease) infinite;
}

@keyframes dict-strike {
  0%,
  15% {
    transform: scaleX(0);
  }

  35%,
  100% {
    transform: none;
  }
}

@keyframes dict-name {
  0%,
  30% {
    opacity: 0;
    transform: translateY(8px);
  }

  45%,
  90% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
  }
}

.small-cue {
  align-content: center;
  gap: 10px;
}

.cue-say {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mute);
}

.cue-out {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px -8px rgba(52, 36, 140, 0.3);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  animation: dict-name 4s var(--ease) infinite;
  animation-delay: -0.6s;
}

.small-sync {
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 0 22px;
}

.small-sync > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.small-sync::before {
  content: "";
  position: absolute;
  left: 70px;
  right: 76px;
  top: 50%;
  border-top: 1.5px dashed var(--faint);
}

.small-sync b {
  position: relative;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--accent);
  animation: sync-ride 3.2s var(--ease) infinite;
}

@keyframes sync-ride {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  15% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(var(--ride, 60px));
  }
}

/* ---------- iPhone ---------- */

.iphone-sec {
  padding-bottom: clamp(80px, 9vw, 140px);
  background: linear-gradient(var(--paper), #f1edfd 30%, #f1edfd 70%, var(--paper));
}

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
}

.phone-fig {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.phone-fig figcaption {
  display: grid;
  gap: 2px;
  font-size: 14.5px;
  color: var(--mute);
}

.phone-fig figcaption b {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border: 10px solid #1d1a2c;
  border-radius: 52px;
  background: #fff;
}

.is-side .phone {
  width: 268px;
  margin-bottom: 16px;
}

.phone > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links li:nth-child(4) {
    display: none;
  }

  .fx-row {
    grid-template-columns: 1fr 1fr;
  }

  .fx-k {
    grid-column: 1 / -1;
  }

  .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  .try,
  .assist,
  .mt,
  .unp {
    grid-template-columns: 1fr;
  }

  .rail {
    justify-self: center;
  }

  .mt-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .mt-rail em {
    display: none;
  }

  .mt-scene {
    height: 500px;
  }

  .phones .is-side:first-child {
    display: none;
  }

  .smalls {
    grid-template-columns: 1fr;
  }

  .trio-foot {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .faq-wrap {
    width: min(100% - 32px, 760px);
  }

  .brand span {
    font-size: 19px;
  }

  .menubar span:first-child i {
    display: none;
  }

  .menubar span:last-child {
    display: none;
  }


  .tabs {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .desk {
    padding: 50px 10px 10px;
  }

  .desk .sheet {
    height: 400px;
  }

  .sl-side {
    display: none;
  }

  .fx-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fx-said::after {
    display: none;
  }

  .trio {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-bottom: 60px;
  }

  .trio-item:nth-of-type(n) {
    margin-top: 0;
  }

  .keys-lg .key {
    min-width: 46px;
    height: 46px;
    font-size: 17px;
  }

  .keys-lg .key-wide {
    min-width: 104px;
    font-size: 14px;
  }

  .ask-desk {
    height: 540px;
  }

  .mt-rail {
    grid-template-columns: 1fr;
  }

  .mt-rail button {
    padding: 10px 0;
  }

  .mt-scene {
    height: 520px;
  }


  .mail {
    width: 64%;
  }

  .pdf {
    width: 40%;
  }

  .points,
  .points-3 {
    grid-template-columns: 1fr;
  }

  .modes-cols,
  .modes-list li {
    grid-template-columns: 96px 1fr 1fr;
  }

  .phones .is-side {
    display: none;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .plan,
  .plan + .plan {
    padding: 0;
    border-left: 0;
  }

  .plan + .plan {
    padding-top: 48px;
    border-top: 1px solid var(--line);
  }

  .platforms .btn {
    width: 100%;
  }
}

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

  .marquee-track,
.field .caret,
.small-dict s::after,
.small-dict span,
.cue-out,
.small-sync b {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal,
.take-words,
.take .w > span,
.mt-pane {
    transition: none;
  }

  .take .cap,
  .take .pt {
    animation: none;
  }
}

/* ====================================================================================
   v3: the real app UI (app-ui.css) on the real wallpaper, plus the pieces around it.
   ==================================================================================== */

:root {
  --wall: url("assets/wallpaper.webp") center / cover;
}

/* A nav link lands with the section's heading just under the bar, not a third of the way down. */
.section[id] {
  scroll-margin-top: calc(8px - clamp(96px, 12vw, 190px));
}

.screen,
.mini-desk,
.small-vis,
.share {
  background: var(--wall);
}

.menubar {
  background: rgba(24, 16, 48, 0.26);
  color: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
}

/* ---------- The notch: sizes and motion around the app's own styles ---------- */

.notch-slot {
  --notch: 190px;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
}

.vz-notch {
  transition: width 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.05), border-radius 0.18s;
}

.vz-notch__row {
  height: 32px;
}

.vz-notch__cam {
  flex-shrink: 0;
}

.vz-notch__drop {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}

.vz-notch.has-body .vz-notch__drop {
  grid-template-rows: 1fr;
}

.vz-notch__drop > .vz-notch__body {
  min-height: 0;
  overflow: hidden;
}

.vz-notch .flow-answer__reading {
  max-height: 330px;
}

.mb-3 {
  margin-bottom: 12px;
}

.tok {
  opacity: 0;
  transition: opacity 0.25s;
}

.tok.is-in {
  opacity: 1;
}

.mini-desk .notch-slot {
  --notch: 110px;
}

/* ---------- Windows on the desktop ---------- */

.win {
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--sys);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
}

.win-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.win-title {
  position: absolute;
  left: 50%;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
}

.take.screen {
  padding: clamp(70px, 7vw, 96px) clamp(16px, 5vw, 72px) clamp(36px, 4vw, 56px);
}

.take-win {
  width: min(100%, 900px);
  padding-bottom: 28px;
}

.take-win .take-text {
  margin-top: 36px;
  padding: 0 clamp(16px, 4vw, 48px);
  font-family: var(--sans);
}

.take-win .take-steps {
  margin-top: 22px;
}

.ask-desk .mail-win {
  position: absolute;
  top: 150px;
  left: 7%;
  right: 7%;
  bottom: 34px;
}

.mail-field {
  margin: 0 22px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 13.5px;
  color: #1d1d1f;
}

.mail-field span {
  color: rgba(0, 0, 0, 0.45);
}

.mail-body {
  display: grid;
  gap: 12px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.5;
  color: #1d1d1f;
}

.mail-sel {
  border-radius: 3px;
  transition: background-color 0.4s;
}

.mail-sel.is-selected {
  background: #b3d7ff;
}

.mail-sel.is-new {
  background: rgba(181, 156, 255, 0.28);
}

/* ---------- Shortcuts are yours to change ---------- */

.custom-keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  margin-top: -20px;
}

.sc {
  min-width: 300px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.sc-head {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
}

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
}

.sc-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 150px;
  min-height: 40px;
  justify-content: flex-end;
  padding: 0 4px;
  border-radius: 10px;
  transition: box-shadow 0.25s, background-color 0.25s;
}

.sc-field.is-recording {
  justify-content: center;
  padding: 0 14px;
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--accent);
  font-size: 13.5px;
  color: var(--accent);
}

.sc-field.is-set .key {
  border-color: var(--accent);
  color: var(--accent);
}

.custom-copy {
  max-width: 34em;
  color: var(--ink-2);
}

.custom-copy b {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Meetings: works with ---------- */

.works-with {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 6px;
}

.works-with li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.works-with svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.works-with .ww-room {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.tag-soon {
  margin-right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #efedf5;
  font-weight: 700;
  color: var(--ink-2);
}

/* The call behind the recorder, in each app's own colours. */
.call {
  --call-bg: #1c1c1c;
  --call-bar: #242424;
  --call-tile: #2f2f2f;
  --call-logo: #0b5cff;
  --call-ring: #23d959;
  position: absolute;
  inset: 120px 28px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--call-bg);
  font-family: var(--sys);
  transition: background-color 0.4s;
}

.call[data-app="meet"] {
  --call-bg: #202124;
  --call-bar: #202124;
  --call-tile: #3c4043;
  --call-logo: #00ac47;
  --call-ring: #8ab4f8;
}

.call[data-app="teams"] {
  --call-bg: #1f1f1f;
  --call-bar: #2b2b40;
  --call-tile: #333;
  --call-logo: #7b83eb;
  --call-ring: #7f85f5;
}

.call[data-app="webex"] {
  --call-bg: #0d0d0d;
  --call-bar: #161616;
  --call-tile: #242424;
  --call-logo: #fff;
  --call-ring: #00a0d1;
}

.call[data-app="slack"] {
  --call-bg: #1a1d21;
  --call-bar: #3f0e40;
  --call-tile: #2c2d30;
  --call-logo: #fff;
  --call-ring: #2bac76;
}

.call-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 14px;
  background: var(--call-bar);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.4s;
}

.call-logo {
  width: 16px;
  height: 16px;
  fill: var(--call-logo);
}

.call-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.call-tile {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--call-tile);
  transition: box-shadow 0.3s, background-color 0.4s;
}

.call-tile i,
.room-seat {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  color: #14101f;
}

.call-tile span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.call-tile.is-talking {
  box-shadow: inset 0 0 0 2px var(--call-ring);
}

.room {
  position: absolute;
  inset: 0;
  display: none;
  background: rgba(255, 255, 255, 0.86);
}

.call[data-app="room"] {
  background: transparent;
}

.call[data-app="room"] .call-bar,
.call[data-app="room"] .call-grid {
  display: none;
}

.call[data-app="room"] .room {
  display: block;
}

.room-table {
  position: absolute;
  top: 30%;
  left: 26%;
  width: 48%;
  height: 38%;
  border-radius: 50%;
  background: #ebe6f7;
  box-shadow: inset 0 -6px 0 rgba(75, 52, 201, 0.08);
}

.room-seat {
  position: absolute;
  width: 50px;
  height: 50px;
  font-size: 19px;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.3s;
}

.room-seat[data-who="w"] {
  top: 49%;
  left: 20%;
}

.room-seat[data-who="o"] {
  top: 49%;
  left: 80%;
}

.room-seat[data-who="y"] {
  top: 82%;
  left: 50%;
}

.room-seat.is-talking {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent);
}

.room-laptop {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 54px;
  height: 34px;
  border-radius: 4px 4px 2px 2px;
  background: #3a3550;
  transform: translateX(-50%);
}

.room-laptop::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -5px;
  height: 5px;
  border-radius: 0 0 4px 4px;
  background: #8b869c;
}

.room-label {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

/* The recorder: docked in the notch, or popped out into its own small window. */
.rec-slot {
  --notch: 190px;
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

#rec-docked {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(440px, calc(100% - 16px));
  transform: translateX(-50%);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}

#rec-docked.is-away {
  opacity: 0;
  transform: translate(-50%, -10px) scale(0.97);
}

.rec-notch__row {
  height: 32px;
}

.rec-notch__cam {
  flex-shrink: 0;
  width: var(--notch);
}

.rec-float {
  position: absolute;
  top: 0;
  left: 50%;
  background: rgba(30, 27, 44, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--lift-win);
  opacity: 0;
  transform: translate(-50%, -30px) scale(0.6);
  transform-origin: top center;
  transition: opacity 0.35s, transform 0.6s var(--ease);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
  backdrop-filter: blur(40px) saturate(1.6);
}

.rec-float.is-out {
  opacity: 1;
  transform: translate(-64%, 110px);
}

.rec-float.is-out.is-moved {
  transform: translate(-44%, 168px);
}

.mail-from .nm {
  width: 11px;
  height: 14px;
  fill: currentColor;
}

.rec-icon.is-press {
  background: rgba(181, 156, 255, 0.4);
}

/* ---------- Unplugged ---------- */

.unp-pick {
  display: grid;
  gap: 22px;
}

.offline {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s;
}

.offline.is-shown {
  opacity: 1;
  transform: none;
}

.mobile-foot,
.soon {
  margin-top: 40px;
  font-size: 15px;
  text-align: center;
  color: var(--mute);
}

.final .soon {
  margin-top: -16px;
}

/* ---------- Phone: iOS drawn in points, then scaled to fit ---------- */

.phone-live {
  --s: 0.718;
  width: calc(390px * var(--s) + 20px);
  height: calc(844px * var(--s) + 20px);
  aspect-ratio: auto;
}

.ios {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 390px;
  height: 844px;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  color: #000;
  text-align: left;
  transform: scale(var(--s));
  transform-origin: 0 0;
}

.ios-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 6px 30px 0 38px;
  font-size: 17px;
}

.ios-status b {
  font-weight: 600;
}

.ios-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ios-icons .sig {
  width: 18px;
  height: 11px;
  background: linear-gradient(90deg, #000 0 3px, transparent 3px 5px, #000 5px 8px, transparent 8px 10px, #000 10px 13px, transparent 13px 15px, #000 15px);
  -webkit-mask: linear-gradient(to top, #000 0 100%) bottom / 100% 100% no-repeat;
  clip-path: polygon(0 75%, 22% 75%, 22% 50%, 50% 50%, 50% 25%, 78% 25%, 78% 0, 100% 0, 100% 100%, 0 100%);
}

.ios-icons .bat {
  position: relative;
  width: 25px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

.ios-icons .bat::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 2px;
  background: #000;
}

.island {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 126px;
  height: 37px;
  padding: 0 14px 0 16px;
  border-radius: 19px;
  background: #000;
  transform: translateX(-50%);
  transition: width 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.island-f {
  width: 13px;
  height: 16px;
}

.island-wpm {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.island-dial {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.island > * {
  opacity: 0;
  transition: opacity 0.2s;
}

.island.is-live {
  width: 212px;
}

.island.is-live > * {
  opacity: 1;
  transition-delay: 0.25s;
}

.ios-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 2px 0 10px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
  font-size: 11px;
}

.ios-head i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(#a8a7b0, #86858e);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.ios-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  padding: 0 16px 10px;
  overflow: hidden;
}

.ios-time {
  align-self: center;
  margin-bottom: 6px;
  font-size: 12px;
  color: #8e8e93;
}

.ios-b {
  max-width: 74%;
  padding: 8px 14px;
  border-radius: 19px;
  font-size: 17px;
  line-height: 1.3;
}

.ios-b.in {
  align-self: flex-start;
  background: #e9e9eb;
}

.ios-b.out {
  align-self: flex-end;
  background: #0b84ff;
  color: #fff;
  animation: ios-send 0.45s var(--ease);
}

@keyframes ios-send {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
}

.ios-compose {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 10px;
}

.ios-plus {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eeeef0;
  font-size: 24px;
  color: #8e8e93;
}

.ios-input {
  flex: 1;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #d1d1d6;
  border-radius: 18px;
  font-size: 17px;
  line-height: 1.3;
}

.ios-input:empty::before {
  content: "iMessage";
  color: #b5b5ba;
}

/* The keyboard: 265 pt, on the system keyboard grey. */
.kb {
  position: relative;
  height: 265px;
  padding: 6px 4px 8px;
  background: #d1d3d9;
  color: #000;
}

.kb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 45.5px;
  padding: 7.5px 10px 4px 4px;
}

.kb-f {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 7px;
  border-radius: 50%;
  background: linear-gradient(#221e2c, #0e0b14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.kb-f img {
  width: 11px;
  height: 14px;
}

.kb-tone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  margin: 0 auto;
  padding: 0 12px 0 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 600;
}

.tone-mark {
  width: 11px;
  height: 15px;
  fill: #3da8ff;
}

.kb-chev {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: rgba(60, 60, 67, 0.6);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kb-mode {
  display: inline-flex;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.kb-mode span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 24px;
  border-radius: 12px;
}

.kb-mode span.is-on {
  background: rgba(0, 0, 0, 0.14);
}

.kb-mode svg,
.kb-side svg,
.kb-x svg,
.kb-return svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #000;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kb-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 6px 16px 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(60, 60, 67, 0.6);
}

.kb-hint.is-live {
  color: rgba(60, 60, 67, 0.48);
}

.kb-hint b {
  margin-left: 0.3em;
  font-weight: 600;
  color: #3f2a82;
}

.kb-row1,
.kb-row2 {
  position: relative;
}

.kb-row1 {
  height: 58px;
  margin-top: 22px;
}

.kb-row2 {
  height: 44px;
  margin-top: 14px;
}

.kb-key {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 158px;
  height: 58px;
  padding: 0 26px;
  border-radius: 29px;
  background: linear-gradient(#221e2c, #0e0b14);
  box-shadow: 0 10px 22px rgba(20, 10, 40, 0.55), 0 2px 4px rgba(20, 10, 40, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
}

.kb-key img {
  width: 18px;
  height: 22px;
}

.kb-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
}

.kb-bars i {
  width: 3px;
  height: 6px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.3);
  transition: height 80ms linear, background-color 0.12s;
}

.kb-bars i.is-lit {
  background: #b59cff;
}

.kb-side,
.kb-x {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.kb-row1 .kb-side,
.kb-x {
  top: 7px;
}

.kb-undo,
.kb-redo {
  right: calc(50% + 79px + 29px);
  background: rgba(0, 0, 0, 0.1);
}

.kb-ai,
.kb-del {
  left: calc(50% + 79px + 29px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.kb-ai svg {
  width: 20px;
  height: 20px;
  fill: #000;
  stroke: none;
}

.kb-x {
  right: calc(50% + 79px + 12px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  opacity: 0;
}

.kb-x svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.kb-return {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 126px;
  height: 44px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
  transition: opacity 0.2s;
}

.kb-under {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(60, 60, 67, 0.6);
  opacity: 0;
  transition: opacity 0.2s;
}

.kb:not([data-state="idle"]) .kb-side,
.kb:not([data-state="idle"]) .kb-return {
  opacity: 0;
}

.kb[data-state="starting"] .kb-x,
.kb[data-state="listening"] .kb-x,
.kb[data-state="listening"] .kb-under {
  opacity: 1;
}

.ios-home {
  display: grid;
  flex-shrink: 0;
  place-items: end center;
  height: 34px;
  padding-bottom: 8px;
  background: #d1d3d9;
}

.ios-home i {
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: #000;
}

@media (max-width: 900px) {
  .rec-float.is-out {
    transform: translate(-50%, 110px) scale(0.86);
  }

  .rec-float.is-out.is-moved {
    transform: translate(-46%, 150px) scale(0.86);
  }
}

@media (max-width: 640px) {
  .notch-slot,
  .rec-slot {
    --notch: 96px;
  }

  .mini-desk .notch-slot {
    --notch: 80px;
  }

  .ask-desk .mail-win {
    top: 240px;
    left: 4%;
    right: 4%;
  }

  .call {
    inset: 140px 10px 10px;
  }

  .call-grid {
    grid-template-columns: 1fr 1fr;
  }

  .call-tile:last-child {
    grid-column: span 2;
  }

  .rec-float.is-out,
  .rec-float.is-out.is-moved {
    transform: translate(-50%, 140px) scale(0.78);
  }

  .custom-keys {
    margin-top: 0;
  }

  .sc {
    min-width: 0;
    width: 100%;
  }

  #rec-docked .rec-round {
    display: none;
  }

  #rec-docked .rec-pill {
    padding-right: 10px;
  }
}

.mt-desk {
  height: 100%;
}

/* ====================================================================================
   v4: readable type, depth on the showcase pieces, compose window, translate card, logos.
   ==================================================================================== */

:root {
  /* Three depths, used everywhere: a panel on the page, a card inside a panel, a window on the wallpaper. */
  --lift: 0 0 0 1px rgba(23, 19, 42, 0.06), 0 18px 40px -18px rgba(40, 28, 110, 0.28), 0 50px 100px -40px rgba(40, 28, 110, 0.32);
  --lift-in: 0 0 0 1px rgba(23, 19, 42, 0.06), 0 14px 30px -14px rgba(40, 28, 110, 0.32);
  --lift-win: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 30px 70px -22px rgba(15, 8, 45, 0.55);
}

.hero-title {
  max-width: 12.5em;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.02;
}

.h2-sm {
  font-size: clamp(30px, 3.6vw, 48px);
}

/* Depth: the things to look at sit above the page. */
.screen,
.mini-desk,
.small-vis,
.doc,
.share,
.note-win,
.sc {
}

.fx {
  padding: 6px clamp(18px, 3vw, 40px);
  border-top: 0;
  border-radius: 24px;
  background: #fff;
}

.fx-row:last-child {
  border-bottom: 0;
}

.fx-said {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.fx-said s {
  color: var(--ink-2);
}

.fx-row.is-done .fx-said s {
  color: var(--mute);
}

.fx-out {
  font-weight: 500;
}

.modes {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 22px;
  background: #fff;
}

.plans {
  padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 56px);
  border-radius: 28px;
  background: #fff;
}

/* The take: words arrive grey and settle into ink. */
.take-words {
  color: #8f89a3;
}

/* ---------- Compose: an email being written into Mail ---------- */

.compose {
  display: block;
  margin-top: clamp(90px, 11vw, 160px);
  text-align: left;
}

.compose .center-head {
  margin-bottom: 40px;
}

.compose-desk {
  width: 100%;
  height: 540px;
}

.compose-win {
  position: absolute;
  top: 120px;
  left: 50%;
  width: min(680px, calc(100% - 32px));
  bottom: 32px;
  transform: translateX(-50%);
}

.compose-win .mail-field b {
  font-weight: 500;
}

.compose-body {
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  color: #1d1d1f;
}

.compose-body .caret,
.mail-body .caret {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: #0a84ff;
  animation: blink 1s steps(2) infinite;
}

/* ---------- Translate: one card, said and typed ---------- */

.xcard {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  width: min(100%, 980px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.xcard > div {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(24px, 4vw, 44px);
}

.xcard-in {
  border-right: 1px solid var(--line);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
}

.xcard-out {
  background: linear-gradient(135deg, #f6f3ff, #fff 70%);
}

.xcard-k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.xcard-k b {
  font-weight: 700;
  color: var(--accent);
}

.xcard .xlate-out {
  max-width: none;
  min-height: 2.4em;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  text-align: left;
}

.xlate-foot {
  margin-top: 22px;
  font-size: 15px;
  text-align: center;
  color: var(--mute);
}

/* ---------- Meeting apps ---------- */

.works-with {
  gap: 14px 30px;
}

.works-with li {
  gap: 10px;
  font-size: 15.5px;
  color: var(--ink);
}

.ww-app {
  width: 36px;
  height: 36px;
  margin: -3px;
}

.ww-tile {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
}

.ww-tile img {
  width: 19px;
  height: 19px;
}

.ww-tile.is-bare {
  background: none;
  box-shadow: none;
}

.ww-tile.is-bare img {
  width: 30px;
  height: 30px;
}

.ww-tile.is-room {
  background: var(--accent-soft);
}

.ww-tile svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.call-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ---------- The small things: cards floating on the wallpaper ---------- */

.sv-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 62%;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
}

.small-dict .sv-card s {
  position: relative;
  top: auto;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--mute);
}

.small-dict .sv-card span {
  margin-top: 0;
  font-size: 26px;
  color: var(--ink);
}

.cue-say {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
}

.cue-out {
  background: var(--accent-soft);
  box-shadow: none;
}

.small-sync > span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.small-sync::before {
  border-top-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
  .xcard {
    grid-template-columns: 1fr;
  }

  .xcard-in {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .compose-desk {
    height: 560px;
  }

  .compose-win {
    top: 110px;
    bottom: 16px;
  }

  .plans {
    padding: 28px 22px;
  }
}

.hero-title em {
  display: block;
}

.fx-k span {
  font-size: 15px;
}

/* ---------- Coming soon: Linux, and the official store badges ---------- */

.btn-soon {
  gap: 10px;
  border-style: dashed;
  color: var(--ink-2);
  cursor: default;
}

.btn-soon:hover {
  border-color: rgba(23, 19, 42, 0.18);
}

.btn-soon:active {
  transform: none;
}

.btn-soon em {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
}

.stores-k {
  padding: 4px 10px;
  border-radius: 999px;
  background: #efedf5;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.store img {
  width: auto;
  height: 44px;
}

.hero-copy .stores {
  margin-top: -10px;
}

.hero-copy .store img {
  height: 40px;
}

.mobile-foot {
  display: grid;
  justify-items: center;
  gap: 16px;
}

@media (max-width: 640px) {
  .ctas .btn,
  .platforms .btn {
    width: 100%;
  }
}

/* ---------- Depth: one scale ---------- */

.screen, .mini-desk, .small-vis, .doc, .share, .note-win, .sc, .fx, .modes, .plans, .xcard, .sheet, .phone {
  box-shadow: var(--lift);
}

.pdf, .small-sync b, .ww-tile {
  box-shadow: var(--lift-in);
}

.win, .call, .sv-card {
  box-shadow: var(--lift-win);
}

/* ---------- Colour: the hero's wash, carried down the whole page ---------- */

.section::before {
  content: "";
  position: absolute;
  inset: -220px 0;
  z-index: -1;
  pointer-events: none;
  /* Fade out where it runs into the next section, so no wash ends on a hard line. */
  -webkit-mask-image: linear-gradient(transparent, #000 220px, #000 calc(100% - 220px), transparent);
  mask-image: linear-gradient(transparent, #000 220px, #000 calc(100% - 220px), transparent);
}

/* Its own band fades to transparent, so the washes around it show through instead of stopping at a flat edge. */
.iphone-sec {
  background: linear-gradient(rgba(232, 224, 252, 0), rgba(232, 224, 252, 0.6) 30%, rgba(232, 224, 252, 0.6) 70%, rgba(232, 224, 252, 0));
}

#how::before {
  background:
    radial-gradient(62% 44% at 14% 30%, rgba(196, 181, 255, 0.59), transparent 72%),
    radial-gradient(62% 44% at 88% 72%, rgba(186, 222, 255, 0.50), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#home::before {
  background:
    radial-gradient(62% 44% at 14% 26%, rgba(186, 222, 255, 0.50), transparent 72%),
    radial-gradient(62% 44% at 86% 74%, rgba(196, 181, 255, 0.56), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#cleanup::before {
  background:
    radial-gradient(62% 44% at 16% 36%, rgba(186, 222, 255, 0.53), transparent 72%),
    radial-gradient(62% 44% at 84% 70%, rgba(196, 181, 255, 0.53), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#keys::before {
  background:
    radial-gradient(62% 44% at 86% 28%, rgba(196, 181, 255, 0.56), transparent 72%),
    radial-gradient(62% 44% at 14% 76%, rgba(255, 204, 178, 0.48), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#assistant::before {
  background:
    radial-gradient(62% 44% at 12% 30%, rgba(255, 204, 178, 0.50), transparent 72%),
    radial-gradient(62% 44% at 88% 68%, rgba(186, 222, 255, 0.50), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#translate::before {
  background:
    radial-gradient(62% 44% at 84% 40%, rgba(196, 181, 255, 0.56), transparent 72%),
    radial-gradient(62% 44% at 18% 80%, rgba(186, 222, 255, 0.45), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#meetings::before {
  background:
    radial-gradient(62% 44% at 14% 22%, rgba(186, 222, 255, 0.53), transparent 72%),
    radial-gradient(62% 44% at 86% 60%, rgba(196, 181, 255, 0.56), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#unplugged::before {
  background:
    radial-gradient(62% 44% at 84% 30%, rgba(255, 204, 178, 0.48), transparent 72%),
    radial-gradient(62% 44% at 16% 74%, rgba(196, 181, 255, 0.53), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#details::before {
  background:
    radial-gradient(62% 44% at 14% 34%, rgba(196, 181, 255, 0.56), transparent 72%),
    radial-gradient(62% 44% at 86% 72%, rgba(255, 204, 178, 0.45), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#mobile::before {
  background:
    radial-gradient(62% 44% at 86% 30%, rgba(186, 222, 255, 0.48), transparent 72%),
    radial-gradient(62% 44% at 14% 70%, rgba(255, 204, 178, 0.42), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#pricing::before {
  background:
    radial-gradient(62% 44% at 18% 40%, rgba(255, 204, 178, 0.50), transparent 72%),
    radial-gradient(62% 44% at 82% 58%, rgba(196, 181, 255, 0.59), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

#faq::before {
  background:
    radial-gradient(62% 44% at 84% 30%, rgba(186, 222, 255, 0.48), transparent 72%),
    radial-gradient(62% 44% at 14% 76%, rgba(196, 181, 255, 0.53), transparent 72%),
    radial-gradient(50% 30% at 50% 50%, rgba(214, 204, 255, 0.22), transparent 75%);
}

/* The app draws each dial 150 wide inside a 132 box; the page's svg max-width would squeeze it off centre. */
.st-dial svg {
  max-width: none;
}

/* ---------- Home: the real Home screen, rendered from the app with demo data ---------- */

.home-desk {
  margin-top: clamp(44px, 5vw, 72px);
  padding: clamp(54px, 5vw, 70px) clamp(14px, 4vw, 56px) clamp(22px, 4vw, 56px);
  box-shadow: var(--lift);
}

/* The app window is translucent: a dark glass over the wallpaper, with Home's own tint in the image. */
.home-win {
  position: relative;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: clamp(8px, 1vw, 12px);
  background: rgba(30, 30, 38, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), var(--lift-win);
  -webkit-backdrop-filter: blur(50px) saturate(150%);
  backdrop-filter: blur(50px) saturate(150%);
}

.home-win img {
  width: 100%;
  height: auto;
}

.home-win .lights {
  position: absolute;
  top: 1.6%;
  left: 1.3%;
  gap: clamp(4px, 0.6vw, 8px);
}

.home-win .lights i {
  width: clamp(6px, 0.95vw, 12px);
  height: clamp(6px, 0.95vw, 12px);
}

@media (max-width: 640px) {
  .home-desk .menubar i {
    display: none;
  }
}

/* ---------- Side-specific keys: the key's label, with "left" or "right" under it ---------- */

.key b {
  font-weight: inherit;
}

.key svg {
  width: 0.9em;
  height: 0.9em;
  fill: currentColor;
}

.key-side {
  grid-auto-flow: column;
  gap: 5px;
}

.key small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.72;
}

.keys-lg .key-side {
  grid-auto-flow: row;
  align-content: center;
  gap: 1px;
  min-width: 76px;
  padding: 0 12px;
}

.keys-lg .key-side small {
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 640px) {
  .keys-lg .key-side {
    min-width: 62px;
  }
}

/* ---------- The shortcut cards flip between macOS and Windows ---------- */

#keys [data-hotkey] .key {
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s;
  transition-delay: calc(var(--i, 0) * 90ms);
}

#keys [data-hotkey].is-flipping .key {
  transform: translateY(8px) rotateX(70deg);
  opacity: 0;
}

#keys [data-hotkey] .key {
  animation: key-in 0.34s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

@keyframes key-in {
  from { transform: translateY(-8px) rotateX(-70deg); opacity: 0; }
}

#keys [data-hotkey] {
  perspective: 400px;
}

/* A thumb slides under the chosen platform. */
#keys .platform-toggle {
  position: relative;
  isolation: isolate;
}

#keys .platform-toggle::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: var(--w-mac, 50%);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.45s cubic-bezier(0.3, 0, 0.1, 1), width 0.45s cubic-bezier(0.3, 0, 0.1, 1);
}

#keys .platform-toggle[data-on="win"]::before {
  width: var(--w-win, 50%);
  transform: translateX(var(--x-win, 100%));
}

#keys .platform-toggle button[aria-pressed="true"] {
  background: none;
  transition: color 0.3s 0.1s;
}

/* The billing switch sits halfway between the headline and the plans. */
#pricing .platform-toggle {
  margin-top: calc((clamp(56px, 7vw, 96px) - 22px) / 2);
}

#pricing .center-head {
  margin-bottom: calc((clamp(56px, 7vw, 96px) + 22px) / 2);
}

/* The sender's avatar is the mark in white on black, like the real email; the PDF tag takes the accent.
   The circle is its own box: rounding the mark's box would clip the stroke ends in its corners. */
.mail-from .nm {
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.mail-from .nm svg {
  width: 16px;
  height: 20px;
  fill: currentColor;
}

.pdf-tag {
  background: var(--accent);
}
