/* NotchDesk — site styles. One file, no build step.
   Dark-first. The only pure black on the page is the notch (and the app UI drawn inside it). */

/* ───────────────────────── Tokens ───────────────────────── */
/* Restrained: neutrals tinted toward the brand violet (hue 285), one accent for actions and links.
   The notch and the app shown inside it are dark in both themes, like the real thing. */
:root {
  color-scheme: dark;

  --hue: 285;
  --bg: oklch(0.165 0.012 var(--hue));
  --bg-deep: oklch(0.14 0.01 var(--hue));
  --surface: oklch(0.205 0.014 var(--hue));
  --surface-2: oklch(0.245 0.016 var(--hue));
  --fill: oklch(0.92 0.02 var(--hue) / 0.06);
  --fill-hover: oklch(0.92 0.02 var(--hue) / 0.1);
  --line: oklch(0.92 0.02 var(--hue) / 0.11);
  --line-strong: oklch(0.92 0.02 var(--hue) / 0.2);

  --text: oklch(0.965 0.006 var(--hue));
  --text-2: oklch(0.8 0.012 var(--hue));
  --text-3: oklch(0.7 0.014 var(--hue));

  --accent: oklch(0.55 0.21 var(--hue));
  --accent-hover: oklch(0.6 0.2 var(--hue));
  --accent-shadow: oklch(0.55 0.21 var(--hue) / 0.38);
  --link: oklch(0.79 0.11 var(--hue));
  --glow: transparent;
  --live: #34d399;
  --live-text: oklch(0.8 0.13 160);
  --new-text: oklch(0.82 0.11 75);
  --focus: oklch(0.82 0.1 var(--hue));

  --bar-bg: oklch(0.165 0.012 var(--hue) / 0.8);
  --bar-hover: oklch(0.92 0.02 var(--hue) / 0.12);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(72px, 9vw, 128px);
  --bar-h: 38px; /* the demo notch's collapsed height */
  --nav-h: 46px; /* the navigation notch */
  /* a macOS-style wallpaper behind every product shot */
  --wallpaper:
    radial-gradient(60% 70% at 80% 108%, oklch(0.55 0.19 330 / 0.5), transparent 70%),
    radial-gradient(70% 80% at 10% 112%, oklch(0.52 0.17 262 / 0.55), transparent 70%),
    linear-gradient(180deg, oklch(0.28 0.1 285) 0%, oklch(0.2 0.07 280) 62%, oklch(0.25 0.1 300) 100%);
  --spring: cubic-bezier(0.22, 1.18, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --bg: oklch(0.985 0.004 var(--hue));
    --bg-deep: oklch(0.962 0.007 var(--hue));
    --surface: oklch(0.997 0.002 var(--hue));
    --surface-2: oklch(0.97 0.006 var(--hue));
    --fill: oklch(0.3 0.05 var(--hue) / 0.045);
    --fill-hover: oklch(0.3 0.05 var(--hue) / 0.08);
    --line: oklch(0.3 0.04 var(--hue) / 0.12);
    --line-strong: oklch(0.3 0.04 var(--hue) / 0.22);

    --text: oklch(0.21 0.03 var(--hue));
    --text-2: oklch(0.42 0.025 var(--hue));
    --text-3: oklch(0.5 0.02 var(--hue));

    --accent: oklch(0.5 0.22 var(--hue));
    --accent-hover: oklch(0.45 0.21 var(--hue));
    --accent-shadow: oklch(0.5 0.22 var(--hue) / 0.28);
    --link: oklch(0.47 0.2 var(--hue));
    --live-text: oklch(0.48 0.11 160);
    --new-text: oklch(0.5 0.12 65);
    --focus: oklch(0.5 0.22 var(--hue));

    --bar-bg: oklch(0.985 0.004 var(--hue) / 0.82);
    --bar-hover: oklch(0.3 0.05 var(--hue) / 0.08);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

main {
  flex: 1;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.1;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  color: inherit;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: var(--fill);
  overflow-wrap: anywhere;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 0.45em;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: var(--surface);
  color: var(--text);
  font: 600 0.82rem/1 var(--font);
  white-space: nowrap;
}

.ic {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: calc(var(--nav-h) + 10px);
}

.no-js .js-only {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1 var(--font);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn .ic {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 8px 20px -12px var(--accent-shadow),
    inset 0 1px 0 oklch(1 0 0 / 0.18);
}

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

.btn-secondary {
  background: var(--fill);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--fill-hover);
}

.btn-small {
  min-height: 28px;
  padding: 0 13px;
  font-size: 0.8125rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.btn-link:hover {
  text-decoration-thickness: 2px;
}

/* ───────────────────────── Site header: the navigation is a notch ───────────────────────── */
/* It takes no space in the page flow, so the hero runs up behind it; only the black notch is opaque. */
.menubar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  margin-bottom: calc(-1 * var(--nav-h));
  pointer-events: none;
}

.topnav {
  --r: 12px; /* concave top corners, like the real notch */
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: calc(100% - 2 * var(--r) - 16px);
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 7px 0 12px;
  color: oklch(0.97 0.004 var(--hue));
  font-size: 0.875rem;
  pointer-events: auto;
}

/* The black notch itself. Hovering the header springs it open a little, like the app's notch. */
.topnav-shape {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0 0 20px 20px;
  background: #000;
  box-shadow: 0 14px 34px -16px oklch(0.12 0.06 var(--hue) / 0.6);
  transform-origin: 50% 0;
  transition:
    transform 0.5s var(--spring),
    box-shadow 0.35s var(--ease-out);
}

.topnav {
  isolation: isolate;
}

.topnav-shape::before,
.topnav-shape::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--r);
  height: var(--r);
}

.topnav-shape::before {
  right: 100%;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--r) - 0.6px), #000 var(--r));
}

.topnav-shape::after {
  left: 100%;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - 0.6px), #000 var(--r));
}

.topnav:hover .topnav-shape,
.topnav:focus-within .topnav-shape {
  transform: scale(1.035, 1.14);
  box-shadow: 0 22px 44px -16px oklch(0.12 0.08 var(--hue) / 0.7);
}

/* A highlight that slides between the links (added by site.js) */
.topnav-links {
  position: relative;
}

.topnav-pill {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: var(--pw, 0);
  height: 30px;
  border-radius: 8px;
  background: oklch(1 0 0 / 0.12);
  opacity: 0;
  transform: translate(var(--px, 0), -50%);
  transition:
    transform 0.35s var(--ease-out),
    width 0.35s var(--ease-out),
    opacity 0.2s ease;
  pointer-events: none;
}

.topnav-pill.is-on {
  opacity: 1;
}

/* Arriving from nowhere, it fades in where it is instead of sliding across */
.topnav-pill.is-jump {
  transition: opacity 0.2s ease;
}

.topnav-links.has-pill a,
.topnav-links.has-pill a:hover,
.topnav-links.has-pill a[aria-current="page"] {
  background: none;
}

.topnav .btn-small .ic {
  transition: transform 0.3s var(--spring);
}

.topnav .btn-small:hover .ic {
  transform: translateY(2px);
}

.topnav :focus-visible {
  outline-color: oklch(0.85 0.09 var(--hue));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 9px;
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 24px;
  height: 24px;
}

.topnav-links {
  display: flex;
  gap: 2px;
  padding-inline: 4px 8px;
}

.topnav-links a {
  padding: 6px 11px;
  border-radius: 8px;
  color: oklch(0.97 0.004 var(--hue) / 0.72);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.topnav-links a:hover,
.topnav .brand:hover {
  background: oklch(1 0 0 / 0.1);
  color: oklch(0.99 0.003 var(--hue));
}

.topnav-links a[aria-current="page"],
.topnav-links a.is-active {
  color: oklch(0.99 0.003 var(--hue));
  background: oklch(1 0 0 / 0.12);
}

.topnav .btn-small {
  min-height: 32px;
  padding: 0 14px;
}

.topnav .btn-small .ic {
  width: 14px;
  height: 14px;
}

/* A light pill on dark or colored ground (the notch, the hero) */
.btn-light {
  background: oklch(0.985 0.003 var(--hue));
  color: oklch(0.2 0.03 var(--hue));
  box-shadow: 0 8px 22px -12px oklch(0.15 0.08 var(--hue) / 0.55);
}

.btn-light:hover {
  background: oklch(0.94 0.012 var(--hue));
  text-decoration: none;
}

.btn-glass {
  background: oklch(1 0 0 / 0.12);
  border-color: oklch(1 0 0 / 0.34);
  color: oklch(0.99 0.003 var(--hue));
}

.btn-glass:hover {
  background: oklch(1 0 0 / 0.2);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.12);
  color: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
}

.menu-toggle .ic {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.mobile-menu {
  position: absolute;
  top: calc(var(--nav-h) + 8px);
  left: 50%;
  width: min(300px, calc(100vw - 2 * var(--gutter)));
  padding: 8px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px oklch(0.12 0.05 var(--hue) / 0.55);
  transform: translateX(-50%);
  pointer-events: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu a:not(.btn):hover,
.mobile-menu a[aria-current="page"] {
  background: var(--fill);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 6px;
}

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

  .menu-toggle {
    display: inline-flex;
  }
}

/* Without JavaScript the Menu button can't open anything; the footer has every link. */
.no-js .menu-toggle {
  display: none !important;
}

@media (max-width: 420px) {
  .brand span,
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .menu-toggle {
    width: 32px;
    padding: 0;
  }
}

/* ───────────────────────── The notch ───────────────────────── */
.notch {
  --focus: #cbbdff; /* the notch is black in both themes, so its focus ring stays light */
  --nw: 200px; /* camera housing */
  --wing: 132px; /* event shown beside it */
  --r: 7px; /* concave top corners */
  --rb: 12px; /* rounded bottom corners */
  --pw: min(720px, 100vw - 16px);
  --ph: 404px;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: #fff;
}

.notch::before,
.notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--r);
  height: var(--r);
  transition:
    width 0.45s var(--spring),
    height 0.45s var(--spring);
}

.notch::before {
  right: 100%;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--r) - 0.6px), #000 var(--r));
}

.notch::after {
  left: 100%;
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - 0.6px), #000 var(--r));
}

.notch-shape {
  position: relative;
  width: calc(var(--nw) + 2 * var(--wing));
  height: var(--bar-h);
  overflow: hidden;
  background: #000;
  border-radius: 0 0 var(--rb) var(--rb);
  transition:
    width 0.5s var(--spring),
    height 0.5s var(--spring),
    border-radius 0.5s var(--spring),
    box-shadow 0.3s ease;
  animation: notch-wings 0.6s var(--spring) 0.35s backwards;
}

@keyframes notch-wings {
  from {
    width: var(--nw);
  }
}

.notch--static .notch-shape {
  width: var(--nw);
  animation: none;
}

.notch-wing {
  position: absolute;
  top: 0;
  display: grid;
  align-items: center;
  width: var(--wing);
  height: var(--bar-h);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.18s ease;
  animation: fade-in 0.3s ease 0.7s backwards;
}

.notch-wing > * {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  transition:
    opacity 0.2s ease,
    transform 0.3s var(--spring);
}

.notch-wing-l {
  left: 0;
  padding-left: 14px;
}

.notch-wing-r {
  right: 0;
  padding-right: 14px;
}

.notch-wing-r > * {
  justify-content: flex-end;
}

