:root {
  --primary: #111111;
  --secondary: #8b5cf6;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --surface: #ffffff;
  --paper: #ffffff;
  --paper-muted: #f6f7fb;
  --paper-line: #e2e6ec;
  --accent-soft: #eef3ff;
  --text: #111827;
  --muted: #4b5563;
  --faint: #6b7280;
  --shadow-paper: 0 1px 2px rgba(17, 17, 17, 0.04), 0 12px 32px rgba(17, 17, 17, 0.08);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "PT Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  background-color: #ffffff;
  background-image:
    radial-gradient(62% 62% at 10% 6%, rgba(139, 92, 246, 0.16) 0%, transparent 58%),
    radial-gradient(48% 48% at 92% 10%, rgba(47, 109, 240, 0.14) 0%, transparent 56%),
    radial-gradient(52% 52% at 88% 92%, rgba(22, 163, 74, 0.08) 0%, transparent 58%);
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(47, 109, 240, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 109, 240, 0.032) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  background-size: 24px 24px, 24px 24px, 160px 160px;
  content: "";
  opacity: 0.18;
}

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

button,
a {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.36);
  outline-offset: 3px;
}

.page-grid {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-6);
  min-height: 64px;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  border-bottom: 1px solid transparent;
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-color: var(--paper-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 28px;
  height: 30px;
}

nav {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1);
  margin-left: auto;
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

nav a,
.header-login {
  min-height: 36px;
  padding: var(--space-2) var(--space-3);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
  background: var(--paper-muted);
}

.header-login {
  border: 1px solid var(--primary);
  color: var(--paper);
  background: var(--primary);
  margin-left: var(--space-2);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: 64px 0 56px;
  overflow: hidden;
}

.hero > *,
.paper-board,
.brief-main,
.brief-side,
.brief-list > div,
.section-title,
.intro-strip,
.closing,
.faq-list,
.note-stack,
.workflow,
.three-columns {
  min-width: 0;
  max-width: 100%;
}

.kicker,
.label {
  margin: 0 0 var(--space-3);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  margin-bottom: var(--space-6);
  font-size: 40px;
  line-height: 1.08;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 660px;
  margin-bottom: var(--space-6);
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn.primary {
  color: var(--paper);
  background: var(--primary);
}

.btn.primary:hover {
  background: #2a2a2a;
}

.btn.secondary {
  border-color: var(--paper-line);
  color: var(--primary);
  background: var(--paper);
}

.btn.secondary:hover {
  background: var(--paper-muted);
}

.btn:active,
.header-login:active,
nav a:active {
  transform: translateY(1px);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.hero-note span {
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.paper-board {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: var(--space-6);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-paper);
}

.hero-mockup {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: var(--space-6) auto 0;
}

.hero-mockup::after {
  position: absolute;
  inset: -120px -160px auto;
  z-index: -2;
  height: 360px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(139, 92, 246, 0.26) 0%, rgba(139, 92, 246, 0.12) 36%, transparent 70%),
    radial-gradient(ellipse at center, rgba(47, 109, 240, 0.18) 0%, transparent 62%);
  content: "";
  filter: blur(10px);
}

.paper-board::before {
  display: none;
}

.board-header {
  display: flex;
  gap: var(--space-4);
  align-items: start;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--paper-line);
}

.board-header h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 14px;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.brief-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4);
  margin: var(--space-4) 0;
}

.brief-main,
.brief-side,
.brief-list > div {
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.question {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.brief-side p,
.brief-list p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.brief-list {
  display: grid;
  gap: var(--space-3);
}

.brief-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.intro-strip {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: var(--space-8);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.intro-strip p {
  margin: 0;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.intro-strip h2 {
  max-width: 870px;
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
}

.section {
  padding: 64px 0;
}

.section-title {
  max-width: 780px;
  margin-bottom: var(--space-6);
}

.section-title.narrow {
  max-width: 620px;
}

.section-title h2,
.closing h2 {
  margin-bottom: var(--space-4);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
}

.product-story {
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1.18fr);
  gap: var(--space-4);
  align-items: stretch;
  min-height: 300px;
  padding: var(--space-4);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03), 0 14px 34px rgba(17, 17, 17, 0.06);
}

.story-copy {
  padding: var(--space-2);
}

.story-copy span {
  display: inline-flex;
  margin-bottom: var(--space-6);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.story-copy h3 {
  margin-bottom: var(--space-3);
  font-size: 24px;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
}

.visual-window {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: var(--space-4);
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8faff);
}

.url-bar {
  padding: var(--space-3);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.scan-lines {
  position: relative;
  display: grid;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.scan-lines::after {
  position: absolute;
  inset: -4px 0 auto;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.22), transparent);
  content: "";
  animation: scan 2.7s ease-in-out infinite;
}

.scan-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #e9edf5;
}

.scan-lines i:nth-child(1) { width: 92%; }
.scan-lines i:nth-child(2) { width: 76%; }
.scan-lines i:nth-child(3) { width: 84%; }
.scan-lines i:nth-child(4) { width: 58%; }

.profile-output {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  animation: riseLoop 3.2s ease-in-out infinite;
}

.profile-output b,
.typing-card span {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.profile-output span,
.company-mini small,
.objection-pill,
.task-created {
  color: var(--muted);
  font-size: 14px;
}

.company-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: #fff;
}

.company-mini strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.company-mini small {
  color: var(--secondary);
  font-weight: 700;
}

.typing-card {
  min-height: 136px;
  padding: var(--space-4);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  background: #fff;
}

.typing-card p {
  max-width: 26ch;
  margin: var(--space-3) 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  animation: textPulse 2.6s ease-in-out infinite;
}

.objection-pill {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-radius: 999px;
  background: var(--accent-soft);
}

.live-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  border-radius: 12px;
  background: #fff;
}

