@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand constants from the logo (same in both themes) */
  --yellow: #fcc800;
  --yellow-hover: #ffd633;
  --neon: #f9ff47;
  --orange: #ff6637;
  --sky: #1f79ff;
  --sky-bright: #51cfff;
  --pink: #ff81ce;
  --ink: #212121;

  /* Theme roles: light */
  --bg: #ffffff;
  --surface: #f8f5ef;
  --raised: #ffffff;
  --fg: #212121;
  --text: #4b4a48;
  --text-muted: #6b6965;
  --text-subtle: #9a968f;
  --line: #e8e4dc;
  --hover: #f3efe7;
  --header-bg: transparent;
  --header-pill: rgba(255, 255, 255, 0.96);
  --frame-bg: #f6f1e6;
  --footer-bg: #f8f4ee;
  --footer-fade: #f5f5f5;
  --placeholder: linear-gradient(#f8f5ef, #f5f5f5 91.42%);
  --tangerine-soft: #ffe3cf;
  --sky-soft: #ddf0ff;
  --mint-soft: #d9f6e9;
  --yellow-soft: #fff0b3;
  --lilac-soft: #ece4ff;
  --pink-soft: #ffe1ec;
  --mini-bg: #ffffff;
  --mini-fg: #1f1f1f;
  --mini-field: #f3f3f3;
  --mini-row: rgba(0, 0, 0, 0.05);
  --mini-muted: rgba(0, 0, 0, 0.55);
  --mini-line: rgba(0, 0, 0, 0.08);

  --radius: 16px;
  --radius-lg: 28px;
  --radius-in: 20px;
  --shadow: 0 1px 2px rgba(33, 33, 33, 0.06), 0 8px 24px rgba(33, 33, 33, 0.08);
  --shadow-lg: 0 30px 80px rgba(33, 33, 33, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Sora", "Segoe UI", system-ui, sans-serif;

  /* Type scale: sizes and line heights from slack.com */
  --fs-display: clamp(34px, 3.9vw, 54px);
  --lh-display: 1.12;
  --fs-h2: clamp(30px, 3.4vw, 48px);
  --lh-h2: 1.2;
  --fs-h2-alt: clamp(28px, 3vw, 42px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --lh-h3: 1.25;
  --fs-h4: 21px;
  --fs-tab: 20px;
  --fs-body-lg: 17px;
  --lh-body-lg: 1.55;
  --fs-body: 16px;
  --fs-nav: 15px;
  --fs-btn: 14px;
  --fs-small: 12px;
  --wrap: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background 240ms ease, color 240ms ease;
}

body > main {
  flex: 1 0 auto;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--fg);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 999px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-btn);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-solid {
  background: var(--fg);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--text);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

.btn-outline,
.btn-ghost {
  background: transparent;
  border: 1px solid var(--fg);
  color: var(--fg);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: var(--hover);
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

.link-button {
  padding: 0;
  font: inherit;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Header: logo and links left, actions right; floats as a pill once the page scrolls */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 max(24px, calc((100% - var(--wrap)) / 2));
  background: var(--header-bg);
  transition: top 280ms var(--ease), width 280ms var(--ease), height 280ms var(--ease), padding 280ms var(--ease), border-radius 280ms var(--ease), box-shadow 280ms ease, background 200ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  width: min(calc(var(--wrap) + 48px), calc(100% - 24px));
  height: 60px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: var(--header-pill);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--fg);
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 30px;
}

.nav {
  display: flex;
  gap: 2px;
  margin-left: 28px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg);
  font-size: var(--fs-nav);
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--hover);
}

.site-header > .btn,
.header-actions > .btn {
  min-height: 42px;
  padding: 0 20px;
  font-size: 16px;
}

