/* Inter by The Inter Project Authors, SIL Open Font License 1.1 (fonts/OFL.txt). */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --bg: #09090b;
  --bg-2: #0c0c0f;
  --card: #111114;
  --card-2: #16161a;
  --card-3: #1d1d22;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #fafafa;
  --text-2: #d4d4d8;
  --muted: #a1a1aa;
  --faint: #71717a;
  /* Black and white: the accent is plain white. */
  --brand: #fafafa;
  --brand-2: #fafafa;
  --brand-soft: #d4d4d8;
  --radius: 18px;
  --max: 1220px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  letter-spacing: -0.006em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Icons: the Lucide sprite at the top of index.html */
.i {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.dim {
  color: #71717a;
}

.grad {
  background: linear-gradient(180deg, #ffffff 15%, #85858f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font: 600 14.5px/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn .i {
  font-size: 16px;
}

.btn-primary {
  background: #fafafa;
  color: #09090b;
  box-shadow:
    0 10px 34px -12px rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: #e4e4e7;
}

.btn-outline {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  background: #fff;
  color: #0b0b0e;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.btn-light:hover {
  background: #f4f4f5;
}

.btn-sm {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 13.5px;
}

.btn-lg {
  height: 54px;
  padding: 0 26px;
  border-radius: 13px;
  font-size: 15.5px;
}

/* ---- Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  width: 35px;
  height: 18px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin: 0 auto;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(ellipse 50% 60% at 80% 35%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 50% at 5% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    var(--bg);
}

/* Faint grid, fading toward the edges. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 60% 40%, #000 15%, transparent 75%);
  pointer-events: none;
}

/* Holo Mosaic tiles (js/holo-mosaic.js), darkened behind the words so they stay easy to read. */
.hero-tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
}

.hero-tiles::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 66% at 22% 54%, rgba(9, 9, 11, 0.96) 0%, rgba(9, 9, 11, 0.88) 45%, rgba(9, 9, 11, 0.45) 78%, rgba(9, 9, 11, 0.1) 100%),
    radial-gradient(ellipse 36% 52% at 72% 52%, rgba(9, 9, 11, 0.6), transparent 78%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.5), transparent 14%);
  pointer-events: none;
}

.holo-mosaic-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.badge {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 12px 0 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: background 0.15s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.08);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fafafa;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
  animation: pulse 2s ease-in-out infinite;
}

.badge-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.badge-strong {
  color: #fff;
}

.badge .i {
  font-size: 14px;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero .actions {
  margin-top: 34px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: 13.5px;
}

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

.ticks .i {
  color: var(--muted);
}

/* The app, with a phone and a few live moments around it. */
.hero-visual {
  position: relative;
  padding: 34px 0 56px 44px;
}

.hero-glow {
  position: absolute;
  inset: 0 -12% 0 0;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.11), transparent),
    radial-gradient(closest-side at 75% 80%, rgba(255, 255, 255, 0.05), transparent);
  filter: blur(40px);
}

.hero-visual .app {
  transform: perspective(2200px) rotateY(-9deg) rotateX(4deg);
  transform-origin: 30% 50%;
}

.phone {
  position: absolute;
  bottom: 4px;
  left: 0;
  z-index: 2;
  width: 148px;
  padding: 9px 8px 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b0b0e;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.75),
    inset 0 0 0 3px #000;
  animation: float 7s ease-in-out infinite;
}

.phone-notch {
  width: 38px;
  height: 6px;
  margin: 3px auto 8px;
  border-radius: 99px;
  background: #1d1d22;
}

.phone-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
}

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 22, 26, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.float .i {
  font-size: 15px;
}

.float-live {
  top: 4px;
  right: 34px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.float-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444;
  animation: pulse 1.4s ease-in-out infinite;
}

