:root {
  --ink: #f8f7ff;
  --ink-soft: rgba(248, 247, 255, 0.72);
  --ink-faint: rgba(248, 247, 255, 0.48);
  --panel: rgba(13, 14, 24, 0.78);
  --panel-strong: rgba(16, 17, 29, 0.94);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --blue: #1677ff;
  --violet: #7b37ff;
  --pink: #ff39c8;
  --acid: #c8ff6a;
  --white: #ffffff;
  --shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
  --font-display: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fit-scale: 1;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-text);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    linear-gradient(120deg, rgba(200, 255, 106, 0.22), transparent 24%),
    linear-gradient(235deg, rgba(255, 57, 200, 0.18), transparent 32%),
    linear-gradient(165deg, #090a10 0%, #11121d 48%, #050509 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("./influanswer-glow.png");
  background-position: 9% 50%;
  background-repeat: no-repeat;
  background-size: min(54vw, 720px);
  content: "";
  filter: saturate(1.18) contrast(1.08);
  opacity: 0.18;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

.state-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
  display: grid;
  gap: 7px;
  width: min(190px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: rgba(8, 9, 16, 0.76);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.state-toggle {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  box-shadow: none;
  font-size: 0.78rem;
  text-align: left;
}

.state-toggle::before {
  content: none;
}

.state-toggle:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  transform: none;
}

.state-toggle:active {
  transform: none;
}

.state-toggle.is-active {
  border-color: rgba(200, 255, 106, 0.5);
  background: rgba(200, 255, 106, 0.12);
  color: var(--white);
}

.state-toggle span {
  position: static;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 500px);
  gap: clamp(28px, 5vw, 72px);
  width: min(1240px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
  align-items: stretch;
  transform-origin: top center;
}

body.view-fit {
  height: 100vh;
  overflow: hidden;
}

body.view-fit .page-shell {
  min-height: 0;
  transform: scale(var(--fit-scale));
}

.brand-side {
  display: grid;
  min-height: calc(100vh - 56px);
  align-content: space-between;
  gap: 32px;
  padding: clamp(12px, 2vw, 22px) 0;
}

.topbar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 8px 6px 6px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(119, 55, 255, 0.36));
}

.beta-pill,
.live-dot {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.beta-pill {
  background: rgba(200, 255, 106, 0.08);
  color: rgba(248, 247, 255, 0.74);
}

.hero-copy {
  max-width: 780px;
  padding: clamp(18px, 4vw, 48px) 0 12px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
}

.intro {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(248, 247, 255, 0.78);
  font-family: var(--font-text);
  font-size: clamp(1.12rem, 1.6vw, 1.26rem);
  font-weight: 400;
  line-height: 1.48;
  text-wrap: pretty;
}

.phone-mockup {
  width: min(360px, 100%);
  margin-left: clamp(18px, 5vw, 82px);
  perspective: 1200px;
}

.phone-shell {
  position: relative;
  display: flex;
  aspect-ratio: 390 / 844;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 38%, rgba(0, 0, 0, 0.58)),
    #11131d;
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.56),
    0 0 70px rgba(255, 57, 200, 0.14);
  transform: rotateX(0deg) rotateY(-8deg) rotateZ(0deg);
  transform-origin: center;
}

.phone-shell::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 112px;
  height: 27px;
  border-radius: 999px;
  background: #06070d;
  content: "";
  transform: translateX(-50%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.phone-glass {
  position: absolute;
  inset: 10px;
  z-index: 2;
  border-radius: 26px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 16px 12px 11px;
  background:
    radial-gradient(circle at 18% 8%, rgba(200, 255, 106, 0.12), transparent 28%),
    radial-gradient(circle at 80% 4%, rgba(255, 57, 200, 0.2), transparent 34%),
    linear-gradient(180deg, #181a27 0%, #0d0e16 100%);
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.36);
  scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.tap-indicator {
  position: absolute;
  z-index: 8;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.74);
}

.tap-indicator::before,
.tap-indicator::after,
.tap-indicator span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.tap-indicator::before {
  border: 1px solid rgba(200, 255, 106, 0.72);
  background:
    radial-gradient(circle, rgba(200, 255, 106, 0.34) 0 18%, rgba(255, 57, 200, 0.22) 19% 30%, transparent 56%),
    rgba(13, 14, 24, 0.22);
  box-shadow:
    0 0 0 4px rgba(200, 255, 106, 0.08),
    0 0 28px rgba(200, 255, 106, 0.42),
    0 0 24px rgba(255, 57, 200, 0.24);
  backdrop-filter: blur(3px);
}

.tap-indicator::after {
  border: 1px solid rgba(255, 255, 255, 0.32);
  transform: scale(0.52);
}

.tap-indicator span {
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: linear-gradient(135deg, rgba(200, 255, 106, 0.92), rgba(255, 255, 255, 0.86), rgba(255, 57, 200, 0.7));
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.42);
}