.header-actions,
.site-header > .btn {
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Account chip (inserted by account.js) */

.account {
  position: relative;
  display: flex;
  align-items: center;
}

.account[hidden],
.account [hidden] {
  display: none !important;
}

.account-signin,
.account-signout {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.account-signin:hover,
.account-signout:hover {
  background: var(--hover);
}

.account-signout {
  border: 2px solid var(--line);
}

.account-chip {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
}

.account-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.account-avatar-lg {
  width: 44px;
  height: 44px;
  font-size: 17px;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 14px;
  width: min(300px, calc(100vw - 32px));
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.account-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account-id {
  min-width: 0;
}

.account-name,
.account-email {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-name {
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

.account-email {
  color: var(--text-muted);
  font-size: 13px;
}

.account-status {
  justify-self: start;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
}

.account-status[data-status="approved"] {
  background: var(--mint-soft);
}

.account-status[data-status="pending"] {
  background: var(--tangerine-soft);
}

.account-status[data-status="waitlisted"] {
  background: var(--sky-soft);
}

.account-action {
  width: 100%;
}

.account-toast {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 70;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: var(--shadow);
}

/* Hero */

.hero {
  position: relative;
  padding: 24px 0 0;
  text-align: center;
}

.hero-copy {
  width: min(1010px, calc(100% - 48px));
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: var(--fs-display);
  letter-spacing: -0.018em;
  line-height: 1.25;
  text-wrap: balance;
}

.hero .lede {
  margin: 12px auto 44px;
  color: var(--text);
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.hero-actions .btn-yellow {
  font-size: 16px;
}

.hero-note {
  max-width: 60ch;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.hero-note[hidden] {
  display: none;
}

/* Demo card, then the 5120px arc from the design: its crest sits partway down the frame, and the fill runs from yellow at the crest to the page colour before the features band. */

.demo-wrap {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 32px auto 0;
}

.demo-wrap::before {
  --arc-crest: #ffe27a;
  --arc-mid: #fff3c4;
  content: "";
  position: absolute;
  z-index: -1;
  top: 69%;
  left: 50%;
  width: 5120px;
  height: 760px;
  background: radial-gradient(
    circle at 50% 2560px,
    transparent 2180px,
    var(--arc-mid) 2420px,
    var(--arc-crest) 2559px,
    transparent 2560px
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.demo-frame {
  position: relative;
  overflow: hidden;
  border: 11px solid var(--yellow);
  border-radius: var(--radius-lg);
  background: var(--raised);
  transition: background 240ms ease;
}

.demo {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 600;
}

.demo .card-film {
  border-radius: 0;
}

.demo-hint {
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: opacity 200ms ease;
}

.demo-wrap:hover .demo-hint {
  opacity: 0;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .demo-hint {
    display: none;
  }
}

.demo.is-compact {
  aspect-ratio: 560 / 720;
}

.demo-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 20px auto 0;
  padding: 0 4px 0 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.demo-toggle[hidden] {
  display: none;
}

.demo-toggle-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--raised);
  color: var(--fg);
  transition: border-color 160ms ease, transform 160ms ease;
}

.demo-toggle-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(var(--fg) calc(var(--p, 0) * 1turn), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

.demo-toggle:hover .demo-toggle-icon {
  border-color: var(--text-subtle);
  transform: scale(1.06);
}

.demo-toggle:hover .demo-toggle-label {
  color: var(--fg);
}

.demo-toggle svg {
  width: 12px;
  height: 12px;
}

.demo-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 600px;
  overflow: hidden;
  transform: scale(var(--demo-scale, 1));
  transform-origin: 0 0;
  transition: opacity 400ms ease;
}

.is-compact .demo-stage {
  width: 560px;
  height: 720px;
}

.demo-stage.is-fade {
  opacity: 0;
}

.demo-keys {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3b3b3b;
  font: 600 22px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  opacity: 0;
  transform: translate(-50%, -40%) scale(0.94);
  transition: opacity 240ms ease, transform 360ms var(--ease);
}

.demo-keys.is-shown,
.demo-keys.is-pressed {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.demo-keys.is-gone {
  opacity: 0;
  transform: translate(-50%, -80%) scale(0.92);
}

.demo-keys kbd {
  display: inline-grid;
  place-items: center;
  min-width: 84px;
  height: 64px;
  padding: 0 22px;
  border: 1px solid #d1d1d1;
  border-bottom: 3px solid #bdbdbd;
  border-radius: 8px;
  background: #fbfbfb;
  color: #1f1f1f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font: 600 22px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  transition: transform 120ms ease, border-bottom-width 120ms ease, box-shadow 120ms ease;
}

.demo-keys kbd + span + kbd {
  min-width: 180px;
}

.demo-keys.is-pressed kbd {
  border-bottom-width: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transform: translateY(3px);
}

/* App replica: mirrors NotchSearchWindow (sizes in app pixels, colours from the light and dark acrylic). */

.app {
  --app-tint: rgba(243, 243, 243, 0.9);
  --app-saturate: 110%;
  --app-border: rgba(0, 0, 0, 0.12);
  --app-text: rgba(0, 0, 0, 0.9);
  --app-text-2: rgba(0, 0, 0, 0.6);
  --app-divider: rgba(0, 0, 0, 0.08);
  --app-pill: rgba(255, 255, 255, 0.72);
  --app-pill-border: rgba(0, 0, 0, 0.06);
  --app-accent: #005fb8;
  --app-on-accent: #ffffff;
  --app-row: rgba(0, 0, 0, 0.045);
  --app-card: rgba(255, 255, 255, 0.55);
  --app-badge: rgba(0, 0, 0, 0.055);
  --app-button: rgba(255, 255, 255, 0.72);
  --app-link: #005fb8;
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--app-tint);
  backdrop-filter: blur(40px) saturate(var(--app-saturate));
  box-shadow: 0 0 0 1px var(--app-border), 0 32px 64px rgba(0, 0, 0, 0.26), 0 2px 21px rgba(0, 0, 0, 0.2);
  color: var(--app-text);
  font: 400 14px/20px "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  text-align: left;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 220ms ease, transform 420ms var(--ease);
}

.app.is-shown {
  opacity: 1;
  transform: none;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid var(--app-divider);
}

.app-back {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.app-back svg {
  width: 16px;
  height: 16px;
}

.app-query {
  font-size: 15px;
  line-height: 20px;
}

.app-query:empty::before {
  content: attr(data-placeholder);
  opacity: 0.78;
}

.app-caret {
  width: 1px;
  height: 20px;
  margin-left: -7px;
  background: var(--app-text);
  animation: demo-blink 1.06s steps(1) infinite;
}

.app-tabs {
  display: flex;
  gap: 8px;
  padding: 9px 17px;
}

.app-tabs span {
  height: 28px;
  padding: 0 11px;
  border-radius: 14px;
  background: var(--app-pill);
  box-shadow: inset 0 0 0 1px var(--app-pill-border);
  font-size: 13px;
  line-height: 28px;
}

.app-tabs .is-on {
  background: var(--app-accent);
  box-shadow: none;
  color: var(--app-on-accent);
}

.app-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  height: calc(100% - 64px - 46px);
}

.is-compact .app-body,
.app.is-calc .app-body {
  grid-template-columns: 1fr;
}

.app.is-calc .app-list {
  border-right: 0;
}

.app-list {
  padding: 13px 13px 0 17px;
  overflow: hidden;
  border-right: 1px solid var(--app-divider);
}

.is-compact .app-list {
  padding-right: 17px;
  border-right: 0;
}

.app-label {
  margin: 0 0 8px 4px;
  color: var(--app-text);
  font-size: 12px;
  line-height: 16px;
}

.app-rows {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-rows[hidden] {
  display: none;
}

.app-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 44px;
  padding: 6px 6px 6px 11px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 260ms var(--ease), background 160ms ease;
}

.app-row.is-shown {
  opacity: 1;
  transform: none;
}

.app-row.is-selected {
  background: var(--app-row);
}

.app-row-text {
  min-width: 0;
}

.app-row-name {
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-row-sub {
  margin: 0;
  color: var(--app-text-2);
  font-size: 12px;
  line-height: 16px;
}

.app-badge {
  padding: 1px 8px;
  border-radius: 10px;
  background: var(--app-badge);
  color: var(--app-text-2);
  font-size: 11px;
  line-height: 18px;
}

.app-icon {
  width: 24px;
  height: 24px;
}

.app-body {
  position: relative;
}

.app-pane {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 270px;
  padding: 20px 20px 0 17px;
  opacity: 0;
  transition: opacity 260ms ease;
}

.app-preview-short {
  height: 112px;
  align-content: center;
  gap: 6px;
  font-size: 13px;
}

.app-preview-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--app-badge);
}

.app-preview-icon .app-icon {
  width: 34px;
  height: 34px;
}

.app-about {
  margin-top: 20px;
}

.app-about .app-label {
  margin-left: 0;
}

.app-about dl {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
}

.app-about dt,
.app-about dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--app-divider);
  font-size: 14px;
}

.app-about dd {
  text-align: right;
}

.app-pane.is-shown {
  opacity: 1;
}

.is-compact .app-pane {
  left: 0;
  padding-left: 17px;
}

.is-compact .app-list {
  transition: opacity 200ms ease;
}

.is-compact .app.has-pane .app-list {
  opacity: 0;
}

.app-preview {
  display: grid;
  place-items: center;
  height: 278px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--app-card);
  box-shadow: inset 0 0 0 1px var(--app-pill-border);
}

.app-page {
  width: 216px;
  height: 278px;
  padding: 26px 22px;
  background: #fff;
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
}

.app-page-kicker {
  margin: 0 0 4px;
  color: #6b6b6b;
  font: 700 7px/1.2 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.14em;
}

.app-page-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.app-page-line {
  height: 5px;
  margin: 0 0 6px;
  border-radius: 2px;
  background: #e4e4e4;
}

.app-page-line.short {
  width: 64%;
}

.app-page-hit {
  margin: 10px 0;
  font-size: 9.5px;
  line-height: 1.5;
}

.app-page-hit mark {
  color: inherit;
  background: linear-gradient(#ffe066, #ffe066) no-repeat 0 0 / 0% 100%;
  transition: background-size 700ms var(--ease);
}

.is-marked .app-page-hit mark {
  background-size: 100% 100%;
}

.app-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}

.app-open,
.app-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 14px;
}

.app-open {
  background: var(--app-accent);
  color: var(--app-on-accent);
  transition: transform 120ms ease, filter 120ms ease;
}

.app-open.is-pressed {
  transform: scale(0.96);
  filter: brightness(0.88);
}

.app-more {
  background: var(--app-button);
  box-shadow: inset 0 0 0 1px var(--app-pill-border);
}

.app-more svg {
  width: 10px;
  height: 10px;
}

.app-related {
  margin-top: 24px;
}

.app-related .app-label {
  margin-left: 0;
}

.app-related a {
  display: block;
  margin: 0 0 9px;
  color: var(--app-link);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

/* Preview panes for the story scenes */

.app-scan {
  position: relative;
  width: 230px;
  height: 250px;
  padding: 22px 20px;
  background: #f3efe4;
  color: #2b2b2b;
  box-shadow: inset 0 0 40px rgba(80, 60, 20, 0.18), 0 2px 6px rgba(0, 0, 0, 0.12);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  transform: rotate(-2.5deg);
}

.app-scan-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.app-scan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.app-scan-row span {
  flex: 1;
  height: 2px;
  background: rgba(43, 43, 43, 0.35);
}

.app-scan-row i {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #1d3c8f;
  border-left: 2px solid #1d3c8f;
  transform: rotate(-45deg);
}

.app-scan-hit {
  position: relative;
  margin: 18px 0 6px;
  font-size: 11.5px;
}

.app-scan-hit span {
  position: relative;
  z-index: 1;
}

.app-scan-hit::before {
  content: "";
  position: absolute;
  inset: -4px -6px;
  border: 2px solid #fcc800;
  border-radius: 4px;
  background: rgba(252, 200, 0, 0.28);
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 300ms ease, transform 420ms var(--bounce);
}

.is-marked .app-scan-hit::before {
  opacity: 1;
  transform: none;
}

.app-scan-sign {
  width: 110px;
}

.app-calc {
  grid-template-columns: 1fr auto;
  padding: 6px 8px 6px 12px;
}

.app-calc-expr {
  margin: 0 0 2px;
  color: var(--app-text-2);
  font-size: 13px;
}

.app-calc-value {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 34px;
}

.app-copy {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--app-button);
  box-shadow: inset 0 0 0 1px var(--app-pill-border);
  transition: transform 120ms ease, filter 120ms ease;
}

.app-copy svg {
  width: 16px;
  height: 16px;
}

.app-copy.is-pressed {
  transform: scale(0.92);
  filter: brightness(0.9);
}

.app-preview-text {
  justify-items: start;
  height: 150px;
  padding: 0 28px;
}

.app-preview-text p {
  margin: 0;
  font-size: 20px;
}

.is-compact [data-pane="everything"] {
  display: none;
}

/* The shot: big words, the file pile, the app (centred, then to the right of the words), the end card */

.cine-world {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 900ms var(--ease);
}

.chip {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(33, 33, 33, 0.12);
  color: #1f1f1f;
  font: 400 14px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-70px) rotate(calc(var(--r) * 1deg - 14deg));
  transition: opacity 260ms ease, transform 760ms var(--bounce), filter 500ms ease;
}

.is-compact .chip {
  left: calc(var(--x) * 0.76%);
  gap: 8px;
  padding: 8px 12px 8px 10px;
  font-size: 12px;
}

.chip .app-icon {
  width: 22px;
  height: 22px;
}

.is-compact .chip .app-icon {
  width: 18px;
  height: 18px;
}

.cine-pile.is-in .chip {
  opacity: 1;
  transform: rotate(calc(var(--r) * 1deg));
  transition-delay: calc(var(--i) * 55ms);
}

.cine-pile.is-back .chip {
  opacity: 0.4;
  filter: blur(3px);
  transform: rotate(calc(var(--r) * 1deg)) scale(0.94);
}

.cine-pile.is-gone .chip {
  opacity: 0;
  filter: blur(8px);
  transform: rotate(calc(var(--r) * 1deg)) scale(0.85);
}

.cine-app {
  position: absolute;
  z-index: 1;
  left: 240px;
  top: 74px;
  width: 720px;
  height: 452px;
  transition: transform 850ms var(--ease);
}

.cine-app.is-side {
  transform: translateX(196px);
}

.is-compact .cine-app {
  left: 20px;
  top: 250px;
  width: 520px;
  height: 420px;
  transform: translateY(-110px);
}

.is-compact .cine-app.is-side {
  transform: none;
}

.cine-net {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 600 13px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 400ms var(--ease);
}

.cine-net.is-shown {
  opacity: 1;
  transform: none;
}

.cine-net svg {
  width: 14px;
  height: 14px;
}

.cine-copy {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  pointer-events: none;
}

.cine-copy-center {
  left: 0;
  right: 0;
  top: 50%;
  font-size: 76px;
  text-align: center;
  transform: translateY(-50%);
}

.cine-copy-center .cine-line + .cine-line {
  color: var(--text-subtle);
}

.cine-copy-side {
  left: 56px;
  top: 50%;
  width: 372px;
  font-size: 46px;
  text-align: left;
  transform: translateY(-50%);
}

.cine-copy-side .cine-line + .cine-line {
  color: var(--text-muted);
}

.is-compact .cine-copy-center {
  padding: 0 28px;
  font-size: 52px;
}

.is-compact .cine-copy-side {
  left: 28px;
  right: 28px;
  top: 40px;
  width: auto;
  font-size: 40px;
  transform: none;
}

.cine-line {
  display: block;
}

.cine-line .w {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.35em);
  transition: opacity 360ms ease, transform 700ms var(--ease), filter 500ms ease;
}

