:root {
  --bg: oklch(0.13 0.008 85);
  --bg-deep: oklch(0.1 0.006 85);
  --surface: oklch(0.19 0.012 85 / 0.9);
  --surface-strong: oklch(0.22 0.015 85 / 0.98);
  --surface-soft: oklch(0.24 0.012 85 / 0.3);
  --line: oklch(0.42 0.02 85 / 0.26);
  --line-strong: oklch(0.56 0.03 85 / 0.32);
  --text: oklch(0.95 0.01 90);
  --muted: oklch(0.81 0.012 90);
  --faint: oklch(0.68 0.01 90);
  --ink-dark: oklch(0.22 0.015 75);
  --paper: oklch(0.95 0.03 88);
  --accent: oklch(0.8 0.11 84);
  --accent-strong: oklch(0.74 0.12 84);
  --accent-soft: color-mix(in oklab, var(--accent) 18%, transparent);
  --success: oklch(0.77 0.18 151);
  --success-soft: color-mix(in oklab, var(--success) 18%, transparent);
  --shadow:
    0 32px 90px rgba(0, 0, 0, 0.42),
    0 12px 28px rgba(0, 0, 0, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 2rem));
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 240, 205, 0.06), transparent 18%),
    radial-gradient(circle at 0% 100%, rgba(123, 91, 27, 0.12), transparent 28%),
    linear-gradient(180deg, #101012 0%, #0b0b0d 32%, #09090b 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  padding: 0;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

p,
ul,
ol,
blockquote {
  margin: 0;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px;
}

.container {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-tight {
  padding-block: 1.35rem 2rem;
}

.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.top-banner {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  align-items: center;
  min-height: 32px;
  padding: 0.45rem 1rem;
  background: linear-gradient(180deg, rgba(33, 27, 17, 0.96), rgba(25, 20, 13, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.top-banner a {
  color: var(--accent);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(8, 8, 10, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  text-wrap: balance;
}

.header-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  transition: color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 19, 0.18);
  background: linear-gradient(180deg, rgba(23, 21, 18, 0.98), rgba(12, 12, 14, 0.98));
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button:focus-visible,
.header-nav a:focus-visible,
.brand:focus-visible,
.top-banner a:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--accent) 72%, white);
  outline-offset: 3px;
}

.button-secondary {
  --button-secondary-ink: var(--text);
  --button-secondary-border: rgba(255, 255, 255, 0.18);
  --button-secondary-bg: rgba(255, 255, 255, 0.03);
  color: var(--button-secondary-ink);
  border-color: var(--button-secondary-border);
  background: var(--button-secondary-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button-small {
  min-height: 42px;
  padding-inline: 1rem;
  font-size: 0.95rem;
}

.hero {
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem) clamp(4.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 248, 228, 0.94), transparent 22%),
    radial-gradient(circle at 0% 100%, rgba(140, 115, 53, 0.4), transparent 30%),
    radial-gradient(circle at 94% 14%, rgba(214, 220, 235, 0.82), transparent 26%),
    linear-gradient(135deg, rgba(126, 118, 90, 0.78) 0%, rgba(241, 236, 224, 0.98) 52%, rgba(203, 209, 225, 0.88) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  --button-secondary-ink: var(--ink-dark);
  --button-secondary-border: rgba(17, 17, 19, 0.18);
  --button-secondary-bg: rgba(17, 17, 19, 0.03);
}

.hero-backdrop,
.cta-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.68;
}

.orb-left {
  inset: auto auto 0 -8%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(170, 134, 49, 0.58), transparent 70%);
}

.orb-top {
  inset: 0 auto auto 38%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(255, 249, 235, 0.82), transparent 64%);
}

.orb-right {
  inset: 8% -4% auto auto;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(189, 196, 212, 0.82), transparent 68%);
}

.hero-layout {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.25rem);
}

.hero-copy {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
  color: color-mix(in oklab, var(--ink-dark) 94%, black);
}

.hero-mark {
  width: clamp(138px, 14vw, 182px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 22px 40px rgba(129, 94, 26, 0.16));
}

.eyebrow,
.stat-kicker,
.benefit-card span,
.mini-panel span,
.proof-stats span,
.person-card span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature-copy h3,
.benefits-tag,
.team-signoff,
.quote-card p {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 0.9;
}

.hero-subtitle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  max-width: none;
  margin: 1.05rem auto 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-subtitle-line {
  display: block;
}

