:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #62666f;
  --line: #d8dbe2;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --red: #ef5149;
  --green: #0e8f72;
  --blue: #3267e3;
  --yellow: #f3b339;
  --dark: #20242a;
  --shadow: 0 24px 70px rgba(31, 35, 42, 0.16);
  --soft-shadow: 0 14px 38px rgba(31, 35, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(21, 21, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(247, 244, 237, 0.84);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.install-line,
.panel-topbar,
.metric-row,
footer {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px;
  font-size: 13px;
}

.nav-links {
  justify-self: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.header-cta {
  justify-self: end;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.95), rgba(247, 244, 237, 0.72)),
    radial-gradient(circle at 78% 20%, rgba(50, 103, 227, 0.18), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(14, 143, 114, 0.14), transparent 28%),
    var(--paper);
}

#agent-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text {
  max-width: 650px;
  color: #3d4148;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
}

.primary-button,
.secondary-button,
.waitlist-form button,
.ad-preview button {
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button,
.waitlist-form button,
.ad-preview button {
  color: var(--white);
  background: var(--ink);
}

.secondary-button {
  background: rgba(255, 253, 248, 0.72);
}

.install-line {
  width: fit-content;
  gap: 10px;
  padding: 12px 14px;
  color: #d7f6ee;
  background: #15191f;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.install-line span {
  padding: 4px 8px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.channel-strip span {
  padding: 8px 11px;
  color: #30343a;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.agent-panel {
  padding: 12px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-topbar {
  gap: 8px;
  padding: 8px 8px 14px;
  color: var(--muted);
  font-size: 12px;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
}

.panel-topbar span:nth-child(2) {
  background: var(--yellow);
}

.panel-topbar span:nth-child(3) {
  background: var(--green);
  margin-right: 8px;
}

.chat-card {
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.96), rgba(32, 36, 42, 0.88)),
    var(--dark);
  border-radius: 8px;
}

.chat-card h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.prompt {
  margin-bottom: 10px;
  color: #8fe9d1;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.goal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.goal-meta span {
  padding: 8px 10px;
  color: #dfe7f1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.run-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.run-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.run-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.run-item.active {
  border-color: rgba(14, 143, 114, 0.45);
  box-shadow: 0 12px 30px rgba(14, 143, 114, 0.14);
}

.run-item p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.run-icon {
  display: grid;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.approval-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.approval-dock span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.approval-dock button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 56px);
}

.product-grid,
.pricing-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.product-grid article,
.pricing-grid article,
.social-preview,
.ad-preview,
.report-preview {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.product-grid p,
.pricing-grid p,
.workflow-copy p,
.post-copy p,
.ad-preview p,
.report-preview p {
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--green);
  background: rgba(14, 143, 114, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.96), rgba(247, 244, 237, 0.96)),
    var(--paper);
}

.workflow-copy h2 {
  font-size: clamp(34px, 5vw, 68px);
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.board-column {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
}

.board-column h3 {
  font-size: 16px;
}

.board-column span {
  padding: 10px;
  background: #f0eee8;
  border-radius: 8px;
  color: #3e424a;
  font-size: 14px;
  font-weight: 700;
}

.board-column.accent {
  color: var(--white);
  background: var(--dark);
}

.board-column.accent span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.visual-section {
  background:
    linear-gradient(180deg, #e9edf5, #f7f4ed);
}

.coverage-section {
  background: #fffdf8;
}

.coverage-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.coverage-loop article {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.coverage-loop article::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  content: attr(data-step);
  color: rgba(21, 21, 21, 0.04);
  font-size: 140px;
  font-weight: 800;
}

.coverage-loop span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 36px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.coverage-loop article:nth-child(2) span {
  background: var(--red);
}

.coverage-loop article:nth-child(3) span {
  background: var(--green);
}

.coverage-loop article:nth-child(4) span {
  color: var(--ink);
  background: var(--yellow);
}

.coverage-loop h3 {
  font-size: 28px;
}

.coverage-loop p {
  color: var(--muted);
  line-height: 1.55;
}

.social-preview {
  display: grid;
  gap: 16px;
}

.post-art {
  display: grid;
  min-height: 320px;
  align-content: end;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(239, 81, 73, 0.94), rgba(50, 103, 227, 0.88)),
    var(--blue);
  border-radius: 8px;
}

.post-art strong {
  max-width: 300px;
  font-size: 30px;
  line-height: 1.05;
}

.post-badge {
  width: fit-content;
  margin-bottom: 92px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}

.post-copy span {
  color: var(--green);
  font-weight: 800;
}

.ad-preview,
.report-preview {
  align-self: stretch;
}

.card-label {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-row {
  justify-content: space-between;
  margin-bottom: 28px;
}

.metric-row strong {
  color: var(--red);
  font-size: 48px;
}

.ad-preview button {
  width: 100%;
  margin-top: 28px;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  height: 170px;
  margin-top: 34px;
}

.mini-chart span {
  display: block;
  background: var(--green);
  border-radius: 8px 8px 0 0;
}

.mini-chart span:nth-child(1) { height: 42%; }
.mini-chart span:nth-child(2) { height: 66%; background: var(--blue); }
.mini-chart span:nth-child(3) { height: 55%; background: var(--yellow); }
.mini-chart span:nth-child(4) { height: 74%; }
.mini-chart span:nth-child(5) { height: 48%; background: var(--red); }

.pricing-section {
  background: var(--paper);
}

.pricing-grid article strong {
  display: block;
  margin-top: 24px;
  font-size: 28px;
}

.featured-price {
  color: var(--white);
  background: var(--dark) !important;
  border-color: var(--dark) !important;
}

.featured-price p {
  color: #d1d8e4;
}

.waitlist {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 30px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px) 76px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.98), rgba(32, 36, 42, 0.95)),
    var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.waitlist h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
}

.waitlist-form {
  display: grid;
  gap: 10px;
}

.waitlist-form label {
  font-weight: 800;
}

.waitlist-form input {
  min-height: 52px;
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.waitlist-form button {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .workflow-section,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .pricing-grid,
  .preview-grid,
  .workflow-board,
  .coverage-loop {
    grid-template-columns: 1fr;
  }

  .agent-panel {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  h1 {
    font-size: 48px;
  }

  .chat-card h2 {
    font-size: 27px;
  }

  .run-item {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .post-art {
    min-height: 260px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