.cine-line.is-shown .w {
  opacity: 1;
  filter: none;
  transform: none;
  transition-delay: calc(var(--i) * 70ms);
}

.cine-end {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: var(--frame-bg);
  text-align: center;
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.cine-end.is-shown {
  opacity: 1;
}

.cine-mascot {
  display: block;
  width: 116px;
  opacity: 0;
  transform: translateY(48px) scale(0.4);
  transition: opacity 260ms ease 120ms, transform 760ms var(--bounce) 120ms;
}

.cine-end.is-shown .cine-mascot {
  opacity: 1;
  transform: none;
}

.mascot {
  width: 100%;
  height: auto;
  transform-origin: 50% 100%;
  animation: mascot-breathe 3.4s ease-in-out infinite;
}

.cine-end-title {
  margin: 0;
  color: var(--fg);
  font-size: 88px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 400ms ease 280ms, transform 700ms var(--ease) 280ms;
}

.is-compact .cine-end-title {
  font-size: 64px;
}

.cine-end-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 24px;
  color: var(--text);
  font-size: 22px;
  opacity: 0;
  transition: opacity 400ms ease 520ms;
}

.is-compact .cine-end-sub {
  font-size: 18px;
}

.cine-end.is-shown .cine-end-title,
.cine-end.is-shown .cine-end-sub {
  opacity: 1;
  transform: none;
}