.float-live b {
  color: var(--text-2);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.float-clip {
  top: 44%;
  right: -18px;
  animation-delay: -2s;
}

.float-clip .i {
  color: #fafafa;
}

.float-chat {
  right: 26px;
  bottom: 14px;
  color: var(--text-2);
  font-weight: 500;
  animation-delay: -4s;
}

.float-chat .i,
.float-chat b {
  color: #fafafa;
}

.float-chat b {
  margin-right: 4px;
  font-weight: 650;
}

/* ---- App mockups (drawn in HTML/CSS, like the real app) ---------------------- */

.app {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #09090b;
  box-shadow:
    0 60px 120px -24px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.app-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding-left: 14px;
  border-bottom: 1px solid #1d1d22;
  background: #0f0f12;
  color: var(--muted);
  font-size: 11.5px;
}

.win-ctrls {
  display: flex;
  height: 100%;
}

.win-ctrls i {
  position: relative;
  width: 42px;
}

.win-ctrls i::before,
.win-ctrls i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
}

.win-ctrls i:nth-child(1)::before {
  width: 10px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
}

.win-ctrls i:nth-child(2)::before {
  width: 9px;
  height: 9px;
  border: 1px solid var(--muted);
  transform: translate(-50%, -50%);
}

.win-ctrls i:nth-child(3)::before,
.win-ctrls i:nth-child(3)::after {
  width: 12px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%) rotate(45deg);
}

.win-ctrls i:nth-child(3)::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.app-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 12px 8px;
  border-right: 1px solid #1d1d22;
  background: #0f0f12;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 12px;
  font-size: 12.5px;
  font-weight: 650;
}

.app-brand .mark {
  width: 24px;
  height: 12px;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.app-nav.on {
  background: #17171b;
  color: var(--text);
}

.app-nav .i {
  font-size: 14px;
}

.av {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--c, #202026);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
}

.app-label {
  margin: 12px 8px 4px;
  color: #6b6b76;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.app-obs {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  margin-top: auto;
  padding: 0 9px;
  border-radius: 8px;
  background: #17171b;
  font-size: 11px;
  font-weight: 600;
}

.app-obs i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.4s ease-in-out infinite;
}

.app-obs em {
  margin-left: auto;
  color: #f87171;
  font-style: normal;
  font-weight: 500;
}

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

.app-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid #1d1d22;
}

.app-select {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border-radius: 7px;
  background: #17171b;
  font-size: 11.5px;
  font-weight: 600;
}

.app-select .i {
  font-size: 12px;
  color: var(--muted);
}

.grow {
  flex: 1;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid #2d2d34;
  background: #17171b;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.app-btn .i {
  font-size: 12px;
}

.app-btn em {
  padding: 1px 5px;
  border-radius: 99px;
  background: var(--text);
  color: var(--bg);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 750;
}

.app-seg {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid #1d1d22;
  background: #17171b;
}

.app-seg span {
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.app-seg .on {
  background: var(--text);
  color: var(--bg);
}

.app-saved {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6b6b76;
  font-size: 11px;
}

.app-stage {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 24px 20px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 255, 255, 0.035), transparent 70%),
    #0b0b0e;
}

.deck {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  max-width: 380px;
  padding: 13px;
  border-radius: 20px;
  border: 1px solid #1f1f24;
  background: #111114;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.deck-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 290px;
}

/* Edit mode: the deck, and the selected button's settings. */
.app-edit .app-body {
  grid-template-columns: minmax(0, 1fr) 210px;
}

.app-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-left: 1px solid #1d1d22;
  background: #0f0f12;
}

.app-panel-title {
  font-size: 12px;
  font-weight: 650;
}

.app-tabs {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: #17171b;
}

.app-tabs span {
  flex: 1;
  padding: 3px 0;
  border-radius: 6px;
  color: #6b6b76;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

.app-tabs .on {
  background: #202026;
  color: var(--text);
}

.app-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.app-field small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.app-input {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid #3a3a42;
  background: var(--bg);
  font-size: 11.5px;
}

.app-input::after {
  content: "";
  width: 1px;
  height: 13px;
  margin-left: 1px;
  background: var(--brand-2);
  animation: blink 1.1s steps(1) infinite;
}

.app-step {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 7px;
  background: #17171b;
  color: var(--text-2);
  font-size: 10.5px;
  white-space: nowrap;
}

.app-step .i {
  font-size: 13px;
  color: var(--c);
}

.app-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-size: 10.5px;
}