.wing-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.wing-count {
  font-variant-numeric: tabular-nums;
  color: var(--ev, #b7a6ff);
}

.wing-count.is-now {
  color: #30d158;
}

.notch-wing .ic {
  width: 12px;
  height: 12px;
}

.wing-video {
  opacity: 0.85;
}

.dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, #8b74ff);
}

.wing-flash {
  opacity: 0;
  transform: scale(0.85);
}

.notch.is-flash .wing-event {
  opacity: 0;
  transform: scale(0.9);
}

.notch.is-flash .wing-flash {
  opacity: 1;
  transform: none;
}

.wing-flash .ok {
  color: #30d158;
}

.wing-flash .kind {
  color: var(--tint, #fff);
}

.notch-trigger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: var(--bar-h);
  padding: 0;
  border: 0;
  border-radius: 0 0 var(--rb) var(--rb);
  background: transparent;
  cursor: pointer;
}

.notch-trigger:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -4px;
  border-radius: 0 0 calc(var(--rb) - 2px) calc(var(--rb) - 2px);
}

/* Open state (JS adds .is-open; without JS, hover and keyboard focus open it). */
.notch.is-open,
.no-js .notch:not(.notch--static):hover,
.no-js .notch:not(.notch--static):focus-within {
  --r: 14px;
  --rb: 28px;
}

.notch.is-open .notch-shape,
.no-js .notch:not(.notch--static):hover .notch-shape,
.no-js .notch:not(.notch--static):focus-within .notch-shape {
  width: var(--pw);
  height: var(--ph);
  box-shadow: 0 28px 70px -18px rgba(0, 0, 0, 0.75);
}

.notch.is-open .notch-wing,
.no-js .notch:hover .notch-wing,
.no-js .notch:focus-within .notch-wing {
  opacity: 0;
}

.notch.is-open .notch-trigger,
.no-js .notch:hover .notch-trigger,
.no-js .notch:focus-within .notch-trigger {
  left: 50%;
  width: var(--nw);
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
}

/* ── Expanded panel ── */
.notch-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 0 var(--r) 12px;
  font: 400 12px/1.35 var(--font);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.1s ease,
    visibility 0s linear 0.1s;
}

.notch.is-open .notch-panel,
.no-js .notch:hover .notch-panel,
.no-js .notch:focus-within .notch-panel {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.22s ease 0.1s,
    visibility 0s;
}

.np-bar {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--nw) minmax(0, 1fr);
  align-items: center;
  height: var(--bar-h);
}

.np-tabs {
  display: flex;
  gap: 4px;
  min-width: 0;
  padding-left: 6px;
}

.np-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 3px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: 500 12px/1.25 var(--font);
  white-space: nowrap;
  cursor: pointer;
}

.np-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-tab:hover {
  color: #fff;
}

.np-tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.np-tab .ic {
  width: 13px;
  height: 13px;
}

.np-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  padding-right: 8px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.np-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.np-iconbtn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.np-iconbtn .ic {
  width: 14px;
  height: 14px;
}

.np-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.np-pane[hidden] {
  display: none;
}

.np-chips {
  flex: none;
  display: flex;
  gap: 5px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.np-chips::-webkit-scrollbar {
  display: none;
}

.np-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font: 400 11px/1.2 var(--font);
  cursor: pointer;
}

.np-chip:hover {
  background: rgba(255, 255, 255, 0.13);
}

.np-chip[aria-pressed="true"] {
  background: rgba(123, 97, 255, 0.42);
  color: #fff;
  font-weight: 600;
}

.np-chip .ic {
  width: 11px;
  height: 11px;
}

.np-chip .dot {
  width: 6px;
  height: 6px;
}