.cine-end kbd {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d1d1d1;
  border-bottom: 3px solid #bdbdbd;
  border-radius: 6px;
  background: #fbfbfb;
  color: #1f1f1f;
  font: 600 16px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.cine-end kbd + span + kbd {
  min-width: 110px;
}

@keyframes mascot-breathe {
  50% {
    transform: scale(1.03, 0.97);
  }
}

@keyframes demo-blink {
  50% {
    opacity: 0;
  }
}

/* Statement sits on the arc, 24px under the hero, the way the frame is spaced. */

.statement {
  position: relative;
  z-index: 1;
  padding: 24px 0 56px;
  background: transparent;
  text-align: center;
}

.statement p {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--fg);
  font-size: clamp(22px, 2.5vw, 35px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.4;
  text-wrap: balance;
}

.statement-quiet {
  color: var(--text-subtle);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.16em;
  padding: 0.04em 0.4em 0.06em 0.24em;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84em;
  line-height: 1.2;
  vertical-align: 0.06em;
}

.pill svg {
  width: 0.92em;
  height: 0.92em;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.pill-yellow { background: var(--yellow); }
.pill-soft { background: rgba(252, 200, 0, 0.3); color: var(--fg); }
.pill-sky { background: var(--sky-bright); color: var(--ink); }
.pill-mint { background: var(--pink); color: var(--ink); }

/* Scrolling strip between sections */

.ticker {
  overflow: hidden;
  padding: 24px 0;
  background: var(--yellow);
  color: #212121;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-track p {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding-right: 24px;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.ticker svg {
  flex: none;
  width: 36px;
  height: 18px;
}

/* Closing line with the face shapes around it. Offsets are from the centre line, as in the design. */

.floaters {
  --k: 1;
  position: relative;
  overflow: hidden;
  padding: 104px 24px 67px;
  text-align: center;
}

.floaters-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 733px;
  margin: 0 auto;
  isolation: isolate;
}

.floaters h2 {
  margin: 0;
  color: var(--fg);
  font-size: var(--fs-display);
  letter-spacing: -0.018em;
  line-height: 1.25;
  text-wrap: balance;
}

.floaters .btn {
  font-size: 16px;
}

.floaters .beta-foot {
  margin: -16px 0 0;
}

.floaters-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.floater {
  position: absolute;
  top: var(--y);
  left: calc(50% + var(--x) * var(--k));
  width: calc(var(--w) * var(--s, 1));
  height: auto;
}

.floater-diamond { --x: -453px; --y: 89.55px; --w: 98px; }
.floater-hex { --x: -400px; --y: 265.55px; --w: 52px; }
.floater-circle { --x: 425px; --y: 94.55px; --w: 64px; }
.floater-penta { --x: 360px; --y: 235.55px; --w: 85px; }
.sparkle-top { --x: 318px; --y: 6px; --w: 59px; }
.sparkle-left { --x: -328px; --y: 42px; --w: 28px; }
.sparkle-bottom { --x: 8px; --y: 392px; --w: 30px; }

@media (max-width: 1080px) {
  .floaters { --k: 0.8; }
}

@media (max-width: 860px) {
  .floaters { --k: 0.55; padding: 96px 24px 110px; }
  .floater { --s: 0.7; }
  .floater-diamond,
  .floater-circle { --y: 24px; }
  .floater-hex,
  .floater-penta { --y: auto; top: auto; bottom: 28px; }
  .sparkle-bottom { --y: auto; top: auto; bottom: 16px; }
}

@media (max-width: 640px) {
  .floaters { --k: 0.34; }
}

/* Slack-style split: copy on one side, a simplified product illustration on the other */

.splits {
  display: grid;
  gap: 32px;
  padding: 48px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.split-flip .split-copy {
  order: 2;
}

.split-copy .eyebrow {
  margin-bottom: 12px;
}

.split-copy h2 {
  max-width: 564px;
  margin: 0 0 8px;
  font-size: clamp(28px, 2.9vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.split-copy p:last-child {
  max-width: 482px;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}

.split-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 564 / 420;
  min-height: 420px;
  padding: 40px 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.split-orange { background: var(--orange); }
.split-green { background: #0f9d58; }

.split-art:has(.card-film) {
  padding: 0;
}

.split-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.4px) 0 0 / 18px 18px;
}

.card-film {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.card-film-still {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.split-art.is-playing .card-film-still,
.story-art.is-playing .card-film-still,
.bento-stage.is-playing .card-film-still,
.demo.is-playing .card-film-still {
  opacity: 0;
}

.split-page {
  width: min(236px, 58%);
  padding: 28px 22px 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(33, 33, 33, 0.16);
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
  text-align: left;
  transform: rotate(-2deg);
}

.split-page-kicker {
  margin: 0 0 6px;
  color: #6b6b6b;
  font: 700 10px/1.2 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split-page-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
}

.split-page i,
.split-page-hit {
  display: block;
  height: 8px;
  margin: 0 0 10px;
  border-radius: 4px;
  background: #e8e4dc;
}

.split-page .short {
  width: 62%;
}

.split-page-hit {
  height: auto;
  margin: 16px 0;
  background: none;
  font-size: 13px;
  line-height: 1.5;
}

.split-page-hit mark {
  color: inherit;
  background: var(--yellow);
}

.split-chip {
  position: absolute;
  left: 10%;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(33, 33, 33, 0.14);
  color: #1f1f1f;
  font: 400 14px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.split-chip svg {
  width: 14px;
  height: 14px;
  color: #6b6b6b;
}

.split-offline {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.split-local {
  width: min(320px, 82%);
  padding: 22px 22px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(33, 33, 33, 0.12);
  color: #1f1f1f;
  text-align: left;
}

.split-local-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font: 600 14px/1 var(--font);
}

.split-local-head i {
  position: relative;
  width: 28px;
  height: 20px;
  border-radius: 0 4px 4px 4px;
  background: #f4b942;
}

.split-local-head i::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 12px;
  height: 8px;
  border-radius: 3px 3px 0 0;
  background: #e8a417;
}

.split-local ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-local li {
  padding: 8px 0;
  border-top: 1px solid var(--mini-line, rgba(0, 0, 0, 0.08));
  color: var(--text);
  font: 400 14px/1.3 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.split-folder {
  position: static;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--ink);
  font: 600 13px/1 var(--font);
}

.split-folder i {
  position: relative;
  width: 88px;
  height: 64px;
  border-radius: 0 10px 10px 10px;
  background: #f4b942;
}

.split-folder i::before {
  content: "";
  position: absolute;
  left: 0;
  top: -12px;
  width: 36px;
  height: 18px;
  border-radius: 8px 8px 0 0;
  background: #e8a417;
}

.split-mascot {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: 58%;
  height: auto;
}

.split-lock {
  position: static;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 13px/1 var(--font);
}

.band-mint {
  background: #c8f0dc;
  color: var(--ink);
}

.moment {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.moment-mascot {
  width: min(180px, 40vw);
  height: auto;
  animation: mascot-breathe 3.4s ease-in-out infinite;
}

.moment-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.moment-copy p {
  max-width: 36ch;
  margin: 0 auto;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}

.moment-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.moment-pills li {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-weight: 600;
}

/* Bands: full-bleed sections that break the page up (warm surface, ink) */

.band {
  padding: clamp(72px, 9vw, 120px) 0;
}

.band-warm {
  --fg: #212121;
  --text: #3d3828;
  --line: rgba(33, 33, 33, 0.22);
  background: var(--yellow);
  color: #3d3828;
}

.band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.band-head h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.band-head-center {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.band-head-center h2 {
  max-width: 22ch;
  text-wrap: balance;
}

.band-head p {
  margin: 0;
  font-size: var(--fs-body-lg);
}

/* Feature carousel (Pixel-style): product cards with a title and a line each */

.carousel-nav {
  display: flex;
  flex: none;
  gap: 12px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--fg);
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--fg);
  color: var(--bg);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-prev svg {
  transform: scaleX(-1);
}

.carousel {
  --edge: max(24px, calc((100vw - var(--wrap)) / 2));
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0 var(--edge) 12px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel:focus-visible {
  outline-offset: -3px;
}

.feature-card {
  flex: 0 0 min(384px, 80vw);
  scroll-snap-align: start;
}

.feature-art,
.step-art,
.story-art {
  background: #f4f1ea;
}

.feature-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 340px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f4f1ea;
}

.art-yellow { background: linear-gradient(165deg, #fff6b0 0%, #ffd9c4 100%); }
.art-paper { background: linear-gradient(165deg, #d9f4ff 0%, #e4e8ff 100%); }
.art-sky,
.art-tangerine,
.art-lilac,
.art-mint,
.art-pink { background: var(--frame-bg); }

.band-warm .carousel-btn {
  border-color: #212121;
  color: #212121;
  background: transparent;
}

.band-warm .carousel-btn:hover:not(:disabled) {
  background: #212121;
  color: var(--yellow);
}

.band-warm .carousel-progress {
  background: rgba(255, 255, 255, 0.55);
}

.band-warm .carousel-progress span {
  background: #212121;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.feature-card > p {
  max-width: 34ch;
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

/* Feature cards in the carousel. Each holds a SearchQuik window that plays on hover. */

.bento {
  padding-top: 4px;
  padding-bottom: 28px;
}

.bento-card {
  display: flex;
  flex: 0 0 min(580px, 86vw);
  flex-direction: column;
  padding: 10px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  background: #fffdf6;
  box-shadow: 0 1px 2px rgba(33, 33, 33, 0.06);
}

.bento-copy {
  padding: 14px 14px 18px;
}

.bento-copy h3 {
  margin: 0 0 6px;
  color: #212121;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.bento-copy p {
  max-width: 44ch;
  margin: 0;
  color: #4b4a48;
  font-size: 15.5px;
  line-height: 1.5;
}

.bento-stage {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-in);
  background: var(--placeholder);
}

.bento-cam {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px 0 40px;
  transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
}

.is-instant .bento-cam,
.is-instant .bento-cam * {
  transition: none !important;
}

.bento-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 33, 33, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.is-playing .bento-hint,
.bento-card:hover .bento-hint {
  opacity: 0;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .bento-hint {
    display: none;
  }
}

.sq {
  --sq-tint: rgba(243, 243, 243, 0.97);
  --sq-border: rgba(0, 0, 0, 0.1);
  --sq-text: rgba(0, 0, 0, 0.9);
  --sq-text-2: rgba(0, 0, 0, 0.58);
  --sq-divider: rgba(0, 0, 0, 0.08);
  --sq-pill: rgba(255, 255, 255, 0.78);
  --sq-pill-border: rgba(0, 0, 0, 0.06);
  --sq-accent: #005fb8;
  --sq-on-accent: #fff;
  --sq-row: rgba(0, 0, 0, 0.05);
  position: relative;
  width: min(380px, calc(100% - 40px));
  overflow: hidden;
  border-radius: 8px;
  background: var(--sq-tint);
  box-shadow: 0 0 0 1px var(--sq-border), 0 16px 40px rgba(0, 0, 0, 0.14);
  color: var(--sq-text);
  font: 400 13px/18px "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  text-align: left;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 220ms ease, transform 420ms var(--ease);
}

.sq.is-open {
  opacity: 1;
  transform: none;
}

[data-bento="files"] .sq {
  width: calc(100% - 40px);
}

.sq-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--sq-divider);
}

.sq-back {
  flex: none;
  width: 14px;
  height: 14px;
  transform: scaleX(-1);
}

.sq-query {
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
}

.sq-query:empty::before {
  content: "Search";
  color: var(--sq-text-2);
}

.sq-caret {
  flex: none;
  width: 1px;
  height: 18px;
  margin-left: -6px;
  background: var(--sq-text);
}

.is-playing .sq-caret {
  animation: demo-blink 1.06s steps(1) infinite;
}

.sq-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
}

.sq-tabs span {
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--sq-pill);
  box-shadow: inset 0 0 0 1px var(--sq-pill-border);
  font-size: 12px;
  line-height: 24px;
  transition: background 200ms ease, color 200ms ease;
}

.sq-tabs .is-on {
  background: var(--sq-accent);
  box-shadow: none;
  color: var(--sq-on-accent);
}

.sq-body {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr;
  height: 270px;
  border-top: 1px solid var(--sq-divider);
}

.sq-list {
  display: grid;
  align-content: start;
  gap: 2px;
  min-height: 150px;
  margin: 0;
  padding: 6px 8px 10px;
  list-style: none;
}

.sq-body .sq-list {
  border-right: 1px solid var(--sq-divider);
}

.sq-list li {
  display: none;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 260ms var(--ease), background 160ms ease;
}

.sq-list li.is-in {
  display: grid;
}

.sq-list li.is-shown {
  opacity: 1;
  transform: none;
}

.sq-list li.is-selected {
  background: var(--sq-row);
}

.sq-list li.is-pressed {
  background: var(--sq-accent);
  color: var(--sq-on-accent);
}

.sq-list svg {
  width: 20px;
  height: 20px;
}

.sq-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sq-list b {
  font-weight: inherit;
}

.sq-list small {
  display: block;
  color: var(--sq-text-2);
  font-size: 11px;
  line-height: 15px;
}

.sq-list li.is-pressed small {
  color: inherit;
}

.sq-list em {
  padding: 0 7px;
  border-radius: 9px;
  background: var(--sq-row);
  color: var(--sq-text-2);
  font-size: 10.5px;
  font-style: normal;
  line-height: 17px;
}

.sq-pane {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 230px;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 260ms ease;
}

.sq-pane.is-shown {
  opacity: 1;
}

.sq-pane mark {
  color: inherit;
  background: linear-gradient(#ffe066, #ffe066) no-repeat 0 0 / 0% 100%;
  transition: background-size 700ms var(--ease);
}

.sq-pane.is-marked mark {
  background-size: 100% 100%;
}

.sq-doc {
  width: 230px;
  padding: 22px 20px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
}

.sq-doc-kicker {
  margin: 0 0 4px;
  color: #6b6b6b;
  font: 700 7px/1.2 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.14em;
}

.sq-doc-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.sq-doc i {
  display: block;
  height: 5px;
  margin: 0 0 6px;
  border-radius: 2px;
  background: #e4e4e4;
}

.sq-doc i.short {
  width: 64%;
}

.sq-doc-hit {
  margin: 10px 0;
  font-size: 10px;
  line-height: 1.5;
}

.sq-scan {
  width: 220px;
  padding: 20px 18px;
  background: #f3efe4;
  box-shadow: inset 0 0 40px rgba(80, 60, 20, 0.18), 0 2px 6px rgba(0, 0, 0, 0.12);
  color: #2b2b2b;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  transform: rotate(-2deg);
}

.sq-scan-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.sq-scan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.sq-scan-row span {
  flex: 1;
  height: 2px;
  background: rgba(43, 43, 43, 0.35);
}

.sq-scan-row i {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #1d3c8f;
  border-left: 2px solid #1d3c8f;
  transform: rotate(-45deg);
}

.sq-scan-hit {
  margin: 14px 0 12px;
  font-size: 11px;
}

.sq-calcs {
  position: relative;
  height: 112px;
  border-top: 1px solid var(--sq-divider);
}

.sq-calc {
  position: absolute;
  inset: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--sq-row);
  opacity: 0;
  transition: opacity 260ms ease;
}

.sq-calc.is-shown {
  opacity: 1;
}

.sq-calc small {
  display: block;
  color: var(--sq-text-2);
  font-size: 12px;
}

.sq-calc strong {
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.sq-copy {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--sq-pill);
  box-shadow: inset 0 0 0 1px var(--sq-pill-border);
  transition: transform 120ms ease, filter 120ms ease;
}

.sq-copy svg {
  width: 15px;
  height: 15px;
}

.sq-copy.is-pressed {
  filter: brightness(0.9);
  transform: scale(0.9);
}

.sq-launch {
  position: absolute;
  width: 230px;
  padding: 0 0 14px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 16px 40px rgba(0, 0, 0, 0.16);
  color: #1a1a1a;
  font: 400 12px/1.3 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transition: opacity 260ms ease, transform 480ms var(--ease);
}

.sq-launch.is-shown {
  opacity: 1;
  transform: none;
}

.sq-launch-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.sq-launch-bar svg {
  width: 16px;
  height: 16px;
}

.sq-month {
  margin: 10px 14px 6px;
  font-size: 13px;
  font-weight: 600;
}

.sq-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0 10px;
  text-align: center;
}

.sq-days span {
  padding: 3px 0;
  border-radius: 50%;
}

.sq-days .is-today {
  background: #005fb8;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 640px) {
  .bento-stage {
    aspect-ratio: 4 / 3;
  }

  .sq-body {
    grid-template-columns: 1fr;
  }

  .sq-body .sq-list {
    display: none;
  }

  .sq-pane {
    left: 0;
  }
}

/* One product window, used in every card. Same chrome as the app, only the query changes. */

.peek {
  --peek-bg: rgba(243, 243, 243, 0.96);
  --peek-text: rgba(0, 0, 0, 0.9);
  --peek-muted: rgba(0, 0, 0, 0.55);
  --peek-line: rgba(0, 0, 0, 0.08);
  --peek-pill: rgba(255, 255, 255, 0.8);
  --peek-row: rgba(0, 0, 0, 0.05);
  --peek-accent: #005fb8;
  width: min(292px, 86%);
  overflow: hidden;
  border-radius: 12px;
  background: var(--peek-bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(33, 33, 33, 0.1);
  color: var(--peek-text);
  font: 400 12.5px/1.35 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  text-align: left;
}

.peek-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border-bottom: 1px solid var(--peek-line);
}

.peek-back {
  flex: none;
  width: 14px;
  height: 14px;
  transform: scaleX(-1);
}

.peek-caret {
  width: 1px;
  height: 14px;
  margin-left: -4px;
  background: currentColor;
}

.peek-placeholder,
.peek-quiet {
  color: var(--peek-muted);
}

.peek-chip {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--neon);
  font-size: 11px;
  font-weight: 700;
}

.peek-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 10px 0;
}

.peek-tabs span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--peek-pill);
  color: var(--peek-muted);
  font-size: 11px;
}

.peek-tabs .is-on {
  background: var(--peek-accent);
  color: #fff;
}

.peek-label {
  margin: 8px 12px 2px;
  color: var(--peek-muted);
  font-size: 11px;
}

.peek-quiet {
  margin: 16px 12px;
}

.peek-rows,
.peek-checks {
  margin: 0;
  padding: 4px;
  list-style: none;
}

.peek-rows li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
}