.tap-indicator.is-visible {
  animation: tapSignal 900ms cubic-bezier(0.2, 0.9, 0.18, 1);
}

@keyframes tapSignal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.62);
  }

  16% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.92);
  }

  62% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.16);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.42);
  }
}

.real-app-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 12px;
}

.real-app-header strong {
  display: block;
  color: var(--white);
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1;
}

.phone-icon-button {
  position: relative;
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 57, 200, 0.34), transparent 30%),
    rgba(255, 255, 255, 0.08);
  color: var(--pink);
  box-shadow: none;
}

.phone-icon-button::before {
  content: none;
}

.phone-icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.notification-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 1.5px solid #181a27;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(200, 255, 106, 0.86);
}

.real-screen {
  display: none;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 2px 76px;
  scrollbar-width: none;
}

.real-screen::-webkit-scrollbar {
  display: none;
}

.real-screen.is-active {
  display: block;
}

.hidden {
  display: none !important;
}

.real-hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  margin: 2px 0 9px;
  border: 1px solid rgba(200, 255, 106, 0.2);
  border-radius: 8px;
  padding: 15px;
  background:
    radial-gradient(circle at 84% 20%, rgba(200, 255, 106, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 57, 200, 0.22), rgba(123, 55, 255, 0.18)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 34px rgba(0, 0, 0, 0.22);
}

.real-hero-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  transform: translateX(-110%);
  animation: appSweep 3600ms ease-in-out infinite;
}

.real-hero-panel > * {
  position: relative;
  z-index: 1;
}

.microcopy {
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.real-hero-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.82rem;
  line-height: 0.96;
}

.priority-score {
  display: grid;
  min-width: 75px;
  justify-items: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(13, 14, 24, 0.48);
}

.priority-score small {
  color: var(--ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.priority-score span {
  color: var(--acid);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(200, 255, 106, 0.28);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid article {
  display: grid;
  grid-template-rows: 28px minmax(30px, auto) auto;
  align-content: start;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 10px 7px;
}

.stats-grid article:last-child {
  border-right: 0;
}

.stat-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid rgba(200, 255, 106, 0.16);
  border-radius: 8px;
  background: rgba(200, 255, 106, 0.09);
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
}

.stat-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.stats-grid p {
  min-height: 30px;
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 58px;
  text-wrap: balance;
}

.stats-grid strong {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 9px;
}

.section-head h2,
.source-intro h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
}

.section-head button,
.back-button {
  width: auto;
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: none;
}

.section-head button::before,
.back-button::before {
  content: none;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 11px;
  padding: 6px 0 11px;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.quick-actions button {
  min-width: 0;
  min-height: auto;
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.quick-actions button::before {
  content: none;
}

.action-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 17, 29, 0.82);
  color: var(--white);
  box-shadow: 0 0 20px rgba(123, 55, 255, 0.16);
  overflow: visible;
}

.action-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.filter-count {
  position: absolute;
  top: -4px;
  right: -1px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid #181a27;
  border-radius: 999px;
  background: var(--acid);
  color: #050509;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 16px rgba(200, 255, 106, 0.24);
}

.quick-actions button:nth-child(2) .filter-count,
.quick-actions button:nth-child(4) .filter-count {
  background: rgba(200, 255, 106, 0.72);
}

.quick-actions button:nth-child(4) .action-icon {
  color: #050509;
  background: rgba(200, 255, 106, 0.72);
  box-shadow: 0 0 26px rgba(200, 255, 106, 0.3);
}

.quick-actions button:nth-child(2) .action-icon,
.quick-actions button:nth-child(3) .action-icon {
  background: rgba(13, 14, 24, 0.9);
}

.live-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 255, 106, 0.3);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(200, 255, 106, 0.12);
  color: var(--white);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 260ms ease, margin 260ms ease, opacity 260ms ease, padding 260ms ease, transform 260ms ease;
}