.app-check span {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--brand);
}

.app-check span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4.5px;
  width: 4px;
  height: 7px;
  border: solid #09090b;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Keys: drawn like the app's tinted and solid buttons. */
.k {
  --base: #151518;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 16%;
  container-type: inline-size;
  background: color-mix(in srgb, var(--c) 13%, var(--base));
  color: var(--text-2);
}

.k .i {
  width: 36cqi;
  height: 36cqi;
  color: var(--c);
}

.k > span:not(.k-pill) {
  max-width: 88%;
  margin-top: 6cqi;
  overflow: hidden;
  font-size: 12.5cqi;
  font-weight: 550;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.k.light {
  background: color-mix(in srgb, var(--c) 6%, var(--base));
}

.k.light .i,
.k.dark .i {
  color: var(--text-2);
}

.k.dark {
  background: var(--base);
}

.k.solid {
  background: var(--c);
  color: #fff;
}

.k.solid .i {
  color: #fff;
}

.k.solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, 0.14));
}

.k.on {
  --ring: var(--c);
  background: color-mix(in srgb, var(--c) 30%, var(--base));
}

.k.alert {
  --ring: #ef4444;
  background: color-mix(in srgb, #ef4444 24%, var(--base));
}

/* The lit ring sits on a child box, so its size follows the key (cqi). */
.k.on::after,
.k.alert::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 max(2px, 3.5cqi) var(--ring);
  pointer-events: none;
}

.k.on .i,
.k.alert .i {
  margin-top: 12cqi;
}

.k-pill {
  position: absolute;
  top: 8cqi;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 3cqi;
  padding: 1.6cqi 5cqi;
  border-radius: 99px;
  background: var(--c);
  color: #0b0b0e;
  font-size: 9cqi;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.k.alert .k-pill {
  background: #ef4444;
  color: #fff;
}

.k-pill i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.4s ease-in-out infinite;
}

.k.empty {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: transparent;
}

.k.empty .i {
  width: 24cqi;
  height: 24cqi;
  color: #52525b;
}

.k.selected {
  background: color-mix(in srgb, var(--c) 24%, var(--base));
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* A few keys get pressed now and then, so the deck feels alive. */
.press-1 {
  animation: keypress 7s ease-out 1.2s infinite;
}

.press-2 {
  animation: keypress 7s ease-out 3.6s infinite;
}

.press-3 {
  animation: keypress 7s ease-out 5.8s infinite;
}

/* ---- Works with --------------------------------------------------------------- */

.works {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.works-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 36px;
  padding-top: 26px;
  padding-bottom: 26px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
}

.works-row span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.works-row .i {
  font-size: 17px;
  color: var(--faint);
}

.works-label {
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.section {
  position: relative;
  padding: 120px 0;
}

.section-tint {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 70%),
    var(--bg-2);
}

.section h2 {
  margin-top: 16px;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 64px;
}

/* ---- Features ------------------------------------------------------------------ */

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

.feature {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #111114, #0d0d10);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -40px;
  width: 220px;
  height: 180px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent);
  opacity: 0.55;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.feature:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #1f1f24, #141417);
  color: #fafafa;
  font-size: 21px;
}

.feature h3 {
  position: relative;
  margin-top: 22px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.feature p {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

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

.how {
  position: relative;
  display: grid;
  gap: 30px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

/* The line joining the numbers. */
.how::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.04));
}

.how li {
  position: relative;
  display: flex;
  gap: 20px;
}

.how-num {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fafafa;
  box-shadow: 0 0 0 6px var(--bg-2), 0 8px 24px -8px rgba(255, 255, 255, 0.35);
  color: #09090b;
  font-size: 15px;
  font-weight: 700;
}

.how h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.how p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

