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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--n900);
  background: var(--n0);
  overflow-x: hidden;
}

/* nav */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-shell.is-scrolled {
  border-bottom-color: var(--n200);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.brand {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: var(--n1000);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--n700);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid var(--n200);
  background: var(--n0);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.nav-cta:hover {
  border-color: var(--n300);
  color: var(--n900);
}

/* hero copy */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
  text-align: center;
}

h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto;
}

.flip-headline {
  max-width: none;
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-align: center;
}

.flip-headline-text {
  display: inline;
  vertical-align: baseline;
}

.headline-pill.flip-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34em;
  padding: 0.13em 0.46em;
  margin-left: 0.14em;
  vertical-align: baseline;
  translate: none;
  line-height: 1;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 9999px;
  white-space: nowrap;
}

.headline-pill.flip-pill .pill-dot {
  align-self: center;
  translate: none;
}

.flip-slot {
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  min-width: 1ch;
  top: 0.02em;
}

.flip-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
}

.flip-viewport {
  position: relative;
  display: block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  text-align: left;
}

.flip-word {
  display: block;
  line-height: 1;
  white-space: nowrap;
  font: inherit;
  letter-spacing: inherit;
  transition: transform 340ms ease-out, opacity 340ms ease-out;
}

.flip-word.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.flip-word.is-exiting {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: translateY(-108%);
  opacity: 0;
}

.flip-word.is-entering {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: translateY(108%);
  opacity: 0;
}

.flip-word.is-entering.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.headline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  padding: 0.14em 0.46em 0.16em;
  border-radius: 9999px;
  background: rgba(0, 122, 255, 0.1);
  white-space: nowrap;
  vertical-align: 0.06em;
  line-height: 1;
}

.headline-pill-text {
  line-height: 1;
  translate: 0 0.02em;
}

.pill-dot {
  width: 0.28em;
  height: 0.28em;
  min-width: 7px;
  min-height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  translate: 0 -0.02em;
}

.sub {
  margin: 24px auto 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--n600);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.waitlist {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 420px;
  width: 100%;
}

.waitlist input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--n200);
  background: var(--n0);
  color: var(--n900);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.waitlist input::placeholder {
  color: var(--n500);
}

.waitlist input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.18);
}

.waitlist button {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 12px 18px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.08s;
  white-space: nowrap;
}

.waitlist button:hover {
  background: var(--accent-hover);
}

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

.waitlist.done button {
  background: var(--n900);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.hp-field {
  display: none;
}

/* stage */
.stage {
  position: relative;
  max-width: var(--max-width);
  margin: 96px auto 0;
  height: 880px;
}

svg.flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

/* generic window chrome */
.win {
  position: absolute;
  z-index: 2;
  background: var(--n0);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--n200);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.05);
  opacity: 0.62;
  filter: saturate(0.75);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.win:hover {
  opacity: 1;
  filter: none;
  z-index: 4;
}

.win .bar {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: var(--n100);
  border-bottom: 1px solid var(--n200);
}

.win .bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--n300);
  display: block;
}

.win .bar i:nth-child(1) { background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }

.win-label {
  position: absolute;
  top: -22px;
  left: 4px;
  font-size: 13px;
  color: var(--n500);
  font-weight: 500;
}

/* ---- SLACK ---- */
.slack {
  width: 340px;
  left: -10px;
  top: 130px;
  transform: rotate(-2deg);
}

.slack .body {
  display: flex;
  height: 228px;
  font-size: 11px;
}

.slack .side {
  width: 116px;
  background: #3f0e40;
  color: #cfc2cf;
  padding: 9px 8px;
  flex: none;
}

.slack .side .ws {
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.slack .side .ch {
  padding: 3px 6px;
  border-radius: 5px;
  color: #c9bcc9;
  margin-bottom: 1px;
}

.slack .side .ch.on {
  background: #1164a3;
  color: #fff;
}

.slack .main {
  flex: 1;
  padding: 10px;
  background: #fff;
  overflow: hidden;
}

.slack .hd {
  font-weight: 700;
  color: #1d1c1d;
  font-size: 12px;
  margin-bottom: 8px;
}

.slack .msg {
  margin-bottom: 9px;
}

.slack .msg .nm {
  font-weight: 700;
  color: #1d1c1d;
  font-size: 11px;
}

.slack .msg .tx {
  color: #3b3b3b;
  font-size: 11px;
  line-height: 1.35;
}

/* ---- TEAMS ---- */
.teams {
  width: 330px;
  left: 300px;
  top: 18px;
  transform: rotate(1deg);
}

.teams .body {
  display: flex;
  height: 218px;
  font-size: 11px;
}

.teams .rail {
  width: 46px;
  background: #f0f0f7;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
}

.teams .rail b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #d7d8ef;
  display: block;
}

