/* mixlink.one landing - Venture Dark / Premium SaaS Minimalism */

:root {
  --bg-main: #000000;
  --bg-surface: #1a1a1a;
  --border-color: #2e2e2e;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --bone: #e8e0d4;
  --wrap: 1120px;
  --pad: 20px;
  --radius: 8px;
  --radius-pill: 999px;
}

/* Tiny agent = daylight / human mode */
html.agent-day {
  --bg-main: #f3efe6;
  --bg-surface: #fffdf8;
  --border-color: #ddd4c6;
  --text-primary: #161411;
  --text-secondary: #6a635a;
  --btn-bg: #161411;
  --btn-text: #f3efe6;
  --bone: #161411;
}

html.agent-day,
html.agent-day body {
  background-color: #f3efe6 !important;
  background-image:
    linear-gradient(#e7e0d4 1px, transparent 1px),
    linear-gradient(90deg, #e7e0d4 1px, transparent 1px) !important;
  color: var(--text-primary);
  transition: background-color 0.55s ease, color 0.35s ease;
}

html.agent-day .nav {
  background: rgba(243, 239, 230, 0.86);
  border-bottom-color: var(--border-color);
}

html.agent-day .logo,
html.agent-day h1,
html.agent-day h2,
html.agent-day h3 {
  color: var(--text-primary);
}

html.agent-day .btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
}

html.agent-day .btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

html.agent-day .hero-ask__field,
html.agent-day .demo-chat.is-agent-lit,
html.agent-day .llms-preview,
html.agent-day .oss__cmd,
html.agent-day .oss-start__tabs {
  background: #fff;
  border-color: var(--border-color);
  color: var(--text-primary);
}

html.agent-day .llms-preview:hover {
  border-color: #b8aea0;
}

html.agent-day .llms-preview__name {
  color: #6a635a;
}

html.agent-day .llms-preview__open {
  color: #161411;
}

html.agent-day .llms-preview__body {
  color: #2a2620;
}

/* Keep drop #fff: difference on light bg → visible dark spot (black fill would vanish) */
html.agent-day .liquid-cursor__drop,
html.agent-day .liquid-cursor__drop--2,
html.agent-day .liquid-cursor__drop--3,
html.agent-day .liquid-cursor__drop--4 {
  background: #fff;
}

html.agent-day .pwa-pill {
  color: #f5f0e8;
  border-color: #1a1714;
  background: #161411;
}

html.agent-day .pwa-pill:hover {
  color: #fff;
  border-color: #000;
}

html.agent-day .hero-ask__attach:hover {
  background: #161411;
  color: #fff;
}

html.agent-day .hero-ask__send {
  background: #161411;
  color: #fff;
}

html.agent-day .hero-ask__send:hover {
  background: #000;
  color: #fff;
}

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

html {
  scroll-behavior: auto;
  scrollbar-width: none;
}

html:has([data-discover-chapters]) {
  scroll-snap-type: y proximity;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image:
    linear-gradient(#0f0f0f 1px, transparent 1px),
    linear-gradient(90deg, #0f0f0f 1px, transparent 1px);
  background-size: 48px 48px;
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  overflow-x: hidden;
}

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

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

button,
input {
  font-family: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border-color);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

h1,
h2 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin: 0;
}

h2 {
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.15;
  max-width: 18ch;
}

[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: #e8e8e8;
}

.btn-bone {
  background: var(--bone);
  border-color: var(--bone);
  color: #161412;
}

.btn-bone:hover {
  background: #f3ece3;
  border-color: #f3ece3;
}

.btn:focus-visible,
.btn-ghost:focus-visible,
.claim__submit:focus-visible,
.nav__link:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--text-primary);
  color: #111;
}

/* -- Nav -- */
.nav {
  position: sticky;
  top: var(--announce-h, 0px);
  z-index: 40;
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--border-color);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__auth {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

.nav__auth:not([data-ready]) {
  visibility: hidden;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

/* -- Hero -- */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 65px - var(--announce-h, 0px));
  min-height: calc(100svh - 65px - var(--announce-h, 0px));
  padding: 48px 0;
  box-sizing: border-box;
}

.hero__inner {
  width: 100%;
}

.hero .pwa-pill {
  margin: 0;
  align-self: flex-start;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: clamp(22px, 4.9vw, 50px);
  line-height: 1.08;
  max-width: none;
  margin: 0;
}

.hero__lead {
  margin: 0 0 0 auto;
  max-width: 52em;
  width: auto;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: right;
}

.hero-ask-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
}