.live-alert.is-visible {
  max-height: 34px;
  margin-bottom: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 1;
  transform: translateY(0);
}

.live-alert span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(200, 255, 106, 0.9);
}

.message-grid,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.message-card,
.tool-card,
.detail-card,
.source-intro {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.message-card {
  display: flex;
  min-height: 139px;
  flex-direction: column;
  border-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  color: var(--ink);
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.message-card::before {
  content: none;
}

.message-card:hover {
  border-color: rgba(200, 255, 106, 0.42);
  background: rgba(16, 17, 29, 0.84);
  transform: translateY(-2px);
}

.message-card.is-new {
  animation: newMessageIn 680ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.sender {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.source {
  display: inline-flex;
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 0.58rem;
  line-height: 1.2;
}

.score-pill,
.tag {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.58rem;
  font-weight: 800;
}

.score-pill {
  border: 1px solid rgba(200, 255, 106, 0.34);
  background: rgba(200, 255, 106, 0.11);
  color: var(--acid);
}

.tag.brand {
  background: var(--acid);
  color: #050509;
}

.tag.urgent {
  background: rgba(255, 64, 108, 0.22);
  color: #ff91aa;
}

.tag.fan {
  background: rgba(123, 55, 255, 0.28);
  color: var(--white);
}

.tag.support {
  background: rgba(22, 119, 255, 0.24);
  color: var(--white);
}

.summary {
  flex: 1;
  margin: 8px 0 10px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.3;
}

.next-action {
  align-self: flex-start;
  margin-top: auto;
  border-radius: 999px;
  padding: 5px 7px;
  background: rgba(200, 255, 106, 0.12);
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.07);
}

.phone-search span {
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 800;
}

.phone-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.72rem;
}

.chips {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.chips button {
  flex: 0 0 auto;
  width: auto;
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink-faint);
  font-size: 0.74rem;
}

.chips button::before {
  content: none;
}

.chips .active {
  color: var(--acid);
  font-weight: 800;
}

.source-intro {
  margin-bottom: 11px;
  padding: 14px;
}

.source-intro p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.36;
}

.tool-card {
  min-height: 128px;
  padding: 11px;
}

.tool-logo {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(200, 255, 106, 0.1);
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 800;
}

.tool-logo svg,
.category-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tool-logo.gmail {
  color: #ff6d76;
  background: rgba(255, 109, 118, 0.13);
}

.tool-logo.youtube {
  color: #ff3939;
  background: rgba(255, 57, 57, 0.13);
}

.tool-logo.instagram {
  color: var(--pink);
  background: rgba(255, 57, 200, 0.13);
}

.tool-logo.tiktok {
  color: var(--acid);
  background: rgba(200, 255, 106, 0.13);
}

.tool-card.is-connecting {
  border-color: rgba(200, 255, 106, 0.48);
  background:
    radial-gradient(circle at 12% 0%, rgba(200, 255, 106, 0.15), transparent 28%),
    rgba(255, 255, 255, 0.08);
  animation: flowPulse 1100ms ease-in-out infinite;
}

.tool-card h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 0.82rem;
}

.tool-card p {
  margin-bottom: 10px;
  color: var(--ink-faint);
  font-size: 0.64rem;
  line-height: 1.32;
}

.connect-button {
  width: 100%;
  min-height: 29px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(123, 55, 255, 0.88), rgba(255, 57, 200, 0.78));
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  box-shadow: none;
}

.connect-button.connected {
  background: var(--acid);
  color: #050509;
}

.connect-button.soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-faint);
  cursor: default;
}

.connect-button::before {
  content: none;
}

.empty-inbox-screen {
  place-items: center;
  align-content: center;
  padding: 22px 18px 84px;
  text-align: center;
}

