/* Blurbl marketing site. Plain CSS, no build step. Sentence case everywhere: never uppercase. */

@font-face {
  font-family: "IBM Plex Serif";
  src: url("/assets/fonts/IBMPlexSerif-Medium-Latin1.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --blue: #2e6be6;
  --blue-text: #2459c9;          /* brand blue, a shade deeper so small text passes contrast on paper */
  --blue-soft: rgba(46, 107, 230, 0.1);
  --on-blue: #ffffff;
  --paper: #f5f6f9;
  --surface: #ffffff;
  --ink: #15171c;
  --ink-2: #4a505c;
  --ink-3: #6b7280;
  --line: rgba(21, 23, 28, 0.09);
  --sand: #eadbc2;
  --sand-deep: #d7b68c;

  --pill-bg: rgba(21, 22, 25, 0.94);
  --pill-bar: #6e9bff;

  --serif: "IBM Plex Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 20px;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #6e9bff;
    --blue-text: #8fb2ff;
    --blue-soft: rgba(110, 155, 255, 0.14);
    --on-blue: #0b1020;
    --paper: #0e1014;
    --surface: #171a21;
    --ink: #eceef2;
    --ink-2: #b4bac6;
    --ink-3: #8d94a2;
    --line: rgba(236, 238, 242, 0.1);
    --sand: #3a3127;
    --sand-deep: #8c7458;
  }
}

[hidden] {
  display: none !important;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0;
  line-height: 1.35;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--blue-text);
  text-underline-offset: 0.18em;
}

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