.hero-ask {
  margin-top: 0;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.hero-ask-row__side {
  align-self: flex-end;
  width: auto;
  min-height: 60px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .hero-ask-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .hero-ask {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .hero-ask-row__side {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 148px;
    padding: 0 36px;
  }
}

.hero-ask__geo {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px 18px;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.hero-ask__geo::placeholder {
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
}

.hero-ask__geo:focus {
  border-color: #555;
}

.hero-ask__field {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 60px;
  padding: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
}

.hero-ask__field:focus-within {
  border-color: #555;
}

.hero-ask__attach,
.hero-ask__send {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.hero-ask__attach {
  background: transparent;
  color: var(--text-primary);
}

.hero-ask__attach:hover {
  background: #2e2e2e;
}

.hero-ask__field input[name="brief"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-ask__field input[name="brief"]:focus {
  outline: none;
}

.hero-ask__field input[name="brief"]::placeholder {
  color: var(--text-secondary);
}

.hero-ask__send {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.hero-ask__send svg {
  display: block;
}

.hero-ask__send:hover {
  background: #e8e8e8;
}

.hero-ask__files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  max-width: 960px;
}

.hero-ask__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-ask__chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ask__chip button {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.hero-ask__chip button:hover {
  background: #2e2e2e;
  color: var(--text-primary);
}

.hero-ask__reply {
  margin: 12px 0 0;
  max-width: 960px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-ask__reply a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 460px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.demo-chat.is-agent-lit {
  background: #000;
  border-color: var(--border-color);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.demo-chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.demo-chat__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #2e2e2e;
  flex-shrink: 0;
}

.demo-chat__who {
  font-size: 13px;
  font-weight: 700;
}

.demo-chat__role {
  font-size: 12px;
  color: var(--text-secondary);
}

.demo-chat__msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  overflow-y: auto;
}

.msg {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.msg.bot {
  align-self: flex-start;
  background: #2a2a2a;
  color: #fff;
  border-bottom-left-radius: 3px;
}

.msg.user {
  align-self: flex-end;
  background: #fff;
  color: #000;
  border-bottom-right-radius: 3px;
}

.msg.is-typing {
  display: inline-flex;
  gap: 3px;
  padding: 10px 12px;
}

.msg.is-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #888;
  animation: typing 1s infinite ease-in-out;
}

.msg.is-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.msg.is-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

.demo-chat__bar {
  padding: 12px 14px;
  border-top: 1px solid var(--border-color);
  pointer-events: none;
}

.demo-chat__field {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 4px 4px 4px 6px;
  background: #111;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
}

.demo-chat__plus {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.demo-chat__bar input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 4px;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 14px;
  caret-color: transparent;
}

.demo-chat__bar input:focus {
  outline: none;
}

.demo-chat__send {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-text);
  display: grid;
  place-items: center;
  cursor: default;
}

.demo-chat__send svg {
  display: block;
}

/* -- How it works -- */
.steps {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.step {
  padding: 20px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.step__n {
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.step h3 {
  margin: 10px 0 8px;
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.discover__lead {
  margin: 18px 0 0 auto;
  max-width: 36em;
  width: auto;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: right;
}

.discover__link {
  display: inline-flex;
  margin-top: 24px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.discover__link:hover {
  color: var(--text-primary);
}

.discover__link:focus-visible {
  outline: 1px solid var(--text-primary);
  outline-offset: 3px;
}

/* Discover: stacked beats with scroll snap + soft reveal */
.discover-chapters {
  position: relative;
  border-top: 1px solid var(--border-color);
}

.discover-progress {
  display: none;
}

.discover-chapter {
  box-sizing: border-box;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 72px 0;
}

/* Intro slide: no snap — otherwise scroll-up gets trapped here */
.discover-chapter:first-child {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

/* Middle beats: hard center snap */
.discover-chapter:not(:first-child):not(:last-child) {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* Last slide (llms): center snap, easier exit downward */
.discover-chapter:last-child {
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}

.discover-chapter__inner {
  width: 100%;
  max-width: var(--wrap);
  opacity: 0.32;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.discover-chapter.is-in .discover-chapter__inner {
  opacity: 1;
  transform: translateY(0);
}

.discover-chapter__inner > h2 {
  max-width: none;
  width: 100%;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.discover-beat {
  width: 100%;
  max-width: none;
}

.discover-beat .step__n {
  margin-bottom: 8px;
  font-size: 13px;
}

.discover-beat h3 {
  margin: 0 0 14px;
  max-width: none;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(26px, 4.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.discover-beat p {
  margin: 0;
  max-width: 52rem;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: var(--text-secondary);
}

.discover-chapter--llms {
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100vh;
  padding: 72px 0;
}

.discover-chapter--llms .discover-chapter__inner {
  max-width: none;
  width: 100%;
}

.discover-chapter--llms .llms-block {
  width: 100%;
  max-width: none;
}

.discover-chapter--llms .llms-block__lead {
  max-width: none;
}

.llms-block {
  margin-top: 0;
}

.llms-block__lead {
  margin: 0 0 14px;
  max-width: 40rem;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  html:has([data-discover-chapters]) {
    scroll-snap-type: none;
  }

  .discover-chapter {
    min-height: auto;
    padding: 56px 0;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .discover-chapter__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .discover-chapter--llms {
    min-height: auto;
    padding: 64px 0 80px;
  }

  .discover-chapter.is-in .discover-chapter__inner > h2,
  .discover-chapter.is-in .discover-chapter__inner > .discover__lead,
  .discover-chapter.is-in .discover-chapter__inner > .discover__link,
  .discover-chapter.is-in .discover-beat .step__n,
  .discover-chapter.is-in .discover-beat h3,
  .discover-chapter.is-in .discover-beat p,
  .discover-chapter.is-in .llms-block__lead,
  .discover-chapter.is-in .llms-preview {
    animation: none !important;
  }
}

.llms-preview {
  display: block;
  width: 100%;
  margin-top: 0;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #0a0a0a;
  overflow: hidden;
}

.llms-preview:hover {
  border-color: #555;
}

.llms-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.llms-preview__name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.llms-preview__open {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--bone);
}

.llms-preview__body {
  margin: 0;
  padding: 16px 18px 36px;
  max-height: 260px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: #cfcfcf;
  white-space: pre-wrap;
  word-break: break-word;
  mask-image: linear-gradient(180deg, #000 62%, transparent);
}

/* -- Agent -- */
.agent {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.agent__copy p {
  margin: 16px 0 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* -- Marketplace waitlist -- */
.market-waitlist .market__head {
  max-width: 42rem;
}

.market-waitlist__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.market__lead {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.market-waitlist__meter {
  margin-top: 32px;
  max-width: 34rem;
}

.market-waitlist__meter-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.market-waitlist__progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.market-waitlist__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9bfb0 0%, var(--bone) 48%, #ffffff 100%);
  box-shadow: 0 0 18px rgba(232, 224, 212, 0.28);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.market-waitlist__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  min-width: 0;
}

.market-waitlist__count {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--text-primary);
}

.market-waitlist__label {
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-secondary);
}

.market-waitlist__goal {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.market__cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .market-waitlist__meter-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .market-waitlist__goal {
    order: -1;
  }
}

html.agent-day .market-waitlist__progress {
  background: rgba(22, 20, 17, 0.08);
}

html.agent-day .market-waitlist__bar {
  background: linear-gradient(90deg, #6a635a 0%, var(--bone) 55%, #161411 100%);
  box-shadow: none;
}

html.agent-day .market-waitlist__goal {
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.55);
}

/* -- Pricing -- */
.pricing__lead {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pricing__grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-surface);
}

.pricing-card--plus {
  border-color: #3a3a3a;
  background: linear-gradient(165deg, #141414 0%, #0d0d0d 100%);
}

.pricing-card--pro {
  border-color: #4a4a4a;
  background: linear-gradient(165deg, #181818 0%, #101010 100%);
}

.pricing-card__badge--pro {
  background: #f5f5f5;
  color: #111;
}

.pricing-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card__badge--free {
  color: var(--text-secondary);
}

.pricing-card--plus .pricing-card__badge {
  border-color: #4a4a4a;
  color: #f2efe8;
}

.pricing-card__price {
  margin-top: 16px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.pricing-card__price span {
  display: block;
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.pricing-card__features {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}

.pricing-card__features li {
  position: relative;
  padding-left: 1.35em;
  font-size: 15px;
  line-height: 1.45;
}

.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8d2c8;
}

.pricing-card__cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

.pricing-card__contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

@media (min-width: 720px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pricing__grid--3 {
    grid-template-columns: 1fr;
  }

  .pricing-card__contact {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* -- Audience -- */
.audience-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
}

.audience-row {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.audience-row dt {
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.audience-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* -- Footer -- */
.footer {
  position: relative;
  padding: 72px 0 12px;
  border-top: 1px solid var(--border-color);
}

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
  margin-top: 36px;
  padding-bottom: 8px;
}

.footer__bottom .footer__links {
  flex: 0 1 auto;
  margin-left: auto;
}

.claim__title {
  max-width: none;
  margin: 0 0 18px;
  font-size: clamp(22px, 4vw, 32px);
}

.claim__title span {
  display: block;
}

.claim {
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 88px;
}

.claim__field {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
}

.claim__prefix {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.claim__field input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

.claim__field input:focus {
  outline: none;
}

.claim__field:focus-within {
  border-color: #555;
}

.claim__submit {
  min-height: 48px;
  padding: 0 22px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.claim__submit:hover {
  background: #e8e8e8;
}

html.agent-day .claim__submit {
  background: #161411;
  color: #f5f0e8;
}

html.agent-day .claim__submit:hover,
html.agent-day .claim__submit:focus-visible {
  background: #000;
  color: #fff;
}

.claim__error {
  margin: 0;
  min-height: 18px;
  font-size: 12px;
  color: #c4c4c4;
}

.footer__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.footer__links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 56px);
  text-align: right;
}

.footer__links-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.footer__links a:hover {
  color: var(--text-primary);
}

/* -- Open Source -- */
.oss {
  text-align: center;
}

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

.oss__pop {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--bone);
}

.oss h2 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.oss__lead {
  margin: 0 auto 28px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.oss__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.oss__actions .btn > svg {
  margin-right: 8px;
}

.oss__actions .btn .oss__arrow {
  display: inline-flex;
  margin: 0 0 0 8px;
}

.oss__actions .btn .oss__arrow svg {
  display: block;
}

.oss-start {
  margin: 0 auto;
  max-width: 100%;
}

.oss-start__tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #0a0a0a;
}

.oss-start__tab {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.oss-start__tab:hover {
  color: var(--text-primary);
}

.oss-start__tab.is-active {
  background: var(--bone);
  color: #111;
}

.oss-start__panels {
  width: 100%;
}

.oss-start__panel {
  display: none;
}

.oss-start__panel.is-active {
  display: block;
}

.oss__cmd {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 16px 12px 18px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #111;
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.oss__cmd:hover {
  border-color: #555;
}

.oss__cmd code {
  flex: 1;
  min-width: 0;
  font: inherit;
}

.oss__cmd--prompt code {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  white-space: normal;
}

.oss__cmd--terminal code {
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.oss__prompt {
  color: var(--text-secondary);
  margin-right: 6px;
}

.oss__copy {
  flex-shrink: 0;
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.oss__copy svg {
  position: absolute;
  display: block;
  transition: opacity 0.15s ease;
}

.oss__copy-done {
  opacity: 0;
}

.oss__cmd.is-copied .oss__copy-icon {
  opacity: 0;
}

.oss__cmd.is-copied .oss__copy-done,
.oss__cmd:hover .oss__copy {
  color: var(--text-primary);
}

.oss__cmd.is-copied .oss__copy-done {
  opacity: 1;
}

.oss__star {
  margin: 22px auto 0;
  max-width: 52em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  .logo {
    font-size: 20px;
  }

  .nav__inner {
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .nav__auth .btn[data-auth-guest] {
    padding: 0 12px;
  }
}

/* -- Legal (terms) -- */
.legal {
  padding: 48px 0 80px;
}

.legal h1 {
  font-size: clamp(28px, 6vw, 40px);
  margin-bottom: 12px;
}

.legal .updated {
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--text-secondary);
}

.legal h2 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.legal p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

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

/* -- Desktop -- */
@media (min-width: 720px) {
  :root {
    --pad: 32px;
  }

  .hero .pwa-pill {
    margin: 0;
    align-self: flex-start;
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }

  .section {
    padding: 96px 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .market-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .audience-row {
    grid-template-columns: 180px 1fr;
    align-items: baseline;
    gap: 24px;
    padding: 22px 0;
  }

  .claim {
    flex-direction: row;
    align-items: stretch;
    max-width: 560px;
  }

  .claim__field {
    flex: 1;
  }

  .footer__row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .footer__bottom {
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media (max-width: 720px) {
  .footer__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }

  .footer__bottom .footer__links {
    gap: 20px;
  }

  .footer__links a {
    font-size: 13px;
  }
}

@media (min-width: 960px) {
  .hero h1 {
    font-size: clamp(36px, 4.2vw, 56px);
  }

  .hero__lead {
    font-size: 20px;
  }

  .agent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
  }

  .demo-chat {
    width: 100%;
    max-width: 420px;
    height: 480px;
    justify-self: end;
  }

  .market-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