.empty-inbox-screen.is-active {
  display: grid;
}

.empty-inbox-visual {
  position: relative;
  width: 220px;
  height: 150px;
  margin-bottom: 20px;
}

.empty-inbox-visual::before,
.empty-inbox-visual::after {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 126px;
  height: 1px;
  background: var(--line);
  content: "";
  transform-origin: left;
}

.empty-inbox-visual::before {
  transform: rotate(-138deg);
}

.empty-inbox-visual::after {
  transform: rotate(-42deg);
}

.empty-source,
.empty-center-icon {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.empty-source {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.empty-source.instagram {
  top: 12px;
  left: 20px;
  color: var(--pink);
}

.empty-source.gmail {
  top: 0;
  left: 89px;
  color: var(--acid);
}

.empty-source.youtube {
  top: 12px;
  right: 20px;
  color: #ff5555;
}

.empty-center-icon {
  left: 76px;
  bottom: 0;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  color: var(--white);
}

.empty-source svg,
.empty-center-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.empty-center-icon svg {
  width: 32px;
  height: 32px;
}

.empty-inbox-copy {
  max-width: 290px;
}

.empty-inbox-copy > span {
  display: inline-flex;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.empty-inbox-copy h2 {
  margin-bottom: 9px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.empty-inbox-copy p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

.empty-connect-button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  background: linear-gradient(100deg, var(--acid), #fff2fb 52%, #ff73d6);
  color: #000;
  font-size: 0.72rem;
  box-shadow: 0 0 20px rgba(200, 255, 106, 0.14);
}

.empty-connect-button::before {
  content: none;
}

.syncing-screen {
  place-items: center;
  align-content: center;
  padding: 28px 8px 90px;
}

.syncing-screen.is-active {
  display: grid;
}

.syncing-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 57, 200, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.syncing-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.syncing-card header div > span {
  color: var(--ink-faint);
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
}

.syncing-card h2 {
  margin: 2px 0 0;
  font-size: 1rem;
}

.syncing-spinner {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(200, 255, 106, 0.12);
  color: var(--acid);
}

.syncing-spinner svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  animation: syncSpin 900ms linear infinite;
}

.syncing-source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.62rem;
}

.syncing-source-row span {
  color: var(--ink-soft);
}

.syncing-source-row strong {
  color: var(--acid);
}

.syncing-progress {
  height: 8px;
  margin: 9px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.syncing-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--acid), #fff2fb, var(--pink));
  transition: width 80ms linear;
}

.syncing-detail {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
}

.syncing-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.syncing-metrics article {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 6px;
  background: rgba(255, 255, 255, 0.05);
}

.syncing-metrics strong,
.syncing-metrics span {
  display: block;
}

.syncing-metrics strong {
  font-size: 0.82rem;
}

.syncing-metrics span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 0.5rem;
}

.syncing-activity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  border-radius: 10px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.syncing-activity > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(200, 255, 106, 0.75);
}

.syncing-activity p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.56rem;
}

.instagram-launch-screen {
  place-items: center;
  align-content: center;
  padding: 0;
  text-align: center;
  background: #fff;
}

.instagram-launch-screen.is-active {
  display: grid;
}

.phone-screen.is-instagram-mode {
  padding: 0;
  background: #fff;
}

.phone-screen.is-instagram-mode .phone-status,
.phone-screen.is-instagram-mode .real-app-header,
.phone-screen.is-instagram-mode .bottom-nav {
  display: none;
}

.phone-screen.is-instagram-mode .instagram-launch-screen {
  width: 100%;
  min-height: 100%;
  flex: 1 1 100%;
  border-radius: 25px;
}