/* ---- Bento cards ---------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(180deg, #111114, #0c0c0f);
}

.card h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.card p {
  max-width: 440px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.card-tag {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2) !important;
  font-size: 12px !important;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.card-tag + h3 {
  margin-top: 16px;
}

.card-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

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

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.step-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #1b1b20;
  color: #fafafa;
  font-size: 15px;
}

.step div {
  flex: 1;
  min-width: 0;
}

.step strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.step small {
  color: var(--faint);
  font-size: 12px;
}

.step-ok {
  color: #fafafa;
  font-size: 16px;
}

.step.busy {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.step-spin {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #fafafa;
  animation: spin 0.8s linear infinite;
}

/* An audio waveform: thin bars mirrored around a centre line, in black on the card's
   warm gradient. Each bar breathes a little, as if the sound were playing. */
.wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 64px;
  margin: 24px 0 22px;
}

.wave::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  left: -4px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%);
}

.wave i {
  flex: 1;
  min-width: 2px;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), #000 50%, rgba(0, 0, 0, 0.92));
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
  transform-origin: center;
  animation: wave 1.8s ease-in-out infinite;
  animation-delay: calc(var(--d) * -1);
}

.sounds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sounds span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #17171b;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 550;
}

.sounds .i {
  color: #fafafa;
}

.card-phone {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mini-phone {
  flex: none;
  width: 136px;
  padding: 16px 7px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b0b0e;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 0 3px #000;
}

.mini-phone .phone-keys {
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 4px 10px;
}

.chat {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  font-size: 13.5px;
}

.chat p {
  max-width: none;
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
}

.chat b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 7px;
  font-weight: 650;
}

.chat p:not(.bot) b {
  color: var(--muted);
}

.chat .bot {
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.chat .bot b {
  color: #fafafa;
}

/* ---- One press for all of it: glass pills drifting past ------------------------------ */

.pills-section {
  position: relative;
  padding: 72px 0 24px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

/* a soft warm light behind the pills, for the glass to catch */
.pills-section::before {
  content: "";
  position: absolute;
  inset: 20% 15% -10%;
  background: radial-gradient(ellipse 50% 60% at 50% 55%, rgba(255, 122, 51, 0.09), transparent 70%);
  pointer-events: none;
}

.eyebrow.center {
  text-align: center;
}

.pills {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.pills-row {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}

.pills-rev {
  animation-direction: reverse;
  animation-duration: 84s;
}

.pills-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 10px 16px 18px 0;
  list-style: none;
}

/* 3D capsules: lit from above, a glossy band across the top, shading toward the thick
   bottom edge, a soft shadow below, and a thin iridescent rim for a touch of chroma */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px 0 18px;
  border-radius: 999px;
  isolation: isolate;
  background:
    radial-gradient(120% 95% at 50% 0%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(180deg, #2b2b31 0%, #18181c 55%, #0d0d10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -3px 4px rgba(0, 0, 0, 0.6),
    inset 0 -10px 16px -8px rgba(255, 138, 80, 0.16),
    0 14px 26px -12px rgba(0, 0, 0, 0.95),
    0 5px 10px -5px rgba(0, 0, 0, 0.7);
  color: var(--text-2);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.25s ease, color 0.2s ease;
}

/* the rim: warm orange, white and a hint of blue, like light split by the edge */
.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from 210deg,
    rgba(255, 176, 128, 0.85),
    rgba(255, 255, 255, 0.55) 18%,
    rgba(170, 190, 255, 0.4) 34%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 122, 82, 0.55) 70%,
    rgba(255, 224, 190, 0.6) 86%,
    rgba(255, 176, 128, 0.85)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* the gloss: a soft highlight across the top, faintly iridescent */
.pill::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 9%;
  left: 9%;
  z-index: -1;
  height: 46%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 160, 110, 0.1), rgba(170, 185, 255, 0.08) 50%, rgba(255, 210, 160, 0.1));
  pointer-events: none;
}

.pill .i {
  color: #e8a87c;
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 138, 80, 0.35));
}

