:root {
  --ink: #0b0b0e;
  --surface: #17171b;
  --raised: #222227;
  --ivory: #f2efe9;
  --muted: #aaa8a5;
  --quiet: #92908d;
  --gold: #c9a961;
  --gold-fill: #29241a;
  --green: #4fbf87;
  --sent: #1f5138;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --xs: 12px;
  --sm: 14px;
  --base: 16px;
  --lg: 18px;
  --h1: clamp(48px, 5.5vw, 80px);
  --h2: clamp(25px, 2.5vw, 34px);
  --side: clamp(22px, 4.5vw, 70px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 14px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: var(--base) / 1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  letter-spacing: -0.05em;
  line-height: 1.09;
  font-weight: 500;
}
h2 {
  font-size: var(--h2);
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  border: 0;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.shell,
.site-header {
  width: min(1280px, calc(100% - var(--side) * 2));
  margin-inline: auto;
}
@media (min-width: 1101px) {
  .shell,
  .site-header {
    position: relative;
    left: -50px;
  }
}
.site-header {
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand img {
  object-fit: contain;
}
.brand span {
  font-size: 28px;
  letter-spacing: -1.5px;
  font-weight: 650;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  min-height: 48px;
  padding: 0 21px;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 13px;
  font-size: var(--sm);
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: white;
  transform: translateY(-2px);
}
.button .icon {
  width: 17px;
  height: 17px;
}
.header-download {
  min-height: 44px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: var(--ivory);
  color: var(--ink);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 64px 0 76px;
}
.hero-copy {
  padding-bottom: 14px;
}
.eyebrow {
  font-size: var(--xs);
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}
.hero h1 {
  font-size: var(--h1);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 25px 0 28px;
}
.hero h1 span {
  color: var(--muted);
}
.hero-copy > p {
  font-size: var(--lg);
  color: #b9b6b0;
  line-height: 1.65;
}
.downloads {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.store {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 149px;
  min-height: 62px;
  padding: 10px 20px;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 14px;
  text-align: left;
  transition:
    transform 0.2s,
    background 0.2s;
}
.store:hover {
  transform: translateY(-2px);
  background: white;
}
.store.secondary {
  background: #252529;
  color: var(--ivory);
}
.store.secondary:hover {
  background: #303035;
}
.store small {
  display: block;
  font-size: var(--xs);
  line-height: 1.25;
}
.store strong {
  display: block;
  text-align: center;
  font-size: var(--lg);
  font-weight: 600;
  line-height: 1.4;
}
.store-icon {
  height: 28px;
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orb {
  display: inline-block;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 33% 28%,
    #f5e9b8 0,
    #dbc380 21%,
    #ba9950 45%,
    #5d4c28 73%,
    #312b21 90%
  );
}
.orb.small {
  width: 20px;
  height: 20px;
}
.orb.tiny {
  width: 14px;
  height: 14px;
}
.demo {
  min-width: 0;
  scroll-margin-top: 14px;
}
.demo-tabs {
  display: flex;
  gap: 4px;
  background: #17171b;
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 12px;
}
.demo-tab {
  flex: 1;
  min-height: 44px;
  padding: 10px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: var(--sm);
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.demo-tab:hover {
  color: var(--ivory);
}
.demo-tab.active {
  background: #303035;
  color: var(--ivory);
}
.demo-tab .icon {
  width: 17px;
  height: 17px;
}
.demo-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding: 24px;
  border-radius: 21px;
  overflow: hidden;
}
.room-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45);
  opacity: 0.65;
}
.photo-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0b0b0e80;
  backdrop-filter: blur(3px);
}
.app-window {
  width: 100%;
  max-width: 358px;
  background: var(--ink);
  border-radius: 22px;
  box-shadow: 0 12px 30px #0007;
  display: flex;
  flex-direction: column;
  height: 431px;
  overflow: clip;
}
.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 65px;
  padding: 14px 18px 10px;
  flex: none;
}
.app-header strong {
  font-size: var(--base);
  font-weight: 600;
  display: block;
  line-height: 1.25;
}
.app-header div > span {
  font-size: var(--xs);
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.private-icon {
  width: 15px;
  height: 15px;
  color: var(--quiet);
  margin-left: auto;
}
#scene-content {
  padding: 12px 17px 8px;
  flex: 1;
  min-height: 0;
}
#scene-content.arrive {
  animation: arrive 0.24s var(--ease);
}
.app-bottom {
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: var(--xs);
  color: var(--quiet);
  flex: none;
  padding-bottom: 9px;
}
.demo-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-top: 14px;
}
.demo-caption p {
  font-size: var(--sm);
  color: #cbc7c0;
}
.demo-caption > span {
  font-size: var(--xs);
  color: var(--quiet);
}
.prompt {
  background: var(--sent);
  border-radius: 15px 15px 5px 15px;
  padding: 11px 13px;
  font-size: var(--sm);
  line-height: 1.45;
  margin-left: auto;
  max-width: 92%;
}
.butler-reply {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--xs);
  color: var(--gold);
  margin: 17px 0 9px;
}
.reply-line {
  font-size: var(--sm);
  line-height: 1.4;
  color: var(--ivory);
  margin-bottom: 12px;
}
.brief {
  background: var(--surface);
  border-radius: 13px;
  padding: 15px;
}
.brief-label {
  font-size: var(--xs);
  color: var(--muted);
  letter-spacing: 0.045em;
}
.brief-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: var(--sm);
  line-height: 1.45;
}
.person {
  height: 25px;
  width: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #39372c;
  color: #d2c39f;
  font-size: var(--xs);
  flex: none;
}
.person.second {
  background: #343944;
  color: #b7c1d0;
}
.brief-row strong {
  font-size: var(--xs);
  color: var(--muted);
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}
.brief-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: var(--xs);
  color: var(--quiet);
}
.brief-footer .icon {
  width: 12px;
  height: 12px;
}
.approval {
  background: var(--gold-fill);
  padding: 15px;
  border-radius: 14px;
}
.approval > small {
  display: block;
  font-size: var(--xs);
  color: #c9c0ad;
}
.approval > strong {
  display: block;
  font-size: 34px;
  letter-spacing: -0.045em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-top: 4px;
}
.approval-facts {
  display: flex;
  justify-content: space-between;
  font-size: var(--xs);
  color: #d1c6ae;
  margin-top: 13px;
}
.slide {
  position: relative;
  display: grid;
  place-items: center;
  height: 44px;
  background: #3b3323;
  border-radius: 11px;
  margin-top: 14px;
  overflow: hidden;
}
.slide > span:first-child {
  font-size: var(--xs);
  margin-left: 18px;
  color: #e5d6b2;
  pointer-events: none;
}
.slide input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 2;
}
.slide input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 37px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
}
.slide input::-moz-range-thumb {
  width: 37px;
  height: 36px;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
}
.slide-arrow {
  position: absolute;
  left: 15px;
  top: 8px;
  line-height: 28px;
  font-size: 18px;
  color: #282116;
  z-index: 3;
  pointer-events: none;
}
.receipt {
  padding: 18px;
  background: var(--surface);
  border-radius: 14px;
}
.receipt-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--sm);
  font-weight: 600;
}
.receipt-heading .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
}
.receipt p {
  font-size: var(--sm);
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.45;
}
.receipt-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 19px;
  gap: 8px;
}
.state {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--xs);
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.small-button {
  padding: 8px 13px;
  background: #303035;
  border-radius: 9px;
  min-height: 36px;
  font-size: var(--xs);
}
.replay {
  background: none;
  padding: 0;
  font-size: var(--xs);
  color: var(--quiet);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 13px;
}
.dashboard {
  background: var(--surface);
  border-radius: 14px;
  padding: 15px;
}
.dashboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--xs);
  color: var(--muted);
}
.dashboard-value {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 29px;
  letter-spacing: -0.045em;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 7px;
}
.chart {
  display: block;
  width: 100%;
  height: 54px;
  margin: 10px 0 6px;
}
.holding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--xs);
  margin-top: 8px;
  gap: 12px;
}
.holding > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.holding img {
  height: 20px;
  width: 20px;
  object-fit: contain;
}
.holding strong {
  font-size: var(--xs);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.cash {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #333830;
  color: #c1c8bd;
  display: grid;
  place-items: center;
}
.dashboard-footer {
  font-size: var(--xs);
  color: var(--quiet);
  margin-top: 12px;
}
.control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 0 46px;
}
.control h2 {
  font-size: clamp(26px, 2.5vw, 34px);
}
.control-items {
  display: flex;
  gap: 30px;
  font-size: var(--sm);
  color: var(--muted);
}
.control-items span {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.control-items .icon {
  width: 17px;
  height: 17px;
  color: #c3bfb8;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 37px 40px;
  background: var(--surface);
  border-radius: 20px;
  gap: 25px;
  margin-top: 9px;
}
.closing h2 {
  font-size: clamp(26px, 2.7vw, 37px);
}
.closing p {
  font-size: var(--sm);
  color: var(--muted);
  margin-top: 9px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 0;
}
.site-footer .brand span {
  font-size: 22px;
}
.preview-link {
  font-size: var(--xs);
  color: var(--quiet);
  background: none;
  padding: 8px 0;
}
.preview-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog {
  width: min(440px, calc(100% - 32px));
  max-height: 90dvh;
  border: 0;
  border-radius: 22px;
  padding: 24px;
  background: var(--surface);
  color: var(--ivory);
  box-shadow: 0 25px 100px #0008;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(8px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #2b2b30;
  display: grid;
  place-items: center;
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
#dialog-content h2 {
  font-size: 31px;
  margin-bottom: 15px;
}
#dialog-content p {
  font-size: var(--sm);
  color: var(--muted);
  line-height: 1.6;
}
.platforms {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.platforms button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  flex: 1;
  border-radius: 13px;
  background: #29292f;
  font-size: var(--base);
}
.platforms .selected {
  background: #414147;
}
.platforms .store-icon {
  width: 22px;
  height: 24px;
}
.notice {
  background: #25252b;
  border-radius: 12px;
  padding: 13px 15px;
  margin-top: 17px;
  font-size: var(--xs) !important;
  color: var(--muted);
}
.source-link {
  font-size: var(--xs);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  margin-top: 18px;
}
[hidden] {
  display: none !important;
}
@keyframes arrive {
  from {
    opacity: 0.5;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 88px;
    gap: 90px;
  }
  .demo-stage {
    padding: 32px;
  }
  .app-window {
    max-width: 370px;
    height: 440px;
  }
}
@media (max-width: 1100px) {
  :root {
    --h1: 60px;
    --side: 32px;
  }
  .hero {
    gap: 36px;
    padding-top: 40px;
  }
  .demo-stage {
    padding: 19px;
  }
  .control-items {
    gap: 18px;
  }
  .control {
    gap: 25px;
  }
  .control-items span {
    gap: 6px;
  }
}
@media (max-width: 850px) {
  :root {
    --h1: 48px;
    --side: 25px;
  }
  .hero {
    gap: 24px;
  }
  .hero-copy > p {
    font-size: var(--base);
  }
  .store {
    min-width: 132px;
    padding: 10px 14px;
    gap: 10px;
  }
  .downloads {
    gap: 9px;
  }
  .demo-tab {
    font-size: var(--xs);
    gap: 5px;
  }
  .demo-stage {
    padding: 14px;
  }
  .app-window {
    height: 443px;
  }
  .app-header {
    padding-inline: 14px;
  }
  #scene-content {
    padding-inline: 13px;
  }
  .control {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-top: 23px;
  }
  .control-items {
    gap: 30px;
  }
  .closing {
    padding: 30px;
  }
}
@media (max-width: 700px) {
  :root {
    --h1: clamp(41px, 10.1vw, 60px);
    --side: 22px;
  }
  .site-header {
    height: 76px;
  }
  .brand span {
    font-size: 26px;
  }
  .brand img {
    width: 32px;
  }
  .header-download {
    min-height: 40px;
    padding: 0 14px;
    gap: 12px;
    font-size: var(--xs);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 27px 0 38px;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .eyebrow {
    justify-content: center;
  }
  .hero h1 {
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin: 22px 0;
  }
  .hero-copy > p {
    font-size: var(--base);
    line-height: 1.6;
  }
  .downloads {
    justify-content: center;
    gap: 11px;
    margin-top: 25px;
  }
  .store {
    min-width: 143px;
    padding: 10px 18px;
    min-height: 59px;
  }
  .store strong {
    font-size: var(--lg);
  }
  .demo {
    scroll-margin-top: 12px;
  }
  .demo-tabs {
    margin-bottom: 10px;
    padding: 4px;
    gap: 3px;
  }
  .demo-tab {
    font-size: var(--sm);
    gap: 7px;
    min-height: 44px;
    padding: 9px 7px;
  }
  .demo-tab .icon {
    width: 16px;
    height: 16px;
  }
  .demo-stage {
    padding: 13px;
    border-radius: 18px;
  }
  .app-window {
    height: 413px;
    border-radius: 17px;
  }
  .app-header {
    min-height: 59px;
    padding: 12px 15px 9px;
  }
  .app-header .orb {
    width: 29px;
    height: 29px;
  }
  #scene-content {
    padding: 11px 14px 7px;
  }
  .prompt {
    font-size: var(--sm);
    line-height: 1.4;
    padding: 10px 12px;
  }
  .app-bottom {
    height: 28px;
    font-size: var(--xs);
    padding-bottom: 8px;
  }
  .butler-reply {
    margin: 14px 0 8px;
  }
  .reply-line {
    font-size: var(--sm);
    margin-bottom: 10px;
  }
  .brief {
    padding: 13px;
  }
  .brief-row {
    margin-top: 12px;
    font-size: var(--sm);
    line-height: 1.4;
  }
  .brief-footer {
    margin-top: 12px;
  }
  .demo-caption {
    margin-top: 12px;
    gap: 4px;
  }
  .demo-caption p {
    font-size: var(--sm);
  }
  .demo-caption > span {
    font-size: var(--xs);
  }
  .approval {
    padding: 13px;
  }
  .approval > strong {
    font-size: 32px;
  }
  .approval-facts {
    margin-top: 10px;
  }
  .slide {
    margin-top: 12px;
  }
  .dashboard {
    padding: 13px;
  }
  .dashboard-value {
    font-size: 29px;
  }
  .chart {
    height: 51px;
    margin: 9px 0 5px;
  }
  .dashboard-footer {
    margin-top: 11px;
  }
  .control {
    padding: 26px 0 35px;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  .control h2 {
    font-size: 29px;
  }
  .control-items {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: var(--xs);
  }
  .control-items span {
    gap: 5px;
  }
  .control-items .icon {
    width: 14px;
    height: 14px;
  }
  .closing {
    padding: 27px 22px;
    flex-direction: column;
    text-align: center;
    gap: 21px;
    margin-top: 0;
  }
  .closing h2 {
    font-size: 29px;
  }
  .closing p {
    font-size: var(--sm);
    margin-top: 8px;
  }
  .closing .button {
    width: 100%;
    min-height: 49px;
  }
  .site-footer {
    padding: 29px 0 30px;
  }
  .site-footer .brand span {
    font-size: 21px;
  }
  .site-footer .brand img {
    width: 26px;
  }
  .preview-link {
    font-size: var(--xs);
  }
  dialog {
    padding: 21px;
  }
}
@media (max-width: 370px) {
  :root {
    --side: 16px;
    --h1: 40px;
  }
  .store {
    min-width: 135px;
    padding: 10px 15px;
  }
  .downloads {
    gap: 9px;
  }
  .demo-tab {
    font-size: var(--xs);
    gap: 5px;
  }
  .demo-stage {
    padding: 10px;
  }
  .app-window {
    height: 427px;
  }
  .app-header {
    padding-inline: 12px;
  }
  #scene-content {
    padding-inline: 11px;
  }
  .brief-row {
    font-size: var(--sm);
  }
  .control-items {
    gap: 10px;
  }
  .control-items span {
    font-size: var(--xs);
  }
  .dashboard-value {
    font-size: 27px;
  }
  .closing h2 {
    font-size: 26px;
  }
}
@media (max-height: 700px) and (min-width: 371px) and (max-width: 700px) {
  .app-window {
    height: 413px;
  }
  .app-header {
    min-height: 55px;
  }
  .demo-caption {
    margin-top: 9px;
  }
}
.chart {
  height: 43px;
}
.app-header > .icon:last-child {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--quiet);
}
.room-avatar {
  position: relative;
  width: 38px;
  height: 33px;
  flex: none;
}
.room-avatar .member-avatar {
  position: absolute;
  width: 21px;
  height: 21px;
  font-size: 10px;
  box-shadow: 0 0 0 2px var(--ink);
}
.room-avatar .member-avatar:nth-child(1) {
  left: 0;
  top: 0;
}
.room-avatar .member-avatar:nth-child(2) {
  left: 16px;
  top: 2px;
}
.room-avatar .member-avatar:nth-child(3) {
  left: 9px;
  top: 15px;
}
.group-header-orb {
  margin-left: auto;
}
.group-scene #scene-content {
  padding-top: 7px;
  padding-bottom: 8px;
}
.group-thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.member-message {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.member-avatar {
  height: 23px;
  width: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--xs);
  flex: none;
}
.maya {
  background: #40372b;
  color: #d9c5a2;
}
.leo {
  background: #303b45;
  color: #b2c9db;
}
.nina {
  background: #433440;
  color: #d3b4ca;
}
.sam {
  background: #344039;
  color: #bfd1bb;
}
.member-bubble {
  background: #1e1e23;
  border-radius: 12px 12px 12px 4px;
  padding: 5px 10px;
  max-width: calc(100% - 32px);
}
.member-name {
  display: block;
  font-size: var(--xs);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}