.hero-subtitle-line:first-child {
  transform: translateX(-0.12em);
}

.hero-subtitle-line:last-child {
  transform: translateX(0.12em);
}

.hero-body {
  max-width: 34ch;
  margin: 1.35rem auto 0;
  color: rgba(18, 18, 20, 0.72);
  font-size: clamp(1.02rem, 1.65vw, 1.14rem);
  line-height: 1.52;
  text-wrap: pretty;
}

.hero .button-secondary {
  --button-secondary-ink: color-mix(in oklab, var(--ink-dark) 92%, black);
  --button-secondary-border: rgba(17, 17, 19, 0.18);
  --button-secondary-bg: rgba(255, 255, 255, 0.26);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.frame,
.stat-panel,
.benefit-card,
.mini-panel,
.proof-stats article,
.quote-card,
.person-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(28, 27, 31, 0.94), rgba(16, 16, 18, 0.98));
  box-shadow: var(--shadow);
}

.frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.frame-media {
  padding: clamp(0.7rem, 1.6vw, 0.95rem);
  background:
    linear-gradient(180deg, rgba(12, 13, 16, 0.98), rgba(7, 7, 9, 0.98));
}

.frame-media img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-xl) - 12px);
  object-fit: contain;
  background: #07090d;
}

.aspect-wide {
  aspect-ratio: 1800 / 1064;
}

.aspect-prompt {
  aspect-ratio: 900 / 263;
}

.aspect-card {
  aspect-ratio: 900 / 685;
}

.aspect-status {
  aspect-ratio: 900 / 457;
}

.aspect-build {
  aspect-ratio: 900 / 749;
}

.aspect-chat {
  aspect-ratio: 369 / 900;
}

.aspect-sheet {
  aspect-ratio: 787 / 900;
}

.aspect-sheet img {
  object-fit: cover;
  object-position: top center;
}

