/* Aatox motion and interaction layer (1 November 2026). Loaded after brand.css, so it refines it.
   What it adds: buttons that react to the pointer, one closing panel layout for every page, a live voice demo in the home hero,
   a bigger About section on the home page, an interactive "what leaves your phone" explainer, a "where did I put my keys"
   chat, and a living KnowWhere logo for the About page.
   Rules kept: Manrope only, one accent, the spacing and radius scales, transform and opacity for motion, reduced motion respected.
   Every piece of text on these sections is real HTML that reads without JavaScript. */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --grad-brand: linear-gradient(135deg, #3675f6 0%, #5126cf 48%, #aa6ef4 100%);
  --glass-line: rgba(83, 46, 207, 0.16);
}

/* ============================================================
   1. Buttons: a light that follows the pointer, a sheen, an arrow that leans in, a soft magnetic pull
   ============================================================ */
.btn, .island-cta {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 350ms var(--ease-out), box-shadow 450ms var(--ease-out), background-color 300ms var(--ease), color 300ms var(--ease);
}
.btn::before, .island-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 110px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.38), transparent 72%);
  transition: opacity 300ms var(--ease);
}
.btn::after, .island-cta::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: -50%; width: 36%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg) translateX(-120%); opacity: 0;
}
.btn:hover::before, .island-cta:hover::before { opacity: 1; }
.btn:hover::after, .island-cta:hover::after { opacity: 1; animation: sheen 950ms var(--ease-out) both; }
@keyframes sheen { from { transform: skewX(-20deg) translateX(-120%); } to { transform: skewX(-20deg) translateX(520%); } }
.btn .ico:last-child { transition: transform 450ms var(--spring); }
.btn:hover .ico:last-child { transform: translateX(5px); }
.btn:hover, .island-cta:hover { transform: scale(1.03); }
.btn:active, .island-cta:active { transform: scale(0.97); transition-duration: 120ms; }
.btn:hover { box-shadow: 0 14px 30px -6px rgba(83, 46, 207, 0.5); }
.btn.ghost::before { background: radial-gradient(circle 110px at var(--mx, 50%) var(--my, 50%), rgba(83, 46, 207, 0.16), transparent 72%); }
.btn.ghost::after { background: linear-gradient(100deg, transparent, rgba(83, 46, 207, 0.14), transparent); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1px rgba(83, 46, 207, 0.28), 0 10px 22px -8px rgba(83, 46, 207, 0.35); }
.btn.light::before { background: radial-gradient(circle 110px at var(--mx, 50%) var(--my, 50%), rgba(83, 46, 207, 0.16), transparent 72%); }
.btn.light::after { background: linear-gradient(100deg, transparent, rgba(83, 46, 207, 0.16), transparent); }
.btn.light:hover { background: #ffffff; color: var(--accent-deep); box-shadow: 0 16px 34px -8px rgba(10, 6, 40, 0.5); }
.btn[disabled]::before, .btn[disabled]::after { display: none; }

.link-arrow {
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 calc(100% - 8px);
  background-size: 0 2px; transition: background-size 450ms var(--ease-out), color 300ms var(--ease);
}
.link-arrow:hover { background-size: calc(100% - 28px) 2px; }
.link-arrow .ico { transition: transform 450ms var(--spring); }
.link-arrow:hover .ico { transform: translateX(6px); }

/* ============================================================
   2. Closing panels: one layout everywhere. Text on the left, one aligned column of actions on the right.
   ============================================================ */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(130% 160% at 0% 0%, #6b45ea 0%, var(--accent) 46%, #3a1d96 100%);
  padding: var(--s500) var(--s300); gap: var(--s400); align-items: center;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(380px circle at var(--gx, 82%) var(--gy, 18%), rgba(255, 255, 255, 0.2), transparent 62%);
  transition: opacity 400ms var(--ease);
}
.cta-panel::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 520px; height: 520px; right: -170px; bottom: -280px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.04), 0 0 0 112px rgba(255, 255, 255, 0.03);
  animation: panel-ring 14s ease-in-out infinite alternate;
}
@keyframes panel-ring { from { transform: scale(0.94); } to { transform: scale(1.06); } }
.cta-panel > div:first-child { max-width: 58ch; }
.cta-panel .h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: var(--s200); }
.cta-panel p { font-size: 17px; line-height: 28px; }
.cta-panel > div:last-child { display: flex; flex-direction: column; align-items: stretch; gap: var(--s200); width: 100%; }
.cta-panel > div:last-child .btn { width: 100%; }
.cta-panel > div:last-child .cta-row { display: block; }
.cta-panel .risk, .cta-panel p.risk { margin: 0; text-align: left; font-size: 14px; line-height: 20px; }
.cta-panel .waitlist .row { flex-direction: column; align-items: stretch; }
.cta-panel .waitlist .row input { width: 100%; }
@media (min-width: 900px) {
  .cta-panel { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: var(--s800); padding: var(--s700) var(--s700); }
}