.np-split {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.np-list,
.np-detail {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.np-list {
  padding: 0 6px 6px 0;
}

.np-day {
  padding: 10px 8px 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.np-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font: 400 12px/1.3 var(--font);
  text-align: left;
  cursor: pointer;
}

.np-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.np-row.is-sel {
  background: rgba(255, 255, 255, 0.12);
  background: color-mix(in srgb, var(--c) 28%, transparent);
  font-weight: 600;
}

.np-time {
  flex: none;
  width: 60px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 400;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.np-cbar {
  flex: none;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--c);
}

.np-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.np-row .ic {
  width: 11px;
  height: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.np-live {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30d158;
}

.np-detail {
  padding: 12px 16px 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* Event detail (mirrors EventDetailView.swift) */
.ev {
  display: grid;
  gap: 12px;
}

.ev-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ev-bar {
  flex: none;
  width: 4px;
  height: 40px;
  border-radius: 2px;
  background: var(--c);
}

.ev-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.ev-when {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
}

.ev-badge {
  flex: none;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  background: color-mix(in srgb, var(--c) 32%, transparent);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ev-badge.is-now {
  background: rgba(48, 209, 88, 0.22);
  color: #30d158;
}

.ev-join {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ev-joinbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: #3a2a8f;
  background: color-mix(in srgb, var(--c) 62%, #000);
  color: #fff;
  font: 600 12px/1.2 var(--font);
  cursor: pointer;
}

.ev-joinbtn:hover {
  filter: brightness(1.15);
}

.ev-joinbtn .ic {
  width: 13px;
  height: 13px;
}

.ev-round {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.ev-round:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ev-round .ic {
  width: 13px;
  height: 13px;
}

.ev-info {
  display: grid;
  gap: 7px;
  list-style: none;
}

.ev-info li,
.ev-info button {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.ev-info button {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.ev-info button:hover span {
  text-decoration: underline;
}

.ev-info .ic {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.55);
}

.ev-sec-title {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ev-guests {
  display: grid;
  gap: 4px;
  list-style: none;
  font-size: 11px;
}

.ev-guests li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ev-guests .ic {
  width: 11px;
  height: 11px;
}

.ev-guests small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9.5px;
}

.st-yes {
  color: #30d158;
}

.st-no {
  color: #ff453a;
}

.st-maybe {
  color: #ff9f0a;
}

.st-none {
  color: rgba(255, 255, 255, 0.5);
}

.ev-info .st-yes,
.ev-guests .st-yes {
  color: #30d158;
}

.ev-info .st-no,
.ev-guests .st-no {
  color: #ff453a;
}

.ev-info .st-maybe,
.ev-guests .st-maybe {
  color: #ff9f0a;
}

.ev-notes {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  white-space: pre-line;
}

.ev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 2px;
}

.ev-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font: 500 11px/1.2 var(--font);
  cursor: pointer;
}

.ev-actions button:hover {
  color: #fff;
}

.ev-actions .ic {
  width: 12px;
  height: 12px;
}

/* Clipboard shelf */
.np-tools {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 6px 10px;
}

.np-search {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 170px;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.np-search:focus-within {
  box-shadow: 0 0 0 2px var(--focus);
}

.np-search .ic {
  width: 12px;
  height: 12px;
}

.np-search input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 400 12px/1 var(--font);
}

.np-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.np-search input::-webkit-search-cancel-button {
  filter: invert(1);
}

.np-tools .np-chips {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.np-cards {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 10px;
  padding: 0 6px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.np-cards[hidden] {
  display: none;
}

.np-hint {
  flex: none;
  padding: 8px 6px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.np-empty {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.np-empty[hidden] {
  display: none;
}

.np-empty .ic {
  width: 26px;
  height: 26px;
}

.np-toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(40, 36, 58, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

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

/* Clip card (shared by the live demo and the static mocks) */
.clip {
  --tint: #aeaeb2;
  flex: none;
  display: flex;
  flex-direction: column;
  width: 158px;
  height: 100%;
  max-height: 236px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  font: 400 11px/1.35 var(--font);
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.clip:hover {
  background: rgba(255, 255, 255, 0.115);
}

.clip.is-fresh {
  box-shadow: inset 0 0 0 1.5px rgba(48, 209, 88, 0.75);
}

.clip-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  font-size: 10px;
}

.clip-app {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--app, #555);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
}

.clip-app .ic {
  width: 9px;
  height: 9px;
  stroke-width: 2.4;
}

.clip-kind {
  color: var(--tint);
  font-weight: 600;
}

.clip-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9.5px;
  white-space: nowrap;
}

.clip-meta .ic {
  width: 9px;
  height: 9px;
}

.clip-meta .pin {
  color: #ffd60a;
}

.clip-meta .bell {
  color: #ff9f0a;
}

.clip-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.clip-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 8px;
}

.clip-foot .ic {
  width: 10px;
  height: 10px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
}

.clip-cat {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.28);
  background: color-mix(in srgb, var(--cat, #0a84ff) 32%, transparent);
  font-size: 9px;
  font-weight: 500;
}

.cb-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  padding: 2px 10px 0;
  overflow: hidden;
  font-size: 11.5px;
  overflow-wrap: anywhere;
}

.cb-link {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
}

.cb-link .ic {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  color: var(--tint);
}

.cb-link b {
  font-size: 13px;
  font-weight: 600;
}

.cb-link span {
  color: rgba(255, 255, 255, 0.6);
}

.cb-code {
  display: block;
  height: 100%;
  margin: 0 6px;
  padding: 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: #e6dcff;
  font: 400 10px/1.45 var(--font-mono);
  white-space: pre-wrap;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.cb-color {
  position: absolute;
  inset: 0 6px 0;
  border-radius: 8px;
  background: var(--swatch);
}

.cb-color span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font: 600 11px/1 var(--font-mono);
}

.cb-image,
.cb-shot {
  position: absolute;
  inset: 0 6px 0;
  overflow: hidden;
  border-radius: 8px;
}

.cb-image {
  background:
    radial-gradient(circle at 70% 34%, #ffe8a3 0 9%, transparent 10%),
    linear-gradient(180deg, #ff9a62 0%, #f2617a 42%, #6b3fa8 70%);
}

.cb-image::before,
.cb-image::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 46%;
  background: #2a1a5e;
  clip-path: polygon(0 60%, 18% 28%, 34% 52%, 55% 12%, 72% 44%, 88% 26%, 100% 48%, 100% 100%, 0 100%);
}

.cb-image::after {
  height: 30%;
  background: #170f3a;
  clip-path: polygon(0 40%, 22% 70%, 46% 30%, 66% 60%, 84% 36%, 100% 58%, 100% 100%, 0 100%);
}

.cb-shot {
  padding: 10px 8px;
  background: #f4f2fa;
  color: #1b1830;
}

.cb-shot b {
  display: block;
  margin-bottom: 8px;
  font-size: 10.5px;
}

.cb-shot i {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 14px;
  font-style: normal;
  font-size: 8.5px;
  color: #4d4870;
}

.cb-shot i::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.5px solid #8b74ff;
}

.cb-shot i.done::before {
  background: #8b74ff;
}

.cb-file {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  height: 100%;
  padding: 8px;
  text-align: center;
  overflow-wrap: anywhere;
}

.cb-file .doc {
  position: relative;
  width: 40px;
  height: 50px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff, #e9e6f5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.cb-file .doc::after {
  content: "PDF";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 6px;
  padding: 1px 0;
  border-radius: 2px;
  background: #ff453a;
  color: #fff;
  font: 700 7.5px/1.2 var(--font);
  text-align: center;
}

.cb-file b {
  font-size: 11px;
  font-weight: 500;
}

.cb-multi {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 6px 10px;
  list-style: none;
}

.cb-multi li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.cb-multi li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cb-multi .ic {
  width: 12px;
  height: 12px;
}

/* ── Notch: responsive sizes ── */
@media (max-width: 1100px) {
  .notch {
    --wing: 126px;
  }
}

@media (max-width: 760px) {
  .notch {
    --nw: 150px;
    --wing: 84px;
  }

  .wing-title {
    display: none;
  }
}

@media (max-width: 640px) {
  .notch {
    --nw: 112px;
    --wing: 56px;
    --ph: min(620px, calc(100dvh - 40px));
  }

  .notch-wing-l {
    padding-left: 16px;
  }

  .notch-wing-r {
    padding-right: 10px;
  }

  .wing-video,
  .wing-flash .kind,
  .wing-flash-label {
    display: none;
  }

  .np-tab span,
  .np-count {
    display: none;
  }

  .np-tab {
    padding: 4px 8px;
  }

  .np-split {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(110px, 38%) minmax(0, 1fr);
  }

  .np-list {
    padding-right: 0;
  }

  .np-detail {
    padding: 12px 6px 6px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .np-tools {
    flex-wrap: wrap;
  }

  .np-search {
    width: 100%;
    height: 32px;
  }

  .np-search input {
    font-size: 16px; /* stops iOS zooming into the field */
  }

  .np-tools .np-chips {
    flex-basis: 100%;
  }

  /* Phones: the tall panel fills with a scrollable two-column grid instead of one short row. */
  .np-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    align-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: none;
  }

  .np-cards .clip {
    width: auto;
    height: auto;
    max-height: none;
  }
}

@media (max-width: 400px) {
  .notch {
    --nw: 100px;
    --wing: 50px;
  }
}

@media (max-height: 520px) and (min-width: 641px) {
  .notch {
    --ph: calc(100vh - 24px);
  }
}

/* Pull-cord hint hanging from the notch */
.cord {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 500;
  pointer-events: none;
}

.cord::before {
  content: "";
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--line-strong), var(--text-3));
}

.cord > span {
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  animation: fade-in 0.4s ease 1.1s backwards;
}

.cord::before {
  animation: cord-drop 0.45s var(--ease-out) 0.95s backwards;
  transform-origin: top;
}

@keyframes cord-drop {
  from {
    transform: scaleY(0);
  }
}

.hint-touch {
  display: none;
}

@media (hover: none) {
  .hint-hover {
    display: none;
  }

  .hint-touch {
    display: inline;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* ───────────────────────── Hero ───────────────────────── */
/* Drenched in the brand violet behind the words, fading into the page behind the MacBook. */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 11vh, 120px)) 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(
    180deg,
    oklch(0.36 0.17 283) 0%,
    oklch(0.46 0.21 289) 38%,
    oklch(0.58 0.19 300) 58%,
    oklch(0.8 0.09 305) 76%,
    var(--bg) 92%
  );
  color: oklch(0.99 0.003 var(--hue));
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .hero {
    background: linear-gradient(
      180deg,
      oklch(0.28 0.14 283) 0%,
      oklch(0.36 0.18 289) 40%,
      oklch(0.34 0.14 300) 62%,
      var(--bg) 90%
    );
  }
}

.hero-grid {
  display: grid;
  justify-items: center;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 1.1rem + 5.4vw, 5.9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.047em;
}

.hero-side {
  display: grid;
  justify-items: center;
}

.hero-sub {
  max-width: 36em;
  margin-top: 26px;
  color: oklch(0.99 0.003 var(--hue) / 0.86);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.hero .cta-row {
  margin-top: 32px;
}

.hero-meta {
  margin-top: 20px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-wrap: pretty;
}

.hero .hero-meta {
  color: oklch(0.99 0.003 var(--hue) / 0.82);
}

.hero .hero-meta a {
  color: inherit;
}

.hero-trial {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 0.875rem;
}

.hero .hero-trial {
  color: oklch(0.99 0.003 var(--hue) / 0.72);
}

.hero .send-note {
  color: oklch(0.99 0.003 var(--hue) / 0.86);
}

@media (max-width: 480px) {
  .cta-row .btn {
    width: 100%;
  }
}

/* The product, big: a MacBook display with the notch opened into the agenda. */
.stage {
  --z: 1; /* the notch is drawn at its real size and zoomed down on small screens */
  margin-top: clamp(48px, 7vw, 96px);
}

.stage-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10; /* a MacBook display, not a letterbox */
  border: clamp(6px, 0.9vw, 12px) solid oklch(0.16 0.006 var(--hue));
  border-bottom-width: 0;
  border-radius: clamp(16px, 2.2vw, 28px) clamp(16px, 2.2vw, 28px) 0 0;
  background: var(--wallpaper);
  color: #fff;
  container-type: inline-size;
}

/* the aluminium edge under the display */
.stage-base {
  display: block;
  height: clamp(10px, 1.3vw, 16px);
  margin-inline: -2.5%;
  border-radius: 0 0 14px 14px / 0 0 100% 100%;
  background: linear-gradient(180deg, oklch(0.62 0.006 var(--hue)), oklch(0.44 0.006 var(--hue)));
}

@media (prefers-color-scheme: light) {
  .stage-base {
    background: linear-gradient(180deg, oklch(0.9 0.004 var(--hue)), oklch(0.76 0.006 var(--hue)));
  }
}

/* Like macOS, the menus sit left of the notch and the status items right of it, never underneath. */
.scr-bar.stage-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(464px * var(--z)) minmax(0, 1fr);
  gap: 0;
  height: calc(var(--bar-h) * var(--z));
  padding-inline: calc(14px * var(--z));
  background: oklch(0.18 0.05 285 / 0.35);
  font-size: calc(12px * var(--z));
}

.scr-bar.stage-bar > .scr-menus {
  grid-column: 1;
  padding-right: calc(10px * var(--z));
}

.scr-bar.stage-bar > .scr-status {
  grid-column: 3;
  min-width: 0;
  overflow: hidden;
  padding-left: calc(10px * var(--z));
}

.scr-bar.stage-bar .scr-menus {
  gap: calc(14px * var(--z));
}

.stage-apple {
  width: calc(13px * var(--z));
  height: calc(13px * var(--z));
  margin-right: calc(4px * var(--z));
}

/* The live demo notch hangs from the top edge of the display, drawn at real size and zoomed with the stage */
.stage .notch {
  --pw: 720px;
  zoom: var(--z);
}

.stage-caption {
  display: flex;
  min-height: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 0.9375rem;
  text-align: center;
}

@media (max-width: 900px) {
  .stage {
    --z: 0.82;
  }
}

@media (max-width: 680px) {
  .stage {
    --z: 0.6;
  }

  .stage-bar .scr-menus span {
    display: none;
  }
}

@media (max-width: 460px) {
  .stage {
    --z: 0.46;
  }

  .stage-notch .np-split {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

/* ───────────────────────── Sections ───────────────────────── */
.section {
  padding-block: var(--section-pad);
}

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

.section-head {
  max-width: 44rem;
}

.section h2 {
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.35rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
}

/* List sections: heading on the left, the lead on the right, for a different rhythm from the feature sections */
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(28px, 5vw, 72px);
  max-width: none;
}

.section-head--split > .tier,
.section-head--split > h2 {
  grid-column: 1;
}

.section-head--split > .tier {
  justify-self: start;
}

.section-head--split > .lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-top: 0;
  font-size: 1.0625rem;
}

@media (max-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head--split > .lead {
    grid-column: 1;
    grid-row: auto;
    margin-top: 18px;
  }
}

.lead {
  max-width: 36em;
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.tier {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.tier .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.tier-free {
  color: var(--live-text);
}

.tier-pro {
  color: var(--link);
}

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

.feature--flip .feature-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature--flip .feature-copy {
  order: 2;
}

@media (min-width: 961px) {
  .feature-grid {
    align-items: start;
  }

  .feature-visual {
    position: sticky;
    top: calc(var(--nav-h) + 48px);
  }
}

.points {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.points dt {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.points dd {
  margin-top: 4px;
  color: var(--text-2);
  text-wrap: pretty;
}

.try {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 26px;
  color: var(--text-3);
  font-size: 0.9375rem;
}

.feature-visual {
  min-width: 0;
}

.visual-caption {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 960px) {
  .feature-grid,
  .feature--flip .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--flip .feature-copy {
    order: 0;
  }
}

/* ───────────────────────── Screen slices (feature visuals) ───────────────────────── */
.screen {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--wallpaper);
  box-shadow:
    0 0 0 1px var(--line),
    0 40px 80px -48px oklch(0.15 0.05 var(--hue) / 0.8);
  container-type: inline-size;
  color: #fff;
}

@media (max-width: 960px) {
  .screen {
    min-height: 0;
  }
}

/* The meeting alert slice is shorter than the others, so it sizes to its content */
.screen--alert {
  min-height: 0;
  padding-bottom: 28px;
}

.scr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 28px;
  padding: 0 14px;
  background: rgba(12, 8, 36, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.scr-menus {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.scr-menus b {
  font-weight: 700;
}

.scr-status {
  display: flex;
  align-items: center;
  gap: 2px;
}

.scr-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}

.scr-item.is-active {
  background: rgba(255, 255, 255, 0.24);
}

.scr-item b {
  font-weight: 600;
  color: #d9d0ff;
}

@container (max-width: 520px) {
  .scr-menus span,
  .scr-clock {
    display: none;
  }
}

/* App-window tokens. These follow the system appearance, like the app's own windows. */
.mock {
  --m-bg: #221d3a;
  --m-bg-2: #2b2548;
  --m-side: #1c1832;
  --m-text: #f3f1fb;
  --m-text-2: rgba(243, 241, 251, 0.62);
  --m-fill: rgba(255, 255, 255, 0.07);
  --m-line: rgba(255, 255, 255, 0.09);
  --m-sel: rgba(123, 97, 255, 0.4);
  color: var(--m-text);
  font: 400 12px/1.35 var(--font);
  text-align: left;
}

@media (prefers-color-scheme: light) {
  .mock {
    --m-bg: #ffffff;
    --m-bg-2: #f4f2fa;
    --m-side: #f1eff8;
    --m-text: #1b1830;
    --m-text-2: rgba(27, 24, 48, 0.62);
    --m-fill: rgba(20, 10, 60, 0.06);
    --m-line: rgba(20, 10, 60, 0.1);
    --m-sel: rgba(91, 61, 245, 0.18);
  }
}

/* Menu bar dropdown */
.mm-pop {
  width: min(390px, 100% - 24px);
  margin: 6px 12px 28px auto;
  padding: 10px;
  border-radius: 12px;
  background: var(--m-bg);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.3),
    0 24px 50px -12px rgba(0, 0, 0, 0.55);
}

.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
}

.mm-head b {
  font-size: 13px;
}

.mm-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 7px;
  background: var(--m-fill);
}

.mm-seg span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--m-text-2);
  font-size: 11px;
}

.mm-seg .on {
  background: var(--m-bg-2);
  color: var(--m-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mm-seg .ic {
  width: 11px;
  height: 11px;
}

.mm-tabs {
  display: flex;
  gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--m-line);
  overflow: hidden;
}

.mm-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--m-text-2);
  font-size: 11px;
}

.mm-tabs .on {
  background: var(--m-sel);
  color: var(--m-text);
  font-weight: 600;
}

.mm-tabs b {
  font-weight: 500;
  opacity: 0.7;
}

.mm-day {
  padding: 9px 6px 3px;
  color: var(--m-text-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-ev {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 7px;
}

.mm-ev.is-next {
  background: var(--m-fill);
}

.mm-time {
  flex: none;
  width: 58px;
  color: var(--m-text-2);
  font-size: 11px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mm-cbar {
  flex: none;
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: var(--c);
}

.mm-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mm-title small {
  display: block;
  overflow: hidden;
  color: var(--m-text-2);
  font-size: 10.5px;
  font-weight: 400;
  text-overflow: ellipsis;
}

.mm-badge {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.28);
  background: color-mix(in srgb, var(--c) 26%, transparent);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mm-join {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: #3a2a8f;
  background: color-mix(in srgb, var(--c) 62%, #000);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
}

.mm-join .ic {
  width: 11px;
  height: 11px;
}

.mm-foot {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  padding: 8px 6px 0;
  border-top: 1px solid var(--m-line);
  color: var(--m-text-2);
  font-size: 11px;
}

.mm-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mm-foot .ic {
  width: 12px;
  height: 12px;
}

@container (max-width: 400px) {
  .mm-badge {
    display: none;
  }
}

.per-account {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 4px 6px;
  border-radius: 9px;
  background: #120c2e;
  box-shadow: 0 0 0 1px var(--line);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.per-account span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}

.per-account b {
  color: #d9d0ff;
  font-weight: 600;
}

/* Shelf slice: a notch hanging from the slice's own menu bar */
.mini-notch {
  position: relative;
  width: min(560px, 100% - 24px);
  margin: -28px auto 0;
  padding: 0 12px 12px;
  border-radius: 0 0 26px 26px;
  background: #000;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.7);
  color: #fff;
  font: 400 12px/1.35 var(--font);
  text-align: left;
}

.mini-notch::before,
.mini-notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
}

.mini-notch::before {
  right: 100%;
  background: radial-gradient(circle at 0 100%, transparent 13.4px, #000 14px);
}

.mini-notch::after {
  left: 100%;
  background: radial-gradient(circle at 100% 100%, transparent 13.4px, #000 14px);
}

.mn-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: center;
  height: 32px;
}

.mn-bar .np-meta {
  padding-right: 4px;
}

.mn-tabs {
  display: flex;
  gap: 4px;
  min-width: 0;
}

.mn-tabs > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 500;
  white-space: nowrap;
}

.mn-tabs .on {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mn-tabs .ic {
  width: 13px;
  height: 13px;
}

.mn-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 10px;
  overflow: hidden;
}

.mn-tools .np-search {
  width: 150px;
}

.mn-tools .np-chips {
  padding: 0;
  overflow: hidden;
}

.mn-tools .np-chip {
  cursor: default;
}

.mn-cards {
  position: relative;
  display: flex;
  gap: 10px;
  height: 214px;
  overflow: hidden;
}

.mn-cards .clip {
  cursor: default;
}

.drop-zone {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border-radius: 14px;
  border: 2px dashed #8b74ff;
  background: rgba(34, 22, 92, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 13px;
  font-weight: 600;
}

.drop-zone .ic {
  width: 22px;
  height: 22px;
}

.drag-ghost {
  position: absolute;
  right: 10%;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.5);
  color: #1b1830;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(-4deg);
}

.drag-ghost .doc-mini {
  width: 18px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(#fff, #e6e2f3);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.drag-ghost svg.cursor {
  position: absolute;
  right: -12px;
  bottom: -16px;
  width: 22px;
  height: 22px;
}

.flash-demo {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.flash-pill {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  align-items: center;
  width: 300px;
  max-width: 100%;
  height: 32px;
  padding: 0 12px;
  border-radius: 0 0 12px 12px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.flash-pill > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flash-pill > span:last-child {
  justify-content: flex-end;
}

.flash-pill .ic {
  width: 13px;
  height: 13px;
}

@container (max-width: 480px) {
  .drop-zone {
    width: 60%;
  }

  .mn-tab-label {
    display: none;
  }

  .mn-tools .np-chips {
    display: none;
  }

  .mn-tools .np-search {
    width: 100%;
  }
}

/* Quick Paste slice */
.qp {
  width: min(560px, 100% - 32px);
  margin: 36px auto 40px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--m-bg);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.35),
    0 30px 60px -16px rgba(0, 0, 0, 0.6);
}

.qp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--m-line);
  font-size: 18px;
}

.qp-search > .ic {
  width: 18px;
  height: 18px;
  color: var(--m-text-2);
}

.qp-q {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 22px;
  margin-left: 1px;
  background: #8b74ff;
  animation: blink 1.1s steps(1) infinite;
}

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

.qp-filter {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--m-fill);
  color: var(--m-text-2);
  font-size: 11px;
}

.qp-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  min-height: 236px;
}

.qp-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 2px;
  padding: 8px;
  list-style: none;
}

.qp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
}

.qp-list li.on {
  background: var(--m-sel);
}

.qp-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  background: color-mix(in srgb, var(--tint) 22%, transparent);
  color: var(--tint);
}