.sr-only {
  position: absolute;
  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: 16px;
  top: -60px;
  z-index: 50;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 44px;
  padding: 0 1.15em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

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

/* Download buttons wear the pill's colours: its near-black capsule, white text and mark, and its
   faint light hairline, which keeps them reading on the dark page too. */
.btn-primary {
  background: var(--pill-bg);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: rgba(44, 46, 52, 0.94);
}

.btn-primary:active {
  background: rgba(33, 35, 40, 0.94);
}

.btn-large {
  min-height: 56px;
  padding: 0 1.6em;
  font-size: 1.0625rem;
}

.btn-small {
  min-height: 38px;
  padding: 0 1em;
  font-size: 0.9375rem;
}

.btn .apple {
  width: 1em;
  height: 1em;
  flex: none;
  margin-top: -0.12em;
}

.btn-small {
  gap: 0.45em;
}

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 18px var(--gutter);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 104px var(--gutter) 40px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 18% 22%, #bcd0fa 0%, transparent 70%),
    radial-gradient(55% 60% at 85% 30%, var(--sand) 0%, transparent 72%),
    radial-gradient(50% 50% at 70% 95%, #8fb0f2 0%, transparent 70%),
    radial-gradient(60% 60% at 10% 90%, var(--sand-deep) 0%, transparent 70%),
    var(--paper);
}

@media (prefers-color-scheme: dark) {
  .hero {
    background:
      radial-gradient(60% 55% at 18% 22%, #1a2c5c 0%, transparent 70%),
      radial-gradient(55% 60% at 85% 30%, var(--sand) 0%, transparent 72%),
      radial-gradient(50% 50% at 70% 95%, #284a9c 0%, transparent 70%),
      radial-gradient(60% 60% at 10% 90%, #4a3d2e 0%, transparent 70%),
      var(--paper);
  }
}

/* Grain for the fallback gradient (and the closing band): a tiny SVG noise tile from this site. */
.hero::before,
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("/assets/img/grain.svg");
  background-size: 220px 220px;
  opacity: 0.32;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero.has-gl::before {
  display: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero.has-gl .hero-canvas {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 72%, color-mix(in srgb, var(--paper) 55%, transparent) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.promise {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
}

/* A download or home button with its small line beneath, spaced well clear of the text above. */
.cta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fine {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* The title and line sit in the sand: blended with the canvas behind them (they share the hero's
   stacking context), so its colours and grain show through the letters and move with them. */
.hero h1,
.hero .promise {
  mix-blend-mode: multiply;
}

.hero h1 {
  color: #353a46;
  padding-bottom: 0.06em;
}

.hero .promise {
  color: #464c58;
}

@media (prefers-color-scheme: dark) {
  .hero h1,
  .hero .promise {
    mix-blend-mode: screen;
  }

  .hero h1 {
    color: #c6cbd4;
  }

  .hero .promise {
    color: #b2b8c3;
  }
}

/* The floating pill, as in the app: a dark capsule, nine blue bars, twin peaks. */

.pill {
  --u: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(32px * var(--u));
  padding: 0 calc(14px * var(--u));
  border-radius: 999px;
  background: var(--pill-bg);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: calc(12px * var(--u));
  line-height: 1;
  white-space: nowrap;
}

.pill-hero {
  --u: 1.6;
  margin-top: clamp(32px, 6vh, 56px);
}

.bars {
  display: flex;
  align-items: center;
  gap: calc(2.5px * var(--u));
  height: calc(16px * var(--u));
}

.bar {
  display: block;
  width: calc(3px * var(--u));
  height: calc(3px * var(--u));
  border-radius: 999px;
  background: var(--pill-bar);
}

/* Sections */

.section {
  padding: clamp(72px, 11vw, 136px) 0;
}

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

.section h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
}

.lead {
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 34em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}


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

}

.card {
  background: var(--surface);
  border-radius: var(--radius);
}

/* Sand panels: each a sibling of the hero's mesh, soft fields drifting slowly under the same grain.
   The fields live on a layer that only moves (cheap to animate); the closing box uses the hero's colours. */

.demo,
.privacy-art,
.perf-art,
.closing {
  background: var(--m-base);
}

.demo::after,
.privacy-art::after,
.perf-art::after,
.closing::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(42% 48% at 22% 24%, var(--m1) 0%, transparent 70%),
    radial-gradient(46% 52% at 80% 22%, var(--m2) 0%, transparent 72%),
    radial-gradient(50% 46% at 74% 84%, var(--m3) 0%, transparent 70%),
    radial-gradient(46% 52% at 18% 82%, var(--m4) 0%, transparent 70%),
    radial-gradient(30% 30% at 54% 50%, var(--m5) 0%, transparent 70%);
  animation: mesh-drift 38s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1.02);
  }
  to {
    transform: translate3d(3%, 2.5%, 0) rotate(3deg) scale(1.07);
  }
}

/* Stacked on tablets: the panels run the full width of the column as calm rectangles, lined up
   with the text. Phones keep the square. */
@media (max-width: 900px) {
  .split > .demo,
  .split > .perf-art,
  .privacy-head > .privacy-art {
    max-width: none;
    justify-self: stretch;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .split > .demo,
  .split > .perf-art,
  .privacy-head > .privacy-art {
    aspect-ratio: 16 / 10;
  }
}

/* Dawn: peach, apricot and soft lilac over paper. */
.demo {
  --m-base: #f8f3ef;
  --m1: #f7c9ae;
  --m2: #d9cbf3;
  --m3: #f4b88c;
  --m4: #efd3dc;
  --m5: #fbe3cf;
}

/* Under pressure: mostly white, a pale coral drifting through (echoing the CPU line), balanced by
   a pale mint. */
.perf-art {
  --m-base: #fbfbfa;
  --m1: #f8d9d2;
  --m2: #ffffff;
  --m3: #d9efe3;
  --m4: #fbe6e0;
  --m5: #ffffff;
}

/* Fresh greens: spring green and a light cool grey as the main hues, a fresh leaf green and a brighter
   emerald as accents, over a pale neutral base. Livelier than the CPU panel's pale mint. */
.privacy-art {
  --m-base: #f3f6f2;
  --m1: #bde5aa;
  --m2: #dde2e3;
  --m3: #9fdc9d;
  --m4: #62c78f;
  --m5: #f3f6f2;
}

/* The hero's own palette. */
.closing {
  --m-base: #f3f4f8;
  --m1: #a7c1f8;
  --m2: #ecd6b4;
  --m3: #8fb0f2;
  --m4: #d8ab74;
  --m5: #f3f4f8;
}

@media (prefers-color-scheme: dark) {
  .demo {
    --m-base: #17131a;
    --m1: #4d2f27;
    --m2: #322a4d;
    --m3: #5b3a22;
    --m4: #3e2633;
    --m5: #241b20;
  }

  .perf-art {
    --m-base: #19191a;
    --m1: #3d2622;
    --m2: #232426;
    --m3: #1f3329;
    --m4: #33221f;
    --m5: #1c1c1d;
  }

  .privacy-art {
    --m-base: #0f1411;
    --m1: #224325;
    --m2: #24292a;
    --m3: #1d4d2c;
    --m4: #135c3c;
    --m5: #0f1411;
  }

  .closing {
    --m-base: #0d1016;
    --m1: #172a5a;
    --m2: #33291d;
    --m3: #1f3c86;
    --m4: #4a3d2e;
    --m5: #0d1016;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo::after,
  .privacy-art::after,
  .perf-art::after,
  .closing::after {
    animation: none;
  }
}

/* Dictation demo: the sentence types straight onto a panel of sand. */

.demo,
.privacy-art,
.perf-art {
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  border-radius: 28px;
  /* Safari doesn't clip animated or composited children to border-radius with overflow alone. */
  clip-path: inset(0 round 28px);
  padding: clamp(24px, 4.5vw, 44px);
}


.demo-text {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  color: var(--ink);
}

/* The full sentence is laid out invisibly so the panel never changes size; the typing sits on top. */
.demo-ghost {
  visibility: hidden;
}

.demo-live {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.demo-typed {
  transition: opacity 0.4s ease;
}

.demo-typed.is-fading {
  opacity: 0;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.12em;
  background: var(--blue);
  animation: blink 1.05s steps(1) infinite;
}

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

.demo-pill {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vw, 32px);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-pill.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}


.key {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-bottom-width: 4px;
  transition: transform 0.12s ease, border-bottom-width 0.12s ease, color 0.12s ease;
}

.key.is-down {
  transform: translateY(3px);
  border-bottom-width: 1px;
  color: var(--blue-text);
}

.key-hint {
  font-size: 0.9375rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.centred {
  text-align: center;
}

.centred .lead,
.centred .providers {
  margin-left: auto;
  margin-right: auto;
}

.centred .providers p {
  align-items: center;
}

/* Dividers around "Bring your own AI": a squiggle, like a stretched-out "~~~~". */
.wave {
  display: block;
  width: 100%;
  height: 14px;
  overflow: visible;
}

/* One continuous squiggle, built by script from whole 22px periods so it never stretches
   and ends cleanly; the markup carries a version for 1056px in case the script doesn't run. */
.wave path {
  fill: none;
  stroke: var(--ink-3);
  stroke-opacity: 0.28;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.centred > .wave:first-child {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.centred > .wave:last-child {
  margin-top: clamp(48px, 7vw, 80px);
}

/* Bring your own AI: the three providers, as plain text in flat boxes. */

.providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  max-width: 34em;
}

.providers p {
  /* The height the boxes had with a small second line (1.3rem), now split above and below. */
  padding: calc(12px + 0.65rem) 14px;
  border-radius: 14px;
  background: var(--surface);
}

.providers p {
  display: flex;
  flex-direction: column;
}

.providers .logo {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}

.or-glyph {
  fill: #6366f1; /* OpenRouter's indigo: its site's primary and link colour, hsl(239 84% 67%) */
}

@media (prefers-color-scheme: dark) {
  .or-glyph {
    fill: #818cf8; /* its lighter link indigo for dark backgrounds, hsl(234 89.5% 74%) */
  }
}

.providers b {
  display: block;
  font-weight: 600;
}

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

  .providers p {
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .providers .logo {
    margin-bottom: 0;
  }
}

/* Stats */

.stats-card {
  padding: 12px;
  border-radius: 26px; /* concentric with the 14px tiles: 14 + 12 */
}

/* Closing call */

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  clip-path: inset(0 round 32px);
  padding: clamp(56px, 9vw, 104px) var(--gutter);
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .closing .fine {
    color: #a7adb9;
  }
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
}

.closing p.lead {
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
}

.closing .cta {
  margin-top: 28px;
}

.closing .fine {
  color: #5a6170;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .closing {
    border-radius: 24px;
    clip-path: inset(0 round 24px);
  }
}

.section-closing {
  padding-bottom: 8px;
}

/* Footer */

.site-footer {
  padding: 56px 0 48px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}







.footer-small {
  font-size: 0.8125rem;
  color: var(--ink-3);
}


/* Stats scene */

.streak-dots i.on {
  background: var(--blue);
}

.streak-dots i.on.mid {
  background: color-mix(in srgb, var(--blue) 62%, transparent);
}









/* Stats: four figures in a balanced two-by-two grid, then where your words go. */

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

.fig {
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
}

.fig .num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fig span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.fig .streak-dots {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 3px;
  margin-top: 8px;
}

.streak-dots i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  transition: background-color 0.3s ease;
}

.apps {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
}

.apps-title {
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.apps ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.apps li {
  display: grid;
  grid-template-columns: 7.4em minmax(0, 1fr) 2.2em;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

.app {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.app-icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.apps li i {
  height: 6px;
  border-radius: 3px;
  background: var(--blue);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apps li b {
  font-weight: 500;
  text-align: right;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.apps .w100 { width: 100%; }
.apps .w55 { width: 55%; }
.apps .w43 { width: 43%; }
.apps .w38 { width: 38%; }
.apps .w27 { width: 27%; }

.apps.is-off li i {
  transform: scaleX(0.02);
}

/* Performance: a sentence still landing calmly over a CPU graph pinned at 100%, running flush
   along the bottom of the panel. */

.perf-art {
  --pad: clamp(24px, 4.5vw, 44px);
  padding: 0;
}

/* The upper part: the sentence and the pill, centred together. */
.pf-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  padding: var(--pad) var(--pad) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pf-text {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.35;
  color: var(--ink);
}

.pf-ghost {
  visibility: hidden;
}

.pf-live {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.4s ease;
}

.pf-live.is-fading {
  opacity: 0;
}

.pf-pill-row {
  display: flex;
  justify-content: center;
  height: 32px;
  margin-top: 18px;
}

.pf-pill {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pf-pill.is-shown {
  opacity: 1;
}

.pf-labels {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(40% + 8px);
  margin: 0;
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink-3) 70%, transparent);
}

.pf-value {
  color: inherit;
}

/* The lower part: one CPU line pinned near the top of its area at 100%, edge to edge, with a pale
   red tint beneath it fading down to the panel's edge. */
.pf-graph {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  display: block;
}

.pf-area {
  fill: url(#pf-fill);
}

.pf-stop-top {
  stop-color: #d0533a;
  stop-opacity: 0.2;
}

.pf-stop-bottom {
  stop-color: #d0533a;
  stop-opacity: 0;
}

.pf-line {
  fill: none;
  stroke: #d0533a;
  stroke-width: 2.25;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

@media (prefers-color-scheme: dark) {
  .pf-line {
    stroke: #f08a6f;
  }
}


/* On wider screens the art sits on the left, as in the privacy section; stacked, text comes first. */
@media (max-width: 900px) {
  .perf > .perf-art {
    order: 2;
  }
}

/* Privacy */

.privacy-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

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

/* On wider screens the art sits on the left; stacked on phones, text comes first. */
@media (min-width: 901px) {
  .privacy-head > .privacy-art {
    order: -1;
  }
}

/* Privacy: a padlock drawn as one fine line. */

.privacy-art {
  padding: 0;
}

.privacy-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* The padlock: one fine line, the voice running round its body. */
.oc-shackle {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.75;
  stroke-width: 3.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oc-wave {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.75;
  stroke-width: 3.75;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pa-pill {
  fill: #151619;
}

.pa-bar {
  fill: #6e9bff;
}

/* 404 */

.notfound {
  min-height: 100svh;
}

.notfound .promise {
  max-width: 26ch;
}

/* Reduced motion: still, quiet, no transitions that travel. */

@media (prefers-reduced-motion: reduce) {
  .caret {
    animation: none;
  }

  .btn,
  .demo-pill,
  .demo-typed,
  .key,
  .hero-canvas {
    transition: none;
  }
}