/* ============================================================
   3. Home hero: a live voice demo, not a screenshot
   ============================================================ */
.hero-x { position: relative; overflow: clip; }
.hero-x .hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; will-change: transform; }
.hero-bg .b1 { width: 62vw; height: 62vw; max-width: 760px; max-height: 760px; right: -14%; top: -18%; background: radial-gradient(circle, rgba(54, 117, 246, 0.26), transparent 66%); animation: drift-a 22s ease-in-out infinite alternate; }
.hero-bg .b2 { width: 48vw; height: 48vw; max-width: 600px; max-height: 600px; left: -16%; bottom: -26%; background: radial-gradient(circle, rgba(170, 110, 244, 0.24), transparent 66%); animation: drift-b 26s ease-in-out infinite alternate; }
.hero-bg .b3 { width: 34vw; height: 34vw; max-width: 440px; max-height: 440px; right: 22%; bottom: -10%; background: radial-gradient(circle, rgba(239, 176, 222, 0.34), transparent 66%); animation: drift-a 30s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(-60px, 40px, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(70px, -50px, 0) scale(1.1); } }
.hero-x .hero-grid { position: relative; z-index: 1; }
.hero-x .hero-copy h1 { color: var(--ink); background: none; -webkit-text-fill-color: currentColor; }
.hero-x .display { font-size: clamp(40px, 6.4vw, 76px); line-height: 0.98; letter-spacing: -0.04em; }
.hero-x .hero-copy .lead { max-width: 52ch; }
.hero-x .hero-copy .chip { display: inline-flex; align-items: center; gap: var(--s75); padding: var(--s50) var(--s100) var(--s50) var(--s75); border-radius: var(--r-full); }
.hero-x .hero-copy .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: live-dot 2.4s ease-in-out infinite; }
@keyframes live-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(83, 46, 207, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(83, 46, 207, 0); } }

/* headline words rise out of a mask, one after another */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.sw > span { display: inline-block; }
html.js .split-ready .sw > span { transform: translateY(108%); }
html.js .split-ready.split-in .sw > span { transform: none; transition: transform 950ms var(--ease-out) calc(var(--i) * 70ms + var(--base, 120ms)); }