.teams .rail b.on { background: #5059c9; }

.teams .list {
  width: 104px;
  flex: none;
  border-right: 1px solid #eee;
  padding: 8px 6px;
}

.teams .list .it {
  padding: 5px;
  border-radius: 6px;
  margin-bottom: 3px;
}

.teams .list .it.on { background: #e8e8fb; }

.teams .list .it .t {
  font-weight: 600;
  color: #252423;
  font-size: 10px;
}

.teams .list .it .s {
  color: #8a8886;
  font-size: 9px;
}

.teams .conv {
  flex: 1;
  padding: 10px;
  background: #fff;
}

.teams .conv .hd {
  font-weight: 700;
  color: #252423;
  margin-bottom: 8px;
}

.teams .bub {
  background: #f5f5f9;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 7px;
  color: #3b3a39;
  font-size: 10.5px;
  line-height: 1.35;
}

.teams .bub .nm {
  font-weight: 700;
  color: #252423;
  font-size: 10px;
  margin-bottom: 1px;
}

/* ---- OUTLOOK ---- */
.outlook {
  width: 380px;
  left: 660px;
  top: 34px;
  transform: rotate(2deg);
}

.outlook .top {
  height: 30px;
  background: #0f6cbd;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
}

.outlook .top .o {
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.outlook .top .se {
  flex: 1;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.outlook .body {
  display: flex;
  height: 206px;
  font-size: 11px;
}

.outlook .fold {
  width: 92px;
  flex: none;
  padding: 8px;
  color: #444;
  background: #faf9f8;
}

.outlook .fold .f {
  padding: 3px 4px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.outlook .fold .f.on {
  background: #cfe4f7;
  color: #0f6cbd;
  font-weight: 600;
}

.outlook .mid {
  width: 150px;
  flex: none;
  border-right: 1px solid #eee;
  padding: 6px;
}

.outlook .em {
  padding: 6px;
  border-radius: 6px;
  margin-bottom: 3px;
  border-left: 2px solid transparent;
}

.outlook .em.on {
  background: #eaf3fb;
  border-left-color: #0f6cbd;
}

.outlook .em .s {
  font-weight: 700;
  color: #252525;
  font-size: 10px;
}

.outlook .em .p {
  color: #777;
  font-size: 9.5px;
}

.outlook .read {
  flex: 1;
  padding: 9px;
  background: #fff;
}

.outlook .read .s {
  font-weight: 700;
  color: #222;
  font-size: 11.5px;
  margin-bottom: 4px;
}

.outlook .read .meta {
  color: #888;
  font-size: 9.5px;
  margin-bottom: 7px;
}

.outlook .read .bd {
  color: #3b3b3b;
  font-size: 10.5px;
  line-height: 1.4;
}

/* ---- GMAIL ---- */
.gmail {
  width: 390px;
  left: 720px;
  top: 430px;
  transform: rotate(-1deg);
}

.gmail .top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid #eee;
}

.gmail .top .g {
  font-weight: 700;
  color: #5f6368;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gmail .top .g b { color: #ea4335; }

.gmail .top .se {
  flex: 1;
  height: 20px;
  background: #eaf1fb;
  border-radius: 6px;
}

.gmail .body {
  height: 206px;
  background: #fff;
  padding: 8px 0;
  font-size: 11px;
}

.gmail .comp {
  margin: 0 12px 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #c2e7ff;
  color: #001d35;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 11px;
}

.gmail .tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #eee;
  margin: 0 0 4px;
  padding: 0 12px;
}

.gmail .tabs span {
  padding: 5px 10px;
  color: #5f6368;
  font-size: 10.5px;
}

.gmail .tabs span.on {
  color: #1a73e8;
  border-bottom: 2px solid #1a73e8;
  font-weight: 600;
}

.gmail .e {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

.gmail .e .from {
  width: 88px;
  flex: none;
  font-weight: 700;
  color: #202124;
  font-size: 10.5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gmail .e .sub {
  flex: 1;
  color: #3c4043;
  font-size: 10.5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gmail .e .dt {
  color: #5f6368;
  font-size: 9.5px;
  flex: none;
}

/* ---- NOTION ---- */
.notion {
  width: 430px;
  left: 300px;
  top: 520px;
  transform: rotate(1deg);
}

.notion .body {
  display: flex;
  height: 210px;
  font-size: 11px;
}

.notion .side {
  width: 96px;
  flex: none;
  background: #f7f7f5;
  padding: 9px 8px;
  color: #5b5a56;
}

.notion .side .ws {
  font-weight: 700;
  color: #37352f;
  font-size: 10.5px;
  margin-bottom: 8px;
}

.notion .side .p {
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 10px;
  margin-bottom: 1px;
}

.notion .side .p.on {
  background: #ededeb;
  color: #37352f;
}

.notion .board {
  flex: 1;
  padding: 10px;
  background: #fff;
  overflow: hidden;
}

.notion .board .hd {
  font-weight: 700;
  color: #37352f;
  font-size: 12px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notion .cols {
  display: flex;
  gap: 8px;
}

.notion .col { flex: 1; }

.notion .col .ct {
  font-size: 9px;
  color: #787774;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.notion .card {
  background: #f7f7f5;
  border: 1px solid #ededeb;
  border-radius: 6px;
  padding: 5px 6px;
  margin-bottom: 5px;
  color: #37352f;
  font-size: 9.5px;
  line-height: 1.3;
}

/* ---- the landmark dark search surface ---- */
.surface-wrap {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: min(440px, 78vw);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.surface-wrap.is-expanded {
  width: min(560px, 84vw);
}

.glow {
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.16), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  opacity: 0.55;
  transition: opacity 0.45s ease, inset 0.5s ease;
}

.surface-wrap.is-expanded .glow {
  opacity: 1;
  inset: -50px;
}

.surface-wrap:not(.is-expanded) .glow {
  inset: -28px;
}

.hotkey-note {
  position: absolute;
  top: -28px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--n500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hotkey-note kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--n0);
  border: 1px solid var(--n300);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--n700);
}

.surface {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-radius: 9999px;
  padding: 11px 16px;
  color: var(--d-text);
  box-shadow:
    0 18px 44px -16px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition:
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
  overflow: hidden;
}

.surface.is-expanded {
  border-radius: var(--r-xl);
  padding: 15px;
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 4px;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s ease, border-color 0.35s ease;
}

.surface.is-expanded .search-row {
  padding: 9px 9px 15px;
  border-bottom-color: rgba(42, 42, 44, 0.52);
}

.search-row svg {
  flex: none;
  opacity: 0.55;
  width: 17px;
  height: 17px;
  transition: width 0.35s ease, height 0.35s ease;
}

.surface.is-expanded .search-row svg {
  width: 19px;
  height: 19px;
}

.query {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-height: 22px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.35s ease, min-height 0.35s ease;
}

.surface.is-expanded .query {
  font-size: 20px;
  min-height: 25px;
}

.query-placeholder {
  color: var(--d-faint);
  font-weight: 500;
}

.surface.is-typing .query-placeholder,
.surface.is-expanded .query-placeholder {
  display: none;
}

.results {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.surface.is-expanded .results {
  max-height: 640px;
  opacity: 1;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: -3px;
  animation: blink 1s steps(1) infinite;
  transition: height 0.35s ease;
}

.surface.is-expanded .caret {
  height: 21px;
  vertical-align: -4px;
}

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

.section-label {
  font-size: 12.5px;
  color: var(--d-faint);
  padding: 13px 9px 7px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s;
}

.reveal .section-label {
  opacity: 1;
  transform: none;
}

.tophit {
  background: rgba(28, 28, 30, 0.52);
  border-radius: var(--r-lg);
  padding: 15px 17px;
  margin: 0 3px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s 0.05s, transform 0.5s 0.05s;
}

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

.tophit-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 11px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: rgba(42, 42, 44, 0.48);
  color: var(--d-text);
}

.badge svg {
  width: 12px;
  height: 12px;
}

.conf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--d-sub);
}

.conf .sep { color: var(--d300); }

.conf .sug {
  color: var(--suggested-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tophit-body {
  font-size: 16px;
  line-height: 1.5;
}

.source-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 9px 5px;
  margin: 0 3px;
  opacity: 0;
  transition: opacity 0.5s 0.15s;
}

.reveal .source-row { opacity: 1; }

.src-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(28, 28, 30, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.src-main { flex: 1; min-width: 0; }

.src-title {
  font-size: 14px;
  font-weight: 600;
}

.src-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--d-faint);
}

.src-right { text-align: right; }

.src-right .who {
  font-size: 12.5px;
  color: var(--d-sub);
}

.src-right .when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--d-faint);
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-left: 9px;
}

.right-wrap {
  display: flex;
  align-items: center;
}

.more-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  margin: 2px 3px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s, background 0.15s;
}

.reveal .more-row {
  opacity: 1;
  transform: none;
}

.reveal .more-row.r1 { transition-delay: 0.22s; }
.reveal .more-row.r2 { transition-delay: 0.3s; }

.more-row:hover { background: rgba(20, 20, 20, 0.38); }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  background: rgba(28, 28, 30, 0.48);
  color: var(--d-sub);
}