.qp-ico .ic {
  width: 15px;
  height: 15px;
}

.qp-t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.qp-t small {
  display: block;
  overflow: hidden;
  color: var(--m-text-2);
  font-size: 10.5px;
  font-weight: 400;
  text-overflow: ellipsis;
}

.qp-list kbd,
.qp-hints kbd {
  min-width: 0;
  height: auto;
  padding: 2px 5px;
  border: 0;
  border-radius: 5px;
  background: var(--m-fill);
  color: var(--m-text-2);
  font-size: 10px;
  font-weight: 600;
}

.qp-preview {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  border-left: 1px solid var(--m-line);
  background: var(--m-bg-2);
  text-align: center;
}

.qp-preview .doc-big {
  position: relative;
  width: 64px;
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff, #e9e6f5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.qp-preview .doc-big::after {
  content: "PDF";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  border-radius: 3px;
  background: #ff453a;
  color: #fff;
  font: 700 10px/1.5 var(--font);
}

.qp-preview b {
  font-size: 12.5px;
}

.qp-preview span {
  color: var(--m-text-2);
  font-size: 11px;
}

.qp-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 14px;
  border-top: 1px solid var(--m-line);
  color: var(--m-text-2);
  font-size: 11px;
}

.qp-hints span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@container (max-width: 520px) {
  .qp-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .qp-preview {
    display: none;
  }
}

/* Library slice */
.screen--window {
  padding: 30px 22px 34px;
}

.lib {
  overflow: hidden;
  border-radius: 12px;
  background: var(--m-bg);
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.35),
    0 30px 60px -16px rgba(0, 0, 0, 0.6);
}

.lib-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--m-line);
}

.lights {
  display: flex;
  gap: 6px;
}

.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;
}

.lib-title {
  font-size: 12.5px;
  font-weight: 600;
}

.lib-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  width: 170px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--m-fill);
  color: var(--m-text-2);
  font-size: 11px;
}

.lib-search .ic {
  width: 12px;
  height: 12px;
}

.lib-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 190px;
  min-height: 330px;
}

.lib-side {
  padding: 8px 6px;
  background: var(--m-side);
  border-right: 1px solid var(--m-line);
  font-size: 11.5px;
}

.lib-h {
  padding: 8px 8px 3px;
  color: var(--m-text-2);
  font-size: 10px;
  font-weight: 700;
}

.lib-side span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 8px;
  border-radius: 6px;
}

.lib-side span.on {
  background: var(--m-sel);
  font-weight: 600;
}

.lib-side span b {
  margin-left: auto;
  color: var(--m-text-2);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.lib-side .ic {
  width: 12px;
  height: 12px;
  color: #8b74ff;
}

.lib-side .dot {
  width: 8px;
  height: 8px;
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.lib-grid .clip {
  width: auto;
  height: 132px;
  background: var(--m-fill);
  color: var(--m-text);
  cursor: default;
}

.lib-grid .clip .clip-meta {
  color: var(--m-text-2);
}

.lib-grid .clip.is-sel {
  box-shadow: inset 0 0 0 2px #8b74ff;
}

.lib-grid .cb-text {
  -webkit-line-clamp: 5;
}

.lib-grid .cb-code {
  color: var(--m-text);
  background: var(--m-fill);
}

.lib-insp {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border-left: 1px solid var(--m-line);
  font-size: 11px;
}

.pass {
  padding: 10px;
  border-radius: 8px;
  background: #f4f2fa;
  color: #1b1830;
  box-shadow: 0 0 0 1px var(--m-line);
}

.pass b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.pass .route {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 18px;
  font-weight: 700;
}

.pass .route span {
  color: #8b74ff;
  font-size: 12px;
  align-self: center;
}

.pass .row {
  display: flex;
  justify-content: space-between;
  color: #4d4870;
  font-size: 9px;
}

.ocr {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: var(--m-fill);
}

.ocr p {
  color: var(--m-text-2);
  font-size: 10.5px;
}

.ocr .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-weight: 600;
}

.ocr .row .ic {
  width: 12px;
  height: 12px;
  color: #8b74ff;
}

.mini-btn {
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--m-bg-2);
  box-shadow: 0 0 0 0.5px var(--m-line);
  font-size: 10.5px;
  font-weight: 500;
}

.meta-rows {
  display: grid;
  gap: 4px;
  color: var(--m-text-2);
}

.meta-rows span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.meta-rows span b {
  color: var(--m-text);
  font-weight: 500;
  text-align: right;
}

.insp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.insp-chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.28);
  background: color-mix(in srgb, var(--cat) 25%, transparent);
  font-size: 10px;
  font-weight: 500;
}

.insp-chips .ic {
  width: 10px;
  height: 10px;
  color: #ff9f0a;
}

@container (max-width: 700px) {
  .lib-body {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .lib-side {
    display: none;
  }
}

@container (max-width: 470px) {
  .screen--window {
    padding: 22px 12px 26px;
  }

  .lib-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .lib-grid {
    display: none;
  }

  .lib-insp {
    border-left: 0;
  }

  .lib-search {
    display: none;
  }
}

/* ───────────────────────── Privacy ───────────────────────── */
.privacy {
  background: var(--bg-deep);
}

.ledger {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
}

.ledger-col {
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 56px) 0 0;
}

.ledger-col + .ledger-col {
  padding-right: 0;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line);
}

.ledger-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.ledger-col h3 .ic {
  width: 22px;
  height: 22px;
  color: var(--link);
}

.ledger-col h3 + * {
  margin-top: 16px;
}

.ledger-col h3:not(:first-child) {
  margin-top: 34px;
}

.ledger-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.ledger-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
}

.ledger-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.ledger-list strong {
  color: var(--text);
  font-weight: 600;
}

.ledger-note {
  margin-top: 22px;
  color: var(--text-2);
}

.ledger-out > a {
  font-weight: 600;
}

.ledger-out > p {
  color: var(--text-2);
}

.net {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
  list-style: none;
}

.net {
  gap: 0;
}

.net li {
  display: grid;
  gap: 4px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.net strong {
  color: var(--text);
  font-weight: 600;
}

.host {
  justify-self: start;
  color: var(--text-3);
  font: 500 0.8125rem/1.5 var(--font-mono);
  overflow-wrap: anywhere;
}

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

  .ledger-col,
  .ledger-col + .ledger-col {
    padding: 28px 0 0;
    border-left: 0;
  }

  .ledger-col + .ledger-col {
    margin-top: 32px;
    border-top: 1px solid var(--line);
  }
}