.hx { position: relative; width: 100%; max-width: 560px; margin-inline: auto; min-height: 520px; padding-bottom: 96px; display: grid; place-items: center; justify-items: center; }
.hx .mark-xl { position: absolute; left: 50%; top: 50%; width: 118%; height: 118%; translate: -50% -50%; z-index: 0; opacity: 0.55; }
.hx-phone {
  --ph: min(560px, 66dvh); position: relative; z-index: 2; height: var(--ph); aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 10px; background: #17141f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 70px -20px rgba(54, 30, 140, 0.55), 0 12px 24px -8px rgba(23, 20, 31, 0.4);
  transform: perspective(1100px) rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -7deg)) translateY(calc(var(--sy, 0) * -26px));
  will-change: transform;
}
.hx-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 62px; height: 18px; translate: -50% 0; border-radius: 12px; background: #0b0911; z-index: 3; }
.hx-screen { --k: 1; --ink: #17142e; --soft: #55526f; --indigo: #4f46e5; position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: linear-gradient(180deg, #f6f3ff 0%, #e9f2ff 100%); display: grid; grid-template-rows: auto auto auto auto 1fr; justify-items: center; align-content: start; padding: 46px 14px 14px; color: var(--ink); }
.hx-screen[data-state="listen"] { --k: 2; }
.hx-screen[data-state="think"] { --k: 6; }
.hx-screen[data-state="answer"] { --k: 3; }
.hx-top { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--soft); }
.hx-top .x { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; }
.hx-orbwrap { display: grid; place-items: center; margin-top: 2px; }
.hx-orb { --o: clamp(92px, calc(var(--ph) * 0.27), 140px); position: relative; width: var(--o); height: var(--o); }
.hx-orb .o-glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 45%, rgba(255, 95, 162, 0.22) 72%, rgba(56, 189, 248, 0) 100%); opacity: 0.55; transition: opacity 600ms var(--ease); }
.hx-screen[data-state="listen"] .o-glow, .hx-screen[data-state="answer"] .o-glow { opacity: 0.95; }
.hx-orb .o-ring { position: absolute; inset: 21%; border-radius: 50%; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.45); opacity: 0; }
.hx-screen[data-state="listen"] .o-ring { animation: o-ring 3s linear infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes o-ring { from { transform: scale(1.08); opacity: 0.45; } to { transform: scale(1.63); opacity: 0; } }
.hx-orb .o-ball { position: absolute; inset: 21%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #8e7cff 0%, #5144e8 55%, #2c2796 100%); transform: scale(1); transition: transform 500ms var(--spring); }
.hx-screen[data-state="listen"] .o-ball { animation: o-swell 1s ease-in-out infinite; }
.hx-screen[data-state="answer"] .o-ball { animation: o-swell 0.45s ease-in-out infinite; }
@keyframes o-swell { 50% { transform: scale(1.07); } }
.o-spin { position: absolute; inset: 0; }
.o-spin .bl { position: absolute; inset: 0; animation: o-orbit calc(var(--d) / var(--k)) linear infinite; animation-delay: calc(var(--d) * var(--i) * -0.2); }
.o-spin .bl i { position: absolute; left: 50%; top: 50%; width: 66%; height: 66%; margin: -33% 0 0 -33%; border-radius: 50%; background: var(--c); opacity: 0.95; filter: blur(calc(var(--o) * 0.08)); transform: translateY(-29%); }
@keyframes o-orbit { to { transform: rotate(360deg); } }
.o-rim { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, transparent 72%, rgba(27, 22, 112, 0.38) 100%); }
.o-hi { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 27% 20%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 62%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.o-wave { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 7%; }
.hx-screen[data-state="answer"] .o-wave { display: flex; }
.o-wave i { width: 6%; height: 30%; border-radius: 99px; background: rgba(255, 255, 255, 0.95); animation: o-bar 0.7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); }
@keyframes o-bar { 50% { transform: scaleY(1.7); } }
.hx-state { min-height: 22px; margin-top: 6px; font-size: 14px; line-height: 22px; font-weight: 700; color: var(--indigo); }
.hx-said { margin-top: 4px; font-size: 11px; line-height: 14px; color: var(--soft); }
.hx-q { min-height: 44px; margin-top: 2px; text-align: center; font-size: 16px; line-height: 22px; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.hx-a { width: 100%; min-height: 54px; margin-top: 6px; padding: 12px 14px; border-radius: 22px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.2), 0 8px 20px -10px rgba(79, 70, 229, 0.35); text-align: center; font-size: 13px; line-height: 19px; font-weight: 700; }
.hx-a:empty { opacity: 0; }
.hx-end { display: grid; justify-items: center; gap: 6px; margin-top: 8px; }
.hx-done { padding: 7px 26px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1.5px rgba(139, 92, 246, 0.45); color: var(--indigo); font-size: 13px; line-height: 18px; font-weight: 800; }
.hx-report { color: var(--indigo); font-size: 11px; line-height: 16px; font-weight: 700; }
.hx-btns { display: none; gap: 8px; width: 100%; margin-top: 8px; }
.hx-btns span { flex: 1; padding: 8px 0; border-radius: var(--r-full); text-align: center; font-size: 12px; line-height: 16px; font-weight: 800; }
.hx-btns .cancel { background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1.5px rgba(139, 92, 246, 0.45); color: var(--indigo); }
.hx-btns .go { background: var(--indigo); color: #fff; }
.hx-screen[data-state="listen"] .hx-btns { display: flex; }
.hx-screen[data-state="listen"] .hx-end, .hx-screen[data-state="think"] .hx-end { display: none; }
.hx-screen[data-state="listen"] .hx-a, .hx-screen[data-state="think"] .hx-a { visibility: hidden; }
.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: currentColor; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.hx-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: var(--s75); padding: var(--s75) var(--s200) var(--s75) var(--s100);
  border-radius: var(--r-full); background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(54, 30, 140, 0.4), inset 0 0 0 1px var(--glass-line); font-size: 14px; line-height: 20px; white-space: nowrap; cursor: pointer; border: 0; font-family: inherit; color: var(--ink);
  translate: calc(var(--px, 0) * var(--d, 12) * 1px) calc(var(--py, 0) * var(--d, 12) * 1px + var(--sy, 0) * var(--d, 12) * -2px);
  transition: background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease), scale 500ms var(--spring);
  animation: chip-float 7s ease-in-out infinite; animation-delay: var(--del, 0s);
}
.hx-chip b { font-weight: 700; }
.hx-chip i { font-style: normal; color: var(--accent); font-weight: 700; transition: color 400ms var(--ease); }
.hx-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.hx-chip.on { background: var(--accent); color: #fff; scale: 1.08; box-shadow: 0 18px 36px -10px rgba(83, 46, 207, 0.7); }
.hx-chip.on i { color: #fff; }
.hx-chip.on::before { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28); }
@keyframes chip-float { 50% { transform: translateY(-9px); } }
.hx-chip.c1 { left: -6%; top: 14%; --d: 22; --del: -1s; }
.hx-chip.c2 { right: -8%; top: 28%; --d: -16; --del: -3s; }
.hx-chip.c3 { left: -10%; bottom: 24%; --d: -26; --del: -5s; }
.hx-chip.c4 { right: -4%; bottom: 12%; --d: 18; --del: -2s; }
.hx-picks { position: absolute; left: 50%; bottom: 42px; translate: -50% 0; z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s75); width: max-content; max-width: 100%; }
.hx-pick { min-height: 40px; padding: 0 var(--s200); border: 0; border-radius: var(--r-full); background: #fff; color: var(--ink); font: 600 14px/20px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 400ms var(--spring), box-shadow 300ms var(--ease); }
.hx-pick:hover { transform: scale(1.06); background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1px rgba(83, 46, 207, 0.3); }
.hx-pick[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.hx-note { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; line-height: 16px; color: var(--muted); }
.hero-x .hero-grid { padding-bottom: calc(var(--s700)); }
@media (max-width: 899px) {
  .hx { min-height: 0; padding-bottom: 112px; margin-top: var(--s300); }
  .hx-picks { bottom: 50px; gap: 6px; }
  .hx-pick { min-height: 36px; padding: 0 12px; font-size: 13px; line-height: 18px; }
  .hx-note { bottom: 10px; padding-inline: var(--s200); }
  .hx-phone { --ph: min(500px, 62dvh); }
  .hx-chip { font-size: 12px; line-height: 16px; padding: 6px 12px 6px 8px; }
  .hx-chip.c1 { left: 0; top: 6%; }
  .hx-chip.c2 { right: 0; top: 24%; }
  .hx-chip.c3 { left: 0; bottom: 30%; }
  .hx-chip.c4 { right: 0; bottom: 14%; }
}
@media (max-width: 479px) {
  .hx-chip.c2, .hx-chip.c3, .hx-chip.c4 { display: none; }
  .hx-chip.c1 { top: -1%; }
  .hx-phone { --ph: min(460px, 60dvh); }
}

/* ============================================================
   4. Home About: a portrait that leans toward you, three rules as cards
   ============================================================ */
.about-x .ab-top { display: grid; gap: var(--s600); align-items: center; }
.about-x .ab-copy { max-width: 600px; }
.about-x .ab-copy .lead { margin-top: var(--s200); }
.about-x .ab-copy .links-row { display: flex; flex-wrap: wrap; gap: var(--s100); margin-top: var(--s400); }
.ab-portrait { position: relative; margin: 0; width: min(100%, 440px); justify-self: center; aspect-ratio: 4 / 5; }
.ab-back { position: absolute; inset: 0; border-radius: 40px; background: var(--grad-brand); opacity: 0.9; transform: rotate(calc(5deg + var(--px, 0) * 2deg)) translate(14px, 10px); will-change: transform; }
.ab-frame { position: absolute; inset: 0; border-radius: 36px; overflow: hidden; background: var(--accent-soft); box-shadow: 0 32px 64px -24px rgba(54, 30, 140, 0.55); transform: perspective(1000px) rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -5deg)); will-change: transform; }
.ab-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; display: block; transform: scale(1.08) translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px)); }
.ab-frame::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(23, 20, 31, 0.62)); }
.ab-portrait figcaption { position: absolute; left: var(--s200); right: var(--s200); bottom: var(--s200); z-index: 2; color: #fff; display: grid; gap: 2px; padding: var(--s100) var(--s200); border-radius: var(--r-2xl); background: rgba(23, 20, 31, 0.38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.ab-portrait figcaption b { font-size: 18px; line-height: 24px; }
.ab-portrait figcaption span { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.86); }
.ab-chip { position: absolute; z-index: 3; padding: var(--s75) var(--s200); border-radius: var(--r-full); background: #fff; font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(54, 30, 140, 0.45), inset 0 0 0 1px var(--glass-line); translate: calc(var(--px, 0) * var(--d, 12) * 1px) calc(var(--py, 0) * var(--d, 12) * 1px); animation: chip-float 8s ease-in-out infinite; animation-delay: var(--del, 0s); }
.ab-chip.k1 { left: -8%; top: 12%; --d: 26; --del: -2s; }
.ab-chip.k2 { right: -6%; top: 40%; --d: -20; --del: -4s; }
.ab-chip.k3 { left: -4%; bottom: 26%; --d: 16; --del: -6s; }
.rules { list-style: none; display: grid; gap: var(--s200); margin-top: var(--s700); padding-top: 8px; }
.rule { position: relative; }
.rule-card { position: relative; overflow: hidden; isolation: isolate; height: 100%; padding: var(--s400); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.rule-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 400ms var(--ease); background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 0%), rgba(83, 46, 207, 0.12), transparent 65%); }
.rule:hover .rule-card { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(83, 46, 207, 0.35), 0 28px 48px -24px rgba(83, 46, 207, 0.4); }
.rule:hover .rule-card::before { opacity: 1; }
.ri { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: var(--s300); border-radius: 20px; background: var(--accent-soft); color: var(--accent); transition: background-color 400ms var(--ease), color 400ms var(--ease), transform 600ms var(--spring); }
.ri .ico { width: 30px; height: 30px; fill: currentColor; }
.rule:hover .ri { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.08); }
.rule h3 { font-size: 24px; line-height: 32px; margin-bottom: var(--s75); }
.rule p { color: var(--muted); }
.about-x .ab-ask { margin-top: var(--s400); text-align: center; color: var(--muted); }
@media (min-width: 800px) { .rules { grid-template-columns: repeat(3, 1fr); gap: var(--s300); } }
@media (min-width: 900px) { .about-x .ab-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s800); } .ab-portrait { justify-self: end; } }
@media (max-width: 559px) { .ab-chip.k1 { left: 2%; } .ab-chip.k2 { right: 2%; } .ab-chip.k3 { display: none; } }