.tag-pill svg {
  width: 11px;
  height: 11px;
}

.more-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--d-faint);
  flex: none;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 18px 0 6px;
  margin-top: 6px;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.tab .ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 30, 0.48);
  border: 1px solid rgba(42, 42, 44, 0.5);
  color: var(--d-sub);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tab .ring svg {
  width: 19px;
  height: 19px;
}

.tab.active .ring {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tab .name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--d-faint);
}

.tab.active .name { color: var(--d-text); }

.tab:hover:not(.active) .ring {
  border-color: var(--d300);
  color: var(--d-text);
}

/* how it works */
.how-works {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px var(--gutter) 56px;
}

.how-works-inner {
  max-width: 100%;
}

.how-works-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 16px;
}

.how-works-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--n900);
  max-width: 22ch;
  margin-bottom: 48px;
}

.how-works-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.how-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  background: var(--n0);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.how-card.is-visible {
  opacity: 1;
  transform: none;
}

.how-card--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.how-card--reverse .how-card-copy {
  order: 2;
}

.how-card--reverse .how-card-panel {
  order: 1;
}

.how-card--featured {
  min-height: 420px;
}

.how-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.how-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 14px;
}

.how-card-title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--n900);
  margin-bottom: 14px;
}

.how-card-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--n600);
  max-width: 42ch;
}

.how-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--n700);
  text-decoration: none;
  transition: color 0.15s ease;
}

.how-card-link:hover {
  color: var(--n900);
}

.how-card-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.28);
  border-radius: var(--r-sm);
}

.how-card-panel {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}

.how-card--reverse .how-card-panel {
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}

.how-card-panel--warm {
  background: color-mix(in srgb, var(--n200) 28%, var(--n50));
}

.how-card-panel--slate {
  background: color-mix(in srgb, var(--n300) 22%, var(--n50));
}

.how-card-panel--dark {
  background:
    radial-gradient(ellipse 90% 80% at 50% 52%, rgba(0, 122, 255, 0.14), transparent 62%),
    var(--d0);
  min-height: 380px;
}