/* ───────────────────────── Shortcuts ───────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

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

.keys-table {
  width: 100%;
  border-collapse: collapse;
}

.keys-table th,
.keys-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.keys-table tbody th[scope="rowgroup"] {
  padding-top: 30px;
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 600;
}

.keys-table tbody:first-of-type th[scope="rowgroup"] {
  padding-top: 0;
}

.keys-table th[scope="row"] {
  width: 36%;
  padding-right: 16px;
  font-weight: inherit;
}

.keys-table td kbd {
  font-size: 0.75rem;
}

.keys-table td:last-child {
  color: var(--text-2);
}

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

.table-note {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 0.9375rem;
}

/* ───────────────────────── One app instead of three (the overview under the hero) ───────────────────────── */
.overview {
  padding-top: clamp(40px, 5vw, 72px);
}

.overview .section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 18px clamp(28px, 5vw, 72px);
  align-items: end;
  max-width: none;
}

.overview .lead {
  margin-top: 0;
}

.merge {
  margin-top: clamp(36px, 5vw, 56px);
}

.merge-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.merge-col {
  padding: 24px clamp(20px, 3vw, 40px) 8px;
}

.merge-col:first-child {
  padding-left: 0;
}

.merge-col + .merge-col {
  border-left: 1px solid var(--line);
}