.instagram-launch-mark {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 23px;
  background: radial-gradient(circle at 32% 100%, #ffd600 0 18%, #ff7a00 35%, #ff0169 58%, #d300c5 76%, #7638fa 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(211, 0, 197, 0.22);
}

.instagram-launch-mark svg {
  width: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-launch-screen > strong {
  color: #111;
  font-size: 1.18rem;
}

.instagram-launch-screen > span {
  margin-top: 5px;
  color: #777;
  font-size: 0.65rem;
}

.instagram-launch-loader {
  width: 90px;
  height: 3px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}

.instagram-launch-loader::after {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7a00, #ff0169, #7638fa);
  content: "";
  animation: instagramLoad 1s ease-in-out infinite alternate;
}

.handoff-screen {
  place-items: center;
  align-content: center;
  padding: 20px 24px 90px;
  text-align: center;
}

.handoff-screen.is-active {
  display: grid;
}

.handoff-screen > span {
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 0.66rem;
  font-weight: 700;
}

.handoff-screen h2 {
  max-width: 280px;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.12;
}

.brand-promise-screen {
  place-items: center;
  align-content: center;
  padding: 20px 24px 90px;
  text-align: center;
}

.brand-promise-screen.is-active {
  display: grid;
}

.brand-promise-screen img {
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(200, 255, 106, 0.2));
}

.brand-promise-screen strong {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.brand-promise-screen p {
  max-width: 270px;
  margin: 0;
  color: var(--acid);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

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

@keyframes instagramLoad {
  from { transform: translateX(0); }
  to { transform: translateX(122%); }
}

.detail-screen {
  padding-top: 4px;
}

.back-button {
  width: auto;
  min-height: auto;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
}

.detail-card {
  padding: 18px;
}

.detail-card h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.detail-card section {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.detail-card h3 {
  margin: 0 0 7px;
  font-size: 0.73rem;
}

.detail-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.5;
}

.reply-box {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.reply-box p {
  margin: 0;
}

.reply-box button {
  min-height: 34px;
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  box-shadow: none;
}

.reply-box button::before {
  content: none;
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.detail-actions > button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--acid), #fff2fb 52%, #ff73d6);
  color: #000;
  font-size: 0.73rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(200, 255, 106, 0.16);
}

.detail-actions > button:hover,
.detail-actions > button:focus,
.detail-actions > button:active {
  color: #000;
  -webkit-text-fill-color: #000;
}

.detail-actions > button::before {
  content: none;
}

.detail-feedback-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.detail-feedback-actions button {
  min-height: auto;
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: var(--ink-faint);
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}

.detail-feedback-actions button::before {
  content: none;
}

.reply-box button.is-done,
.detail-actions button.is-done,
.image-action-list button.is-action-complete {
  background: var(--acid);
  color: #050509;
  box-shadow: 0 0 20px rgba(200, 255, 106, 0.22);
}

.message-attachment {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 4px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.category-guide {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.category-section {
  display: grid;
  gap: 9px;
}

.category-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.category-section-head h2 {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
}

.category-section-head span,
.category-title span {
  border: 1px solid rgba(200, 255, 106, 0.38);
  border-radius: 999px;
  padding: 3px 7px;
  color: var(--acid);
  font-size: 0.6rem;
  font-weight: 800;
}

.category-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  box-shadow: none;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.category-card::before {
  content: none;
}

.category-card:hover,
.category-card.is-flow-target {
  border-color: rgba(200, 255, 106, 0.5);
  background:
    radial-gradient(circle at 6% 0%, rgba(200, 255, 106, 0.13), transparent 30%),
    rgba(16, 17, 29, 0.9);
  transform: translateY(-1px);
}

.category-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--acid);
}

.category-card.alert .category-icon {
  color: #ff91aa;
}

.category-card.heart .category-icon,
.category-card.collab .category-icon {
  color: var(--pink);
}

.category-card.low .category-icon,
.category-card.spam .category-icon {
  color: var(--ink-faint);
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.category-title h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.15;
}

.category-card p {
  display: block;
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.64rem;
  line-height: 1.32;
}

.category-results-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.category-results-head button {
  flex: 0 0 auto;
  width: auto;
  min-height: auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  box-shadow: none;
}

.category-results-head button::before {
  content: none;
}

.category-results-head span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-results-head h2 {
  margin: 0;
  font-size: 1rem;
}

.image-action-screen {
  padding-top: 4px;
}

.image-action-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at 72% 4%, rgba(255, 57, 200, 0.15), transparent 28%),
    rgba(255, 255, 255, 0.07);
}

.image-action-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  border-radius: 8px;
  object-fit: cover;
}

.image-action-card h2 {
  margin: 8px 0 7px;
  font-size: 1.15rem;
}

.image-action-card p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.42;
}