.how-card--featured .how-card-panel {
  min-height: 400px;
}

.mock-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-scene .win {
  position: absolute;
  opacity: 1;
  filter: none;
  transform: none;
}

.mock-scene .win:hover {
  transform: none;
}

.mock-scene--connect {
  padding: 28px;
}

.mock-scene--connect .mock-win--connected {
  width: 260px;
  left: 8%;
  top: 18%;
  transform: rotate(-2deg);
  z-index: 2;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.35);
}

.mock-scene--connect .mock-win--connected .body {
  height: 180px;
}

.mock-scene--connect .mock-win--add {
  opacity: 0.72;
  filter: saturate(0.8);
}

.mock-scene--connect .teams {
  width: 240px;
  right: 6%;
  top: 8%;
  left: auto;
  transform: rotate(1.5deg);
}

.mock-scene--connect .teams .body {
  height: 160px;
}

.mock-scene--connect .outlook {
  width: 250px;
  right: 12%;
  bottom: 6%;
  top: auto;
  left: auto;
  transform: rotate(-1deg);
}

.mock-scene--connect .outlook .body {
  height: 140px;
}

.connect-badge {
  position: absolute;
  top: 32px;
  right: 10px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  background: var(--n900);
  color: var(--n0);
}

.connect-badge--add {
  background: var(--n0);
  color: var(--n600);
  border: 1px solid var(--n300);
}

.mock-scene--capture {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.mock-scene--capture .slack {
  position: absolute;
  width: 78%;
  max-width: 320px;
  left: -6%;
  bottom: -14%;
  top: auto;
  transform: rotate(-1.5deg);
  margin: 0;
  z-index: 1;
}

.mock-scene--capture .slack .body {
  height: 220px;
}

.capture-card {
  position: absolute;
  z-index: 2;
  width: 58%;
  min-width: 220px;
  max-width: 290px;
  right: -4%;
  top: 10%;
  margin: 0;
  background: var(--n0);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.28);
  padding: 16px 16px 14px;
}

.capture-card-head {
  margin-bottom: 12px;
}

.badge--light {
  background: var(--n100);
  color: var(--n900);
}

.badge--light svg {
  stroke: var(--n700);
}

.capture-field {
  position: relative;
  padding: 12px 12px 12px 14px;
  border-radius: var(--r-md);
  margin-bottom: 8px;
}

.capture-field:last-child {
  margin-bottom: 0;
}

.capture-field--confirmed {
  background: var(--n50);
  border-left: 3px solid var(--n900);
}

.capture-field--suggested {
  background: color-mix(in srgb, var(--suggested) 8%, var(--n0));
  border-left: 3px solid var(--suggested);
}

.field-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  margin-bottom: 6px;
}

.field-tag--confirmed {
  color: var(--n900);
}

.field-tag--suggested {
  color: var(--suggested);
}

.capture-field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--n500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.capture-field-value {
  font-size: 13px;
  line-height: 1.45;
  color: var(--n900);
}

.mock-scene--search {
  padding: 32px 28px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-search-wrap {
  position: relative;
  width: min(100%, 420px);
  z-index: 1;
}

.card-search-glow {
  position: absolute;
  inset: -36px -24px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.22), transparent 72%);
  filter: blur(10px);
  z-index: -1;
  opacity: 0.45;
  transition: opacity 0.45s ease, inset 0.5s ease;
  pointer-events: none;
}

.card-search-wrap.is-expanded .card-search-glow {
  opacity: 0.85;
  inset: -44px -28px;
}

.card-search-hotkey {
  position: absolute;
  top: -30px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card-search-wrap.is-expanded .card-search-hotkey {
  opacity: 1;
  transform: none;
}

.card-search-hotkey kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--d-sub);
}

.mock-scene--search .card-search-surface {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-radius: 9999px;
  padding: 11px 16px;
  box-shadow:
    0 18px 44px -16px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
  transition:
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.mock-scene--search .card-search-surface.is-expanded {
  border-radius: var(--r-xl);
  padding: 15px;
  box-shadow:
    0 40px 70px -28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.mock-scene--search .card-search-surface.is-typing .card-search-placeholder,
.mock-scene--search .card-search-surface.is-expanded .card-search-placeholder {
  display: none;
}

.mock-scene--search .card-search-surface .search-row {
  padding: 2px 4px;
  border-bottom: 1px solid transparent;
  transition: padding 0.4s ease, border-color 0.35s ease;
}

.mock-scene--search .card-search-surface.is-expanded .search-row {
  padding: 9px 9px 15px;
  border-bottom-color: rgba(42, 42, 44, 0.52);
}

.mock-scene--search .card-search-surface .search-row svg {
  flex: none;
  opacity: 0.55;
  width: 17px;
  height: 17px;
  transition: width 0.35s ease, height 0.35s ease;
}

.mock-scene--search .card-search-surface.is-expanded .search-row svg {
  width: 19px;
  height: 19px;
}

.mock-scene--search .card-search-surface .query {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-height: 22px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.35s ease;
}

.mock-scene--search .card-search-surface.is-expanded .query {
  font-size: 18px;
  white-space: normal;
}

.mock-scene--search .card-search-results {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.mock-scene--search .card-search-surface.is-expanded .card-search-results {
  max-height: 520px;
  opacity: 1;
}

.mock-scene--search .card-search-surface .section-label,
.mock-scene--search .card-search-surface .tophit,
.mock-scene--search .card-search-surface .source-row,
.mock-scene--search .card-search-surface .more-row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.15s ease;
}

.mock-scene--search .card-search-surface.is-revealed .section-label {
  opacity: 1;
  transform: none;
}

.mock-scene--search .card-search-surface.is-revealed .tophit {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.mock-scene--search .card-search-surface.is-revealed .source-row {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.mock-scene--search .card-search-surface.is-revealed .card-search-more-label {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

.mock-scene--search .card-search-surface.is-revealed .card-search-more {
  opacity: 1;
  transform: none;
  transition-delay: 0.24s;
}

.mock-scene--search .card-search-more:hover {
  background: rgba(20, 20, 20, 0.38);
}

.mock-scene--search .card-search-source {
  border-radius: var(--r-md);
  margin: 0 3px;
  transition: background 0.15s ease, opacity 0.45s ease, transform 0.45s ease;
}

.mock-scene--search .card-search-source:hover {
  background: rgba(20, 20, 20, 0.38);
}

.mock-scene--search .card-search-tophit {
  cursor: default;
}

.how-works-local {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--n200);
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.how-works-local.is-visible {
  opacity: 1;
  transform: none;
}

.how-works-local-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--n900);
  margin-bottom: 10px;
}

.how-works-local-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--n600);
  max-width: 52ch;
  margin: 0 auto;
}

/* explainer */
.explainer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
  text-align: center;
}

