@font-face {
  font-family: Outfit;
  src: url("./Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #070b12;
  --ink-2: #0e1522;
  --ink-3: #151d2c;
  --paper: #eef3f8;
  --mute: #8b98a8;
  --accent: #5aa8aa;
  --line: #1e2a3c;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.nav, .sell, .foot { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { border-radius: 7px; }

.nav nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav a { color: var(--mute); text-decoration: none; font-size: 0.92rem; }
.nav a:hover { color: var(--paper); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink) !important;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
.btn:hover { filter: brightness(1.06); }
.magnet { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }

.ghost {
  color: var(--mute);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.ghost:hover { color: var(--paper); }

.sell-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad) 2rem;
  min-height: calc(100dvh - 4.5rem);
}

@media (max-width: 900px) {
  .sell-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.brand-lockup {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.kicker {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.sell-copy h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
  max-width: 16ch;
}

.lede {
  margin: 1rem 0 0;
  color: color-mix(in srgb, var(--paper) 82%, var(--mute));
  max-width: 38ch;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 1.35rem;
}

.bullets {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--mute);
  font-size: 0.92rem;
}
.bullets li {
  position: relative;
  padding-left: 1rem;
  margin: 0.35rem 0;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.sell-demo { justify-self: end; width: min(100%, 380px); }
@media (max-width: 900px) { .sell-demo { justify-self: center; } }

.demo-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}

.phone {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px color-mix(in srgb, #000 55%, transparent);
  display: flex;
  flex-direction: column;
  height: min(640px, calc(100dvh - 8rem));
  min-height: 520px;
}

.phone__notch {
  height: 10px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
}

.dm-bar {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-3) 80%, transparent);
}
.dm-bar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-3);
}
.dm-bar strong { display: block; font-size: 0.92rem; }
.dm-bar span { font-size: 0.72rem; color: var(--mute); }

.ghost-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}
.ghost-chip:hover { color: var(--paper); }

.thread {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.msg {
  max-width: 88%;
  padding: 0.65rem 0.8rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.4;
  animation: pop 0.35s var(--ease);
  white-space: pre-wrap;
  word-break: break-word;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.msg--bot {
  align-self: flex-start;
  background: #1a2433;
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ink);
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.msg--link { display: flex; flex-direction: column; gap: 0.55rem; }

.btn-cal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 0.7rem 0.9rem;
  background: #1a2433;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mute);
  animation: blink 1s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

.composer {
  border-top: 1px solid var(--line);
  padding: 0.55rem 0.65rem 0.85rem;
  background: var(--ink-2);
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.quick[hidden] { display: none; }
.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--paper);
  font: inherit;
  font-size: 0.78rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); }

#form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}
#input {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--paper);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  outline: none;
}
#input:focus { border-color: var(--accent); }
#form button[type="submit"] {
  appearance: none;
  border: none;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.sell-how {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem var(--pad) 4rem;
  border-top: 1px solid var(--line);
}
.sell-how h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.sell-how ol {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--mute);
}
.sell-how li { margin: 0.55rem 0; }
.sell-how strong { color: var(--paper); }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1.25rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.88rem;
}
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--accent); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; }
  .typing i { animation: none; }
}