.image-action-list {
  display: grid;
  gap: 8px;
}

.image-action-list button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: none;
}

.image-action-list button::before {
  content: none;
}

.bottom-nav {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  background: rgba(13, 14, 24, 0.86);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  display: flex;
  min-width: 0;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-faint);
  font-weight: 800;
  box-shadow: none;
}

.bottom-nav button::before {
  content: none;
}

.nav-icon {
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.nav-label {
  display: none;
  font-size: 0.68rem;
}

.bottom-nav .active {
  background: var(--acid);
  color: #050509;
}

.bottom-nav .active .nav-label {
  display: inline;
}

@keyframes appSweep {
  0%,
  58% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes flowPulse {
  0%,
  100% {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24), 0 0 0 rgba(200, 255, 106, 0);
  }

  50% {
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3), 0 0 24px rgba(200, 255, 106, 0.18);
  }
}

.incoming-toast {
  display: flex;
  align-items: center;
  gap: 7px;
  max-height: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 255, 106, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(200, 255, 106, 0.12);
  color: var(--white);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 260ms ease, margin 260ms ease, opacity 260ms ease, padding 260ms ease, transform 260ms ease;
}

.incoming-toast.is-visible {
  max-height: 34px;
  margin-top: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 1;
  transform: translateY(0);
}

.toast-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(200, 255, 106, 0.92);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  margin: 0 8px 13px;
  color: rgba(248, 247, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 600;
}

.preview-header,
.message-meta,
.insight-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-header,
.priority-hero,
.insight-strip,
.app-nav {
  flex: 0 0 auto;
}

.caption {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 600;
}

.preview-header strong {
  font-size: 1rem;
  font-weight: 700;
}

.live-dot {
  position: relative;
  padding-left: 28px;
}

.live-dot::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--acid);
  content: "";
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(200, 255, 106, 0.9);
}

.priority-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 10px 0 8px;
  border: 1px solid rgba(255, 64, 108, 0.34);
  border-radius: 8px;
  padding: 10px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 57, 200, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(255, 64, 108, 0.18), rgba(200, 255, 106, 0.08));
}

.priority-hero strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.14rem;
  line-height: 1;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.08);
}

.alert-label {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.priority-hero p,
.category-card p,
.count,
.insight-strip {
  color: var(--ink-faint);
}

.priority-hero p,
.category-card p {
  display: none;
}

.category-card p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.28;
}

.category-grid {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 11px;
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 8px;
  min-height: 70px;
  justify-items: center;
  padding: 7px 4px;
  text-align: center;
  background: rgba(255, 255, 255, 0.052);
  cursor: pointer;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.category-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
}

.category-card.urgent::before {
  background: #ff406c;
}

.category-card.money::before {
  background: var(--acid);
}

.category-card.community::before {
  background: #ff6adf;
}

.category-card.risk::before {
  background: #ffb444;
}

.category-card.everything::before {
  background: #7c8498;
}

.category-card.urgent {
  background: linear-gradient(90deg, rgba(255, 64, 108, 0.13), rgba(255, 255, 255, 0.052) 48%);
}

.category-card.money {
  background: linear-gradient(90deg, rgba(200, 255, 106, 0.11), rgba(255, 255, 255, 0.052) 48%);
}

.category-card.community {
  background: linear-gradient(90deg, rgba(255, 106, 223, 0.1), rgba(255, 255, 255, 0.052) 48%);
}

.category-card:hover,
.category-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.category-card.is-active {
  border-color: rgba(200, 255, 106, 0.54);
  box-shadow:
    0 0 0 1px rgba(200, 255, 106, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.24),
    inset 0 0 40px rgba(22, 119, 255, 0.08);
  animation: selectedPulse 1800ms ease-in-out infinite;
  transform: translateY(-2px);
}

.category-card.has-new {
  animation: newCategoryPulse 900ms ease;
}

.category-card strong {
  display: block;
  margin-bottom: 0;
  overflow: hidden;
  max-width: 100%;
  color: rgba(248, 247, 255, 0.9);
  font-size: 0.68rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
}