.explainer-text {
  max-width: min(820px, 100%);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--n600);
  text-align: center;
  text-transform: lowercase;
}

/* workflow interactive demo */
.workflow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px var(--gutter) 56px;
}

.workflow-inner {
  max-width: 100%;
}

.workflow-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--n900);
  max-width: 22ch;
  margin-bottom: 12px;
}

.workflow-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--n600);
  margin-bottom: 40px;
}

.workflow-demo {
  background: var(--n0);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--n200);
  background: var(--n50);
}

.workflow-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--n400);
  padding: 6px 12px;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}

.workflow-step.is-active {
  color: var(--n900);
  background: var(--n0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.workflow-step.is-done {
  color: var(--n600);
}

.workflow-step-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--n300);
}

.workflow-stage {
  position: relative;
  padding: 36px 28px 44px;
  background: linear-gradient(180deg, var(--n50) 0%, var(--n100) 100%);
}

/* macbook frame */
.macbook {
  max-width: 880px;
  margin: 0 auto;
}

.macbook-lid {
  background: #1d1d1f;
  border-radius: 18px 18px 0 0;
  padding: 10px 10px 0;
  box-shadow:
    0 24px 64px -20px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.mac-desktop {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: #0a0a0a;
}

.mac-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% 15%, rgba(255, 120, 60, 0.95), transparent 55%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(80, 140, 220, 0.9), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(200, 100, 180, 0.5), transparent 60%),
    linear-gradient(145deg, #f4a261 0%, #e76f8a 35%, #7b9fd4 70%, #4a7fc4 100%);
}

.mac-menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-menubar-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.92);
}

.mac-menubar-logo .dot {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

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

.mac-menubar-icons span {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}

.mac-menubar-icons span:nth-child(2) {
  width: 10px;
  border-radius: 50%;
}

.mac-bg-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 74%;
  z-index: 1;
}

.screenshot-win--desktop {
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.55);
}

.screenshot-win--desktop .screenshot-body {
  padding: 12px 14px 16px;
}

.screenshot-win--desktop .screenshot-text {
  font-size: 11px;
}

.mac-dock {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mac-dock-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex: none;
}

.mac-dock-icon--finder {
  background: linear-gradient(180deg, #6ec4ff, #1e90ff);
}

.mac-dock-icon--safari {
  background: linear-gradient(180deg, #5ac8fa, #007aff);
  border-radius: 50%;
}

.mac-dock-icon--slack {
  background: linear-gradient(135deg, #e01e5a, #611f69);
}

.mac-dock-icon--mail {
  background: linear-gradient(180deg, #64b5f6, #1e88e5);
}

.mac-dock-icon--retrace {
  background: var(--n1000);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.macbook-base {
  height: 12px;
  margin: 0 10%;
  background: linear-gradient(180deg, #d4d4d8 0%, #a1a1a6 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.macbook-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  background: #86868b;
  border-radius: 0 0 3px 3px;
}

.mac-flash {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.mac-flash.is-active {
  animation: mac-capture-flash 0.45s ease-out;
}

@keyframes mac-capture-flash {
  0% { opacity: 0; }
  15% { opacity: 0.85; }
  100% { opacity: 0; }
}

.workflow-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 24px 20px 48px;
  pointer-events: none;
}

.workflow-overlay-panel {
  width: 100%;
  max-width: 520px;
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow:
    0 28px 64px -16px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.workflow-overlay-panel--search {
  max-width: 480px;
  padding: 14px;
}

.workflow-phase {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.workflow-phase--capture {
  position: absolute;
  bottom: 50px;
  right: 14px;
  left: auto;
  width: auto;
  max-width: none;
  align-items: flex-end;
}

.workflow-phase--capture.is-active .workflow-hotkey--capture {
  animation: capture-hud-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes capture-hud-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.workflow-phase--classify,
.workflow-phase--search {
  position: absolute;
  inset: 0;
  max-width: none;
  justify-content: center;
  padding: 24px 20px 48px;
}

.workflow-phase[hidden] {
  display: none;
}

.workflow-hotkey--overlay {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
}

.workflow-hotkey--capture {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 9px;
  max-width: none;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 9999px;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.workflow-hotkey--capture:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.workflow-hotkey--capture:active {
  transform: translateY(0);
}

.workflow-hotkey--capture:focus-visible {
  outline: none;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.14),
    0 0 0 2px var(--accent);
}

.capture-hud-keys {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: none;
}

.capture-hud-keys kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 5px;
  min-width: auto;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom-width: 2px;
  color: var(--n900);
}

.capture-hud-keys kbd:last-child {
  animation: capture-key-pulse 2.8s ease-in-out infinite;
}

@keyframes capture-key-pulse {
  0%, 70%, 100% {
    box-shadow: none;
  }
  85% {
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.35);
  }
}

.capture-hud-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}

.capture-hud-prompt {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--n900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.capture-hud-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--n600);
  text-transform: lowercase;
  white-space: nowrap;
}

.workflow-hotkey {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--d-text);
  transition: transform 0.15s ease;
}

.workflow-hotkey:hover {
  transform: scale(1.02);
}

.workflow-hotkey:active {
  transform: scale(0.98);
}

.workflow-hotkey:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.4);
  border-radius: var(--r-md);
}

.workflow-keys {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-keys kbd {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  background: var(--d100);
  border: 1px solid var(--d300);
  border-bottom-width: 3px;
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--d-text);
  min-width: 36px;
  text-align: center;
}

.workflow-prompt {
  font-size: 17px;
  font-weight: 500;
  color: var(--d-text);
  letter-spacing: -0.01em;
}

.workflow-hotkey-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-faint);
  text-transform: lowercase;
}