.peek-rows li.is-on {
  background: var(--peek-row);
}

.peek-rows svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.peek-rows span,
.peek-checks li {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peek-rows small {
  display: block;
  color: var(--peek-muted);
  font-size: 11px;
}

.peek-page {
  margin: 6px 8px 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
}

.peek-page b {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.peek-page p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.peek-page mark {
  color: inherit;
  background: linear-gradient(#f9ff47, #f9ff47) no-repeat 0 0 / 100% 100%;
}

.peek-calc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--peek-row);
}

.peek-calc small {
  display: block;
  color: var(--peek-muted);
}

.peek-calc strong {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

.peek-copy {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--peek-pill);
}

.peek-copy svg {
  width: 16px;
  height: 16px;
}

.peek-open {
  display: inline-block;
  margin: 0 8px 10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--peek-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.peek-checks {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.peek-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--peek-pill);
  font-weight: 600;
}

.peek-checks li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  line-height: 14px;
  text-align: center;
}

.peek-checks li.on::before {
  content: "✓";
  border-color: var(--ink);
  background: var(--ink);
  color: var(--neon);
}

.peek-checks li.off {
  opacity: 0.45;
}

.carousel-progress {
  position: relative;
  height: 4px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}

.carousel-progress span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  border-radius: 2px;
  background: var(--fg);
}

/* Mini product UIs inside the feature cards: simplified SearchQuik pieces */

.mini {
  position: relative;
  z-index: 1;
  width: 300px;
  padding: 14px;
  border-radius: var(--radius-in);
  background: var(--mini-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(33, 33, 33, 0.14);
  color: var(--mini-fg);
  font: 400 13px/1.35 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  text-align: left;
  transition: transform 400ms var(--ease);
}

.feature-card:hover .mini,
.feature-card:hover .mini-scan {
  transform: none;
}

.mini-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--mini-field);
  font-size: 14px;
}

.mini-bar svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--mini-muted);
}

.mini-caret {
  width: 1px;
  height: 16px;
  margin-left: -6px;
  background: currentColor;
  animation: demo-blink 1.06s steps(1) infinite;
}

.mini-page {
  padding: 18px 18px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
}