.live-row em {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
}

.live-row em::after {
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: rgba(22, 163, 74, 0.22);
  content: "";
  animation: ping 1.8s ease-out infinite;
}

.live-row span,
.live-row b {
  font-size: 14px;
}

.deck-stack {
  position: relative;
  height: 128px;
  margin-bottom: var(--space-4);
}

.deck-stack div {
  position: absolute;
  inset-inline: 0;
  padding: var(--space-4);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.06);
  animation: deck 4.8s ease-in-out infinite;
}

.deck-stack div:nth-child(2) {
  transform: translateY(38px) scale(0.96);
  opacity: 0.72;
  animation-delay: 0.2s;
}

.deck-stack div:nth-child(3) {
  transform: translateY(76px) scale(0.92);
  opacity: 0.46;
  animation-delay: 0.4s;
}

.phone-strip {
  padding: var(--space-4);
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  font-family: var(--font-mono);
  text-align: center;
}

.outcomes {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.outcomes button {
  min-height: 40px;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  animation: outcomeGlow 4s ease-in-out infinite;
}

.outcomes button:nth-child(2) {
  animation-delay: 1.1s;
}

.outcomes button:nth-child(3) {
  animation-delay: 2.2s;
}

.task-created {
  padding: var(--space-3);
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  animation: riseLoop 3.6s ease-in-out infinite;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: var(--space-2);
  height: 64px;
  padding: var(--space-3);
}

.mini-chart i {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.75), rgba(47, 109, 240, 0.42));
  animation: bars 2.4s ease-in-out infinite;
}

.mini-chart i:nth-child(1) { height: 34%; }
.mini-chart i:nth-child(2) { height: 58%; animation-delay: 0.15s; }
.mini-chart i:nth-child(3) { height: 82%; animation-delay: 0.3s; }
.mini-chart i:nth-child(4) { height: 64%; animation-delay: 0.45s; }

.section-title p:not(.kicker),
.closing p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

.three-columns,
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.three-columns article,
.note-stack article,
.workflow article,
details {
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
}

.three-columns article {
  min-height: 240px;
  padding: var(--space-6);
}

.three-columns span {
  display: block;
  margin-bottom: var(--space-6);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 14px;
}

.three-columns h3,
.note-stack h3 {
  margin-bottom: var(--space-3);
  font-size: 24px;
  font-weight: 600;
}

.three-columns p,
.note-stack p,
.workflow p,
details p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}

.note-stack {
  display: grid;
  gap: var(--space-4);
}

.note-stack article {
  padding: var(--space-6);
}

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

.workflow article {
  min-height: 190px;
  padding: var(--space-6);
}

.workflow strong {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: end;
  padding: var(--space-8);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-paper);
}

.closing h2 {
  max-width: 820px;
}

.closing p {
  max-width: 700px;
  margin-bottom: 0;
}

.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--space-8);
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

details {
  padding: var(--space-4);
}

summary {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--paper-line);
}

.site-footer p {
  margin: var(--space-2) 0 0;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta a:hover {
  color: var(--secondary);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  20%, 80% { opacity: 1; }
  50% { transform: translateY(84px); }
}

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

@keyframes textPulse {
  0%, 100% { color: var(--text); }
  50% { color: var(--secondary); }
}

@keyframes ping {
  0% { opacity: 0.7; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.9); }
}

@keyframes deck {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 12px 20px rgba(139, 92, 246, 0.14)); }
}

@keyframes outcomeGlow {
  0%, 100% { border-color: var(--paper-line); background: #fff; }
  45%, 60% { border-color: rgba(139, 92, 246, 0.36); background: var(--accent-soft); }
}

@keyframes bars {
  0%, 100% { transform: scaleY(0.72); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .faq,
  .closing {
    grid-template-columns: 1fr;
  }

  .three-columns,
  .workflow,
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .paper-board {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .page-grid {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .site-header {
    min-height: 64px;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  nav {
    display: none;
  }

  .hero {
    gap: 32px;
    padding: 42px 0 48px;
    overflow: visible;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  h1 {
    font-size: 32px;
    line-height: 1.05;
  }

  .hero-text {
    max-width: 32ch;
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .brief-side p,
  .brief-list p,
  .question {
    max-width: 31ch;
  }

  .hero-actions .btn {
    width: 100%;
    flex: 0 0 100%;
  }

  .hero-actions,
  .hero-note {
    justify-content: flex-start;
    width: 100%;
  }

  .paper-board {
    width: 100%;
    padding: 16px;
  }

  .hero-mockup {
    margin-top: var(--space-4);
  }

  .hero-mockup::after {
    inset: -60px -80px auto;
    height: 220px;
    filter: blur(8px);
  }

  .paper-board::before {
    display: none;
  }

  .board-header,
  .brief-layout,
  .intro-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .board-header {
    display: grid;
  }

  .score {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .question {
    font-size: 19px;
  }

  .intro-strip {
    gap: 10px;
  }

  .section {
    padding: 58px 0;
  }

  .three-columns,
  .workflow,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .three-columns article,
  .workflow article {
    min-height: auto;
  }

  .closing {
    padding: 22px;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .page-grid {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .site-header {
    width: min(358px, calc(100% - 32px));
    max-width: 358px;
  }

  h1 {
    font-size: 32px;
  }

  .question {
    font-size: 18px;
    max-width: 24ch;
  }

  .paper-board {
    width: 100%;
    max-width: 100%;
    justify-self: start;
  }

  .brief-main,
  .brief-side,
  .brief-list > div {
    padding: 14px;
  }
}
  border-radius: 8px;
