:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;

  --canvas: #f5f7f5;
  --surface: #ffffff;
  --surface-soft: #edf1ee;
  --ink: #151916;
  --muted: #626a64;
  --faint: #8a928c;
  --line: #d8ded9;
  --line-strong: #c6cec8;
  --accent: #ca244d;
  --accent-hover: #64172b;
  --accent-soft: #feeaed;
  --dark: #1d1719;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --shadow: 0 36px 90px rgb(62 23 35 / 0.14), 0 4px 16px rgb(62 23 35 / 0.06);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--canvas);
  color: var(--ink);
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
}

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

a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

.site-header,
.hero,
.proof-strip,
.workspaces,
.workflow,
.final-cta,
footer {
  margin-inline: auto;
  max-width: 1440px;
  width: calc(100% - 80px);
}

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 80px;
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  font-weight: 720;
  gap: 10px;
  justify-self: start;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: inline-flex;
  height: 30px;
  width: 30px;
}

.brand-mark img {
  display: block;
  height: 100%;
  width: 100%;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 32px;
}

.main-nav a,
.quiet-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.main-nav a:hover,
.quiet-link:hover {
  color: var(--ink);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-self: end;
}

.button {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 7px;
  color: white;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 16px;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button svg,
.text-action svg {
  height: 16px;
  width: 16px;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.button-small {
  font-size: 12px;
  gap: 10px;
  min-height: 40px;
  padding-inline: 15px;
}

.hero {
  align-items: stretch;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(600px, 1.1fr);
  min-height: min(790px, calc(100svh - 104px));
  overflow: hidden;
  position: relative;
}

.grid-texture {
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  inset: 0 50% 0 0;
  opacity: 0.035;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-items: flex-start;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(52px, 6vw, 96px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: var(--accent);
  display: flex;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.eyebrow > span,
.stage-label > span,
.live-dot {
  background: currentColor;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

h1 {
  font-size: clamp(54px, 5.8vw, 88px);
  font-weight: 640;
  letter-spacing: -0.062em;
  line-height: 0.93;
  margin-bottom: 32px;
  max-width: 720px;
  text-wrap: balance;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.text-action {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  gap: 10px;
}

.text-action svg {
  transition: transform 160ms ease;
}

.text-action:hover svg {
  transform: translateX(3px);
}

.hero-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(58px, 8vh, 88px) 0 0;
  padding-top: 22px;
  width: 100%;
}

.hero-facts dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.hero-facts dd {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 0;
}

.product-stage {
  align-items: center;
  background: var(--surface-soft);
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 72px 0 54px 54px;
  position: relative;
}

.product-stage::before {
  background: radial-gradient(circle, rgb(202 36 77 / 0.14), transparent 62%);
  content: "";
  height: 620px;
  position: absolute;
  right: -190px;
  top: -220px;
  width: 620px;
}

.stage-label {
  align-items: center;
  color: var(--accent);
  display: flex;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  gap: 9px;
  left: 54px;
  letter-spacing: 0.13em;
  position: absolute;
  text-transform: uppercase;
  top: 32px;
}

.product-window {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 13px 0 0 13px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
  transform: translateX(4%);
  width: 108%;
}

.window-bar {
  align-items: center;
  background: #fbfcfb;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr minmax(140px, 0.8fr) 1fr;
  height: 42px;
  padding-inline: 14px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  background: #d4dad5;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.address-bar {
  background: var(--surface-soft);
  border-radius: 5px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  padding: 6px 16px;
  text-align: center;
}

.preview-crop {
  aspect-ratio: 1.55;
  overflow: hidden;
}

.preview-crop img {
  display: block;
  filter: hue-rotate(182deg) saturate(1.18);
  height: 100%;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.floating-card {
  align-items: center;
  background: rgb(255 255 255 / 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  box-shadow: 0 18px 42px rgb(62 23 35 / 0.14);
  display: flex;
  gap: 11px;
  padding: 13px 15px;
  position: absolute;
  z-index: 2;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 11px;
  letter-spacing: -0.01em;
}

.floating-card small {
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}

.floating-icon {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 5px;
  color: var(--accent);
  display: flex;
  font-size: 17px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.floating-card b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 20px;
  margin-left: 15px;
}

.review-card {
  bottom: 47px;
  left: 24px;
}

.round-card {
  right: 28px;
  top: 72px;
}

.round-card .live-dot {
  color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  margin-inline: 6px;
}

.proof-strip {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 112px;
  padding-inline: 4px;
}

.proof-strip p {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 0;
}

.proof-strip ul {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.proof-strip li {
  align-items: center;
  display: flex;
  gap: 9px;
}

.proof-strip li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 4px;
  width: 4px;
}

.workspaces {
  padding: 144px 0 160px;
}

.section-intro {
  display: grid;
  gap: 24px 80px;
  grid-template-columns: 1.35fr 0.65fr;
  margin-bottom: 72px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-intro h2,
.workflow-heading h2,
.final-cta h2 {
  font-size: clamp(42px, 4.5vw, 68px);
  font-weight: 620;
  letter-spacing: -0.052em;
  line-height: 1;
  margin-bottom: 0;
  text-wrap: balance;
}

.section-intro > p:last-child,
.workflow-heading > p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 4px;
  max-width: 480px;
}

.workspace-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 720px;
  overflow: hidden;
  padding: 36px 36px 0;
  position: relative;
}

.card-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 68px;
}

.workspace-number {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.workspace-pill {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.compete-card .workspace-pill {
  background: #e9e7f5;
  color: #54498a;
}

.workspace-card h3 {
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 560px;
}

.workspace-card > div:nth-child(2) > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 540px;
}

.workspace-card > ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 34px 0 44px;
  padding: 0;
}

.workspace-card > ul li {
  color: var(--muted);
  font-size: 13px;
}

.workspace-card > ul span {
  color: var(--faint);
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  margin-right: 12px;
}

.card-visual {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  margin-top: auto;
  min-height: 215px;
}

.learn-visual {
  background: #f7f9f7;
  display: grid;
  grid-template-columns: 58px 1fr;
  overflow: hidden;
}

.mini-sidebar {
  align-items: center;
  background: #1b211d;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 26px;
}

.mini-sidebar i {
  border: 1px solid #798079;
  border-radius: 4px;
  height: 15px;
  opacity: 0.65;
  width: 15px;
}

.mini-sidebar i:first-child {
  background: var(--accent);
  border-color: var(--accent);
}

.review-stack {
  align-self: center;
  margin-inline: auto;
  width: min(76%, 360px);
}

.review-stack small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-stack strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.035em;
  margin: 8px 0 22px;
}

.review-stack > div {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(5, 1fr);
}

.review-stack span {
  background: var(--accent);
  border-radius: 3px;
  height: 7px;
}

.review-stack span:nth-child(4),
.review-stack span:nth-child(5) {
  background: #dce3dd;
}

.compete-visual {
  background: #171b19;
  border-color: #303632;
  color: #f5f7f5;
  padding: 22px;
}

.round-header {
  align-items: center;
  border-bottom: 1px solid #303632;
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.round-header span {
  color: #ff8fa3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.round-header strong {
  font-family: var(--mono);
  font-size: 12px;
}

.problem-row {
  align-items: center;
  border-bottom: 1px solid #303632;
  color: #969e98;
  display: grid;
  font-size: 11px;
  gap: 15px;
  grid-template-columns: 28px 1fr auto;
  min-height: 47px;
}

.problem-row b {
  align-items: center;
  background: #272c29;
  border-radius: 4px;
  display: flex;
  font-family: var(--mono);
  font-size: 9px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.problem-row em {
  font-family: var(--mono);
  font-style: normal;
}

.problem-row.active {
  color: #f5f7f5;
}

.problem-row.active b {
  background: #8c1d40;
}

.problem-row.active em {
  color: #ff8fa3;
}

.workflow {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(72px, 11vw, 170px);
  grid-template-columns: minmax(330px, 0.8fr) minmax(480px, 1.2fr);
  padding: 144px 0 156px;
}

.workflow-heading {
  align-self: start;
  position: sticky;
  top: 48px;
}

.workflow-heading > p:last-child {
  margin-top: 28px;
}

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-list li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: 42px 1fr;
  padding: 34px 0 40px;
}

.workflow-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.workflow-list > li > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  padding-top: 4px;
}

.workflow-list h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.workflow-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 540px;
}

.final-cta {
  align-items: center;
  background: var(--dark);
  color: #f5f7f5;
  display: flex;
  justify-content: space-between;
  min-height: 390px;
  overflow: hidden;
  padding: 72px clamp(40px, 7vw, 104px);
  position: relative;
}

.final-cta::after {
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0 0 0 55%;
  opacity: 0.045;
  position: absolute;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  color: #ff8fa3;
}

.final-cta h2 {
  max-width: 740px;
}

.final-cta p:last-child {
  color: #abb2ad;
  font-size: 15px;
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 570px;
}

.button-inverse {
  background: #f5f7f5;
  border-color: #f5f7f5;
  color: var(--dark);
  flex: 0 0 auto;
  margin-left: 60px;
  position: relative;
  z-index: 1;
}

.button-inverse:hover {
  background: #dfe7e1;
  border-color: #dfe7e1;
}

footer {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 12px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 120px;
}

.brand-small {
  color: var(--ink);
  font-size: 14px;
}

.brand-small .brand-mark {
  height: 24px;
  width: 24px;
}

footer p {
  margin: 0;
}

footer > a:last-child {
  font-weight: 650;
  justify-self: end;
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .proof-strip,
  .workspaces,
  .workflow,
  .final-cta,
  footer {
    width: calc(100% - 48px);
  }

  .hero {
    grid-template-columns: minmax(390px, 0.9fr) minmax(480px, 1.1fr);
  }

  .hero-copy {
    padding: 54px 42px;
  }

  .product-stage {
    padding-left: 30px;
  }

  .stage-label {
    left: 30px;
  }

  .proof-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    padding-block: 28px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .hero-copy {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 650px;
  }

  .grid-texture {
    inset: 0 0 50%;
  }

  .product-stage {
    min-height: 580px;
  }

  .workspace-grid,
  .section-intro,
  .workflow {
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child {
    max-width: 620px;
  }

  .workflow-heading {
    position: static;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 42px;
    justify-content: center;
  }

  .button-inverse {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .proof-strip,
  .workspaces,
  .workflow,
  .final-cta,
  footer {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 70px;
  }

  .quiet-link {
    display: none;
  }

  .button-small {
    min-height: 38px;
  }

  .hero-copy {
    min-height: auto;
    padding: 64px 24px 52px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-facts {
    gap: 18px;
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .hero-facts div {
    align-items: baseline;
    display: grid;
    gap: 18px;
    grid-template-columns: 74px 1fr;
  }

  .product-stage {
    min-height: 380px;
    padding: 64px 0 34px 18px;
  }

  .stage-label {
    left: 22px;
    top: 25px;
  }

  .product-window {
    transform: translateX(7%);
    width: 130%;
  }

  .floating-card {
    display: none;
  }

  .proof-strip ul {
    align-items: flex-start;
    display: grid;
    gap: 13px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .workspaces {
    padding: 96px 0 104px;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .section-intro h2,
  .workflow-heading h2,
  .final-cta h2 {
    font-size: 39px;
  }

  .workspace-card {
    min-height: 660px;
    padding: 26px 22px 0;
  }

  .card-topline {
    margin-bottom: 50px;
  }

  .workspace-card h3 {
    font-size: 31px;
  }

  .card-visual {
    min-height: 190px;
  }

  .workflow {
    gap: 60px;
    padding: 96px 0 108px;
  }

  .workflow-list li {
    gap: 18px;
    grid-template-columns: 30px 1fr;
  }

  .final-cta {
    min-height: 470px;
    padding: 54px 28px;
  }

  footer {
    align-items: flex-start;
    gap: 17px;
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  footer > a:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .product-window,
  .floating-card {
    animation: enter 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 45ms; }
  .hero-copy > :nth-child(3) { animation-delay: 90ms; }
  .hero-copy > :nth-child(4) { animation-delay: 135ms; }
  .hero-copy > :nth-child(5) { animation-delay: 180ms; }
  .product-window { animation-delay: 90ms; }
  .floating-card { animation-delay: 210ms; }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
