:root {
  --ink: #1c2b25;
  --ink-deep: #16221d;
  --ink-soft: rgba(240, 238, 230, 0.72);
  --paper: #f2f0e9;
  --surface: #ffffff;
  --muted: #5c675f;
  --line: #e0ddd2;
  --line-dark: rgba(240, 238, 230, 0.14);
  --accent: #d9ff4b;
  --coral: #f15b35;
  --radius-card: 20px;
  --container: min(1120px, calc(100% - 48px));
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 240, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.wordmark span {
  color: var(--coral);
}

.wordmark-invert {
  color: var(--paper);
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 14px/1 "DM Sans", sans-serif;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-accent {
  background: var(--accent);
  color: var(--ink-deep);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Shared labels & highlight */

.pill-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: 500 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill-invert {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--ink-soft);
}

.hl {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 0.13em;
  background-position: 0 94%;
  background-repeat: no-repeat;
}

/* Hero */

.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 78px;
  background-image: linear-gradient(to right, rgba(28, 43, 37, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 43, 37, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 90% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  padding-bottom: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: 500 12px "DM Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.hero h1 {
  margin: 0 auto 22px;
  max-width: 18ch;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero-sub {
  margin: 0 auto 36px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Floating collaborators */

.hero-float {
  position: absolute;
  display: grid;
  justify-items: start;
  gap: 5px;
  padding-left: 14px;
}

.float-a { animation: drift-a 16s ease-in-out infinite; }
.float-b { animation: drift-b 19s ease-in-out infinite; }
.float-c { animation: drift-c 17s ease-in-out infinite; }
.float-d { animation: drift-d 21s ease-in-out infinite; }

/* Irregular paths with settle points, so cursors move then rest like real people */
@keyframes drift-a {
  0%, 9% { transform: translate(0, 0); }
  22% { transform: translate(26px, -18px); }
  30%, 44% { transform: translate(22px, -14px); }
  58% { transform: translate(-10px, 10px); }
  66%, 78% { transform: translate(-13px, 12px); }
  90%, 100% { transform: translate(0, 0); }
}

@keyframes drift-b {
  0%, 14% { transform: translate(0, 0); }
  26% { transform: translate(-30px, 12px); }
  33%, 49% { transform: translate(-26px, 16px); }
  61% { transform: translate(8px, -14px); }
  70%, 84% { transform: translate(11px, -11px); }
  95%, 100% { transform: translate(0, 0); }
}

@keyframes drift-c {
  0%, 6% { transform: translate(0, 0); }
  18% { transform: translate(16px, 14px); }
  27%, 41% { transform: translate(20px, 10px); }
  54% { transform: translate(-18px, -8px); }
  63%, 79% { transform: translate(-14px, -12px); }
  92%, 100% { transform: translate(0, 0); }
}

@keyframes drift-d {
  0%, 11% { transform: translate(0, 0); }
  24% { transform: translate(-14px, -16px); }
  32%, 47% { transform: translate(-18px, -12px); }
  60% { transform: translate(14px, 10px); }
  69%, 82% { transform: translate(10px, 14px); }
  94%, 100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
}

.cursor-arrow {
  position: absolute;
  left: -4px;
  top: -10px;
  width: 20px;
  height: 20px;
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 1.5;
}

.float-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--surface);
  box-shadow: 0 10px 24px rgba(28, 43, 37, 0.18);
}

.float-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tint-lime { background: #e4ffa1; }
.tint-coral { background: #ffc9b5; }
.tint-sage { background: #cfe6cf; }
.tint-sand { background: #f0e3bd; }

.float-tag {
  margin-left: 20px;
  padding: 5px 11px;
  border-radius: 3px 999px 999px 999px;
  background: var(--ink);
  color: var(--paper);
  font: 500 11px "DM Mono", monospace;
  white-space: nowrap;
}

.float-a { left: 2%; top: 18%; }
.float-b { right: 4%; top: 10%; }
.float-c { left: 8%; bottom: 12%; }
.float-d { right: 7%; bottom: 20%; }

/* Trust strip */

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.trust-strip p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.trust-strip ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.trust-strip li {
  font: 500 12px "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}

/* Features */

.features {
  background: var(--surface);
  padding: 92px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head h2,
.pilot h2,
.integrate h2,
.footer-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section-sub {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 16px;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bento-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.bento-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.bento-centered {
  text-align: center;
  align-items: center;
}

.bento-centered > p:not(.mini-label) {
  margin-inline: auto;
  max-width: 40ch;
}

.bento-centered .mockup {
  width: 100%;
  text-align: left;
  margin-top: 18px;
}

.mini-label {
  margin: 0;
  font: 500 11px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bento-card h3 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bento-card > p:not(.mini-label),
.bento-copy > p:not(.mini-label) {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  transition: transform 0.15s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* Mockups */

.mockup {
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 16px 36px rgba(28, 43, 37, 0.07);
}

.bento-wide .mockup {
  margin-top: 0;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.mock-title {
  font-size: 13px;
  font-weight: 700;
}

.mock-meta {
  font: 500 11px "DM Mono", monospace;
  color: var(--muted);
}

.mock-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 10px "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a7a3e;
}

.mock-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fbf4d;
  box-shadow: 0 0 0 3px rgba(111, 191, 77, 0.2);
}

.mock-rows,
.mock-tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.mock-rows li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 10px;
}

.mock-rows li:hover {
  background: var(--paper);
}

.mock-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.mock-avatar.sm {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.mock-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.mock-copy p {
  margin: 1px 0 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip {
  font: 500 10px "DM Mono", monospace;
  padding: 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.chip-waiting {
  background: rgba(241, 91, 53, 0.12);
  color: #b8451d;
}

.chip-replied {
  background: rgba(111, 191, 77, 0.16);
  color: #4a7a3e;
}

.chip-new {
  background: rgba(217, 255, 75, 0.5);
  color: #5a6b1e;
}

.mock-tasks li {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border-radius: 10px;
}

.task-check {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
}

.task-check.done {
  background: var(--ink);
  border-color: var(--ink);
  position: relative;
}

.task-check.done::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.task-name {
  font-size: 13px;
  font-weight: 500;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  padding: 6px 2px 0;
}

.mock-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--line);
}

.mock-chart .bar-accent {
  background: var(--ink);
  position: relative;
}

.mock-chart .bar-accent::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34%;
  border-radius: 6px 6px 0 0;
  background: var(--accent);
}

.mock-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font: 500 11px "DM Mono", monospace;
  color: var(--muted);
}

.mock-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-accent {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* Integrations band */

.integrate-wrap {
  background: var(--surface);
  padding: 0 0 92px;
}

.integrate {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
}

.integrate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(240, 238, 230, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 238, 230, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.integrate > * {
  position: relative;
}

.integrate-sub {
  margin: 0 auto 20px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.integrate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  font: 500 13px "DM Mono", monospace;
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.integrate-link span {
  transition: transform 0.15s ease;
}

.integrate-link:hover span {
  transform: translateX(3px);
}

.tool-rows {
  display: grid;
  gap: 16px;
  margin: 0 -48px;
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left 15s linear infinite;
}

.marquee-reverse .marquee-track {
  animation-name: marquee-right;
  animation-duration: 18s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

.tool {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin-right: 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.tool img {
  width: 32px;
  height: 32px;
}

/* Stats */

.stats-wrap {
  padding: 92px 0 0;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 44px 32px;
  text-align: center;
}

.stat {
  display: grid;
  gap: 6px;
}

.stat-num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-cap {
  font: 500 12px "DM Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Pilot */

.pilot {
  padding: 92px 0;
}

.pilot-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.pilot .body-copy {
  margin: 0 0 36px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.pilot-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.pilot-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.pilot-timeline li {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
}

.pilot-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(217, 255, 75, 0.55);
}

.pilot-timeline strong {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
}

.pilot-timeline p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Form */

.lead-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-card) + 4px);
  box-shadow: 0 24px 48px rgba(28, 43, 37, 0.08);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: 16px "DM Sans", sans-serif;
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(217, 255, 75, 0.6);
  border-color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.consent {
  display: flex !important;
  align-items: start;
  gap: 10px;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 2px;
}

.consent a {
  color: var(--ink);
  text-decoration: underline;
}

.form-status {
  margin: 0;
  min-height: 20px;
  font-size: 14px;
  color: var(--muted);
}
.form-status.is-error {
  color: var(--coral);
  font-weight: 600;
}

.form-success {
  display: none;
}
.lead-form.is-success > *:not(.form-success) {
  display: none !important;
}
.lead-form.is-success .form-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 44px 16px;
  text-align: center;
}
.success-check {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-deep);
  animation: success-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.success-check svg {
  width: 30px;
  height: 30px;
}
.form-success h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.03em;
}
.form-success p {
  margin: 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
@keyframes success-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Footer */

footer {
  background: var(--ink-deep);
  color: var(--paper);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-dark);
  flex-wrap: wrap;
}

.footer-cta h2 {
  margin: 0;
  max-width: 20ch;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

footer .footer-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

footer .footer-inner a:last-child {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-float {
    display: none;
  }

  .header-nav {
    display: none;
  }

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

  .bento-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pilot-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .integrate {
    padding: 56px 24px;
  }

  .tool-rows {
    margin: 0 -24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px;
  }

  .stats-wrap {
    padding-top: 64px;
  }

  .footer-cta {
    padding: 48px 0;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-inner p {
    width: 100%;
    order: 3;
  }
}