.merge-col h3 {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.merge-col h3 a {
  color: var(--text);
  text-decoration: none;
}

.merge-col h3 a:hover {
  color: var(--link);
  text-decoration: underline;
}

.merge-col ul {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  list-style: none;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.merge-col li {
  display: flex;
  gap: 10px;
}

.merge-col li .ic {
  width: 17px;
  height: 17px;
  margin-top: 0.2em;
  color: var(--live-text);
  stroke-width: 2.2;
}

.merge-result {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.merge-result img {
  width: 30px;
  height: 30px;
}

.merge-result p {
  font-size: 1.0625rem;
  font-weight: 500;
}

.merge-result strong {
  font-weight: 700;
}

@media (max-width: 900px) {
  .overview .section-head,
  .merge-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .merge-col,
  .merge-col:first-child {
    padding: 22px 0 8px;
  }

  .merge-col + .merge-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ───────────────────────── Pricing ───────────────────────── */
.pricing .section-head {
  margin-inline: auto;
  text-align: center;
}

.pricing .lead {
  margin-inline: auto;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
}

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

.plan-pro {
  background: var(--surface-2);
  box-shadow: inset 0 3px 0 var(--accent);
}

.plan h3 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.plan h3 span {
  color: var(--text-3);
  font-weight: 500;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
}

.amount {
  font-family: var(--font-round);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.per {
  color: var(--text-3);
  font-weight: 500;
}

.plan-note {
  margin-top: 10px;
  color: var(--text-2);
}

.plan ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 30px;
  list-style: none;
}

.plan li {
  display: flex;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.96875rem;
}

.plan li .ic {
  width: 17px;
  height: 17px;
  margin-top: 0.2em;
  color: var(--live-text);
  stroke-width: 2.2;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.fine {
  max-width: 46em;
  margin: 26px auto 0;
  color: var(--text-3);
  font-size: 0.9375rem;
  text-align: center;
  text-wrap: pretty;
}

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

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

/* ───────────────────────── FAQ ───────────────────────── */
.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary .ic {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform 0.25s var(--ease-out);
}

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

.faq-list summary:hover .ic {
  color: var(--text);
}

.answer {
  display: grid;
  gap: 12px;
  max-width: 40em;
  padding: 0 2px 24px;
  color: var(--text-2);
}

.answer ol,
.answer ul {
  display: grid;
  gap: 6px;
  padding-left: 1.3em;
}

/* ───────────────────────── Closing call to action + footer ───────────────────────── */
.closing {
  padding-block: clamp(80px, 10vw, 130px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 640px 360px at 50% 100%, var(--glow), transparent 72%) no-repeat,
    var(--bg);
  text-align: center;
}

.closing img {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
}

.closing h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.038em;
}

.site-footer {
  padding: 48px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--text-3);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand p {
  max-width: 22em;
  margin-top: 12px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ───────────────────────── Document pages (privacy, terms, support, changelog) ───────────────────────── */
.doc {
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 9vw, 120px);
}

.doc-head {
  max-width: 44rem;
  padding-bottom: 36px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.doc-head h1 {
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.doc-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.125rem;
}

.doc-head .updated {
  color: var(--text-3);
  font-size: 0.9375rem;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 44rem);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  font-size: 0.9375rem;
}

.toc h2 {
  margin-bottom: 10px;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
}

.toc ol {
  display: grid;
  gap: 6px;
  list-style: none;
}

.toc a {
  color: var(--text-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
  }
}

.prose {
  max-width: 44rem;
  color: var(--text-2);
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 2.4em;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.8em;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.5em;
  padding-left: 1.3em;
}

.prose li::marker {
  color: var(--text-3);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96875rem;
}

.prose th,
.prose td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--text);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

/* On phones, the permission and shortcut tables become one block per row instead of squeezed columns */
@media (max-width: 600px) {
  .prose .table-scroll table,
  .prose .table-scroll tbody,
  .prose .table-scroll tr,
  .prose .table-scroll td,
  .prose .table-scroll th[scope="row"] {
    display: block;
    width: auto;
  }

  .prose .table-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .prose .table-scroll tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .prose .table-scroll td,
  .prose .table-scroll th[scope="row"] {
    padding: 2px 0;
    border: 0;
  }

  .prose .table-scroll tr > :first-child {
    color: var(--text);
    font-weight: 600;
  }

  .prose .table-scroll td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--text);
    font-weight: 600;
  }
}

.callout {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.callout strong:first-child {
  display: block;
  margin-bottom: 4px;
}

.todo {
  padding: 0.05em 0.35em;
  border-radius: 5px;
  background: #ffd60a;
  color: #1b1500;
  font-weight: 600;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0 !important;
}

.steps > li {
  position: relative;
  padding-left: 44px;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.05em;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fill-hover);
  color: var(--text);
  font-family: var(--font-round);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Changelog */
.release {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.release:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.release-version {
  font-family: var(--font-round);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.release-version small {
  display: block;
  margin-top: 10px;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
}

.release h2 {
  margin: 0;
  font-size: 1.375rem;
}

.release ul {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .release {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* 404 */
.lost {
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: 70vh;
  padding: 120px 0 80px;
  text-align: center;
}

.lost h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.lost p {
  max-width: 30em;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.125rem;
}

/* ───────────────────────── Feature extras ───────────────────────── */
/* "Make it yours" settings list under the calendar points */
.tweaks {
  margin-top: 30px;
  padding: 18px 20px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--fill);
}

.tweaks-title {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.tweaks ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  list-style: none;
}

.tweaks li {
  display: flex;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.tweaks li .ic {
  width: 16px;
  height: 16px;
  margin-top: 0.22em;
  color: var(--text-3);
}

/* Short caveat under a feature's points */
.note {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-3);
  font-size: 0.875rem;
}

.note .ic {
  width: 17px;
  height: 17px;
  margin-top: 0.2em;
  color: var(--link);
}

.try-keys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.try-keys kbd {
  font-size: 0.75rem;
}

@media (hover: none) {
  .try-keys {
    display: none;
  }
}

/* Feature lists: hairline-separated columns, no boxes */
.section--tight {
  padding-block: clamp(64px, 8vw, 112px);
}

.little {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 48px);
  list-style: none;
}

.little li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-content: start;
  column-gap: 12px;
  row-gap: 6px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.little li > .ic {
  grid-row: 1;
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
  color: var(--link);
}

.little li > strong {
  grid-column: 2;
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.little li > .tag {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
}

.little li > span:last-child {
  grid-column: 2 / -1;
  text-wrap: pretty;
}

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

@media (max-width: 560px) {
  .little {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* "More about …" disclosures that keep sections short */
.more {
  margin-top: 26px;
  border-block: 1px solid var(--line);
}

.more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--text);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.more > summary .ic {
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform 0.25s var(--ease-out);
}

.more[open] > summary .ic {
  transform: rotate(45deg);
}

.more > summary:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.more > .points {
  margin-top: 4px;
}

.more > .tweaks {
  margin-top: 26px;
}

.more--wide {
  max-width: 46rem;
  margin: clamp(40px, 5vw, 64px) auto 0;
  border-bottom: 1px solid var(--line);
}

.more--wide > .compare-wrap {
  margin-top: 8px;
  padding-bottom: 28px;
}

.more--flush {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

/* Free vs Pro, under the plan cards */
.compare-wrap {
  max-width: 46rem;
  margin: 44px auto 0;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96875rem;
}

.compare caption {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 650;
  text-align: left;
}

.compare caption span {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 0.9375rem;
  font-weight: 400;
}

.compare th,
.compare td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare thead th,
.compare tbody td {
  width: 22%;
  text-align: center;
}

.compare thead th {
  color: var(--text);
  font-weight: 650;
}

/* Keep the Free and Pro labels in view while the long table scrolls under the menu bar */
.compare thead th,
.compare thead td {
  position: sticky;
  top: var(--nav-h);
  z-index: 1;
  background: var(--bg);
}

.compare tbody th {
  padding-right: 16px;
  color: var(--text-2);
  font-weight: 500;
}

.compare tbody td {
  color: var(--text-2);
}

.compare td .ic {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--live-text);
  stroke-width: 2.2;
}

.cmp-no {
  color: var(--text-3);
}

/* "Send to my Mac" message, and the version line */
.send-note {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.send-note:empty {
  margin: 0;
}

.checksum .hash {
  display: block;
  margin-top: 6px;
  font-size: 0.8em;
  word-break: break-all;
}

/* Install steps shown after a download starts */
.install-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(5, 2, 20, 0.7);
}

.install-dialog::backdrop {
  background: rgba(8, 5, 24, 0.55);
}

.install-box {
  padding: clamp(22px, 4vw, 32px);
}

.install-dialog h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.install-dialog p {
  margin-top: 10px;
  color: var(--text-2);
}

.install-steps {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 1.3em;
  color: var(--text-2);
}

.install-steps strong {
  color: var(--text);
  font-weight: 600;
}

.install-why {
  font-size: 0.9375rem;
}

.install-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.install-actions .btn {
  min-height: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .install-dialog[open] {
    animation: dialog-in 0.22s var(--ease-out);
  }

  @keyframes dialog-in {
    from {
      opacity: 0;
      transform: translateY(8px) scale(0.98);
    }
  }
}

/* Quick Paste demo, once "Try it" makes the picture live */
.qp {
  position: relative;
}

.qp.is-active {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 6px rgba(139, 116, 255, 0.55),
    0 30px 60px -16px rgba(0, 0, 0, 0.6);
}

.qp-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--m-text);
  font: 400 18px/1.2 var(--font);
  caret-color: #8b74ff;
}

.qp-input::placeholder {
  color: var(--m-text-2);
}

.qp.is-live .qp-list {
  position: relative;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.qp.is-live .qp-list li[data-index] {
  cursor: pointer;
}

.qp.is-live .qp-list li[data-index]:not(.on):hover {
  background: var(--m-fill);
}

.qp-list .qp-pin {
  width: 13px;
  height: 13px;
  color: #ff9f0a;
}

.qp-list .qp-none {
  justify-content: center;
  padding: 24px 8px;
  color: var(--m-text-2);
}

.qp-toast {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(40, 36, 58, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

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

.qp-pv-text,
.qp-pv-code {
  max-width: 100%;
  max-height: 120px;
  margin: 0;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--m-fill);
  color: var(--m-text);
  font: 400 12px/1.4 var(--font);
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.qp-pv-code {
  font: 400 11px/1.45 var(--font-mono);
}

.qp-pv-swatch {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.qp-pv-tile {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  background: color-mix(in srgb, var(--tint) 22%, transparent);
  color: var(--tint);
}

.qp-pv-tile .ic {
  width: 30px;
  height: 30px;
}

.qp-preview .qp-pv-ocr {
  max-width: 100%;
  margin: 0;
  color: var(--m-text-2);
  font-size: 11px;
}

/* ───────────────────────── 1.3: feature groups, tags, meeting alert slice ───────────────────────── */
/* "New in 1.3" badge, beside the Free and Pro tier badges */
.tier-new {
  color: var(--new-text);
}

/* Small Free / Pro tag on a card, a feature point or a shortcut */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font: 600 0.75rem/1.4 var(--font);
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: 0.1em;
}

.tag-free {
  background: oklch(0.7 0.13 160 / 0.13);
  color: var(--live-text);
}

.tag-pro {
  background: oklch(0.6 0.18 var(--hue) / 0.14);
  color: var(--link);
}

.points dt .tag,
.keys-table .tag {
  margin-left: 8px;
}

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

.little kbd {
  height: 1.75em;
  min-width: 1.75em;
  font-size: 0.75rem;
}

.little code {
  font-size: 0.8em;
}

@media (max-width: 560px) {
  .little--two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A second heading inside a section (Privacy tools under the data ledger) */
.section-head--sub {
  margin-top: clamp(56px, 7vw, 88px);
}

.section-head--sub h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head--sub .lead {
  margin-top: 12px;
}

/* Optional extras in the privacy ledger's "Leaves your Mac" column */
.net-opt {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Row groups in the Free vs Pro table */
.compare tbody th[scope="rowgroup"] {
  padding-top: 28px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 650;
}

.compare tbody:first-of-type th[scope="rowgroup"] {
  padding-top: 8px;
}

.compare td small {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.3;
}

/* Code blocks on the support page */
.prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: 400 0.8125rem/1.55 var(--font-mono);
}

.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
  overflow-wrap: normal;
}

/* Meeting alert slice: the notch grown into an alert (mirrors MeetingAlertsViews.swift) */
.alert-notch {
  width: min(600px, 100% - 24px);
  padding: 46px 22px 20px;
}

.am-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: start;
}

.am-cal {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.am-title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.am-when {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.am-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
}

.am-count b {
  color: #fff;
  font: 600 30px/1 var(--font-round);
  font-variant-numeric: tabular-nums;
}

.am-info {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
}

.am-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.am-info .ic {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.am-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
}

.am-btns > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.am-btns .am-join {
  padding: 0 13px;
  background: var(--c, #8b74ff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.am-btns .ic {
  width: 12px;
  height: 12px;
}

.am-snooze {
  gap: 0 !important;
  padding-right: 2px !important;
}

.am-snooze > span:first-child {
  color: rgba(255, 255, 255, 0.6);
}

.am-snooze > span + span {
  padding: 0 8px;
}

.am-snooze > span:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.am-camhead {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
}

.am-camhead .ic {
  width: 13px;
  height: 13px;
}

.am-switch {
  position: relative;
  width: 26px;
  height: 15px;
  margin-left: auto;
  border-radius: 999px;
  background: #30d158;
}

.am-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}

.am-mirror {
  display: grid;
  place-items: end center;
  aspect-ratio: 16 / 9;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(60% 70% at 50% 30%, rgba(255, 214, 170, 0.28), transparent 70%),
    linear-gradient(160deg, #4a3d6e, #1d1733);
}

.am-mirror .ic {
  width: 70%;
  height: 86%;
  color: rgba(255, 255, 255, 0.5);
  stroke-width: 1.2;
}

@container (max-width: 520px) {
  .am-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .am-cam {
    display: none;
  }
}

/* The live meeting wings under the alert slice */
.live-pill {
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
}

.live-pill > span:first-child {
  min-width: 0;
  white-space: nowrap;
}

.live-pill .rec {
  --c: #ff453a;
  width: 6px;
  height: 6px;
}

.live-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.live-progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 50%);
  border-radius: inherit;
  background: #8b74ff;
}

/* ───────────────────────── 1.3: Siri & Shortcuts ───────────────────────── */
/* Example conversations on the left, every phrase on the right (stacked below 900px) */
.siri {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 14px;
  margin-top: 44px;
}

.siri-chat,
.siri-cmds {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.siri-chat ol {
  display: grid;
  gap: 22px;
  list-style: none;
}

.siri-chat li {
  display: grid;
  gap: 8px;
}

.bubble {
  max-width: min(30rem, 88%);
  padding: 9px 14px 10px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.bubble-you {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--accent);
  color: #fff;
}

/* NotchDesk's (and Siri's) side is black, like the notch the answer shows up beside */
.bubble-nd {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: #000;
  color: #fff;
}

.bubble-from {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.bubble-from .ic {
  width: 14px;
  height: 14px;
  color: #b9a2ff;
  stroke-width: 2.2;
}

.siri-chat figcaption {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.875rem;
}

.siri-cmds h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.phrases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.phrases li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.3;
}

.phrases .tag {
  padding: 0 6px;
  font-size: 0.6875rem;
}

.siri-note {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 0.875rem;
}

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

/* ───────────────────────── 1.4: the Tools tab ───────────────────────── */
/* The dozen widgets in the Tools tab: the same list, a size smaller */
.little--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.little--compact li {
  padding: 18px 0 22px;
  font-size: 0.875rem;
}

.little--compact li > strong {
  font-size: 0.96875rem;
}

@media (max-width: 900px) {
  .little--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .little--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* "Make the notch yours" under the Tools grid: full width, two columns on wide screens */
.tweaks--wide {
  margin-top: 14px;
}

@media (min-width: 901px) {
  .tweaks--wide ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

/* ───────────────────────── Motion preferences ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}

@media print {
  .menubar,
  .notch,
  .cord,
  .closing,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* A whole extra list folded under a section */
.more--section {
  margin-top: 8px;
}

.more--section > summary {
  justify-content: flex-start;
}

.more--section > summary .ic {
  margin-left: auto;
}

.more--section > .little {
  margin-top: 0;
}

.more--section > .tweaks--wide {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  background: none;
}

.more--section > .tweaks--wide ul {
  margin-top: 0;
}

/* Siri: the conversation is an illustration on a surface; the list of phrases needs no box */
.siri {
  gap: clamp(28px, 4vw, 56px);
}

.siri-cmds {
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.scr-bar.stage-bar .scr-item {
  gap: calc(6px * var(--z));
  padding: calc(2px * var(--z)) calc(8px * var(--z));
}

.scr-bar.stage-bar .dot {
  width: calc(7px * var(--z));
  height: calc(7px * var(--z));
}

/* Menus or status items that don't fit beside the notch drop out whole (onto a hidden second line), never cut mid-word */
.scr-bar.stage-bar > .scr-menus,
.scr-bar.stage-bar > .scr-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  height: calc(var(--bar-h) * var(--z));
  overflow: hidden;
}

.scr-bar.stage-bar > .scr-menus > *,
.scr-bar.stage-bar > .scr-status > * {
  height: calc(var(--bar-h) * var(--z));
}

.scr-bar.stage-bar > .scr-menus > * {
  display: inline-flex;
  align-items: center;
}

.scr-bar.stage-bar > .scr-status {
  justify-content: flex-end;
}

.scr-bar.stage-bar .scr-item.is-active {
  max-width: 100%;
  min-width: 0;
}

.scr-bar.stage-bar .scr-ev {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* A Dock along the bottom of the display, so the screen reads as a Mac desktop */
.stage-dock {
  position: absolute;
  left: 50%;
  bottom: 2.4cqw;
  display: flex;
  gap: 0.9cqw;
  padding: 0.75cqw;
  border-radius: 2cqw;
  background: oklch(0.85 0.02 285 / 0.18);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.14);
  transform: translateX(-50%);
}

.dock-app {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.2cqw;
  height: 4.2cqw;
  border-radius: 1cqw;
  background: var(--t);
  color: oklch(0.99 0.003 285 / 0.92);
}

.dock-app[style*="0.97"] {
  color: oklch(0.55 0.2 25);
}

.dock-app .ic {
  width: 52%;
  height: 52%;
  stroke-width: 1.6;
}

.dock-app--nd {
  background: none;
}

.dock-app--nd img {
  width: 100%;
  height: 100%;
}

.dock-run {
  position: absolute;
  bottom: -0.55cqw;
  left: 50%;
  width: 0.35cqw;
  height: 0.35cqw;
  border-radius: 50%;
  background: oklch(0.95 0.005 285 / 0.8);
  transform: translateX(-50%);
}

/* The hero display gets a brighter dusk wallpaper than the feature shots */
.stage-screen {
  background:
    radial-gradient(90% 45% at 22% 104%, oklch(0.52 0.16 292) 0%, transparent 70%),
    radial-gradient(80% 40% at 82% 108%, oklch(0.6 0.17 330) 0%, transparent 72%),
    radial-gradient(60% 40% at 70% 60%, oklch(0.86 0.1 50 / 0.55) 0%, transparent 70%),
    linear-gradient(180deg, oklch(0.42 0.14 278) 0%, oklch(0.62 0.15 295) 40%, oklch(0.78 0.11 330) 70%, oklch(0.84 0.09 45) 100%);
}

/* Feature sections sit in soft rounded panels; the space between sections does the separating */
:root {
  --panel: oklch(0.2 0.013 var(--hue));
}

@media (prefers-color-scheme: light) {
  :root {
    --panel: oklch(0.962 0.007 var(--hue));
  }
}

.section + .section {
  border-top: 0;
}

.section.feature {
  padding-block: clamp(12px, 1.6vw, 22px);
}

.section.feature > .feature-grid {
  padding: clamp(24px, 4.5vw, 64px);
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--panel);
}

.section.feature:first-of-type,
.overview + .section.feature {
  padding-top: clamp(48px, 6vw, 88px);
}

.section.feature + .section:not(.feature) {
  padding-top: clamp(72px, 9vw, 128px);
}

.section:not(.feature) + .section.feature {
  padding-top: clamp(40px, 5vw, 72px);
}

@media (prefers-reduced-motion: reduce) {
  .topnav-shape,
  .topnav-pill,
  .topnav .btn-small .ic {
    transition: none;
  }

  .topnav:hover .topnav-shape,
  .topnav:focus-within .topnav-shape {
    transform: none;
  }
}

/* ───────────────────────── Motion and touch details ───────────────────────── */

/* Dock: magnifies under the pointer like macOS (site.js sets --s), with the app's name above it */
.stage-dock {
  align-items: flex-end;
}

.dock-app {
  --s: 1;
  transform: translateY(calc((1 - var(--s)) * 1.6cqw)) scale(var(--s));
  transform-origin: 50% 100%;
  transition: transform 0.18s var(--ease-out);
  will-change: transform;
}

.stage-dock.is-live .dock-app {
  transition-duration: 0.08s;
}

.dock-app::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 1.1cqw);
  left: 50%;
  padding: 0.35cqw 0.8cqw;
  border-radius: 0.6cqw;
  background: oklch(0.25 0.02 var(--hue) / 0.82);
  color: oklch(0.98 0.003 var(--hue));
  font: 500 max(9px, 0.95cqw) / 1.2 var(--font);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px) scale(calc(1 / var(--s)));
  transform-origin: 50% 100%;
  transition: opacity 0.15s ease, transform 0.2s var(--ease-out);
  pointer-events: none;
}

.dock-app.is-hover::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(calc(1 / var(--s)));
}

/* Tactile buttons: a firm lower edge that compresses when pressed */
.btn-primary,
.btn-light {
  transition:
    background-color 0.15s ease,
    transform 0.12s var(--ease-out),
    box-shadow 0.12s var(--ease-out);
}

.btn-primary {
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.22),
    inset 0 -2px 0 oklch(0.3 0.15 var(--hue) / 0.55),
    0 2px 0 oklch(0.35 0.17 var(--hue)),
    0 10px 22px -12px var(--accent-shadow);
}

.btn-light {
  box-shadow:
    inset 0 -2px 0 oklch(0.86 0.02 var(--hue)),
    0 2px 0 oklch(0.25 0.1 var(--hue) / 0.45),
    0 12px 26px -14px oklch(0.15 0.1 var(--hue) / 0.7);
}

.btn-primary:active,
.btn-light:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 2px oklch(0.2 0.1 var(--hue) / 0.25),
    0 0 0 transparent;
}

/* Facts under the hero buttons: one scannable row */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
  list-style: none;
  color: oklch(0.99 0.003 var(--hue) / 0.74);
  font-size: 0.875rem;
}

.hero-facts li {
  padding: 2px 16px;
}

.hero-facts li + li {
  border-left: 1px solid oklch(1 0 0 / 0.22);
}

.hero-facts strong {
  color: oklch(0.99 0.003 var(--hue));
  font-weight: 600;
}

@media (max-width: 640px) {
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 0;
  }

  .hero-facts li:nth-child(odd) {
    border-left: 0;
  }
}

