@font-face {
  font-family: 'Sora';
  src: url('fonts/sora-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('fonts/sora-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0f1424;
  --muted: #5b6170;
  --line: #e6e9f0;
  --soft: #f4f6fb;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --amber: #fbbf24;
  --amber-deep: #f59e0b;
  --night: #070c18;
  --night-2: #0d1526;
  --display: 'Sora', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --body: 'Segoe UI Variable', 'Segoe UI', -apple-system, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #ffffff;
}
img {
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* Amber highlighter sweep: the light sections' version of the caret motif. */
.accent {
  background: linear-gradient(transparent 64%, rgba(251, 191, 36, 0.5) 64%, rgba(251, 191, 36, 0.5) 92%, transparent 92%);
}

/* Blinking caret before every section label: the logo motif, small. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6508;
}
.eyebrow::before {
  content: '';
  width: 5px;
  height: 15px;
  border-radius: 2px;
  background: var(--amber);
  animation: blink 1.3s steps(1) infinite;
}
.eyebrow.center {
  justify-content: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, filter 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible,
.nav-links a:focus-visible,
.dtab:focus-visible,
summary:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.8);
  outline-offset: 3px;
}
.btn-amber {
  color: #231903;
  background: linear-gradient(180deg, #fcd34d, var(--amber-deep));
  box-shadow: 0 10px 34px rgba(245, 158, 11, 0.35), inset 0 1px rgba(255, 255, 255, 0.5);
}
.btn-amber:hover {
  filter: brightness(1.05);
}
.btn-glass {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: 8px;
}
.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.nav.scrolled .brand {
  color: var(--ink);
}
.nav.scrolled .nav-links a {
  color: var(--muted);
}
.nav.scrolled .nav-links a:hover {
  color: var(--ink);
  background: var(--soft);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 0;
  color: #ffffff;
  background: var(--night);
}
.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* "Lines of text" drifting through the dark: the logo's motif, at landscape scale. */
.streak {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120, 160, 255, 0), rgba(120, 160, 255, 0.16), rgba(120, 160, 255, 0));
  animation: drift 14s linear infinite;
}
.s1 { top: 16%; width: 340px; left: -10%; animation-duration: 18s; }
.s2 { top: 24%; width: 220px; left: 60%; animation-duration: 22s; animation-delay: -6s; background: linear-gradient(90deg, rgba(251, 191, 36, 0), rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0)); }
.s3 { top: 33%; width: 420px; left: 20%; animation-duration: 26s; animation-delay: -12s; opacity: 0.6; }
.s4 { top: 42%; width: 180px; left: 80%; animation-duration: 16s; animation-delay: -3s; opacity: 0.7; }
.s5 { top: 8%; width: 300px; left: 35%; animation-duration: 24s; animation-delay: -9s; opacity: 0.5; }
.s6 { top: 48%; width: 140px; left: 8%; animation-duration: 20s; animation-delay: -15s; opacity: 0.5; }
@keyframes drift {
  from { transform: translateX(-30vw); }
  to { transform: translateX(110vw); }
}
.glow-blue {
  position: absolute;
  left: 50%;
  top: -340px;
  width: 1300px;
  height: 760px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.42), rgba(37, 99, 235, 0));
}
.glow-blue.low {
  top: auto;
  bottom: -420px;
  opacity: 0.8;
}
.glow-amber {
  position: absolute;
  left: 50%;
  top: 340px;
  width: 900px;
  height: 480px;
  transform: translateX(-62%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0));
}
.hero-copy {
  position: relative;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.22);
}
h1 {
  font-size: clamp(46px, 8vw, 98px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 60px rgba(37, 99, 235, 0.35);
}
.cursor-word {
  white-space: nowrap;
}
.caret {
  display: inline-block;
  width: 0.13em;
  height: 0.78em;
  margin-left: 0.08em;
  vertical-align: -0.02em;
  border-radius: 0.07em;
  background: var(--amber);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.lead {
  max-width: 620px;
  margin: 24px auto 34px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Demo: scenario tabs ---------- */

.demo-tabs-row {
  position: relative;
  margin-top: 64px;
}
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}
.demo-tabs::-webkit-scrollbar {
  display: none;
}
.dtab {
  flex: none;
  padding: 10px 20px;
  font: 600 14.5px var(--body);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.dtab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.dtab.active {
  color: #231903;
  background: linear-gradient(180deg, #fcd34d, var(--amber-deep));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* ---------- Demo stage ---------- */

.stage {
  position: relative;
  height: 560px;
  margin-top: 26px;
}
.call {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 70px;
  bottom: 0;
  padding: 0 14px;
  border-radius: 18px 18px 0 0;
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  box-shadow: 0 -20px 90px rgba(37, 99, 235, 0.22), 0 40px 80px rgba(0, 0, 0, 0.5);
  /* The call window melts into the section's end instead of a hard edge. */
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.call-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  color: #8c93a3;
  font-size: 13px;
}
.call-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3e4a;
}
.call-top em {
  margin-left: 10px;
  font-style: normal;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: calc(100% - 100px);
}
.tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.tile.them {
  background: radial-gradient(circle at 50% 38%, #b48f78 0 13%, transparent 13.5%), radial-gradient(ellipse at 50% 92%, #5d4a63 0 34%, transparent 34.5%), linear-gradient(160deg, #3c3a4a, #23222c);
}
.tile.you {
  background: radial-gradient(circle at 50% 38%, #8d6e5d 0 13%, transparent 13.5%), radial-gradient(ellipse at 50% 92%, #2f4f6b 0 34%, transparent 34.5%), linear-gradient(160deg, #343a46, #1f232c);
}
.tile .face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.95);
}
.tile .face[hidden] {
  display: none;
}
/* The overlay covers the middle of the call, so push each face toward its outer edge. */
@media (min-width: 641px) {
  .tile .face {
    width: 165%;
    height: 165%;
    inset: auto;
    top: -14%;
  }
  .tile.them .face {
    left: -66%;
  }
  .tile.you .face {
    left: 2%;
  }
}
.tile .name {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 10px;
  padding: 2px 8px;
  font-size: 12.5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
}
.tile .speaking {
  position: absolute;
  inset: 0;
  border: 3px solid #34d399;
  border-radius: 12px;
  animation: speak 2.4s ease-in-out infinite;
}
@keyframes speak {
  50% { opacity: 0.25; }
}
.call-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  height: 60px;
  align-items: center;
}
.call-bar span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a2e39;
}
.call-bar em {
  padding: 8px 16px;
  font-style: normal;
  font-size: 13px;
  border-radius: 999px;
  background: #d92d20;
}

.overlay {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(620px, 92%);
  transform: translateX(-50%);
  z-index: 2;
}
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(24, 26, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.pill img {
  border-radius: 6px;
}
.pill-btn {
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.pill-stop {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 95, 95, 0.25);
}
.pill-stop::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 2px;
  background: #ffffff;
}
.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ffc4c4;
  font-variant-numeric: tabular-nums;
}
.pill-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f5f;
  animation: speak 1.4s ease-in-out infinite;
}
.panel {
  padding: 14px 18px 16px;
  text-align: left;
  border-radius: 20px;
  background: rgba(32, 35, 44, 0.84);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0.5px rgba(255, 255, 255, 0.28);
}
.transcript {
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #d9dde4;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
}
.t-line {
  margin: 2px 0;
}
.them {
  color: #c4a7ff;
  margin-right: 6px;
}
.you {
  color: #93c5fd;
  margin-right: 6px;
}
.chat {
  min-height: 158px;
}
.bubble {
  float: right;
  padding: 6px 12px;
  font-size: 14px;
  color: #ffffff;
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(#0544a9, #022c70);
  box-shadow: 0 0 0 0.5px #0c44a1, inset 0 0.5px #81b6ff;
}
.bubble.small {
  font-size: 13px;
}
.used {
  clear: both;
  margin: 0;
  padding-top: 10px;
  font-size: 12px;
  color: #a5adb8;
}
.answer {
  margin: 4px 0 10px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #f3f5f8;
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #c3c9d2;
}
.quick span + span::before {
  content: '·';
  margin-right: 12px;
  color: #7c8490;
}
.quick .hot {
  color: #ffffff;
  transition: color 0.2s;
}
.quick .hot.pressed {
  color: var(--amber);
}
.input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  font-size: 13px;
  color: #9aa3ad;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.input .ph {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip {
  padding: 2px 9px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.send {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(#0544a9, #022c70);
}
/* Demo states, toggled by script.js */
.demo-hidden {
  visibility: hidden;
}
.typing::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--amber);
  animation: blink 0.9s steps(1) infinite;
}