.urgent .category-icon {
  background: linear-gradient(135deg, #ff406c, #ff39c8);
}

.money .category-icon {
  background: linear-gradient(135deg, var(--acid), #4dffca);
  color: #07080d;
}

.community .category-icon {
  background: linear-gradient(135deg, #ff6adf, var(--violet));
}

.risk .category-icon {
  background: linear-gradient(135deg, #ffb444, #ff5d5d);
  color: #07080d;
}

.count {
  display: grid;
  min-width: 28px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(248, 247, 255, 0.76);
  font-size: 0.64rem;
  font-weight: 700;
}

.count.is-bumping,
#priority-count.is-bumping,
#classified-count.is-bumping,
#attention-count.is-bumping {
  animation: countBump 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.message-drawer {
  position: relative;
  overflow: hidden;
  min-height: 0;
  flex: 1 1 auto;
  margin: -2px 0 10px;
  border: 1px solid rgba(200, 255, 106, 0.22);
  border-radius: 8px;
  padding: 10px;
  background:
    radial-gradient(circle at 14% 0%, rgba(200, 255, 106, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.message-drawer::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  content: "";
  transform: translateX(-100%);
  animation: drawerSweep 2800ms ease-in-out infinite;
}

.drawer-top,
.drawer-list {
  position: relative;
}

.drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.drawer-kicker {
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.drawer-top strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.16;
  text-align: right;
  text-wrap: balance;
}

.drawer-list {
  display: grid;
  gap: 7px;
  max-height: none;
  overflow: visible;
}

.drawer-list.is-changing {
  animation: drawerIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 10px;
  background: rgba(5, 6, 12, 0.28);
}

.drawer-message.is-new {
  border-color: rgba(200, 255, 106, 0.34);
  background:
    linear-gradient(90deg, rgba(200, 255, 106, 0.12), transparent 54%),
    rgba(5, 6, 12, 0.34);
  animation: newMessageIn 620ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.drawer-message span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.drawer-message p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.36;
}

.drawer-message small {
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes selectedPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(200, 255, 106, 0.1),
      0 18px 42px rgba(0, 0, 0, 0.24),
      inset 0 0 40px rgba(22, 119, 255, 0.08);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(200, 255, 106, 0.24),
      0 22px 52px rgba(0, 0, 0, 0.3),
      inset 0 0 54px rgba(200, 255, 106, 0.1);
  }
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drawerSweep {
  0%,
  55% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes newMessageIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes countBump {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.22);
    color: var(--acid);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes newCategoryPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 255, 106, 0);
  }

  45% {
    box-shadow: 0 0 0 4px rgba(200, 255, 106, 0.18);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 255, 106, 0);
  }
}

.insight-strip {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 0.76rem;
  font-weight: 600;
}

.app-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.045);
}

.app-nav span {
  border-radius: 999px;
  padding: 7px 5px;
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
}

.app-nav .is-current {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.form-section {
  display: flex;
  align-items: center;
}

.beta-form {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 32%),
    var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
}

.form-header {
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
}

.form-header p,
.footnote {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.45;
}

.field,
fieldset {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

fieldset {
  border: 0;
  padding: 0;
}

.field span,
legend {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.field-note {
  margin-top: -6px;
  color: rgba(248, 247, 255, 0.52);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

legend {
  padding-bottom: 2px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font: inherit;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input[type="text"],
input[type="email"] {
  min-height: 54px;
}

textarea {
  min-height: 88px;
  padding-top: 13px;
  padding-bottom: 13px;
  resize: vertical;
  line-height: 1.4;
}

input::placeholder,
textarea::placeholder {
  color: rgba(248, 247, 255, 0.38);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: rgba(200, 255, 106, 0.7);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(200, 255, 106, 0.12);
}

.choice-grid,
.choice-stack {
  display: grid;
  gap: 8px;
}

.other-frustration-field {
  margin: 12px 0 0;
}

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

.choice-grid label,
.choice-stack label {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.choice-grid label:hover,
.choice-stack label:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.choice-grid input[type="radio"],
.choice-stack input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--acid);
}

.choice-grid span,
.choice-stack span {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
}

.choice-grid span::before,
.choice-stack span::before {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid rgba(248, 247, 255, 0.34);
  border-radius: 999px;
  content: "";
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.choice-stack span::before {
  border-radius: 5px;
}

input[type="radio"]:checked + span::before,
.choice-stack input[type="checkbox"]:checked + span::before {
  border-color: transparent;
  background: linear-gradient(135deg, var(--acid), var(--pink));
  box-shadow: inset 0 0 0 4px #11121d;
}

input[type="radio"]:checked + span,
.choice-stack input[type="checkbox"]:checked + span {
  color: var(--white);
}

.choice-grid label:has(input:checked),
.choice-stack label:has(input:checked) {
  border-color: rgba(200, 255, 106, 0.54);
  background: rgba(200, 255, 106, 0.09);
}

.legal-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: -2px 0 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.42;
}

.legal-consent a,
.footnote a,
.legal-page a {
  color: var(--acid);
  text-decoration: none;
}

.legal-consent a:hover,
.footnote a:hover,
.legal-page a:hover {
  text-decoration: underline;
}

.risk-note {
  border: 1px solid rgba(255, 180, 68, 0.2);
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 10px 11px;
  background: rgba(255, 180, 68, 0.07);
  color: rgba(248, 247, 255, 0.62);
  font-size: 0.74rem;
  line-height: 1.42;
}

.turnstile-field {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

button {
  position: relative;
  width: 100%;
  min-height: 56px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: #080910;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 24px 52px rgba(255, 57, 200, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--acid), var(--white) 42%, #ffd7f4 68%, var(--pink));
  content: "";
  opacity: 0.95;
}

button span {
  position: relative;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 62px rgba(255, 57, 200, 0.28);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.form-status[data-status="success"] {
  color: var(--acid);
}

.form-status[data-status="error"] {
  color: #ff9fc9;
}

.footnote {
  margin: 14px 0 0;
  text-align: center;
}

.footnote span {
  display: block;
  margin-top: 8px;
}

.legal-page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.legal-card {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 52px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%),
    rgba(16, 17, 29, 0.94);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 30px 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.68;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-meta {
  margin-bottom: 28px;
  color: var(--ink-faint);
  font-weight: 600;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--acid);
  font-weight: 600;
  text-decoration: none;
}

.beta-form.is-submitted button {
  transform: translateY(0);
}

@media (max-width: 960px) {
  body::before {
    background-position: center top;
    background-size: 108vw;
    opacity: 0.12;
  }

  .page-shell {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 28px));
  }

  .brand-side {
    min-height: auto;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 46px;
    text-align: center;
  }

  h1,
  .intro,
  .phone-mockup {
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    font-size: clamp(3rem, 10.5vw, 5.4rem);
  }
}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 24px, 460px);
    padding: 16px 0 24px;
  }

  .brand span {
    font-size: 1rem;
  }

  .topbar {
    max-width: 100%;
  }

  .beta-pill {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .phone-mockup {
    width: min(340px, 100%);
    padding: 0;
  }

  .phone-shell {
    transform: none;
  }

  .priority-hero {
    padding: 14px;
  }

  .priority-hero strong {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .category-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .category-icon {
    width: 34px;
    height: 34px;
  }

  .category-card p {
    display: none;
  }

  .insight-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .beta-form {
    padding: 20px 14px;
  }
}

.phone-screen .category-guide {
  display: grid;
  gap: 14px;
}

.phone-screen .category-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-height: auto;
  justify-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.phone-screen .category-card::before {
  content: none;
}

.phone-screen .category-card p {
  display: block;
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.64rem;
  line-height: 1.32;
}

.phone-screen .category-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-screen .category-icon svg,
.phone-screen .tool-logo svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.phone-screen .category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.phone-screen .category-title h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.15;
}

.phone-screen .category-title span {
  min-width: 26px;
  height: auto;
  border: 1px solid rgba(200, 255, 106, 0.38);
  border-radius: 999px;
  padding: 3px 6px;
  color: var(--acid);
  font-size: 0.6rem;
  font-weight: 800;
}

.phone-screen .category-card.is-flow-target {
  border-color: rgba(200, 255, 106, 0.5);
  background:
    radial-gradient(circle at 6% 0%, rgba(200, 255, 106, 0.13), transparent 30%),
    rgba(16, 17, 29, 0.9);
}