.screenshot-win {
  background: #1a1d21;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
}

.screenshot-bar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: #2c2f33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screenshot-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.screenshot-bar i:nth-child(1) { background: #ff5f57; }
.screenshot-bar i:nth-child(2) { background: #febc2e; }
.screenshot-bar i:nth-child(3) { background: #28c840; }

.screenshot-body {
  padding: 14px 16px 18px;
  font-size: 12px;
  line-height: 1.45;
}

.screenshot-hd {
  font-weight: 700;
  color: #e8e8ea;
  font-size: 13px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-msg {
  margin-bottom: 10px;
}

.screenshot-msg:last-child {
  margin-bottom: 0;
}

.screenshot-user {
  font-weight: 700;
  margin-right: 8px;
}

.screenshot-user--a { color: #e8912d; }
.screenshot-user--b { color: #3daa8c; }

.screenshot-time {
  font-size: 10px;
  color: #72767d;
}

.screenshot-text {
  color: #dcddde;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
}

.screenshot-win--thumb {
  transform: scale(1);
}

.screenshot-win--thumb .screenshot-body {
  padding: 8px 10px;
  font-size: 9px;
}

.screenshot-win--thumb .screenshot-hd {
  font-size: 10px;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.screenshot-win--thumb .screenshot-text {
  font-size: 9px;
}

/* classify phase */
.workflow-classify-layout {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.workflow-thumb {
  flex: none;
  width: 96px;
}
}

.workflow-arrow {
  flex: none;
  font-size: 18px;
  color: var(--d-faint);
}

.workflow-extract {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 14px 16px;
}

.extract-type {
  font-size: 11px;
  color: var(--d-faint);
  margin-bottom: 12px;
}

.extract-type strong {
  color: var(--d-text);
  font-weight: 600;
}

.extract-type-note {
  color: var(--d-faint);
}

.extract-field {
  position: relative;
  padding: 10px 12px;
  border-radius: var(--r-md);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.extract-field.is-visible {
  opacity: 1;
  transform: none;
}

.extract-field--what {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--d-text);
}

.extract-field--why {
  background: color-mix(in srgb, #456882 12%, transparent);
  border-left: 3px solid #456882;
}

.extract-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--d-faint);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.extract-value {
  font-size: 12px;
  line-height: 1.45;
  color: var(--d-text);
  padding-right: 72px;
}

.extract-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.extract-badge--confirmed {
  color: var(--d-sub);
}

.extract-badge--suggested {
  color: #7aa3b8;
}

.extract-source {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--d-faint);
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

.extract-source.is-visible {
  opacity: 1;
}

/* search phase */
.workflow-search-wrap {
  width: 100%;
}

.workflow-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(28, 28, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  margin-bottom: 8px;
}

.workflow-search-bar svg {
  flex: none;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  color: var(--d-sub);
}

.workflow-search-query {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--d-text);
  letter-spacing: -0.01em;
  min-height: 22px;
  text-align: left;
}

.workflow-caret {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: -3px;
  animation: blink 1s steps(1) infinite;
}

.workflow-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.workflow-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  padding: 12px 14px;
  background: rgba(28, 28, 30, 0.6);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.workflow-result.is-visible {
  opacity: 1;
  transform: none;
}

.type-pill {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-sm);
}

.type-pill--decision {
  background: var(--n1000);
  color: var(--n0);
}

.type-pill--learning {
  background: rgba(0, 122, 255, 0.15);
  color: #4da3ff;
}

.type-pill--task {
  background: rgba(255, 159, 10, 0.15);
  color: #e8912d;
}

.type-pill--note {
  background: rgba(255, 255, 255, 0.08);
  color: var(--d-sub);
}

.workflow-result-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--d-text);
  line-height: 1.4;
}

.workflow-result-meta {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-faint);
}

.meta-confirmed {
  color: var(--d-sub);
}

.workflow-reset {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--n900);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 9999px;
  padding: 9px 20px;
  cursor: pointer;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-reset:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.workflow-reset:active {
  transform: translateY(0);
}

.workflow-reset:focus-visible {
  outline: none;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.14),
    0 0 0 2px var(--accent);
}