/* ---------- Works with (dark fading into the light page) ---------- */

.works {
  padding: 34px 0 104px;
  text-align: center;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 42%, #ffffff 100%);
}
.kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Sections ---------- */

.section {
  padding: 104px 0;
}
.section.soft {
  background: var(--soft);
}
.section h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.035em;
}
.section-lead {
  margin: 18px 0 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
}
.section-lead.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Promo video ---------- */

.promo-video {
  padding-top: 72px;
}
.video-frame {
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--night);
  box-shadow: 0 30px 80px -30px rgba(29, 78, 216, 0.55), 0 0 0 1px rgba(15, 20, 36, 0.08);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--night);
}
@media (max-width: 760px) {
  .promo-video {
    padding-top: 56px;
  }
  .video-frame {
    margin-top: 28px;
    border-radius: 14px;
  }
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.big-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 28px;
  min-height: 520px;
}
.big-card h3 {
  font-size: 28px;
}
.big-card > p {
  margin: 12px 0 0;
  font-size: 17px;
}
/* The dark card borrows the app's own glassy look. */
.big-card.dark {
  color: #ffffff;
  background: radial-gradient(120% 90% at 20% 0%, #1b2b55 0%, var(--night-2) 55%, #0a1120 100%);
  border: 1px solid rgba(120, 160, 255, 0.18);
  box-shadow: 0 30px 60px rgba(13, 21, 38, 0.25);
}
.big-card.dark > p {
  color: rgba(255, 255, 255, 0.76);
}
.big-card.light {
  background: linear-gradient(180deg, #eef1f7, #f7f8fb);
  border: 1px solid var(--line);
}
.big-card.light > p {
  color: var(--muted);
}
.tag {
  display: inline-block;
  padding: 0 12px;
  border-radius: 999px;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.45);
}
.tag.dark {
  color: var(--blue-deep);
  background: #ffffff;
  border-color: #d9e3f7;
}
kbd {
  font-family: var(--body);
}
kbd.mini {
  padding: 1px 7px;
  font-size: 14px;
  color: #374151;
  background: #ffffff;
  border: 1px solid #d7dce5;
  border-bottom-width: 2px;
  border-radius: 6px;
}
.rec {
  margin: auto 0 0;
  padding-top: 30px;
  text-align: center;
}
.rec-clock {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.92);
}
.rec-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}
.rec-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  animation: speak 1.4s ease-in-out infinite;
}
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 64px;
  margin-top: 18px;
}
.wave i {
  width: 5px;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(180deg, #93c5fd, #3b82f6);
  animation: wave 1.2s ease-in-out infinite;
}
.wave i:nth-child(3n) { animation-delay: -0.3s; }
.wave i:nth-child(3n + 1) { animation-delay: -0.7s; }
.wave i:nth-child(4n) { animation-delay: -0.5s; animation-duration: 0.9s; }
.wave i:nth-child(5n) { animation-delay: -0.15s; animation-duration: 1.5s; }
@keyframes wave {
  0%, 100% { height: 14%; }
  50% { height: 95%; }
}
.mini-transcript {
  margin-top: 22px;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mini-transcript p {
  margin: 3px 0;
}
.mini-transcript .them {
  color: #d4bcff;
}
.mini-transcript .you {
  color: #a7cafc;
}
.mini-transcript .tr {
  display: block;
  font-size: 0.9em;
  font-style: italic;
  opacity: 0.65;
}
.mock-panel {
  margin-top: auto;
  padding: 18px;
  color: #eef1f4;
  border-radius: 20px;
  background: #23262f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}
.answer-list {
  clear: both;
  margin: 0;
  padding: 14px 0 6px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.quick.dim {
  margin: 10px 0 0;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.feature {
  padding: 28px 30px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.feature h3 {
  font-size: 21px;
}
.feature p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.mode {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 3px 12px;
  font-size: 14px;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #eaf1ff;
}

/* After the call */
.after {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.search-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  margin-top: 32px;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--ink);
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.search-mock svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8a91a2;
  stroke-width: 2;
  stroke-linecap: round;
}
.notes-card {
  padding: 32px 34px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}
.notes-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.notes-top h3 {
  font-size: 22px;
}
.meta {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.email-chip {
  flex: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  border-radius: 999px;
  background: #e8f0fe;
}
.notes-card h4 {
  margin: 18px 0 6px;
  font-size: 15px;
}
.notes-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
}
.todo {
  margin: 0;
  padding: 0;
  list-style: none;
}
.todo li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 16px;
  color: #374151;
}
.box {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #c9d0dc;
}
.box.done {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Private by design */
.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.proof article h3 {
  margin-top: 22px;
  font-size: 21px;
}
.proof article p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.proof-visual {
  height: 260px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #e9edf6, #dfe5f2);
}
.participants {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px 14px 4px 4px;
  background: #ffffff;
}
.ok {
  padding: 2px 10px;
  font-size: 12px;
  color: #047857;
  border-radius: 999px;
  background: #d1fae5;
}
.p-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14.5px;
  background: #ffffff;
}
.p-row:last-child {
  border-radius: 4px 4px 14px 14px;
}
.p-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.av {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 50%;
}
.av.a { background: #7c3aed; }
.av.b { background: #ea580c; }
.av.c { background: #2563eb; }
/* Screen-share proof: one shared slide; left of the divider shows TipTalk, right is what the call sees. */
.reveal {
  padding: 18px;
}
.rv-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 20, 36, 0.12);
}
.rv-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  background: #eef1f7;
  border-bottom: 1px solid #e2e6ef;
}
.rv-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfd5e2;
}
.rv-bar em {
  margin-left: 6px;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: #6b7280;
}
.rv-slide {
  position: absolute;
  inset: 26px 0 0;
  padding: 16px 18px;
}
.rv-h {
  display: none;
  width: 46%;
  height: 9px;
  border-radius: 5px;
  background: #cbd3e3;
}
.rv-chart {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 50%;
  display: flex;
  align-items: flex-end;
  gap: 9%;
  padding: 0 6%;
  border-bottom: 2px solid #e2e6ef;
}
.rv-chart b {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: #c7d7fb;
}
.rv-chart b:last-child {
  background: var(--blue);
}
/* Everything TipTalk draws; clipped away right of the divider. */
.rv-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 52% 0 0);
  animation: rv-clip 7s ease-in-out infinite;
}
.rv-panel {
  position: absolute;
  top: 66px;
  left: 12px;
  width: 66%;
  padding: 10px 12px;
  color: #ffffff;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.92);
  box-shadow: 0 12px 28px rgba(15, 20, 36, 0.35);
}
.rv-ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  padding: 2px 8px 2px 3px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.85);
}
.rv-ask img {
  display: inline-block;
  border-radius: 4px;
}
.proof .rv-panel p {
  margin: 0;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}