.pill:hover {
  color: #fff;
  filter: brightness(1.18);
  transform: translateY(-2px);
}

/* the second row: what it works with, a touch smaller and quieter */
.pills-rev .pill {
  height: 48px;
  padding: 0 20px 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.pills-rev .pill .i {
  color: #b9b9c2;
  filter: none;
}

@media (max-width: 640px) {
  .pill {
    height: 44px;
    padding: 0 18px 0 14px;
    font-size: 14.5px;
  }

  .pills-rev .pill {
    height: 40px;
    font-size: 13.5px;
  }
}

/* ---- Press a key: glass keycaps (js/glass-keys.js) --------------------------------- */

.keys-section {
  padding-bottom: 72px;
}

.keys-section .section-head {
  margin-bottom: 0;
}

.gkeys {
  position: relative;
  height: clamp(420px, 46vw, 660px);
  touch-action: manipulation;
  cursor: crosshair;
  user-select: none;
}

.gkeys-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 16%, #000 80%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 16%, #000 80%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.gkey {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.gkey:focus-visible {
  outline: 2px solid #ffa366;
  outline-offset: 4px;
}

.gkey-ico {
  display: none;
}

.gkey-cap {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 17, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  color: var(--text);
  font-size: 13.5px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gkey-cap::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 10px;
  background: linear-gradient(rgba(255, 255, 255, 0.35), transparent);
}

/* The three working keys glow in the logo's orange; their labels carry it too. */
.gkey-cap i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff9a52;
  box-shadow: 0 0 8px rgba(255, 138, 61, 0.8);
}

.gkey-cap b {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gkey:hover .gkey-cap,
.gkey:focus-visible .gkey-cap {
  border-color: rgba(255, 163, 102, 0.6);
  transform: translateX(-50%) translateY(-3px);
}

.gkey.is-on .gkey-cap {
  border-color: transparent;
  background: #fafafa;
  color: #09090b;
}

.gkey.is-on .gkey-cap {
  box-shadow: 0 0 24px -4px rgba(255, 138, 61, 0.7);
}

.gkey.is-on .gkey-cap i {
  background: #ff7a26;
  box-shadow: none;
  animation: pulse 1.4s ease-in-out infinite;
}

.gkeys-hint {
  margin-top: 4px;
  color: var(--faint);
  font-size: 12.5px;
  text-align: center;
}

/* No WebGL2: three plain keycaps. */
.gkeys.no-gl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 40px);
  height: 320px;
  cursor: default;
}

.no-gl .gkey {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(92px, 16vw, 140px);
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, #2a2a30, #141417);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 0 #0b0b0d,
    0 24px 40px rgba(0, 0, 0, 0.6);
  transform: none !important;
  transition: box-shadow 0.12s ease, translate 0.12s ease;
}

.no-gl .gkey:active {
  translate: 0 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 0 #0b0b0d,
    0 10px 20px rgba(0, 0, 0, 0.6);
}

.no-gl .gkey.is-on {
  border-color: rgba(255, 163, 102, 0.6);
  background: linear-gradient(160deg, #ff9a52, #e8641f);
  color: #fff;
}

.no-gl .gkey-ico {
  display: block;
  width: 40%;
  height: 40%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.no-gl .gkey-cap {
  top: calc(100% + 18px);
  bottom: auto;
}

.no-gl .gkey-cap::before {
  display: none;
}

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

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
}

.billing-toggle button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font: 600 14px var(--font);
  cursor: pointer;
}

.billing-toggle [aria-pressed="true"] {
  background: var(--card-3);
  color: var(--text);
}

.save-tag {
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #fafafa;
  font-size: 11.5px;
  font-weight: 650;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #111114, #0c0c0f);
}

