:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-press: #0077ed;
  --dark: #000000;
  --dark-2: #0b0b0d;
  --dark-ink: #f5f5f7;
  --dark-soft: #a1a1a6;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-dark: rgba(28, 28, 30, 0.78);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nav-h: 48px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 245, 247, 0.86);
}

.nav__inner {
  max-width: 980px;
  margin: 0 auto;
  height: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__links {
  display: none;
  gap: 28px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.nav__links a {
  transition: color 0.2s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 13px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__cta:hover {
  background: var(--accent-press);
  transform: translateY(-1px);
}

@media (min-width: 720px) {
  .nav__inner {
    padding: 0 22px;
    justify-content: flex-start;
    gap: 28px;
  }

  .nav__links {
    display: flex;
    margin-left: auto;
  }

  .nav__cta {
    margin-left: 0;
    font-size: 0.75rem;
    padding: 6px 13px;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 1.0625rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.18);
}

.btn--primary:hover {
  background: var(--accent-press);
  box-shadow: 0 12px 30px rgba(0, 113, 227, 0.26);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--accent);
  background: transparent;
}

.btn--ghost span {
  margin-left: 5px;
  font-size: 1.35em;
  line-height: 0;
  transition: transform 0.2s var(--ease);
}

.btn--ghost:hover {
  text-decoration: none;
}

.btn--ghost:hover span {
  transform: translateX(3px);
}

.btn--large {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1.125rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-content: start;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fa 48%, var(--bg) 84%);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% -5%, rgba(170, 198, 235, 0.55) 0%, transparent 60%),
    radial-gradient(45% 40% at 85% 35%, rgba(210, 222, 240, 0.45) 0%, transparent 55%),
    radial-gradient(40% 35% at 12% 50%, rgba(225, 232, 242, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(64px, 11vh, 112px) 22px 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) 0.08s forwards;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 6px 11px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(26, 74, 132, 0.06);
}

.hero__brand {
  margin: 0 0 10px;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero__title {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: transparent;
  background: linear-gradient(90deg, #616168, #9a9aa0);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lede {
  margin: 20px auto 0;
  max-width: 38rem;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  align-items: center;
}

.hero__note {
  margin: 16px 0 0;
  color: #7c7c82;
  font-size: 0.8rem;
  letter-spacing: -0.005em;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px 88px;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.05s var(--ease) 0.24s forwards;
}

@media (max-width: 719px) {
  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero__copy {
    padding: 48px 20px 8px;
  }

  .hero__brand {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero__title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .hero__lede {
    margin-top: 16px;
    font-size: 1.0625rem;
    max-width: 22rem;
  }

  .hero__actions {
    margin-top: 24px;
    flex-direction: column;
    gap: 12px;
  }

  .hero__note {
    margin-top: 14px;
    padding: 0 18px;
    line-height: 1.5;
  }

  .hero__actions .btn--ghost {
    display: none;
  }

  .hero__stage {
    padding: 20px 16px 8px;
  }

  .hero__glow {
    inset: 0 10% auto;
    height: 100%;
    opacity: 0.7;
  }

  .product-frame {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }

  .menubar-faux,
  .chat-sheet--hero {
    display: none;
  }

  .desktop-plane {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
  }

  .desktop-plane::before {
    display: none;
  }

  .presence-bar--hero {
    margin-bottom: 0;
  }

  .presence-bar--interactive {
    gap: 4px;
    padding: 8px 10px 6px;
  }

  .presence-bar--interactive .pin {
    width: 48px;
    min-height: 48px;
  }

  .pin__face {
    width: 40px;
    height: 40px;
  }

  .pin__face .avatar {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }
}

.hero__glow {
  position: absolute;
  inset: 8% 6% auto;
  height: 58%;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.product-frame {
  position: relative;
  margin: 0 auto;
  max-width: 880px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(165deg, #2c2c30 0%, #141416 52%, #0a0a0b 100%);
  box-shadow:
    0 55px 120px rgba(20, 30, 48, 0.32),
    0 18px 50px rgba(20, 30, 48, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 14px 26px;
  overflow: hidden;
}

.menubar-faux {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
}

.menubar-faux span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.menubar-faux span:nth-child(2) {
  background: #febc2e;
}

.menubar-faux span:nth-child(3) {
  background: #28c840;
}

.menubar-faux em {
  margin-left: 10px;
  font-style: normal;
  letter-spacing: 0.02em;
}

.menubar-faux__clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.desktop-plane {
  position: relative;
  min-height: 324px;
  border-radius: 18px;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(55, 78, 110, 0.35), transparent 55%),
    linear-gradient(180deg, #1a1d24 0%, #12141a 100%);
  padding: 28px 16px 22px;
  overflow: hidden;
}

.desktop-plane::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
  pointer-events: none;
}

/* ——— Presence bar mock ——— */
.presence-bar {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  padding: 10px 14px;
  width: fit-content;
  max-width: 100%;
  background: var(--glass-dark);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.presence-bar--hero {
  margin-bottom: 20px;
  animation: float-bar 5.5s var(--ease) infinite;
}

.presence-bar--interactive {
  gap: 6px;
  padding: 10px 12px 8px;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.presence-bar--interactive .pin {
  width: 56px;
  height: auto;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 2px;
}

.pin__face {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pin__face .dot {
  right: 0;
  bottom: 0;
}

.pin__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
}

.presence-bar--interactive .pin--active .pin__name {
  color: rgba(255, 255, 255, 0.9);
}

.presence-bar--wide {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.pin {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
}

button.pin:not(:disabled) {
  cursor: pointer;
}

button.pin:not(:disabled):hover .avatar,
button.pin:not(:disabled):focus-visible .avatar {
  transform: scale(1.06);
}

button.pin:focus-visible {
  outline: none;
}

button.pin:focus-visible .avatar {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 4px rgba(0, 113, 227, 0.45);
}

button.pin:disabled {
  cursor: default;
}

.pin .avatar {
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pin--active .avatar {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(0, 113, 227, 0.28);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: hsl(var(--hue, 210) 42% 42%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.avatar--emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    hsl(var(--hue, 210) 34% 28%);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.avatar--group.avatar--emoji {
  font-size: 1.25rem;
}

.avatar.sm {
  width: 34px;
  height: 34px;
  font-size: 0.62rem;
  flex-shrink: 0;
}

.avatar--group {
  background: linear-gradient(145deg, #3a3a40, #1c1c1f);
  font-size: 0.65rem;
}

.dot {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #1c1c1e;
}

.dot--available {
  background: #34c759;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.45);
  animation: pulse-dot 2.4s var(--ease) infinite;
}

.dot--focus {
  background: #bf5af2;
}

.dot--break {
  background: #ff9f0a;
}

.chat-sheet {
  position: relative;
  margin: 0 auto;
  max-width: 360px;
  border-radius: var(--radius-lg);
  background: rgba(22, 22, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  color: #f5f5f7;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.chat-sheet header {
  margin-bottom: 12px;
}

.chat-sheet__who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatars {
  flex-shrink: 0;
}

.avatar-stack {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.avatar-stack .avatar {
  margin-right: -10px;
  box-shadow:
    0 0 0 2px rgba(22, 22, 24, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bubble-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 85%;
}

.bubble-row--them {
  align-self: flex-start;
  align-items: flex-start;
}

.bubble-row--me {
  align-self: flex-end;
  align-items: flex-end;
}

.bubble-row .bubble {
  max-width: 100%;
}

.bubble-name {
  margin: 0;
  padding-left: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.chat-sheet header strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.chat-sheet header span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bubble {
  margin: 0;
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.35;
}

.bubble--them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 6px;
}

.bubble--me {
  align-self: flex-end;
  background: var(--accent);
  border-bottom-right-radius: 6px;
}

.chat-sheet--hero {
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.chat-sheet--hero.is-switching {
  opacity: 0.4;
  transform: translateY(4px);
}

@media (prefers-reduced-motion: reduce) {
  .chat-sheet--hero,
  .pin .avatar {
    transition: none;
  }
}

.composer {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
}

.shot {
  align-self: flex-end;
  width: 70%;
  height: 88px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.35), transparent 60%),
    linear-gradient(180deg, #2c2c30, #1a1a1d);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ——— Quick start ——— */
.start {
  padding: clamp(72px, 10vw, 112px) 22px;
  background: #fff;
}

.start__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.start h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.start__steps {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  text-align: left;
}

.start__steps li {
  min-height: 190px;
  padding: 26px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.035);
}

.start__steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.start__steps strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.start__steps p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .start__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ——— Dark band ——— */
.band {
  padding: clamp(80px, 13vw, 132px) 22px;
  background: radial-gradient(80% 55% at 50% 0%, #1a1a20 0%, #080809 50%, #000 100%);
  color: var(--dark-ink);
}

.band__inner {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.band h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.band p {
  margin: 20px auto 0;
  max-width: 36rem;
  font-size: 1.25rem;
  color: var(--dark-soft);
}

.presence-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.status-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--dark-soft);
}

.status-legend .dot {
  position: static;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 8px;
  border-color: #000;
  animation: none;
  box-shadow: none;
}

/* ——— Feature rows ——— */
.feature {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 128px) 22px;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }

  .feature--flip .feature__text {
    order: 2;
  }

  .feature--flip .feature__visual {
    order: 1;
  }
}

.feature__text h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.feature__text p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.feature__visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 70% at 30% 0%, #d7e4f5, transparent 55%),
    linear-gradient(165deg, #ebebf0, #d8d8de);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 70px rgba(33, 51, 78, 0.12), 0 1px 0 #fff inset;
}

.feature__visual--compact {
  min-height: 380px;
}

.compact-demo {
  position: relative;
  width: 100%;
  max-width: 340px;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.compact-demo__expanded,
.compact-demo__minimized {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.compact-demo__expanded {
  gap: 16px;
  transform-origin: 50% 0%;
  animation: compact-expand-cycle 7s var(--ease) infinite;
}

.compact-demo__minimized {
  gap: 14px;
  justify-content: center;
  animation: compact-minimize-cycle 7s var(--ease) infinite;
}

.mini-bar {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--glass-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.chat-sheet--solo {
  width: min(100%, 320px);
  background: #1c1c1e;
}

.chat-sheet--solo > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-sheet__min {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1;
  font-weight: 500;
}

.mini-ribbon {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px 7px;
  height: 16px;
  box-sizing: content-box;
  border-radius: 11px;
  background: rgba(28, 28, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.mini-ribbon__dot {
  width: 10px;
  height: 10px;
  margin-right: -4px;
  border-radius: 50%;
  background: var(--c, #34c759);
  box-shadow: 0 0 0 1.5px rgba(28, 28, 30, 0.95);
}

.mini-ribbon__dot:last-child {
  margin-right: 0;
}

.compact-demo__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@keyframes compact-expand-cycle {
  0%,
  38% {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
  }
  48%,
  88% {
    opacity: 0;
    transform: scale(0.72) translateY(-18px);
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
  }
}

@keyframes compact-minimize-cycle {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.7) translateY(12px);
    visibility: hidden;
  }
  48%,
  88% {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
  }
  100% {
    opacity: 0;
    transform: scale(0.7) translateY(12px);
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compact-demo__expanded,
  .compact-demo__minimized {
    animation: none;
  }

  .compact-demo {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
  }

  .compact-demo__expanded,
  .compact-demo__minimized {
    position: relative;
    opacity: 1;
    transform: none;
    visibility: visible;
  }
}

.feature__visual--actions {
  display: grid;
  gap: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  border-radius: 0;
}

.action-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.action-row:hover {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 18px;
}

.action-row:first-child {
  padding-top: 0;
}

.action-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.action-glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
}

.action-glyph svg {
  width: 28px;
  height: 28px;
}

.action-row strong {
  display: block;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.action-row p {
  margin: 4px 0 0;
  font-size: 0.975rem;
  color: var(--ink-soft);
}

/* ——— Mac section ——— */
.mac {
  padding: clamp(80px, 12vw, 128px) 22px;
  background:
    radial-gradient(70% 50% at 50% 0%, #e4ebf5, transparent 70%),
    var(--bg);
}

.mac__copy {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.mac__copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.mac__copy p:not(.eyebrow) {
  margin: 16px auto 0;
  max-width: 34rem;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.mac__points {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  display: grid;
  gap: 28px;
}

@media (min-width: 780px) {
  .mac__points {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.mac__points li {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 44px rgba(38, 58, 88, 0.07);
}

.mac__points strong {
  display: block;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.mac__points span {
  display: block;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ——— Pricing ——— */
.pricing {
  padding: clamp(88px, 12vw, 128px) 22px;
  background:
    linear-gradient(180deg, #ebebef 0%, var(--bg) 42%, #e8e8ed 100%);
  text-align: center;
  border-top: 1px solid var(--line);
}

.pricing__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 64px) 24px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px rgba(37, 48, 70, 0.1);
}

.pricing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pricing__amount {
  margin: 28px 0 0;
  font-size: clamp(4.5rem, 12vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--ink);
}

.pricing__currency {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: -0.04em;
  vertical-align: super;
  margin-right: 0.05em;
}

.pricing__lede {
  margin: 22px auto 0;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.pricing__includes {
  list-style: none;
  margin: 26px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: #48484d;
  font-size: 0.86rem;
  font-weight: 500;
}

.pricing__includes li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--accent);
  font-weight: 700;
}

.pricing .btn {
  margin-top: 32px;
}

.pricing__fineprint {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/* ——— CTA ——— */
.cta {
  padding: clamp(96px, 15vw, 152px) 22px;
  background:
    radial-gradient(60% 50% at 50% 0%, #1a1a1e, transparent 70%),
    var(--dark);
  color: var(--dark-ink);
  text-align: center;
}

.cta__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta__brand {
  margin: 0 0 12px;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--dark-soft);
}

.cta__inner > p {
  margin: 20px auto 0;
  max-width: 32rem;
  font-size: 1.1875rem;
  color: var(--dark-soft);
}

.cta__actions {
  margin-top: 34px;
}

.cta__note {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  color: #6e6e73;
}

/* ——— Footer ——— */
.footer {
  background: #000;
  color: var(--dark-soft);
  padding: 40px 22px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .nav__brand {
  color: var(--dark-ink);
}

.footer__links {
  display: flex;
  gap: 22px;
  font-size: 0.8125rem;
}

.footer__links a:hover {
  color: var(--dark-ink);
}

.footer__tag {
  margin: 18px 0 0;
  font-size: 0.875rem;
}

.footer__copy {
  margin: 28px 0 0;
  font-size: 0.75rem;
  color: #6e6e73;
}

/* ——— Motion ——— */
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-bar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0);
  }
}

/* ——— Legal pages ——— */
.legal {
  padding: clamp(72px, 12vw, 112px) 22px 80px;
  background:
    radial-gradient(60% 40% at 50% 0%, #e8eef6, transparent 70%),
    var(--bg);
}

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

.legal h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal__updated {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.legal__inner > p {
  margin: 22px 0 0;
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.55;
}

.legal h2 {
  margin: 40px 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal ul {
  margin: 14px 0 0;
  padding-left: 1.2rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
}

.legal li {
  margin: 0.45em 0;
}

.legal li::marker {
  color: var(--ink-soft);
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

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

  .hero__copy,
  .hero__stage,
  .reveal,
  .presence-bar--hero,
  .dot--available {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