.mini-page b {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.mini-page i {
  display: block;
  height: 5px;
  margin: 0 0 6px;
  border-radius: 2px;
  background: #e6e6e6;
}

.mini-page .short {
  width: 60%;
}

.mini-page p {
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.5;
}

.mini-page mark {
  color: inherit;
  background: linear-gradient(#f9ff47, #f9ff47) no-repeat 0 0 / 100% 100%;
}

.mini-scan {
  position: relative;
  z-index: 1;
  width: 250px;
  overflow: hidden;
  padding: 22px 20px 16px;
  background: #f3efe4;
  box-shadow: inset 0 0 40px rgba(80, 60, 20, 0.18), 0 18px 40px rgba(33, 33, 33, 0.16);
  color: #2b2b2b;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  transform: rotate(-3deg);
  transition: transform 400ms var(--ease);
}

.mini-scan b {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
}

.mini-scan i {
  display: block;
  height: 2px;
  margin: 0 0 14px;
  background: rgba(43, 43, 43, 0.35);
}

.mini-scan p {
  position: relative;
  margin: 18px 0 14px;
  font-size: 12px;
}

.mini-scan p::before {
  content: "";
  position: absolute;
  inset: -5px -7px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  background: rgba(255, 102, 55, 0.18);
}

.scan-beam {
  position: absolute;
  left: 10%;
  right: 10%;
  z-index: 2;
  height: 2px;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky-bright);
  opacity: 0;
}

.mini-scan p span {
  position: relative;
}

.mini-scan svg {
  width: 110px;
}

.mini-calc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--mini-row);
}

.mini-calc small {
  display: block;
  color: var(--mini-muted);
  font-size: 12px;
}

.mini-calc strong {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.mini-copy {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--mini-bg);
  box-shadow: inset 0 0 0 1px var(--mini-line);
}

.mini-copy svg {
  width: 16px;
  height: 16px;
}

.mini-rows {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
}

.mini-rows li.is-on {
  background: var(--mini-row);
}

.mini-rows svg {
  flex: none;
  width: 24px;
  height: 24px;
}

.mini-rows span {
  min-width: 0;
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-rows small {
  display: block;
  color: var(--mini-muted);
  font-size: 11.5px;
}

/* How it works (Slack-style ink breaker) */

.band-ink {
  --fg: #ffffff;
  --text: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  color: var(--text);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 280px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f4f1ea;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.step p {
  max-width: 30ch;
  margin: 0;
  line-height: 1.55;
}

.step-art kbd {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  height: 64px;
  padding: 0 18px;
  border: 1px solid #d1d1d1;
  border-bottom: 4px solid #bdbdbd;
  border-radius: 10px;
  background: #fbfbfb;
  color: #1f1f1f;
  font: 600 20px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  animation: keypress 3.2s ease-in-out infinite;
}

.step-art .kbd-wide {
  min-width: 150px;
}

.step-art > span {
  color: var(--fg);
  font-size: 22px;
  font-weight: 600;
}

.step-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 82%;
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(33, 33, 33, 0.12);
  color: #1f1f1f;
  font: 400 17px/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

.step-search svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: #6b6b6b;
}

.step-search i {
  width: 1.5px;
  height: 20px;
  margin-left: -8px;
  background: #1f1f1f;
  animation: demo-blink 1.06s steps(1) infinite;
}

.step-doc {
  width: 150px;
  padding: 22px 18px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(33, 33, 33, 0.12);
  transform: rotate(-4deg);
}

.step-doc i,
.step-doc mark {
  display: block;
  height: 7px;
  margin: 0 0 9px;
  border-radius: 3px;
  background: #e4e4e4;
}

.step-doc mark {
  background: var(--yellow);
}

.step-doc .short {
  width: 60%;
}

.step-cursor {
  position: absolute;
  left: 56%;
  top: 56%;
  width: 30px;
  animation: nudge 3.2s ease-in-out infinite;
}

@keyframes sweep {
  0%,
  38% {
    background-size: 0% 100%;
  }

  55%,
  78% {
    background-size: 100% 100%;
  }

  100% {
    background-size: 0% 100%;
  }
}

@keyframes type-on {
  0%,
  8% {
    max-width: 0;
  }

  46%,
  74% {
    max-width: calc(var(--ch, 12) * 1ch);
  }

  100% {
    max-width: 0;
  }
}

@keyframes answer {
  0%,
  32% {
    opacity: 0;
    transform: translateY(8px);
  }

  48%,
  78% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
  }
}