.maya-name {
  color: #d9c5a2;
}
.leo-name {
  color: #b2c9db;
}
.nina-name {
  color: #d3b4ca;
}
.sam-name {
  color: #bfd1bb;
}
.member-bubble p {
  font-size: var(--sm);
  line-height: 1.25;
}
.group-prompt {
  font-size: var(--sm);
  padding: 8px 11px;
  margin-top: 3px;
  max-width: 90%;
  line-height: 1.35;
}
.butler-mention {
  color: #e4c681;
}
.group-butler {
  padding: 5px 0 0 30px;
}
.group-butler-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--xs);
  line-height: 1.25;
}
.group-butler-label > strong {
  font-weight: 500;
  color: var(--gold);
}
.group-butler-label > span:last-child {
  margin-left: auto;
  color: var(--quiet);
  display: flex;
  gap: 4px;
  align-items: center;
}
.group-butler-label .icon {
  width: 11px;
  height: 11px;
}
.group-butler p {
  font-size: var(--sm);
  line-height: 1.4;
  margin: 5px 0 0 20px;
}
.control h2 {
  font-size: clamp(30px, 3.2vw, 45px);
  line-height: 1.15;
}
.control h2 span {
  color: var(--muted);
}
.rule-prompt {
  max-width: 100%;
  line-height: 1.4;
}
.prompt-next {
  display: block;
  margin-top: 6px;
}
.rules-scene .butler-reply {
  margin-top: 13px;
  margin-bottom: 7px;
}
.rules-scene .reply-line {
  margin-bottom: 10px;
}
.signal-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: var(--xs);
  color: #c9c0ad;
}
.signal-label small {
  font-size: var(--xs);
}
.rule-details {
  background: transparent;
  font-size: var(--xs);
  padding: 2px 0;
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signal-receipt {
  padding: 14px;
}
.signal-receipt .receipt-controls {
  margin-top: 13px;
}
.signal-receipt .replay {
  margin-top: 10px;
}
.run-limit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--xs);
  margin-top: 12px;
  color: var(--muted);
}
.run-limit strong {
  color: var(--ivory);
  font-size: var(--sm);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.built-status {
  margin-left: auto;
  font-size: var(--xs);
  color: var(--quiet);
}
.monitor-card {
  background: var(--surface);
  padding: 14px;
  border-radius: 14px;
}
.monitor-action > small,
.filter-label {
  font-size: var(--xs);
  letter-spacing: 0.035em;
  color: var(--muted);
}
.monitor-action > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
.monitor-action strong {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.monitor-action > div > span {
  font-size: var(--xs);
  line-height: 1.35;
  color: var(--muted);
  max-width: 66px;
}
.monitor-filters {
  margin-top: 14px;
}
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  font-size: var(--xs);
  line-height: 1.4;
}
.filter-row .icon {
  width: 13px;
  height: 13px;
  color: var(--quiet);
  margin-top: 2px;
}
.monitor-test {
  margin-top: 14px;
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-radius: 9px;
  background: #2c2c31;
  font-size: var(--xs);
}
.monitor-test:hover {
  background: #38383e;
}
.monitor-test .icon {
  width: 15px;
  height: 15px;
}
.detail-rule {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: var(--xs);
}
.detail-rule > span {
  color: var(--muted);
  max-width: 45%;
}
.detail-rule strong {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}
#dialog-content .detail-note {
  font-size: var(--xs);
  margin-top: 15px;
  line-height: 1.6;
  color: var(--quiet);
}
.test-options {
  display: flex;
  gap: 6px;
  margin: 20px 0 14px;
}
.test-options button {
  flex: 1;
  font-size: var(--xs);
  min-height: 40px;
  padding: 8px;
  border-radius: 9px;
  background: #25252a;
  color: var(--muted);
}
.test-options button.selected {
  color: var(--ivory);
  background: #414147;
}
.test-result {
  padding: 17px;
  background: #202025;
  border-radius: 13px;
  margin-bottom: 12px;
}
.test-result > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: var(--sm);
}
.test-result .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}
.test-result > strong {
  display: block;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 9px 0;
}
#dialog-content .test-result p {
  font-size: var(--xs);
  line-height: 1.6;
}
@media (max-width: 700px) {
  .rules-scene .prompt {
    padding: 9px 11px;
  }
  .rules-scene .butler-reply {
    margin-top: 11px;
    margin-bottom: 7px;
  }
  .monitor-card {
    padding: 12px;
  }
  .monitor-filters {
    margin-top: 11px;
  }
  .monitor-test {
    margin-top: 12px;
  }
  .monitor-action strong {
    font-size: 28px;
  }
  .filter-row {
    margin-top: 7px;
  }
  .signal-receipt p {
    margin-top: 8px;
  }
}
@media (max-width: 370px) {
  .rules-scene #scene-content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .rules-scene .prompt {
    font-size: 13px;
  }
  .monitor-action strong {
    font-size: 26px;
  }
  .monitor-card {
    padding: 11px;
  }
  .monitor-test {
    min-height: 34px;
  }
  .signal-receipt p {
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .control {
    gap: 25px;
    padding-top: 22px;
    padding-bottom: 36px;
  }
  .control h2 {
    font-size: clamp(28px, 7.8vw, 36px);
  }
  .control > .button {
    min-width: 190px;
  }
}
/* Landing-demo adaptation: readable rules outrank literal app-screen density. */
.app-window {
  max-width: 400px;
  height: 482px;
}
.demo-stage {
  padding: 20px;
}
.rules-scene #scene-content {
  padding: 13px 18px 16px;
}
.rules-scene .rule-prompt {
  font-size: 17px;
  line-height: 1.4;
  padding: 12px 14px;
}
.rules-scene .butler-reply {
  font-size: 14px;
  margin: 15px 0 11px;
}
.built-status {
  font-size: 13px;
  color: #b8b4ad;
}
.legible-rule {
  padding: 17px;
}
.rule-block + .rule-block {
  margin-top: 16px;
}
.rule-label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.07em;
  color: #c0b9ac;
  line-height: 1.3;
  margin-bottom: 5px;
}
.rule-main {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.rule-context {
  display: block;
  color: #c4bdae;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 3px;
}
.rule-limit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  font-size: 14px;
  color: #c4bdae;
}
.rule-limit > strong {
  color: var(--ivory);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rule-limit .rule-details {
  margin-left: auto;
  font-size: 13px;
}
.signal-approval .slide {
  margin-top: 13px;
  height: 45px;
}
.signal-approval .slide > span:first-child {
  font-size: 14px;
}
.signal-approval .slide input {
  height: 45px;
}
.monitor-card .rule-label {
  color: #aaa8a5;
}
.monitor-card .filter-row {
  font-size: 15px;
  line-height: 1.35;
  margin-top: 7px;
  color: var(--ivory);
}
.monitor-card .filter-row .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
}
.monitor-card .monitor-test {
  font-size: 14px;
  min-height: 42px;
  margin-top: 17px;
  padding: 9px 12px;
}
.signal-receipt .receipt-heading {
  font-size: 17px;
}
.signal-receipt .run-limit {
  font-size: 14px;
  margin-top: 17px;
}
.signal-receipt .run-limit strong {
  font-size: 18px;
}
.signal-receipt .receipt-controls {
  margin-top: 19px;
}
.signal-receipt .state,
.signal-receipt .small-button {
  font-size: 14px;
}
.signal-receipt .small-button {
  min-height: 40px;
}
.signal-receipt .replay {
  font-size: 13px;
  margin-top: 17px;
}
#dialog-content .test-result p {
  font-size: 14px;
  line-height: 1.55;
}
.test-options button {
  font-size: 14px;
  min-height: 44px;
}
@media (max-width: 850px) and (min-width: 701px) {
  .demo-stage {
    padding: 12px;
  }
  .rules-scene #scene-content {
    padding-inline: 14px;
  }
  .legible-rule {
    padding: 14px;
  }
  .rule-main {
    font-size: 16px;
  }
  .rule-context {
    font-size: 13px;
  }
  .rule-limit {
    font-size: 13px;
  }
  .rule-limit > strong {
    font-size: 17px;
  }
  .rules-scene .rule-prompt {
    font-size: 16px;
  }
  .monitor-card .filter-row {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .demo-stage {
    padding: 8px;
  }
  .app-window {
    height: 470px;
    max-width: 400px;
  }
  .rules-scene #scene-content {
    padding: 12px 14px 13px;
  }
  .rules-scene .rule-prompt {
    font-size: 16px;
    padding: 11px 13px;
    line-height: 1.4;
  }
  .rules-scene .butler-reply {
    font-size: 14px;
    margin: 14px 0 10px;
  }
  .built-status {
    font-size: 13px;
  }
  .legible-rule {
    padding: 15px;
  }
  .rule-main {
    font-size: 17px;
  }
  .rule-context {
    font-size: 14px;
  }
  .rule-block + .rule-block {
    margin-top: 15px;
  }
  .rule-limit {
    margin-top: 15px;
    font-size: 14px;
    gap: 8px;
  }
  .rule-limit > strong {
    font-size: 18px;
  }
  .rule-limit .rule-details {
    font-size: 13px;
  }
  .monitor-card .monitor-test {
    margin-top: 16px;
    font-size: 14px;
  }
  .monitor-card .filter-row {
    font-size: 15px;
  }
}
@media (max-width: 370px) {
  .demo {
    scroll-margin-top: 0;
  }
  .app-window {
    height: 470px;
  }
  .rules-scene #scene-content {
    padding: 10px 12px 12px;
  }
  .rules-scene .rule-prompt {
    font-size: 16px;
    padding: 9px 11px;
  }
  .legible-rule {
    padding: 12px;
  }
  .rule-main {
    font-size: 16px;
  }
  .rule-context {
    font-size: 13px;
  }
  .rule-label {
    font-size: 12px;
  }
  .rule-limit {
    gap: 7px;
    font-size: 13px;
  }
  .rule-limit > strong {
    font-size: 17px;
  }
  .built-status {
    font-size: 12px;
  }
  .monitor-card .filter-row {
    font-size: 14px;
  }
}
.rule-limit .rule-details {
  min-width: 44px;
  min-height: 44px;
  margin-block: -12px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hero refinements: balance the columns, emphasise the active tab and keep
   the last chat message clear of the card's bottom edge. */
@media (min-width: 701px) {
  .hero .demo {
    transform: translateY(-18px);
  }
}
.demo-tab.active {
  background: #3a3a41;
  color: #fff;
  font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.app-window {
  height: auto;
  min-height: 482px;
}
#scene-content,
.group-scene #scene-content,
.rules-scene #scene-content {
  padding-bottom: 22px;
}
.dialog-downloads {
  margin-top: 20px;
  flex-wrap: wrap;
}
.brand span,
.header-download {
  white-space: nowrap;
}
@media (max-width: 370px) {
  .site-header .brand span {
    font-size: 19px;
    letter-spacing: -0.8px;
  }
  .header-download {
    padding-inline: 12px;
    gap: 6px;
    font-size: 13px;
  }
  .header-download .icon {
    display: none;
  }
}
.dialog-mark {
  display: block;
  width: 50px;
  height: 32px;
  object-fit: contain;
  margin-left: -4px;
}

/* Statement page: one line, full viewport, same type as the hero heading. */
.statement {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18vh var(--side);
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f2efe91f 50%, transparent);
}
.statement::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 2 / 1;
  translate: -50% -50%;
  background: radial-gradient(closest-side, #c9a9610f, transparent);
  pointer-events: none;
}
.statement-line {
  margin: 0;
  max-width: 100%;
  font-size: clamp(40px, 7vw, 116px);
  letter-spacing: -0.06em;
  line-height: 1.08;
  color: var(--ivory);
  text-align: center;
  text-wrap: balance;
}
.statement-accent {
  color: var(--gold);
}
.js .statement-line,
.js .statement-accent {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .statement-line {
  display: block;
}
.js .statement-accent {
  transform: translateY(8px);
  transition-delay: 0.2s;
}
.js .statement.is-visible .statement-line,
.js .statement.is-visible .statement-accent {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .statement-line,
  .js .statement-accent {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.site-footer {
  margin-top: 64px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.site-footer:hover,
.site-footer:focus-within {
  opacity: 0.85;
}
@media (max-width: 700px) {
  .statement-line {
    font-size: clamp(34px, 14vw, 64px);
  }
}
/* Tighter lead-in from the hero: about a third of the original gap. */
.statement {
  min-height: 0;
  padding-top: clamp(40px, 4.5vw, 64px);
  padding-bottom: 22vh;
}
@media (max-width: 700px) {
  .statement {
    padding-top: 80px;
  }
  .statement-line {
    font-size: clamp(24px, 8.4vw, 48px);
  }
}