.rv-caret {
  display: inline-block;
  width: 2px;
  height: 11px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--amber);
  animation: blink 1s steps(1) infinite;
}
.rv-tag {
  position: absolute;
  top: 34px;
  z-index: 1;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
}
.rv-tag.mine {
  left: 10px;
  color: #065f46;
  background: #d1fae5;
}
.rv-tag.theirs {
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #991b1b;
  background: #fee2e2;
}
.rv-tag.theirs i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}
.rv-divider {
  position: absolute;
  top: 26px;
  bottom: 0;
  left: 48%;
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
  animation: rv-move 7s ease-in-out infinite;
}
.rv-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 20, 36, 0.3);
}
.rv-divider span::before,
.rv-divider span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -4px;
  border: 4px solid transparent;
}
.rv-divider span::before {
  left: 0;
  border-right-color: #ffffff;
}
.rv-divider span::after {
  right: 0;
  border-left-color: #ffffff;
}
@keyframes rv-clip {
  0%, 100% { clip-path: inset(0 52% 0 0); }
  50% { clip-path: inset(0 30% 0 0); }
}
@keyframes rv-move {
  0%, 100% { left: 48%; }
  50% { left: 70%; }
}
.keys-visual {
  display: grid;
  place-items: center;
}
.keyrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #8a91a2;
}
.keyrow kbd {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 12px;
  font-size: 17px;
  color: #374151;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d7dce5;
  border-bottom-width: 4px;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.price-card {
  padding: 30px 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.price-row strong {
  text-align: right;
}
.checks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #374151;
  font-size: 16px;
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eaf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%232563eb' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Plans (home pricing section) */
.plans-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}
.plan-pro {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.16);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: var(--blue);
  border-radius: 999px;
}
.plan h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 2px;
}
.plan-price strong {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.plan-price span,
.plan-sub {
  color: var(--muted);
  font-size: 15px;
}
.plan-sub {
  margin: 0;
  min-height: 1.5em;
}
.plan .checks {
  margin: 22px 0 26px;
}
.plan .btn {
  margin-top: auto;
}
.btn-blue {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}
.btn-blue:hover {
  background: var(--blue-deep);
}
.btn-outline {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d7dce5;
}
.btn-outline:hover {
  border-color: #b8c0cf;
}
.plans-note {
  max-width: 920px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 1020px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 560px;
  }
}
@media (max-width: 760px) {
  .plan {
    padding: 28px 24px;
  }
}