/* Meeting services: a slow strip that speeds up with scrolling (site.js), faded at the edges */
.services {
  padding: clamp(8px, 2vw, 24px) 0 clamp(24px, 4vw, 48px);
  overflow: hidden;
}

.services-title {
  margin-bottom: 16px;
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.services {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.services-track {
  display: flex;
  width: max-content;
  animation: services-scroll 60s linear infinite;
}

.services-list {
  display: flex;
  flex: none;
  list-style: none;
}

.services-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: clamp(18px, 2.4vw, 32px);
  color: var(--text-2);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.services-list .ic {
  width: 0.9em;
  height: 0.9em;
  color: var(--link);
}

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

/* Feature panels: a soft light follows the pointer */
.section.feature > .feature-grid,
.chapter-panel {
  position: relative;
  isolation: isolate;
}

.section.feature > .feature-grid::before,
.chapter-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), oklch(0.62 0.18 var(--hue) / 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.section.feature > .feature-grid.is-lit::before,
.chapter-panel.is-lit::before {
  opacity: 1;
}

/* a clip that just arrived on the demo shelf */
.clip--new {
  animation: clip-in 0.5s var(--spring) backwards;
}

@keyframes clip-in {
  from {
    opacity: 0;
    transform: translateX(-24px) scale(0.92);
  }
}

/* The one page-load moment: words settle in, then the MacBook rises (and the notch opens, notch.js) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1,
  .js .hero-sub,
  .js .hero .cta-row,
  .js .hero-meta,
  .js .hero-facts,
  .js .stage {
    animation: settle 0.9s var(--ease-out) backwards;
  }

  .js .hero-sub {
    animation-delay: 0.08s;
  }

  .js .hero .cta-row {
    animation-delay: 0.16s;
  }

  .js .hero-meta,
  .js .hero-facts {
    animation-delay: 0.24s;
  }

  .js .stage {
    animation: rise 1.1s var(--ease-out) 0.3s backwards;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .services-list[aria-hidden="true"] {
    display: none;
  }

  .services-list {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }

  .services {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .dock-app,
  .dock-app::after,
  .btn-primary,
  .btn-light {
    transition: none;
  }
}

/* ───────────────────────── After pricing: plans, reassurances, FAQ, closing ───────────────────────── */

/* Two plans: Free, and Pro (dark like the notch) with a seat switch that works without JavaScript */
.plans {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 1000px;
  margin-inline: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}

.plan {
  border-radius: clamp(24px, 3vw, 32px);
  background: var(--panel);
}

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

.plan-pro {
  --text: oklch(0.97 0.005 var(--hue));
  --text-2: oklch(0.8 0.02 var(--hue));
  --text-3: oklch(0.72 0.02 var(--hue));
  --live-text: oklch(0.8 0.13 160);
  --focus: oklch(0.82 0.1 var(--hue));
  background:
    radial-gradient(90% 60% at 100% 0%, oklch(0.42 0.2 290 / 0.55), transparent 70%),
    oklch(0.15 0.02 var(--hue));
  box-shadow: 0 40px 80px -40px oklch(0.25 0.15 var(--hue) / 0.55);
  color: var(--text);
}

.plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-pro .plan-note,
.plan-pro li {
  color: var(--text-2);
}

.plan-pro ul {
  columns: 2 15rem;
  column-gap: 28px;
}

.plan-pro li {
  break-inside: avoid;
  margin-bottom: 10px;
}

/* the segmented control, like macOS */
.seats {
  display: inline-flex;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 10px;
  background: oklch(1 0 0 / 0.1);
}

.seats label {
  position: relative;
  cursor: pointer;
}

.seats input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.seats span {
  display: block;
  padding: 6px 12px;
  border-radius: 7px;
  color: oklch(0.97 0.005 var(--hue) / 0.72);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s ease;
}

.seats input:checked + span {
  background: oklch(1 0 0 / 0.18);
  color: oklch(0.99 0.003 var(--hue));
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.3);
}

.seats input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.plan-pro .seats-3 {
  display: none;
}

.plan-pro:has(input[value="3"]:checked) .seats-3 {
  display: revert;
}

.plan-pro:has(input[value="3"]:checked) .seats-1 {
  display: none;
}

.plan-pro .btn.seats-3 {
  display: none;
}

.plan-pro:has(input[value="3"]:checked) .btn.seats-3 {
  display: inline-flex;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reassurances under the plans */
.assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(20px, 3vw, 40px);
  max-width: 1000px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.875rem;
}

.assurances li {
  display: flex;
  gap: 12px;
}

.assurances .ic {
  width: 20px;
  height: 20px;
  margin-top: 0.1em;
  color: var(--link);
}

.assurances strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 760px) {
  .assurances {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ: grouped questions, the heading stays in view */
#faq .split {
  align-items: start;
}

@media (min-width: 901px) {
  #faq .section-head {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
  }
}

.faq-group + .faq-group {
  margin-top: clamp(32px, 4vw, 48px);
}

.faq-group-title {
  margin-bottom: 8px;
  color: var(--text-3);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* Closing: a bold panel that echoes the hero, with a little notch on top */
.closing {
  padding-block: clamp(48px, 6vw, 96px) clamp(64px, 8vw, 120px);
  border-top: 0;
  background: none;
}

.closing-panel {
  position: relative;
  padding: clamp(72px, 9vw, 112px) clamp(24px, 4vw, 64px) clamp(56px, 7vw, 88px);
  border-radius: clamp(28px, 3.4vw, 44px);
  background:
    radial-gradient(70% 90% at 85% 110%, oklch(0.62 0.2 330 / 0.55), transparent 70%),
    radial-gradient(60% 80% at 10% 110%, oklch(0.55 0.2 262 / 0.6), transparent 70%),
    linear-gradient(180deg, oklch(0.36 0.17 283), oklch(0.46 0.21 292));
  color: oklch(0.99 0.003 var(--hue));
  text-align: center;
  overflow: hidden;
}

.closing-panel h2 {
  color: inherit;
}

.closing-panel .hero-meta {
  color: oklch(0.99 0.003 var(--hue) / 0.8);
}

.closing-panel .send-note {
  color: oklch(0.99 0.003 var(--hue) / 0.86);
}

.closing-notch {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: min(300px, 70%);
  height: 34px;
  padding: 0 16px;
  border-radius: 0 0 16px 16px;
  background: #000;
  color: oklch(0.97 0.005 var(--hue));
  font-size: 0.75rem;
  font-weight: 600;
  transform: translateX(-50%);
}

.closing-notch span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.closing-notch span:last-child {
  color: oklch(0.8 0.12 var(--hue));
  font-variant-numeric: tabular-nums;
}

/* ───────────────────────── Visual-first chapters (home) ───────────────────────── */
.chapter {
  padding-block: clamp(14px, 1.8vw, 24px);
}

.services + .chapter {
  padding-top: clamp(24px, 4vw, 56px);
}

.chapter-panel {
  display: grid;
  justify-items: center;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 64px) clamp(32px, 4.5vw, 64px);
  border-radius: clamp(28px, 3.4vw, 44px);
  background: var(--panel);
  text-align: center;
}

.chapter-head {
  display: grid;
  justify-items: center;
  max-width: 46rem;
}

.chapter-head h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.chapter-head .lead {
  max-width: 38em;
  margin-top: 20px;
  margin-inline: auto;
}

.chapter-head kbd {
  font-size: 0.8em;
  vertical-align: 0.08em;
}

.chapter-head--open {
  margin-inline: auto;
  text-align: center;
}

.chapter-stage {
  width: min(100%, 980px);
  margin-top: clamp(32px, 4.5vw, 56px);
  text-align: left;
}

.chapter-stage .screen {
  min-height: clamp(320px, 38vw, 470px);
}

.chapter-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(24px, 3.5vw, 48px);
  width: min(100%, 980px);
  margin-top: clamp(32px, 4vw, 48px);
  list-style: none;
  color: var(--text-2);
  font-size: 0.9375rem;
  text-align: left;
}

.chapter-points li {
  display: flex;
  gap: 12px;
}

.chapter-points .ic {
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  color: var(--link);
}

.chapter-points strong {
  display: block;
  color: var(--text);
  font-weight: 650;
}

.chapter-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
}

.chapter-more--center {
  margin-inline: auto;
}

.chapter-sep {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}

@media (max-width: 760px) {
  .chapter-points {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tools: a bento of small working tools, dark like the notch's Tools tab */
#tools > .wrap,
#privacy > .wrap {
  padding-block: clamp(48px, 6vw, 88px) clamp(16px, 2vw, 24px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(36px, 5vw, 64px);
}

.tile {
  --t-text: oklch(0.97 0.005 var(--hue));
  --t-dim: oklch(0.97 0.005 var(--hue) / 0.62);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: clamp(20px, 2.2vw, 28px);
  background: oklch(0.17 0.016 var(--hue));
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.06);
  color: var(--t-text);
}

.tile h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--t-dim);
  font: 600 0.8125rem/1.2 var(--font);
  letter-spacing: 0;
}

.tile h3 .ic {
  width: 16px;
  height: 16px;
  color: oklch(0.78 0.12 var(--hue));
}

.tile-note,
.tile--more p {
  color: var(--t-dim);
  font-size: 0.8125rem;
}