.plan-pro {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #151518, #0d0d10) padding-box,
    linear-gradient(150deg, #ffffff, #52525b 55%, #a1a1aa) border-box;
  box-shadow: 0 30px 80px -30px rgba(255, 255, 255, 0.18);
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 650;
}

.plan-badge {
  padding: 3px 10px;
  border-radius: 99px;
  background: #fafafa;
  color: #09090b;
  font-size: 11.5px;
  font-weight: 650;
}

.plan-price {
  margin-top: 18px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.plan-price small {
  color: var(--faint);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.plan-sub {
  margin-top: 10px;
  color: var(--faint);
  font-size: 14px;
}

.plan ul {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 26px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

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

.plan li .i {
  margin-top: 4px;
  color: var(--faint);
}

.plan-pro li .i {
  color: var(--brand-2);
}

.founder {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 880px;
  margin: 22px auto 0;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
}

.founder-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fafafa;
  color: #09090b;
  font-size: 19px;
}

.founder p {
  color: var(--text-2);
  font-size: 15px;
}

.founder strong {
  color: #fff;
}

.fine-print {
  max-width: 700px;
  margin: 26px auto 0;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

.fine-print a {
  color: var(--muted);
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.faq-more {
  margin-top: 20px;
  color: var(--muted);
}

.faq-more a {
  color: var(--brand-soft);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq details[open] {
  border-color: rgba(255, 255, 255, 0.18);
  background: #131316;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary .i {
  color: var(--faint);
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq details[open] summary .i {
  color: var(--brand-2);
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* ---- Final call to action -------------------------------------------------------------- */

.cta-wrap {
  padding: 40px 0 120px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 100%, rgba(255, 255, 255, 0.05), transparent 70%),
    #0d0d10;
  text-align: center;
}

.cta-tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse 75% 100% at 50% 105%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 100% at 50% 105%, #000 20%, transparent 80%);
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cta p {
  max-width: 460px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}

.cta .actions {
  justify-content: center;
  margin-top: 34px;
}

.cta-keys {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(2, 62px);
  gap: 10px;
  opacity: 0.85;
}

.cta-keys.left {
  left: 6%;
  transform: translateY(-50%) rotate(-12deg);
}

.cta-keys.right {
  right: 6%;
  transform: translateY(-50%) rotate(12deg);
}

.cta-keys .k {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.cta-keys .k .i {
  margin-top: 0;
}

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

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 13.5px;
}

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

.footer-grid p {
  margin-top: 12px;
}

.site-footer .logo {
  color: var(--text);
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: var(--faint);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

/* ---- Grainient card backgrounds (js/grainient.js) ------------------------------------
   The gradient sits behind the card's content, strongest along the bottom edge and fading
   toward the top, where the titles are. */
.has-grainient {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.grainient-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 100%);
  mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

/* slightly brighter text on the warm gradients */
.has-grainient p,
.has-grainient li {
  color: var(--text-2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* the cards' own white corner glow would wash the colours out */
.feature.has-grainient::before {
  display: none;
}

/* ---- Liquid glass buttons (js/glass-surface.js, Outtake's port of React Bits GlassSurface) ----
   The script adds .glass plus .glass--svg (Chromium: the background really bends at the
   rounded rim, through an SVG backdrop filter) or .glass--fallback (Safari and Firefox:
   frosted glass). Each button kind only changes the tint. Without the script the solid
   buttons above stay. Styles taken from the Outtake site. */

.glass {
  --glass-tint: rgba(255, 255, 255, 0.06);
  --glass-tint-hover: rgba(255, 255, 255, 0.11);
  isolation: isolate;
  background: var(--glass-tint);
  border-color: transparent;
  color: #fff;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06),
    inset 0 0 14px rgba(255, 255, 255, 0.05),
    0 10px 28px -12px rgba(0, 0, 0, 0.7);
  transition: background 0.25s, color 0.2s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.glass:hover {
  border-color: transparent;
  background: var(--glass-tint-hover);
}

.glass--svg {
  backdrop-filter: var(--glass-filter) saturate(1.6) brightness(1.08);
}

.glass--fallback {
  -webkit-backdrop-filter: blur(14px) saturate(1.6) brightness(1.08);
  backdrop-filter: blur(14px) saturate(1.6) brightness(1.08);
}

.glass__rim,
.glass__sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}

/* the specular edge: brightest where the light lands (top left), a softer catch bottom right */
.glass__rim {
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.34));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.glass__sheen {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 55%);
}

/* the main buttons (were solid white): a brighter tint so they still lead */
.glass.btn-primary,
.glass.btn-light {
  --glass-tint: rgba(255, 255, 255, 0.18);
  --glass-tint-hover: rgba(255, 255, 255, 0.26);
}

.glass.btn-outline,
.glass.btn-ghost {
  --glass-tint: rgba(255, 255, 255, 0.05);
  --glass-tint-hover: rgba(255, 255, 255, 0.1);
}

/* monthly / yearly switch */
.billing-toggle .glass {
  --glass-tint: rgba(255, 255, 255, 0.02);
  --glass-tint-hover: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  box-shadow: none;
}

.billing-toggle .glass:hover {
  color: var(--text);
}

.billing-toggle .glass[aria-pressed="true"] {
  --glass-tint: rgba(255, 255, 255, 0.16);
  --glass-tint-hover: rgba(255, 255, 255, 0.2);
  background: var(--glass-tint);
  color: #fff;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    inset 0 0 14px rgba(255, 255, 255, 0.05);
}

/* ---- Legal pages ----------------------------------------------------------------------- */

/* Legal pages use simpler header/footer markup. */
.site-header > .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo img {
  width: 22px;
  height: 22px;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 13.5px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 112px;
}

.legal h1 {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.legal .updated {
  margin-top: 10px;
  color: var(--faint);
  font-size: 14px;
}

.legal h2 {
  margin-top: 44px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

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

.legal strong {
  color: var(--text);
}

.legal a {
  color: var(--brand-soft);
}

.legal .summary {
  margin-top: 30px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--card);
}

.legal .summary p:first-child {
  margin-top: 0;
}

/* ---- Motion --------------------------------------------------------------------------- */

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@keyframes float {
  50% {
    transform: translateY(-9px);
  }
}

@keyframes keypress {
  0%,
  6%,
  100% {
    transform: none;
    filter: none;
  }
  2% {
    transform: scale(0.9);
    filter: brightness(1.7);
  }
}

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

@keyframes wave {
  50% {
    transform: scaleY(0.6);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Smaller screens ------------------------------------------------------------------- */

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

  .bento,
  .card-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-keys {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 64px 0 72px;
  }

  .hero-grid,
  .split,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-copy {
    text-align: center;
  }

  /* The words are centred here, so the dark patch behind them is too. */
  .hero-tiles::after {
    background:
      radial-gradient(ellipse 85% 34% at 50% 26%, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.86) 55%, rgba(9, 9, 11, 0.3) 90%, rgba(9, 9, 11, 0.1) 100%),
      linear-gradient(180deg, rgba(9, 9, 11, 0.5), transparent 10%);
  }

  .hero .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero .actions,
  .hero .ticks {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }

  .nav-row .btn {
    margin-left: auto;
  }

  .split,
  .faq-grid {
    gap: 48px;
  }

  .section {
    padding: 96px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .lead {
    font-size: 16.5px;
  }

  .hero-visual {
    padding: 24px 0 44px 26px;
  }

  .hero-visual .app {
    transform: none;
  }

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

  .app-side,
  .app-btn,
  .app-panel,
  .float-clip,
  .phone,
  .badge-text,
  .badge-sep {
    display: none;
  }

  .hero-visual {
    padding-left: 0;
  }

  .float {
    padding: 8px 11px;
    font-size: 12px;
  }

  .float-live {
    right: 8px;
  }

  .float-chat {
    right: 0;
    bottom: 4px;
  }

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

  .card {
    padding: 24px;
  }

  .card-phone {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .plan {
    padding: 28px;
  }

  .founder {
    align-items: flex-start;
  }

  .cta {
    padding: 64px 22px;
    border-radius: 24px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .legal {
    padding: 56px 18px 88px;
  }
}