/* FAQ */
.faq {
  max-width: 840px;
}
.faq h2 {
  margin-bottom: 30px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin: 0 0 22px;
  color: var(--muted);
}

/* Final call to action: dark, bookending the hero. */
.final {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  color: #ffffff;
  background: var(--night);
}
.final-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 40px;
}
.final h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.035em;
}
.final p {
  margin: 18px 0 30px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}
.float-keys {
  position: relative;
  height: 280px;
}
.key3d {
  position: absolute;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  color: #9aa6c2;
  border-radius: 34px;
  background: linear-gradient(145deg, #1d2740, #0d1424);
  border: 1px solid rgba(140, 170, 255, 0.18);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5), inset 0 -8px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: float 6s ease-in-out infinite;
}
.k1 {
  left: 6%;
  top: 70px;
  transform: rotate(-10deg);
}
.k2 {
  right: 4%;
  top: 0;
  color: var(--amber);
  transform: rotate(9deg);
  animation-delay: -3s;
}
@keyframes float {
  50% { translate: 0 -14px; }
}

/* Footer (continues the dark bookend) */
.footer {
  padding: 56px 0 36px;
  color: rgba(255, 255, 255, 0.64);
  background: #060a14;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand {
  color: #ffffff;
  align-self: start;
}
.footer h4 {
  margin-bottom: 12px;
  font-size: 15px;
  color: #ffffff;
}
.footer-grid a:not(.brand) {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.footer-grid a:not(.brand):hover {
  color: #ffffff;
}
.copyright {
  margin: 40px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Small screens ---------- */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-inner .btn-small {
    margin-left: auto;
  }
  .duo,
  .after,
  .pricing,
  .final-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .trio,
  .proof {
    grid-template-columns: minmax(0, 1fr);
  }
  .float-keys {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding-top: 112px;
  }
  .lead {
    font-size: 18px;
  }
  .cta-row .btn {
    width: 100%;
  }
  .demo-tabs {
    justify-content: flex-start;
  }
  .demo-tabs-row {
    margin-top: 44px;
  }
  .stage {
    height: 620px;
  }
  .call {
    left: 0;
    right: 0;
  }
  .overlay {
    width: 100%;
  }
  .input .chip:nth-of-type(2) {
    display: none;
  }
  .section {
    padding: 80px 0;
  }
  .big-card {
    padding: 26px;
    min-height: 0;
  }
  .rec {
    padding-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer .brand {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* Note shown after the installer download starts (script.js). */
.dl-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(380px, calc(100vw - 40px));
  padding: 18px 20px;
  border-radius: 14px;
  background: #0f1424;
  color: #e8ebf3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(7, 12, 24, 0.45);
  font-size: 14.5px;
  line-height: 1.5;
}
.dl-note p { margin: 0 0 10px; color: inherit; }
.dl-note strong { color: #fff; }
.dl-note .dl-note-title { font-weight: 700; color: #fff; padding-right: 28px; }
.dl-note a { color: #fbbf24; font-weight: 600; text-decoration: none; }
.dl-note a:hover { text-decoration: underline; }
.dl-note-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  color: #9aa3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.dl-note-close:hover { color: #fff; }