.hero-stage {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-stage-main {
  box-shadow:
    0 36px 86px rgba(0, 0, 0, 0.24),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.hero-stage-shot {
  object-position: center center;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.eyebrow,
.section-heading p,
.feature-copy p,
.person-card li,
.mini-panel p,
.benefit-card p,
.quote-card footer,
.proof-stats p {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
}

.section-heading p,
.feature-copy > p:not(.feature-emphasis),
.benefit-card p,
.mini-panel p,
.proof-stats p,
.quote-card footer,
.person-card li,
.footer-row p {
  text-wrap: pretty;
}

.section-heading p,
.feature-copy > p:not(.feature-emphasis) {
  max-width: 33ch;
  line-height: 1.58;
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-block-reversed > :first-child {
  order: 2;
}

.feature-block-reversed > :last-child {
  order: 1;
}

.feature-copy {
  max-width: 35rem;
}

.feature-copy h3 {
  margin-top: 0.55rem;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 0.95;
}

.feature-copy p + p {
  margin-top: 0.95rem;
}

.feature-emphasis {
  margin-top: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.1;
  text-wrap: balance;
}

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

.stat-panel {
  min-height: 190px;
  padding: 1.35rem;
  border-radius: 24px;
}

.stat-panel.large {
  grid-row: span 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at top right, rgba(199, 169, 91, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(28, 27, 31, 0.96), rgba(16, 16, 18, 0.98));
}

.stat-kicker {
  color: rgba(255, 255, 255, 0.56);
}

.stat-panel strong {
  display: block;
  margin-top: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.stat-panel p {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

.feature-media-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.stack-card {
  position: static;
}

.stack-card-primary {
  width: min(100%, 44rem);
}

.stack-card-secondary {
  justify-self: end;
  width: min(72%, 28rem);
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.step-list span {
  color: var(--accent);
}

.step-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.06rem;
  line-height: 1.15;
  text-wrap: balance;
}

.step-list p {
  line-height: 1.45;
  text-wrap: pretty;
}

.workflow-media {
  display: flex;
  justify-content: flex-end;
}

.workflow-visual {
  width: min(100%, 24rem);
}

.workflow-visual img {
  object-position: top center;
}

.product-section {
  display: grid;
  gap: 1.8rem;
}

.section-heading {
  max-width: 44rem;
}

.section-heading p {
  margin-top: 0.85rem;
  font-size: 1.06rem;
}

.section-heading-center {
  margin: 0 auto;
  text-align: center;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1.05rem;
  align-items: stretch;
}

.product-primary img {
  object-position: center center;
}

.product-secondary {
  display: grid;
  gap: 1rem;
}

.product-secondary img {
  object-position: top center;
}

.product-cards,
.benefit-grid,
.proof-stats,
.team-grid {
  display: grid;
  gap: 1rem;
}

.product-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-panel {
  min-height: 164px;
  padding: 1.25rem;
  border-radius: 24px;
}

.mini-panel:nth-child(2) {
  border-color: color-mix(in oklab, var(--accent) 36%, var(--line));
}

.mini-panel span,
.benefit-card span,
.proof-stats span,
.person-card span {
  color: var(--accent);
}

.mini-panel strong,
.benefit-card strong,
.proof-stats strong,
.person-card h3 {
  display: block;
  margin-top: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.mini-panel p {
  margin-top: 0.55rem;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.benefit-card {
  min-height: 250px;
  padding: 1.5rem;
  border-radius: 24px;
}

.benefit-card:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(125, 187, 103, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(28, 27, 31, 0.96), rgba(16, 16, 18, 0.98));
}

.benefit-card strong em {
  font-style: normal;
  color: var(--accent);
}

.benefit-card p {
  margin-top: 0.7rem;
}

.benefits-tag,
.team-signoff {
  margin-top: 2.2rem;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.benefits-tag {
  color: var(--success);
}

.team-signoff {
  color: var(--accent);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.proof-stats {
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-stats article {
  padding: 1.2rem;
  border-radius: 22px;
}

.success-text {
  color: var(--success);
}

.quote-card {
  margin-top: 1.2rem;
  padding: 1.35rem 1.4rem;
  border-radius: 24px;
}

.quote-card p {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: var(--text);
}

.quote-card footer {
  margin-top: 0.8rem;
}

.proof-media {
  display: grid;
  align-items: start;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.person-card {
  padding: 1.5rem;
  border-radius: 24px;
}

.person-card ul {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.person-card li {
  position: relative;
  padding-left: 1rem;
}

.person-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
}

.cta-section {
  overflow: hidden;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 36px;
  border: 1px solid rgba(18, 18, 20, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 248, 230, 0.96), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(147, 120, 55, 0.56), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(208, 214, 228, 0.92), transparent 24%),
    linear-gradient(135deg, rgba(113, 97, 57, 0.8) 0%, rgba(239, 232, 214, 0.98) 50%, rgba(196, 202, 218, 0.9) 100%);
  color: var(--ink-dark);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cta-card .eyebrow,
.cta-card .section-heading p {
  color: rgba(18, 18, 20, 0.62);
}

.cta-card .section-heading h2 {
  max-width: 10.5ch;
}

.cta-card .button-secondary {
  --button-secondary-ink: var(--ink-dark);
  --button-secondary-border: rgba(17, 17, 19, 0.18);
  --button-secondary-bg: rgba(17, 17, 19, 0.02);
}

.cta-prompt {
  max-width: 760px;
  margin: 2.1rem auto 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.95rem;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

@media (max-width: 1120px) {
  .product-cards,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav {
    display: none;
  }

  .product-showcase,
  .proof-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .feature-block,
  .feature-block-reversed {
    grid-template-columns: 1fr;
  }

  .feature-block-reversed > :first-child,
  .feature-block-reversed > :last-child {
    order: initial;
  }

  .feature-media-stack {
    min-height: auto;
  }

  .stack-card {
    position: static;
    width: 100%;
  }

  .proof-stats,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 1.25rem);
  }

  .top-banner {
    font-size: 0.76rem;
  }

  .header-row {
    min-height: 68px;
  }

  .header-actions {
    display: none;
  }

  .hero-mark {
    width: 140px;
  }

  .hero-subtitle-line:first-child,
  .hero-subtitle-line:last-child {
    transform: none;
  }

  .pain-grid,
  .product-cards,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .stat-panel.large {
    grid-row: span 1;
    min-height: 220px;
  }

  .product-secondary {
    grid-template-columns: 1fr;
  }

  .stack-card-secondary {
    justify-self: stretch;
    width: 100%;
  }

  .feature-media-stack {
    display: none;
  }

  .product-secondary .frame:first-child {
    display: none;
  }

  .proof-media .frame-media img {
    object-fit: cover;
    object-position: center;
  }

  .footer-row {
    flex-direction: column;
  }
}

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

  .reveal,
  .button,
  .site-header {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