/* ============================================================
   5. What leaves your phone: a switch you can flip
   ============================================================ */
.flow { display: grid; gap: var(--s200); }
.flow-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s200) var(--s400); padding: var(--s200) var(--s300); border-radius: var(--r-3xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.switch { display: inline-flex; align-items: center; gap: var(--s100); min-height: 48px; padding: 0 var(--s200) 0 var(--s75); border: 0; border-radius: var(--r-full); background: var(--raised); color: var(--ink); font: 700 16px/24px var(--font); cursor: pointer; transition: background-color 300ms var(--ease), transform 300ms var(--spring); }
.switch:hover { transform: scale(1.04); }
.switch:active { transform: scale(0.97); }
.switch .trk { position: relative; width: 52px; height: 32px; border-radius: var(--r-full); background: #b9b5cc; transition: background-color 350ms var(--ease); flex: none; }
.switch .trk::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(23, 20, 31, 0.3); transition: transform 450ms var(--spring); }
.switch[aria-checked="true"] .trk { background: var(--accent); }
.switch[aria-checked="true"] .trk::after { transform: translateX(20px); }
.flow-hint { flex: 1 1 320px; margin: 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.flow-hint b { color: var(--ink); }
.flow-stage { display: grid; gap: var(--s100); }
.node { position: relative; padding: var(--s400); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: opacity 600ms var(--ease), box-shadow 600ms var(--ease), transform 600ms var(--ease-out), filter 600ms var(--ease); }
.node .head { display: flex; align-items: center; gap: var(--s100); margin-bottom: var(--s200); }
.node .head .ico { width: 36px; height: 36px; padding: 6px; box-sizing: content-box; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.node h3 { font-size: 22px; line-height: 28px; }
.node ul { list-style: none; display: grid; gap: var(--s100); color: var(--muted); }
.node li { position: relative; padding-left: var(--s400); }
.node li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.node-phone { box-shadow: inset 0 0 0 1px rgba(83, 46, 207, 0.4), 0 24px 48px -28px rgba(83, 46, 207, 0.5); }
.node-phone li::before { background: var(--accent); box-shadow: none; }
.flow[data-state="off"] .node-cloud { opacity: 0.45; filter: saturate(0.2); transform: scale(0.985); }
.flow[data-state="on"] .node-cloud { box-shadow: inset 0 0 0 1px rgba(54, 117, 246, 0.5), 0 24px 48px -28px rgba(54, 117, 246, 0.55); }
.pipe { position: relative; display: grid; place-items: center; min-height: 72px; }
.pipe::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; translate: -50% 0; background: repeating-linear-gradient(180deg, #b9b5cc 0 8px, transparent 8px 16px); }
.pipe .pk { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(83, 46, 207, 0.16); opacity: 0; }
.flow[data-state="on"] .pipe .pk { animation: pk-v 2.4s linear infinite; animation-delay: calc(var(--i) * 600ms); }
.pipe .gate { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px -8px rgba(23, 20, 31, 0.3); color: var(--accent); transition: color 400ms var(--ease), transform 500ms var(--spring); }
.pipe .gate .ico { width: 22px; height: 22px; display: block; }
.pipe .g-on { display: grid; transform: rotate(90deg); }
.pipe .g-off { display: none; }
.flow[data-state="off"] .pipe .gate { color: #b42318; }
.flow[data-state="off"] .pipe .g-on { display: none; }
.flow[data-state="off"] .pipe .g-off { display: grid; }
@keyframes pk-v { 0% { top: 0; opacity: 0; transform: scale(0.6); } 12% { opacity: 1; transform: scale(1); } 88% { opacity: 1; } 100% { top: calc(100% - 14px); opacity: 0; } }
@keyframes pk-h { 0% { left: 0; opacity: 0; transform: scale(0.6); } 12% { opacity: 1; transform: scale(1); } 88% { opacity: 1; } 100% { left: calc(100% - 14px); opacity: 0; } }
.never { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s100) var(--s300); padding: var(--s300) var(--s400); border-radius: 28px; background: var(--ink); color: #fff; }
.never h3 { font-size: 20px; line-height: 28px; display: flex; align-items: center; gap: var(--s100); }
.never h3 .ico { width: 28px; height: 28px; color: #f7a3c4; }
.never ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s75); }
.never li { padding: var(--s75) var(--s200); border-radius: var(--r-full); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 15px; line-height: 20px; transition: background-color 300ms var(--ease), transform 400ms var(--spring); }
.never li:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); }
@media (min-width: 900px) {
  .flow-stage { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; }
  .pipe::before { left: 4px; right: 4px; top: 50%; bottom: auto; width: auto; height: 2px; translate: 0 -50%; background: repeating-linear-gradient(90deg, #b9b5cc 0 8px, transparent 8px 16px); }
  .pipe .pk { top: 50%; left: 0; margin: -7px 0 0; }
  .pipe .g-on { transform: none; }
  .flow[data-state="on"] .pipe .pk { animation-name: pk-h; }
}

/* ============================================================
   6. Where did I put my keys: a chat you can poke
   ============================================================ */
.keys-grid { display: grid; gap: var(--s500); align-items: center; }
.keys-grid .sec-head { margin-bottom: 0; }
.ask-card { position: relative; width: 100%; max-width: 540px; justify-self: center; padding: var(--s300); border-radius: 32px; background: #fff; box-shadow: 0 36px 70px -34px rgba(54, 30, 140, 0.55), inset 0 0 0 1px var(--line); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-full); background: var(--tint); }
.seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-full); background: #fff; box-shadow: 0 4px 14px -4px rgba(54, 30, 140, 0.4); transition: transform 500ms var(--spring); }
.seg[data-case="never"]::before { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; min-height: 44px; padding: 0 var(--s100); border: 0; background: none; border-radius: var(--r-full); font: 600 15px/20px var(--font); color: var(--muted); cursor: pointer; transition: color 300ms var(--ease); }
.seg button[aria-pressed="true"] { color: var(--accent-deep); }
.chat { display: grid; align-content: start; gap: var(--s100); min-height: 236px; padding: var(--s300) var(--s75) var(--s100); }
.msg { max-width: 90%; padding: var(--s100) var(--s200); border-radius: 22px; font-size: 16px; line-height: 24px; }
.msg.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.msg.kw { background: var(--tint); color: var(--ink); border-bottom-left-radius: 6px; min-height: 48px; }
.msg.kw:empty { opacity: 0; }
.ask-picks { display: flex; flex-wrap: wrap; gap: var(--s75); padding: 0 var(--s75); }
.ask-picks[hidden] { display: none; }
.ask-picks button { min-height: 40px; padding: 0 var(--s200); border: 0; border-radius: var(--r-full); background: var(--surface); color: var(--ink); font: 600 14px/20px var(--font); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 400ms var(--spring); }
.ask-picks button:hover { background: var(--accent-soft); color: var(--accent-deep); transform: scale(1.06); }
.ask-picks button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ask-foot { display: flex; align-items: center; gap: var(--s100); margin-top: var(--s200); padding: var(--s200) var(--s75) 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 24px; flex: none; }
.wave i { width: 3px; height: 8px; border-radius: 2px; background: var(--accent); opacity: 0.35; transform-origin: center; }
.ask-card[data-busy="true"] .wave i { opacity: 1; animation: wave 900ms ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes wave { 50% { transform: scaleY(2.4); } }
@media (min-width: 960px) { .keys-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s800); } .ask-card { justify-self: end; } }

/* ============================================================
   7. About page: the KnowWhere logo, alive
   ============================================================ */
.tool { display: grid; gap: var(--s600); align-items: center; }
.tool-stage { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1; margin-inline: auto; display: grid; place-items: center; }
.tool-stage .halo { position: absolute; inset: 12%; border-radius: 50%; background: conic-gradient(from 0deg, #3675f6, #aa6ef4, #efb0de, #f7ded2, #5126cf, #3675f6); filter: blur(34px); opacity: 0.5; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tool-stage .ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(83, 46, 207, 0.32); animation: ripple 5s ease-out infinite; animation-delay: calc(var(--i) * 1.65s); opacity: 0; }
@keyframes ripple { from { transform: scale(0.42); opacity: 0.9; } to { transform: scale(1.04); opacity: 0; } }
.tool-logo { position: relative; z-index: 2; width: 48%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 26px 30px rgba(83, 46, 207, 0.4)); translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 12px); transform: perspective(900px) rotateY(calc(var(--px, 0) * 14deg)) rotateX(calc(var(--py, 0) * -10deg)); animation: logo-float 6.5s ease-in-out infinite; }
@keyframes logo-float { 50% { margin-top: -14px; } }
.tool-stage .hx-chip { cursor: default; }
.tool-stage .t1 { left: -2%; top: 14%; --d: 24; --del: -1s; }
.tool-stage .t2 { right: -4%; top: 30%; --d: -18; --del: -3s; }
.tool-stage .t3 { left: -4%; bottom: 20%; --d: -22; --del: -5s; }
.tool-stage .t4 { right: 0; bottom: 8%; --d: 16; --del: -2s; }
.tool-copy .prod { display: flex; align-items: center; gap: var(--s200); margin-bottom: var(--s300); }
.tool-copy .prod img { width: 64px; height: 64px; border-radius: var(--r-2xl); }
.tool-copy .prod b { display: block; font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
.tool-copy .prod .eyebrow { margin-bottom: 0; }
.tool-copy .h2 { margin-bottom: var(--s200); font-size: clamp(34px, 4.4vw, 48px); line-height: 1.04; letter-spacing: -0.03em; }
.tool-copy .lead-p { font-size: 20px; line-height: 30px; color: var(--ink); max-width: 56ch; }
.tool-copy p { color: var(--muted); max-width: 58ch; }
.tool-copy p + p { margin-top: var(--s200); }
.tool-feats { list-style: none; display: grid; gap: var(--s100); margin-top: var(--s400); }
.tool-feats li { display: block; }
.tool-feats .tf { display: grid; grid-template-columns: 48px 1fr; gap: var(--s200); align-items: center; padding: var(--s100) var(--s200) var(--s100) var(--s100); border-radius: var(--r-2xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.tool-feats li:hover .tf { transform: translateX(8px); box-shadow: inset 0 0 0 1px rgba(83, 46, 207, 0.35), 0 18px 32px -20px rgba(83, 46, 207, 0.45); }
.tool-feats .ri { width: 48px; height: 48px; margin: 0; border-radius: 16px; }
.tool-feats .ri .ico { width: 24px; height: 24px; }
.tool-feats li:hover .ri { background: var(--accent); color: #fff; }
.tool-feats b { display: block; font-size: 16px; line-height: 24px; }
.tool-feats span { color: var(--muted); font-size: 15px; line-height: 22px; }
.tool-copy .btn-row { display: flex; flex-wrap: wrap; gap: var(--s100); margin-top: var(--s400); }
@media (min-width: 960px) { .tool { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s800); } }
@media (max-width: 559px) { .tool-stage .t3, .tool-stage .t4 { display: none; } }

/* ============================================================
   8. The pointer's aura, and a calm fallback
   ============================================================ */
.aura { position: fixed; left: 0; top: 0; z-index: 1; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(83, 46, 207, 0.09), transparent 68%); transition: opacity 600ms var(--ease); will-change: transform; }
.aura.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg i, .hx-chip, .ab-chip, .tool-stage .halo, .tool-stage .ring, .tool-logo, .cta-panel::after, .o-spin .bl, .o-ring, .o-ball, .o-wave i, .hx-chip.on, .btn::after { animation: none !important; }
  .hx-phone, .ab-frame, .ab-frame img, .ab-back, .tool-logo, .rule:hover .rule-card { transform: none !important; }
  html.js .split-ready .sw > span { transform: none !important; }
  .flow[data-state="on"] .pipe .pk { animation: none; opacity: 1; }
  .aura { display: none; }
}
@media (hover: none) { .aura { display: none; } }

/* the two links under the keys paragraph */
.keys-grid .sec-head p + p { margin-top: var(--s100); }
.keys-grid .sec-head p:first-of-type + p { margin-top: var(--s200); }

/* ============================================================
   9. Calmer hovers and quicker fades
   ============================================================ */
.tile:hover, .card:hover, .post-card:hover { transform: scale(1.015); }
.ways li:hover { transform: scale(1.02); transform-origin: left center; }
.island-cta:hover, .guide-fab:hover { transform: scale(1.04); }
.js .rv { transition-duration: 480ms; transition-delay: calc(var(--d, 0ms) * 0.4); transform: translateY(14px); }
.js .rv.in, .rv-all .rv { transform: none; }
.words .w { transition: opacity 260ms var(--ease); }