.tile-note kbd {
  background: oklch(1 0 0 / 0.08);
  border-color: oklch(1 0 0 / 0.16);
  color: var(--t-text);
}

.tile--notes { grid-column: span 2; grid-row: span 2; }
.tile--timer { grid-column: span 2; }
.tile--calc { grid-column: span 2; }
.tile--color { grid-column: span 2; }
.tile--sys { grid-column: span 2; }
.tile--toggles { grid-column: span 3; }
.tile--more { grid-column: span 3; }

.t-check {
  display: grid;
  gap: 4px;
  list-style: none;
}

.t-check label,
.t-toggles label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  cursor: pointer;
}

.t-check input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 50%;
  border: 1.5px solid oklch(1 0 0 / 0.35);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s;
}

.t-check input:checked {
  border-color: oklch(0.62 0.19 var(--hue));
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    oklch(0.58 0.2 var(--hue));
}

.t-check input:checked + span {
  color: var(--t-dim);
  text-decoration: line-through;
}

.t-check span {
  transition: color 0.2s;
}

.t-timer {
  margin-top: auto;
  font: 600 clamp(2.6rem, 2rem + 2vw, 3.4rem) / 1 var(--font-round);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.t-row {
  display: flex;
  gap: 8px;
}

.t-btn {
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: oklch(0.6 0.2 var(--hue));
  color: oklch(0.99 0.003 var(--hue));
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out), background-color 0.15s;
}

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

.t-btn--ghost {
  background: oklch(1 0 0 / 0.1);
}

.t-expr {
  color: var(--t-dim);
  font-size: 0.9375rem;
}

.t-answer {
  margin-top: -8px;
  font: 600 1.6rem/1.1 var(--font-round);
  font-variant-numeric: tabular-nums;
}

.t-swatches {
  display: flex;
  gap: 10px;
}

.t-swatches button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.2);
  cursor: pointer;
  transition: transform 0.2s var(--spring);
}

.t-swatches button:hover {
  transform: scale(1.12);
}

.t-swatches button[aria-pressed="true"] {
  border-color: oklch(0.99 0.003 var(--hue));
}

.t-hex {
  font: 600 1.4rem/1.1 var(--font-mono);
  letter-spacing: -0.01em;
}

.t-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
  margin-top: auto;
}

.t-bars i {
  flex: 1;
  height: 40%;
  border-radius: 3px;
  background: linear-gradient(180deg, oklch(0.72 0.16 var(--hue)), oklch(0.5 0.2 var(--hue)));
  transform-origin: bottom;
  animation: bar 2.4s var(--ease-out) infinite alternate;
}

.t-bars i:nth-child(3n) { animation-delay: -0.6s; height: 70%; }
.t-bars i:nth-child(3n + 1) { animation-delay: -1.3s; height: 52%; }
.t-bars i:nth-child(4n) { animation-delay: -1.9s; height: 30%; }

@keyframes bar {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

.t-stat {
  display: flex;
  justify-content: space-between;
  color: var(--t-dim);
  font-size: 0.8125rem;
}

.t-stat b {
  color: var(--t-text);
  font-variant-numeric: tabular-nums;
}

.t-toggles {
  display: grid;
  list-style: none;
}

.t-toggles li + li {
  border-top: 1px solid oklch(1 0 0 / 0.08);
}

.t-toggles label {
  justify-content: space-between;
}

.t-toggles input {
  appearance: none;
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  margin: 0;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.16);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out);
}

.t-toggles input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: oklch(0.99 0.003 var(--hue));
  box-shadow: 0 1px 3px oklch(0 0 0 / 0.35);
  transition: transform 0.3s var(--spring);
}

.t-toggles input:checked {
  background: oklch(0.62 0.17 155);
}

.t-toggles input:checked::after {
  transform: translateX(16px);
}

.tile--more a {
  margin-top: auto;
  color: oklch(0.82 0.1 var(--hue));
  font-weight: 600;
}

.tile :focus-visible {
  outline-color: oklch(0.85 0.09 var(--hue));
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile--notes,
  .tile--timer,
  .tile--calc,
  .tile--color,
  .tile--sys,
  .tile--toggles,
  .tile--more {
    grid-column: span 1;
    grid-row: auto;
  }

  .tile--notes,
  .tile--more {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Privacy in brief */
.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(24px, 3vw, 40px);
  margin-top: clamp(36px, 5vw, 56px);
  list-style: none;
}

.promises li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.promises .ic {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  color: var(--link);
  stroke-width: 1.6;
}

.promises strong {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

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

@media (max-width: 520px) {
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing: one license, and the trial beside it */
.plans {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.plan-trial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.plan-trial .btn {
  margin-top: auto;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* All features page: intro and quick links */
.features-intro {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(16px, 2vw, 24px);
}

.features-intro h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.features-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.features-toc a {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--fill);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.features-toc a:hover {
  background: var(--fill-hover);
}

@media (prefers-reduced-motion: reduce) {
  .t-bars i {
    animation: none;
  }
}

/* ───────────────────────── Footer ───────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(56px, 7vw, 88px) 0 28px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

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

.footer-brand .brand {
  margin-left: -4px;
  font-size: 1.125rem;
}

.footer-brand .brand img {
  width: 28px;
  height: 28px;
}

.footer-brand > p {
  max-width: 30ch;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

/* bot trap: a field people never see or fill (waitlist forms) */
.wl-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-join {
  display: none;
  max-width: 340px;
  margin-top: 24px;
}

.is-prelaunch .footer-join {
  display: block;
}

.footer-join-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 650;
}

.footer-join-field {
  display: flex;
  gap: 6px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.footer-join-field:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px oklch(0.55 0.2 var(--hue) / 0.18);
}

.footer-join-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 500 0.9375rem/1.2 var(--font);
  outline: none;
}

.footer-join-field .btn-small {
  min-height: 34px;
  padding: 0 16px;
}

.footer-join-msg {
  min-height: 1.3em;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.8125rem;
}

.footer-join-msg.is-error {
  color: oklch(0.55 0.19 25);
}

.footer-join-msg.is-ok {
  color: var(--live-text);
  font-weight: 600;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--text);
  font: 650 0.875rem/1.2 var(--font);
  letter-spacing: 0;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.site-footer nav a {
  color: var(--text-2);
  font-size: 0.9375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* A giant wordmark with a notch cut into its top edge, sunk into the bottom of the footer */
.footer-mark {
  position: relative;
  margin-top: clamp(48px, 7vw, 88px);
  height: 0.62em;
  overflow: hidden;
  color: oklch(0.55 0.21 var(--hue) / 0.16);
  font: 800 clamp(4.4rem, 1rem + 15.5vw, 15.5rem) / 0.8 var(--font-display);
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.footer-mark::before {
  content: "";
  position: absolute;
  top: 0.04em;
  left: 50%;
  width: clamp(80px, 13vw, 200px);
  height: clamp(16px, 2.2vw, 30px);
  border-radius: 0 0 clamp(8px, 1vw, 14px) clamp(8px, 1vw, 14px);
  background: #000;
  transform: translateX(-50%);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8125rem;
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pricing stays hidden until launch: <html class="hide-pricing"> on every page (works without JavaScript too).
   SHOW_PRICING: true in config.js lifts it; at launch also remove the class from the HTML for search engines. */
.hide-pricing [data-pricing] {
  display: none !important;
}

/* ───────────────────────── Pricing: founders' lifetime licenses, then a subscription ─────────────────────────
   Founders' card (dark, like the notch) on the left; the subscription and the trial stacked on the right.
   html.founders-sold-out (set by site.js from /api/founders.php) retires the founders' buttons and opens the
   subscription. Without JavaScript the founders' offer shows, which is right for launch. */
.plans {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
}

.plans-side {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-rows: 1fr auto;
}

.plan-sub h3 span {
  color: inherit;
  font-weight: inherit;
}

.plans-side .plan + .plan {
  border-left: 0;
}

.founders-meter {
  margin-top: 18px;
}

.founders-meter .meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.12);
}

.founders-meter .meter span {
  display: block;
  width: var(--founders-left, 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, oklch(0.72 0.16 var(--hue)), oklch(0.8 0.13 160));
  transition: width 1.2s var(--ease-out);
}

.founders-left {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.founders-left strong {
  color: var(--text);
  font-weight: 650;
}

.founders-sold {
  display: none;
}

/* subscription card: light, with the same segmented control in light colors */
.plan-sub .seats {
  background: oklch(0.5 0.02 var(--hue) / 0.1);
}

.plan-sub .seats span {
  color: var(--text-2);
}

.plan-sub .seats input:checked + span {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px oklch(0.2 0.02 var(--hue) / 0.18);
}

.plan-sub .amount.bill-m,
.plan-sub .per.bill-m,
.plan-sub .sub-after,
.plan-sub .sub-buy {
  display: none;
}

.plan-sub:has(input[value="m"]:checked) .amount.bill-m,
.plan-sub:has(input[value="m"]:checked) .per.bill-m {
  display: revert;
}

.plan-sub:has(input[value="m"]:checked) .amount.bill-y,
.plan-sub:has(input[value="m"]:checked) .per.bill-y {
  display: none;
}

.plan-sub .plan-note.sub-before {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 0.875rem;
}

.plan-trial .btn {
  margin-top: 18px;
}

/* founders' licenses all sold: the subscription takes over */
.founders-sold-out .founders-buy,
.founders-sold-out .founders-count,
.founders-sold-out .sub-before {
  display: none !important;
}

.founders-sold-out .founders-sold {
  display: inline;
}

.founders-sold-out .plan-founders .price {
  opacity: 0.5;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.founders-sold-out .plan-sub .sub-after {
  display: inline;
}

.founders-sold-out .plan-sub .sub-buy.bill-y {
  display: inline-flex;
  margin-top: 20px;
}

.founders-sold-out .plan-sub:has(input[value="m"]:checked) .sub-buy.bill-m {
  display: inline-flex;
  margin-top: 20px;
}

.founders-sold-out .plan-sub:has(input[value="m"]:checked) .sub-buy.bill-y {
  display: none;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ───────────────────────── Launch countdown (home hero) ─────────────────────────
   A black pill like NotchDesk's own meeting countdown beside the notch. site.js fills it from LAUNCH_AT. */
.launch-clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  margin: 0 auto clamp(18px, 2.4vw, 26px);
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 18px 36px -18px oklch(0.15 0.1 var(--hue) / 0.8), inset 0 -1px 0 oklch(1 0 0 / 0.08);
  color: oklch(0.97 0.005 var(--hue));
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out);
}

.launch-clock:hover {
  transform: translateY(1px);
}

.lc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 0 oklch(0.78 0.18 150 / 0.6);
  animation: lc-ping 2s var(--ease-out) infinite;
}

@keyframes lc-ping {
  70% { box-shadow: 0 0 0 7px oklch(0.78 0.18 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.18 150 / 0); }
}

.lc-time {
  color: oklch(0.82 0.12 var(--hue));
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.lc-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px 5px 12px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.12);
  font-size: 0.8125rem;
}

.lc-cta .ic {
  width: 13px;
  height: 13px;
  rotate: 90deg;
}

.launch-clock.is-now .lc-time {
  color: #30d158;
}

.is-launched .launch-clock {
  display: none;
}

@media (max-width: 520px) {
  .launch-clock {
    font-size: 0.8125rem;
  }

  .lc-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-dot {
    animation: none;
  }
}