@keyframes beam {
  0%,
  8% {
    top: 14%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  52%,
  70% {
    top: 72%;
    opacity: 1;
  }

  84%,
  100% {
    top: 72%;
    opacity: 0;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(10px, -8px, 0);
  }
}

@keyframes pick {
  0%,
  18% {
    background: transparent;
    color: transparent;
  }

  32%,
  80% {
    background: var(--ink);
    color: var(--neon);
  }

  100% {
    background: transparent;
    color: transparent;
  }
}

@keyframes pop {
  0%,
  12% {
    opacity: 0;
    transform: scale(1.15);
  }

  30%,
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes keypress {
  0%,
  40%,
  62%,
  100% {
    transform: none;
    border-bottom-width: 4px;
  }

  46%,
  56% {
    transform: translateY(3px);
    border-bottom-width: 1px;
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translate(16px, 16px);
  }

  50% {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .band-head:not(.band-head-center) {
    flex-direction: column;
    align-items: flex-start;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-flip .split-copy {
    order: 0;
  }

  .split-art {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .feature-art {
    height: 300px;
  }

  .mini {
    width: 260px;
  }

  .step-art {
    height: 240px;
  }
}

/* FAQ, closing card, footer */

.section {
  padding: clamp(64px, 9vw, 120px) 0 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-head-left {
  max-width: 22ch;
  margin: 0 0 40px;
  text-align: left;
}

.section-head-left h2 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.section-head-left p {
  margin-top: 12px;
  max-width: 38ch;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.why-row {
  padding: 28px 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.why-row-accent {
  background: var(--yellow);
  color: var(--ink);
}

.why-row-accent h3,
.why-row-accent p {
  color: var(--ink);
}

.why-row h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.why-row p {
  margin: 0;
  max-width: 36ch;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}

.stay .band-head {
  margin-bottom: 24px;
}

.stay .band-head h2 {
  max-width: 16ch;
}

.stay .band-head p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-card {
  --card: #fff;
  --card-text: #212121;
  --card-muted: rgba(33, 33, 33, 0.78);
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--placeholder);
}

.story-orange { --card: var(--orange); }
.story-yellow { --card: var(--yellow); }
.story-pink { --card: var(--pink); }

.story-sky {
  --card: var(--sky);
  --card-text: #fff;
  --card-muted: rgba(255, 255, 255, 0.88);
}

.story-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: var(--placeholder);
}

.story-copy {
  flex: 1;
  padding: 22px 24px 26px;
  background: var(--card);
}

.story-copy h3 {
  margin: 0 0 8px;
  color: var(--card-text);
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.story-copy p {
  margin: 0;
  max-width: 34ch;
  color: var(--card-muted);
  font-size: 15px;
  line-height: 1.55;
}

.story-wide {
  display: grid;
  grid-column: span 4;
  grid-template-columns: minmax(0, 400fr) minmax(0, 393fr);
  align-items: stretch;
  min-height: 384px;
}

.story-pink {
  grid-template-columns: minmax(0, 352fr) minmax(0, 441fr);
  min-height: 409px;
}

.story-wide .story-art {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}

.story-wide .story-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  padding: 28px;
}

.story-wide .story-copy h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
}

.story-wide .story-copy p {
  max-width: 297px;
}

.peek.is-light {
  --peek-bg: rgba(243, 243, 243, 0.96);
  --peek-text: rgba(0, 0, 0, 0.9);
  --peek-muted: rgba(0, 0, 0, 0.55);
  --peek-line: rgba(0, 0, 0, 0.08);
  --peek-pill: rgba(255, 255, 255, 0.8);
  --peek-row: rgba(0, 0, 0, 0.05);
  --peek-accent: #005fb8;
}

.peek.is-dark {
  --peek-bg: rgba(44, 44, 44, 0.96);
  --peek-text: #fff;
  --peek-muted: rgba(255, 255, 255, 0.62);
  --peek-line: rgba(255, 255, 255, 0.1);
  --peek-pill: rgba(255, 255, 255, 0.08);
  --peek-row: rgba(255, 255, 255, 0.08);
  --peek-accent: #60cdff;
}

.peek.is-light .peek-tabs .is-on {
  color: #fff;
}

.peek.is-dark .peek-tabs .is-on {
  color: #000;
}

@media (max-width: 980px) {
  .stay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card {
    grid-column: span 1;
  }

  .story-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .stay-grid {
    grid-template-columns: 1fr;
  }

  .story-wide {
    display: flex;
    min-height: 0;
  }

  .story-wide .story-art {
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: unset;
  }

  .story-wide .story-copy {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 22px 24px 26px;
  }
}

.scene,
.scene-window,
.scene-picks {
  position: relative;
  z-index: 1;
}

.scene-private,
.scene-offline {
  width: min(250px, 78%);
  padding: 16px 16px 14px;
  border-radius: var(--radius-in);
  background: #fff;
  box-shadow: 0 16px 36px rgba(33, 33, 33, 0.14);
  color: #212121;
  text-align: left;
}

.scene-kicker,
.scene-query {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.scene-query svg {
  width: 14px;
  height: 14px;
}

.scene ul,
.scene-picks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene li,
.scene-hit {
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid rgba(33, 33, 33, 0.08);
  font-size: 13px;
}

.scene-lock {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--neon);
  font-size: 12px;
  font-weight: 700;
}

.scene-offline .scene-lock {
  position: absolute;
  top: 14px;
  right: 12px;
  margin: 0;
}

.scene-offline .scene-query {
  padding-right: 86px;
}

.scene-picks {
  display: grid;
  gap: 8px;
  width: min(230px, 76%);
}

.scene-picks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #212121;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(33, 33, 33, 0.08);
}

.scene-picks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #212121;
  border-radius: 6px;
  background: transparent;
  color: var(--neon);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.scene-picks li.on::before {
  content: "✓";
  background: var(--ink);
}

.scene-picks li.off {
  opacity: 0.45;
}

.scene-window {
  width: min(240px, 78%);
  padding: 18px 18px 16px;
  border-radius: var(--radius-in);
  background: #fff;
  box-shadow: 0 16px 36px rgba(33, 33, 33, 0.14);
  text-align: left;
}

.scene-window p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scene-window span {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(127, 127, 127, 0.12);
  font-size: 15px;
}

.type {
  display: inline-block;
  max-width: calc(var(--ch, 12) * 1ch);
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin-inline: auto;
}

.faq-col {
  display: contents;
}

.faq {
  padding-bottom: clamp(160px, 15vw, 210px);
}

.faq-item {
  padding: 6px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.faq-item button {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--radius-in);
  background: none;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: transform 320ms var(--bounce);
}

.faq-item.open .faq-mark {
  transform: rotate(45deg);
}

.faq-item .answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 20px 0 56px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  visibility: hidden;
  opacity: 0;
  transition: grid-template-rows 360ms var(--ease), padding 360ms var(--ease), opacity 240ms ease, visibility 0s linear 360ms;
}

.faq-item .answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.faq-item .answer a {
  color: var(--fg);
}

.faq-item.open .answer {
  grid-template-rows: 1fr;
  padding-bottom: 18px;
  visibility: visible;
  opacity: 1;
  transition: grid-template-rows 360ms var(--ease), padding 360ms var(--ease), opacity 240ms ease 80ms, visibility 0s;
}

#beta {
  position: relative;
  scroll-margin-top: 80px;
}

.anchor-alias {
  position: absolute;
  top: 0;
}

.beta-foot {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.beta-foot[hidden] {
  display: none;
}

/* Beta dialog (behaviour in beta.js) */

.beta-modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.beta-modal::backdrop {
  background: rgba(20, 20, 19, 0.5);
}

.beta-sheet {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px 28px 28px;
  text-align: left;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.beta-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.beta-panel {
  display: grid;
  gap: 20px;
}

.beta-panel[hidden],
.beta-account[hidden] {
  display: none;
}

.beta-title {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 96px);
  min-height: 36px;
  margin: 0;
  color: var(--fg);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.beta-title:focus,
.beta-title:focus-visible {
  outline: none;
}

.beta-text,
.beta-hint,
.beta-account {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.beta-hint {
  font-size: 13px;
}

.beta-text a,
.beta-hint a {
  color: var(--fg);
  text-underline-offset: 3px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

.field .optional {
  color: var(--text-muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--fg);
  font-size: 15px;
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: 16px;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fg);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

.field-check a {
  color: var(--fg);
}

.field-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--yellow);
}

.beta-submit {
  width: 100%;
  min-height: 52px;
}

.beta-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.beta-status {
  margin: 0;
  font-size: 14px;
}

.beta-status:empty {
  display: none;
}

.beta-status.is-error {
  color: #e5484d;
}

@media (max-width: 720px) {
  .beta-modal {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
  }

  .beta-modal[open] {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .beta-sheet {
    width: 100%;
    max-height: 92dvh;
    border-radius: 28px 28px 0 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* Inner pages: privacy, terms, support, licenses, accessibility, 404 */

.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 16px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.page-hero .lede {
  max-width: 46ch;
  margin: 0;
  color: var(--text);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
}

.page-hero .lede a,
.prose a {
  color: var(--fg);
}

.prose {
  max-width: 68ch;
  padding-bottom: clamp(72px, 10vw, 128px);
  overflow-wrap: break-word;
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ol,
.prose ul {
  padding-left: 1.2em;
}

.missing #main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56vh;
  padding: 72px 0 96px;
  text-align: center;
}

.missing .lede {
  margin-left: auto;
  margin-right: auto;
}

.missing .btn {
  margin-top: 28px;
}

/* Footer */

.site-footer {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(var(--footer-bg), var(--footer-fade));
  color: var(--fg);
}

.site-footer:has(.footer-mascot) {
  --mascot: min(674px, 92vw);
  margin-top: calc(var(--mascot) * 0.21);
  padding-top: calc(var(--mascot) * 0.247);
}

.footer-mascot {
  position: absolute;
  top: calc(var(--mascot) * -0.455);
  left: calc(50% - 9px);
  width: var(--mascot);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand .brand {
  color: var(--fg);
}

.footer-email {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.footer-email:hover {
  color: var(--fg);
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-social {
  display: grid;
  gap: 12px;
}

.footer-grid .footer-social h2 {
  margin: 0;
  color: var(--fg);
  font-size: 14px;
  letter-spacing: 0;
}

.footer-social ul {
  display: flex;
  gap: 29px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: block;
  color: var(--fg);
}

.footer-social svg {
  width: 24px;
  height: 25px;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 56px;
}

.footer-cols > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid h2 {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-cols a {
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.footer-cols a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cookie consent (inserted by site.js): full-width bar, privacy settings dialog, footer link */

html.beta-open .cookie-bar {
  display: none;
}

html.has-cookie-bar body {
  padding-bottom: var(--cookie-h, 0px);
}

.cookie-bar,
.cookie-dialog {
  --cookie-bg: var(--raised);
  --cookie-fg: var(--fg);
  --cookie-text: var(--text);
  --cookie-line: var(--line);
  --cookie-btn: var(--fg);
  --cookie-on-btn: var(--raised);
}

.cookie-bar {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 16px 32px;
  padding: 14px 64px 14px max(24px, calc((100% - 1200px) / 2));
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--cookie-line);
  background: var(--cookie-bg);
  box-shadow: 0 -6px 20px rgba(20, 20, 20, 0.06);
  color: var(--cookie-fg);
  font-size: 13px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  .cookie-bar {
    animation: cookie-in 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@keyframes cookie-in {
  from {
    transform: translateY(100%);
  }
}

.cookie-bar p {
  flex: 1 1 auto;
  max-width: 68ch;
  margin: 0;
  color: var(--cookie-text);
}

.cookie-bar a,
.cookie-link {
  color: var(--cookie-fg);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-bar-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.cookie-link {
  padding: 4px 2px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--cookie-btn);
  border-radius: 999px;
  background: var(--cookie-btn);
  color: var(--cookie-on-btn);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 150ms ease;
}

.cookie-btn:hover {
  opacity: 0.86;
}

.cookie-btn-quiet {
  background: transparent;
  color: var(--cookie-fg);
  border-color: var(--cookie-line);
}

.cookie-close {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--cookie-fg);
  cursor: pointer;
  transform: translateY(-50%);
}

.cookie-close:hover {
  background: var(--cookie-line);
}

.cookie-close svg {
  width: 16px;
  height: 16px;
}

.cookie-bar :focus-visible,
.cookie-dialog :focus-visible {
  outline: 2px solid var(--cookie-fg);
  outline-offset: 2px;
}

.cookie-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 28px;
  border: 0;
  border-radius: 20px;
  background: var(--cookie-bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  color: var(--cookie-fg);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-dialog::backdrop {
  background: rgba(20, 20, 20, 0.45);
}

.cookie-dialog h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.cookie-dialog h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

.cookie-dialog p {
  margin: 0;
  color: var(--cookie-text);
}

.cookie-dialog-lede {
  margin-bottom: 18px !important;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--cookie-line);
}

label.cookie-option {
  cursor: pointer;
}

.cookie-always {
  flex: none;
  color: var(--cookie-text);
  font-size: 13px;
  font-weight: 600;
}

.cookie-switch {
  flex: none;
  position: relative;
  width: 44px;
  height: 24px;
  margin: 0;
  border-radius: 999px;
  background: var(--cookie-line);
  appearance: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease;
}

.cookie-switch:checked {
  background: var(--cookie-btn);
}

.cookie-switch:checked::after {
  background: var(--cookie-on-btn);
  transform: translateX(20px);
}

.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--cookie-line);
}

.cookie-dialog .cookie-close {
  top: 16px;
  transform: none;
}

.footer-cookie-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.footer-cookie-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 56px 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .cookie-bar-actions {
    flex-wrap: wrap;
  }

  .cookie-close {
    top: 10px;
    right: 8px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .cookie-bar {
    padding-right: 20px;
  }

  .cookie-bar p {
    padding-right: 32px;
  }

  .cookie-bar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cookie-dialog {
    padding: 24px 20px;
  }

  .cookie-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-dialog-actions .cookie-btn-quiet {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media print {
  .cookie-bar {
    display: none;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-header > .btn,
  .header-actions > .btn {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    z-index: 60;
    display: none;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 10px;
    border-radius: 24px;
    background: var(--raised);
    box-shadow: 0 0 0 1px var(--line), var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 17px;
  }

  .faq-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 0 16px;
  }

  .site-header.is-scrolled {
    padding: 0 8px 0 18px;
  }

  .brand-logo {
    height: 26px;
  }

  .account-signin {
    white-space: nowrap;
  }
}

@media (max-width: 440px) {
  .brand-logo {
    height: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .demo-frame {
    border-radius: var(--radius);
  }

  .faq-item .answer {
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.8s var(--ease) both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }

  .demo-wrap > * {
    animation: rise 0.9s var(--ease) 0.25s both;
  }

  .rise {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .rise.is-in {
    opacity: 1;
    transform: none;
  }
}

/* No opacity in the hero entrance: text that starts invisible delays Largest Contentful Paint. */
@keyframes rise {
  from {
    transform: translateY(24px);
  }

  to {
    transform: none;
  }
}


/* Card animations run only while the card is hovered; at rest each card shows its finished frame. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  :is(.step, .story-card):hover .type {
    max-width: 0;
    animation: type-on 7.2s linear infinite;
  }

  :is(.step, .story-card):hover .peek-caret {
    animation: demo-blink 1.06s steps(1) infinite;
  }

  .step:hover .peek-page mark {
    background-size: 0% 100%;
    animation: sweep 7.2s var(--ease) infinite;
  }

  .step:hover .peek-open {
    animation: keypress 3.2s ease-in-out infinite;
  }

  .story-card:hover .peek-checks li.on::before {
    animation: pop 7.2s var(--bounce) infinite;
  }

  .story-card:hover .peek-checks li.on:nth-child(2)::before { animation-delay: 0.35s; }
  .story-card:hover .peek-checks li.on:nth-child(3)::before { animation-delay: 0.7s; }
}

/* Microinteractions. Press and idle motion run everywhere; hover motion only with a real pointer. */
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 240ms var(--bounce), box-shadow 240ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  }

  .btn:active {
    transform: scale(0.96);
    transition-duration: 90ms;
  }

  .carousel-btn {
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 240ms var(--bounce);
  }

  .carousel-btn:active:not(:disabled) {
    transform: scale(0.9);
  }

  .carousel-btn svg {
    transition: transform 420ms var(--bounce);
  }

  .faq-mark {
    transition: transform 320ms var(--bounce), scale 160ms ease;
  }

  .faq-item button:active .faq-mark {
    scale: 0.82;
  }

  .footer-cols a,
  .footer-email {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size 280ms var(--ease), color 160ms ease;
  }

  .footer-social a {
    transition: transform 260ms var(--bounce), opacity 160ms ease;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(252, 160, 0, 0.75);
  }

  :is(.btn-solid, .btn-outline, .btn-ghost):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(33, 33, 33, 0.35);
  }

  .btn:hover:active {
    transform: scale(0.96);
    box-shadow: none;
  }

  .carousel-btn:hover:not(:disabled) svg {
    transform: translateX(3px);
  }

  .carousel-prev:hover:not(:disabled) svg {
    transform: scaleX(-1) translateX(3px);
  }

  .statement .pill {
    transition: transform 280ms var(--bounce), background 200ms ease;
  }

  .statement .pill:hover {
    background: rgba(252, 200, 0, 0.55);
    transform: translateY(-3px) rotate(-2deg);
  }

  .statement .pill:hover svg {
    animation: wiggle 520ms ease-in-out;
  }

  :is(.bento-card, .story-card) {
    transition: transform 360ms var(--ease), box-shadow 360ms ease;
  }

  :is(.bento-card, .story-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -18px rgba(33, 33, 33, 0.35);
  }

  .split-art {
    transition: transform 480ms var(--ease), border-radius 480ms var(--ease);
  }

  .split:hover .split-art {
    transform: scale(1.015) rotate(-0.6deg);
    border-radius: 36px;
  }

  .split-flip:hover .split-art {
    transform: scale(1.015) rotate(0.6deg);
  }

  .faq-item:not(.open) button:hover .faq-mark {
    transform: rotate(90deg);
  }

  .faq-item button:hover .faq-mark {
    scale: 1.1;
  }

  .footer-cols a:hover,
  .footer-email:hover {
    background-size: 100% 1.5px;
    text-decoration: none;
  }

  .footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.12);
  }
}

/* Closing section: shapes spring out from behind the headline once, lean toward the CTA while it is hovered or
   focused, and tilt a little toward the pointer. site.js sets [data-motion], .is-in, .is-settled and .is-gather. */
.floaters {
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --cta-y: 300px;
}

@supports (transition-timing-function: linear(0, 1)) {
  .floaters {
    --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  }
}

.floater-diamond { --d: 0.05s; --tilt: -14deg; --lean: 12deg; }
.floater-hex { --d: 0.2s; --tilt: 10deg; --lean: 16deg; }
.floater-circle { --d: 0.12s; --tilt: 12deg; --lean: -12deg; }
.floater-penta { --d: 0.28s; --tilt: -10deg; --lean: -16deg; }
.sparkle-top { --d: 0.45s; --tilt: 0deg; }
.sparkle-left { --d: 0.55s; --tilt: 0deg; }
.sparkle-bottom { --d: 0.65s; --tilt: 0deg; }

.fw {
  display: inline-block;
  margin-bottom: -0.1em;
  padding-bottom: 0.1em;
  overflow: hidden;
  vertical-align: top;
}

.fw > span {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .floaters[data-motion] .floater {
    transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(calc(var(--rot, 0deg) + var(--mx, 0) * var(--tilt, 0deg))) scale(var(--sc, 1));
    transition: transform 1000ms var(--spring) var(--d), opacity 400ms ease var(--d);
  }

  .floaters[data-motion]:not(.is-in) .floater {
    --tx: calc(var(--x) * var(--k) * -0.82);
    --ty: calc(170px - var(--y));
    --sc: 0.2;
    --rot: -40deg;
    opacity: 0;
  }

  .floaters.is-settled .floater {
    transition: transform 700ms var(--spring), opacity 300ms ease;
  }

  .floaters.is-gather .floater {
    --tx: calc(var(--x) * var(--k) * -0.08);
    --ty: calc((var(--cta-y) - var(--y)) * 0.1);
    --sc: 1.06;
    --rot: var(--lean, 0deg);
  }

  .floaters.is-gather :is(.sparkle-top, .sparkle-left, .sparkle-bottom) {
    --tx: 0;
    --ty: 0;
    --sc: 1.2;
    --rot: 16deg;
  }

  .floaters[data-motion] .fw > span {
    transition: transform 900ms var(--spring) calc(var(--w) * 70ms + 0.1s);
  }

  .floaters[data-motion]:not(.is-in) .fw > span {
    transform: translateY(110%);
  }

  .floaters[data-motion] .floaters-copy .btn {
    transition: transform 240ms var(--bounce), box-shadow 240ms ease, background 160ms ease, opacity 500ms ease 0.55s, translate 900ms var(--spring) 0.55s;
  }

  .floaters[data-motion]:not(.is-in) .floaters-copy .btn {
    opacity: 0;
    translate: 0 16px;
  }
}

@keyframes wiggle {
  0%, 100% { rotate: 0deg; }
  25% { rotate: -14deg; }
  60% { rotate: 10deg; }
}

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 48s linear infinite;
  }

  .ticker:hover .ticker-track {
    animation-play-state: paused;
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