.workflow-context {
  padding: 18px 24px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--n500);
  text-align: center;
  border-top: 1px solid var(--n200);
  background: var(--n50);
  transition: opacity 0.25s ease;
}

/* privacy strip */
.privacy {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px var(--gutter) 90px;
  text-align: center;
}

.privacy-inner {
  max-width: 640px;
  margin: 0 auto;
}

.privacy-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--n900);
  margin-bottom: 16px;
}

.privacy-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--n600);
}


/* faq */
.faq {
  padding: 72px var(--gutter) 96px;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.faq-list {
  margin-top: 8px;
}

.faq-question {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--n900);
  text-align: left;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.28);
  border-radius: var(--r-sm);
}

.faq-chevron {
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 1.5px solid var(--n500);
  border-bottom: 1.5px solid var(--n500);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(-135deg) translateY(2px);
}

.faq-panel {
  padding: 0 0 24px;
}

.faq-panel p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--n600);
  max-width: 62ch;
}

.faq-panel[hidden] {
  display: none;
}

/* testimonials */
.testimonials {
  padding: 72px var(--gutter) 96px;
}

.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 16px;
}

.testimonials-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--n900);
  max-width: 22ch;
  margin-bottom: 40px;
}

.testimonials-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: var(--n0);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 40px 44px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonials-panel.is-visible .testimonial {
  opacity: 1;
  transform: none;
}

.testimonials-panel.is-visible .testimonial:nth-child(2) {
  transition-delay: 80ms;
}

.testimonial:first-child {
  border-right: 1px solid var(--n200);
}

.testimonial-quote {
  margin: 0;
}

.testimonial-quote p {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--n900);
}

.testimonial-quote p::before {
  content: "\201C";
  display: block;
  font-size: 32px;
  line-height: 1;
  color: var(--n300);
  margin-bottom: 12px;
}

.testimonial-attribution {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--n500);
}

/* final cta */
.final-cta {
  background: var(--n0);
  padding: 88px var(--gutter) 96px;
  text-align: center;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--n900);
}

.final-cta-sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--n600);
}

.final-cta .waitlist {
  margin: 32px auto 0;
}

/* footer */
.site-footer {
  background: var(--n0);
  padding: 56px var(--gutter) 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 48px 64px;
  padding-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand {
  font-size: 15px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--n600);
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18);
}

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

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--n900);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  line-height: 1.4;
  color: var(--n600);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--n900);
}

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

.footer-copy {
  font-size: 13px;
  color: var(--n500);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  color: var(--n600);
  transition: color 0.15s ease, background 0.15s ease;
}

.footer-social-link:hover {
  color: var(--n900);
  background: var(--n100);
}

/* responsive */
@media (max-width: 880px) {
  .hero {
    padding-top: 48px;
  }

  .sub {
    font-size: 16px;
  }

  svg.flow { display: none; }

  .stage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 8px var(--gutter) 40px;
    margin-top: 56px;
  }

  .win {
    position: static;
    transform: none;
    opacity: 1;
    filter: none;
    width: 100% !important;
    max-width: min(420px, calc(100vw - 2 * var(--gutter)));
  }

  .win-label { display: none; }

  .teams,
  .outlook,
  .gmail,
  .notion { display: none; }

  .surface-wrap {
    position: static;
    transform: none;
    width: 100%;
    max-width: min(420px, calc(100vw - 2 * var(--gutter)));
    order: -1;
  }

  .surface-wrap.is-expanded {
    max-width: min(560px, calc(100vw - 2 * var(--gutter)));
  }

  .surface:not(.is-expanded) {
    border-radius: 9999px;
  }

  .surface.is-expanded .query {
    font-size: 17px;
  }

  .glow,
  .hotkey-note { display: none; }

  .explainer {
    padding: 40px var(--gutter) 0;
  }

  .explainer-text {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.75;
  }

  .workflow {
    padding: 56px var(--gutter) 40px;
  }

  .workflow-title {
    margin-bottom: 10px;
  }

  .workflow-stage {
    padding: 24px 16px 32px;
  }

  .macbook-lid {
    padding: 8px 8px 0;
    border-radius: 14px 14px 0 0;
  }

  .mac-bg-window {
    width: 78%;
  }

  .workflow-phase--capture {
    bottom: 38px;
    right: 10px;
  }

  .workflow-hotkey--capture {
    gap: 8px;
    padding: 6px 10px 6px 8px;
  }

  .capture-hud-prompt {
    font-size: 10px;
  }

  .capture-hud-hint {
    font-size: 8px;
  }

  .workflow-overlay {
    padding: 20px 12px 44px;
  }

  .workflow-overlay-panel {
    max-width: 100%;
    padding: 14px;
  }

  .workflow-classify-layout {
    flex-direction: column;
    gap: 16px;
  }

  .workflow-thumb {
    width: 100px;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .privacy {
    padding: 56px var(--gutter) 64px;
  }

  .faq {
    padding: 56px var(--gutter) 64px;
  }

  .faq-trigger {
    font-size: 16px;
    padding: 18px 0;
  }

  .final-cta {
    padding: 64px var(--gutter) 72px;
  }

  .final-cta-title {
    font-size: clamp(26px, 5vw, 36px);
  }

  .site-footer {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .nav {
    padding: 14px var(--gutter);
  }

  .brand {
    font-size: 15px;
    letter-spacing: 0.12em;
    gap: 8px;
  }

  .brand .dot {
    width: 10px;
    height: 10px;
  }

  .nav-cta {
    font-size: 12px;
    padding: 10px 13px;
    min-height: 44px;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    max-width: none;
    font-size: clamp(32px, 9vw, 44px);
  }

  .flip-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12em;
    font-size: clamp(30px, 8.2vw, 44px);
    line-height: 1.12;
  }

  .headline-pill.flip-pill {
    margin-left: 0;
  }

  .sub {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 24px;
    width: 100%;
  }

  .waitlist {
    flex-direction: column;
    max-width: none;
  }

  .waitlist input {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
  }

  .waitlist button {
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
  }

  .stage {
    margin-top: 40px;
    padding-bottom: 28px;
    gap: 0;
  }

  .slack {
    display: none;
  }

  .surface-wrap,
  .surface-wrap.is-expanded {
    width: 100%;
    max-width: none;
  }

  .surface.is-expanded {
    padding: 12px;
  }

  .surface.is-expanded .query {
    font-size: 16px;
    white-space: normal;
  }

  .tophit {
    padding: 13px 14px;
    margin: 0;
  }

  .tophit-body {
    font-size: 15px;
  }

  .tophit-meta {
    gap: 8px;
  }

  .source-row {
    flex-wrap: wrap;
    padding: 12px 6px 4px;
    margin: 0;
  }

  .src-right {
    text-align: left;
  }

  .right-wrap {
    width: 100%;
    justify-content: space-between;
    margin-top: 2px;
  }

  .more-row {
    flex-wrap: wrap;
    padding: 10px 8px;
    margin: 0;
  }

  .more-meta {
    width: 100%;
    margin-top: 2px;
  }

  .tabs {
    gap: 18px;
    padding: 14px 0 2px;
  }

  .tab .ring {
    width: 40px;
    height: 40px;
  }

  .workflow {
    padding: 48px var(--gutter) 32px;
  }

  .workflow-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .workflow-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .workflow-steps {
    padding: 16px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .workflow-step {
    font-size: 11px;
    padding: 5px 10px;
  }

  .workflow-stage {
    padding: 16px 12px 24px;
  }

  .mac-menubar-logo {
    font-size: 8px;
    gap: 4px;
  }

  .mac-dock-icon {
    width: 20px;
    height: 20px;
  }

  .mac-dock {
    padding: 4px 8px;
    gap: 4px;
  }

  .workflow-phase--capture {
    bottom: 30px;
    right: 8px;
    left: 8px;
    align-items: stretch;
  }

  .workflow-hotkey--capture {
    width: 100%;
    justify-content: center;
  }

  .capture-hud-prompt,
  .capture-hud-hint {
    white-space: normal;
    text-align: left;
  }

  .workflow-overlay {
    padding: 16px 10px 36px;
  }

  .workflow-hotkey:not(.workflow-hotkey--capture) {
    padding: 20px 16px;
  }

  .workflow-keys kbd {
    font-size: 13px;
    padding: 6px 10px;
  }

  .workflow-prompt {
    font-size: 15px;
  }

  .extract-value {
    font-size: 12px;
    padding-right: 0;
  }

  .extract-badge {
    position: static;
    display: block;
    margin-top: 6px;
  }

  .workflow-search-query {
    font-size: 14px;
  }

  .workflow-result-text {
    font-size: 13px;
  }

  .privacy {
    padding: 48px var(--gutter) 52px;
  }

  .privacy-body {
    font-size: 15px;
  }

  .faq {
    padding: 48px var(--gutter) 52px;
  }

  .faq-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .faq-trigger {
    gap: 14px;
    padding: 14px 0;
    min-height: 48px;
    align-items: flex-start;
  }

  .faq-panel p {
    font-size: 15px;
  }

  .testimonials {
    padding: 48px var(--gutter) 52px;
  }

  .testimonials-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 28px;
  }

  .testimonials-panel {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 28px 24px;
  }

  .testimonial:first-child {
    border-right: none;
    border-bottom: 1px solid var(--n200);
  }

  .testimonial-quote p {
    font-size: 16px;
  }

  .testimonial-attribution {
    margin-top: 20px;
    font-size: 13px;
  }

  .final-cta {
    padding: 48px var(--gutter) 52px;
  }

  .final-cta-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .final-cta-sub {
    font-size: 15px;
  }

  .footer-top {
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-social-link {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .conf {
    font-size: 12px;
  }

  .badge {
    font-size: 11px;
  }
}

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

  .caret { animation: none; }

  .flip-word {
    transition: none !important;
  }

  .how-card,
  .how-works-local {
    opacity: 1;
    transform: none;
  }

  .testimonials-panel.is-visible .testimonial,
  .testimonial {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .workflow-result,
  .extract-field {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .workflow-phase--capture.is-active .workflow-hotkey--capture,
  .capture-hud-keys kbd:last-child {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
