:root {
  --ink: #151b19;
  --soft-ink: #31413b;
  --muted: #68756f;
  --paper: #f7f2ea;
  --cream: #fffaf2;
  --mist: #edf2ef;
  --line: rgba(21, 27, 25, 0.12);
  --sage: #536f63;
  --deep: #101715;
  --copper: #b87552;
  --blue: #405c6b;
  --shadow: 0 26px 70px rgba(19, 28, 25, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(184, 117, 82, 0.22);
}

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

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

.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, 52px);
  color: #fffaf2;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 242, 0.9);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
}

.nav {
  justify-self: center;
  gap: 28px;
  color: inherit;
  font-size: 14px;
}

.nav a {
  opacity: 0.78;
}

.nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  padding: 0 17px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 760;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fffaf2;
  background: var(--deep);
}

.hero-bg,
.hero-bg::after,
.hero-bg img {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 23, 21, 0.92), rgba(16, 23, 21, 0.72) 48%, rgba(16, 23, 21, 0.24)),
    linear-gradient(0deg, rgba(16, 23, 21, 0.44), rgba(16, 23, 21, 0.04));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.96);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 36px));
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  margin: 0 auto;
  padding: 112px 0 58px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #d7a17c;
  font-size: 12px;
  font-weight: 830;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.12;
}

.hero-lede {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
}

.hero-lede p,
.hero-text {
  margin-bottom: 0;
}

.hero-text {
  max-width: 560px;
  color: rgba(255, 250, 242, 0.76);
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 720;
  list-style: none;
}

.hero-benefits li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.hero-benefits li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #d7a17c;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 780;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: var(--cream);
  color: var(--deep);
}

.button.primary.light {
  background: var(--paper);
  color: var(--deep);
}

.button.secondary {
  border-color: rgba(255, 250, 242, 0.48);
  color: #fffaf2;
}

.button.secondary.dark {
  border-color: rgba(255, 250, 242, 0.34);
  color: #fffaf2;
}

.assistant-visual {
  justify-self: end;
  width: min(100%, 430px);
}

.phone-shell {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.2), rgba(255, 250, 242, 0.06)),
    rgba(16, 23, 21, 0.62);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.phone-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: rgba(255, 250, 242, 0.76);
  font-size: 13px;
}

.phone-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #86c9a9;
  box-shadow: 0 0 0 5px rgba(134, 201, 169, 0.15);
}

.phone-top strong {
  color: #fffaf2;
}

.phone-top em {
  font-style: normal;
}

.typing-card,
.summary-card {
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
}

.typing-card {
  min-height: 152px;
  padding: 18px;
}

.typing-label,
.summary-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.typing-line {
  min-height: 62px;
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.typing-line::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 4px;
  background: var(--copper);
  vertical-align: -0.12em;
  animation: cursorBlink 900ms steps(2, end) infinite;
}

.summary-card {
  padding: 16px;
}

.summary-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.summary-card div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid rgba(21, 27, 25, 0.1);
}

.summary-card dt {
  color: var(--muted);
  font-size: 13px;
}

.summary-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.split,
.demo-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.section-heading p,
.demo-copy p,
.next-card p,
.final-cta p {
  color: var(--muted);
  font-size: 19px;
}

.text-stack .large {
  color: var(--soft-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
}

.assistant-section {
  background: var(--cream);
}

.problem-section .feature-grid {
  margin-top: clamp(32px, 6vw, 72px);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 38px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 280px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(237, 242, 239, 0.42);
}

.feature-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 830;
}

.feature-grid p {
  color: var(--muted);
}

.transform-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(184, 117, 82, 0.1), transparent 30%),
    linear-gradient(180deg, #fffaf2 0%, #edf2ef 100%);
}

.transform-heading {
  max-width: 760px;
}

.qualification-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr) minmax(0, 1.12fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  min-height: 500px;
  margin-top: clamp(32px, 5vw, 56px);
}

.qualification-flow::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 111, 99, 0.2), rgba(83, 111, 99, 0.42), transparent);
  transform-origin: left center;
  opacity: 0.5;
}

.flow-column,
.flow-core,
.qualified-card {
  position: relative;
  z-index: 1;
}

.flow-column {
  display: grid;
  gap: 14px;
}

.before-flow {
  min-height: 360px;
  align-content: center;
}

.flow-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
}

.floating-message {
  width: fit-content;
  max-width: min(100%, 320px);
  padding: 12px 15px;
  border: 1px solid rgba(21, 27, 25, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--soft-ink);
  box-shadow: 0 18px 44px rgba(19, 28, 25, 0.08);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center right;
  will-change: transform, opacity, filter;
}

.message-two {
  justify-self: end;
  margin-top: 4px;
}

.message-three {
  margin-left: 10%;
}

.message-four {
  justify-self: center;
}

.message-five {
  justify-self: end;
  margin-right: 12%;
}

.flow-core {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 240px;
  padding: 30px 22px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.12), rgba(255, 250, 242, 0.03)),
    var(--deep);
  color: #fffaf2;
  box-shadow: 0 30px 80px rgba(16, 23, 21, 0.24);
  text-align: center;
  overflow: hidden;
  opacity: 1;
  transform: scale(1);
  will-change: transform, box-shadow;
}

.flow-core::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 250, 242, 0.12) 46%, transparent 68%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.flow-core p {
  margin: 0;
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.05;
}

.flow-core strong {
  color: rgba(255, 250, 242, 0.72);
  font-size: 13px;
  text-transform: uppercase;
}

.processing-lines {
  width: min(100%, 190px);
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 250, 242, 0.68);
  font-size: 12px;
  text-align: left;
}

.processing-lines span {
  position: relative;
  display: block;
  padding-left: 16px;
  opacity: 0;
  transform: translateY(4px);
}

.processing-lines span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: rgba(134, 201, 169, 0.82);
  transform: scaleX(0.2);
  transform-origin: left center;
}

.pulse-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #86c9a9;
  box-shadow: 0 0 0 0 rgba(134, 201, 169, 0.38);
}

.qualified-card {
  max-width: 430px;
  justify-self: end;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(83, 111, 99, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate3d(-48%, 0, 0) scale(0.72);
  transform-origin: left center;
  filter: blur(5px);
  will-change: transform, opacity, filter;
}

.qualified-card p {
  margin-bottom: 16px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 840;
  text-transform: uppercase;
}

.qualified-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.qualified-card div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 27, 25, 0.1);
}

.qualified-card dt {
  color: var(--muted);
  font-size: 13px;
}

.qualified-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
}

.qualification-flow.is-visible .floating-message {
  animation: messageConverge 9000ms cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.qualification-flow.is-visible .message-two {
  animation-delay: 120ms;
}

.qualification-flow.is-visible .message-three {
  animation-delay: 240ms;
}

.qualification-flow.is-visible .message-four {
  animation-delay: 360ms;
}

.qualification-flow.is-visible .message-five {
  animation-delay: 480ms;
}

.qualification-flow.is-visible .flow-core {
  animation: coreProcess 9000ms ease-in-out infinite;
}

.qualification-flow.is-visible .flow-core::after {
  animation: coreShimmer 9000ms ease-in-out infinite;
}

.qualification-flow.is-visible .pulse-dot {
  animation: pulseDot 9000ms ease-out infinite;
}

.qualification-flow.is-visible .processing-lines span {
  animation: processingText 9000ms ease-in-out infinite;
}

.qualification-flow.is-visible .processing-lines span:nth-child(2) {
  animation-delay: 120ms;
}

.qualification-flow.is-visible .processing-lines span:nth-child(3) {
  animation-delay: 240ms;
}

.qualification-flow.is-visible .processing-lines span::before {
  animation: processingRule 9000ms ease-in-out infinite;
}

.qualification-flow.is-visible .qualified-card {
  animation: qualifiedOutput 9000ms cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.qualification-flow.is-visible::before {
  animation: flowLine 9000ms ease-in-out infinite;
}

.demo-section {
  background: #e9eeea;
}

.demo-action {
  margin-top: 18px;
}

.conversation-panel {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(21, 27, 25, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow);
}

.chat-row {
  max-width: 86%;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius);
}

.chat-row span {
  color: inherit;
  opacity: 0.68;
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.chat-row p {
  margin: 0;
}

.chat-row.client {
  justify-self: start;
  background: #ffffff;
  color: var(--soft-ink);
}

.chat-row.assistant {
  justify-self: end;
  background: var(--deep);
  color: #fffaf2;
}

.generated-summary {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(83, 111, 99, 0.28);
  border-radius: var(--radius);
  background: #f7fbf7;
}

.generated-summary p {
  margin-bottom: 12px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 830;
  text-transform: uppercase;
}

.generated-summary ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.free-section {
  background: #e9eeea;
}

.free-card {
  display: grid;
  gap: 12px;
}

.free-card .button {
  width: fit-content;
  margin-top: 12px;
}

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

.next-section {
  background: var(--cream);
}

.next-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(64, 92, 107, 0.1), rgba(184, 117, 82, 0.08)),
    #fffdf8;
}

.next-card p {
  max-width: 760px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span {
  padding: 9px 12px;
  border: 1px solid rgba(21, 27, 25, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 700;
}

.final-cta {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--deep);
  color: #fffaf2;
}

.final-cta h2 {
  color: #fffaf2;
}

.final-cta p {
  max-width: 690px;
  color: rgba(255, 250, 242, 0.76);
}

.final-grid {
  align-items: center;
}

.final-grid .button {
  justify-self: end;
  min-width: 260px;
}

.final-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.final-actions .button {
  width: min(100%, 320px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 52px);
  background: var(--deep);
  color: rgba(255, 250, 242, 0.62);
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  font-size: 14px;
}

@keyframes cursorBlink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes messageConverge {
  0%,
  10% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  28% {
    opacity: 0.92;
    filter: blur(0);
    transform: translate3d(46%, -2px, 0) scale(0.94);
  }

  39% {
    opacity: 0;
    filter: blur(2px) brightness(1.1);
    transform: translate3d(104%, -2px, 0) scale(0.56);
  }

  40%,
  74% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.96);
  }

  86%,
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes coreProcess {
  0%,
  24% {
    box-shadow: 0 30px 80px rgba(16, 23, 21, 0.24);
    transform: scale(1);
  }

  34%,
  48% {
    box-shadow:
      0 34px 88px rgba(16, 23, 21, 0.26),
      0 0 0 10px rgba(134, 201, 169, 0.08);
    transform: scale(1.025);
  }

  58%,
  100% {
    box-shadow: 0 30px 80px rgba(16, 23, 21, 0.24);
    transform: scale(1);
  }
}

@keyframes coreShimmer {
  0%,
  28% {
    opacity: 0;
    transform: translateX(-100%);
  }

  37%,
  50% {
    opacity: 1;
  }

  58%,
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes pulseDot {
  0%,
  28% {
    box-shadow: 0 0 0 0 rgba(134, 201, 169, 0);
  }

  36% {
    box-shadow: 0 0 0 16px rgba(134, 201, 169, 0.16);
  }

  52%,
  100% {
    box-shadow: 0 0 0 0 rgba(134, 201, 169, 0);
  }
}

@keyframes processingText {
  0%,
  30% {
    opacity: 0;
    transform: translateY(4px);
  }

  38%,
  52% {
    opacity: 1;
    transform: translateY(0);
  }

  64%,
  100% {
    opacity: 0;
    transform: translateY(-3px);
  }
}

@keyframes processingRule {
  0%,
  30% {
    transform: scaleX(0.2);
  }

  42%,
  56% {
    transform: scaleX(1);
  }

  68%,
  100% {
    transform: scaleX(0.2);
  }
}

@keyframes qualifiedOutput {
  0%,
  48% {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(-48%, 0, 0) scale(0.72);
  }

  64% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  82% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(8px, 0, 0) scale(0.98);
  }
}

@keyframes flowLine {
  0%,
  20% {
    opacity: 0.2;
    transform: scaleX(0.45);
  }

  38%,
  66% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.34;
    transform: scaleX(0.74);
  }
}

@keyframes messageRise {
  0%,
  10% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  32% {
    opacity: 0;
    filter: blur(2px) brightness(1.08);
    transform: translate3d(0, 116px, 0) scale(0.58);
  }

  33%,
  74% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.96);
  }

  86%,
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes summaryRise {
  0%,
  48% {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, -84px, 0) scale(0.72);
  }

  64%,
  82% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, 8px, 0) scale(0.98);
  }
}

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

  .typing-line::after {
    display: none;
  }

  .floating-message,
  .flow-core,
  .qualified-card,
  .processing-lines span {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .flow-core::after {
    display: none;
  }

  .processing-lines span::before {
    transform: scaleX(1);
  }

  .qualification-flow::before {
    opacity: 0.54;
    transform: none !important;
  }
}

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

  .nav {
    display: none;
  }

  .hero-inner,
  .split,
  .demo-grid,
  .final-grid,
  .feature-grid,
  .qualification-flow {
    grid-template-columns: 1fr;
  }

  .assistant-visual,
  .final-grid .button {
    justify-self: start;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-grid span {
    margin-bottom: 28px;
  }

  .qualification-flow {
    min-height: auto;
  }

  .qualification-flow::before {
    left: 50%;
    right: auto;
    top: 74px;
    bottom: 74px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(83, 111, 99, 0.36), transparent);
  }

  .flow-core,
  .qualified-card {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
    background: rgba(16, 23, 21, 0.88);
    color: #fffaf2;
    box-shadow: 0 1px 0 rgba(255, 250, 242, 0.12);
    backdrop-filter: blur(14px);
  }

  .brand,
  .header-cta {
    min-height: 38px;
  }

  .header-cta {
    padding: 0 13px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(16, 23, 21, 0.94), rgba(16, 23, 21, 0.72)),
      linear-gradient(0deg, rgba(16, 23, 21, 0.26), rgba(16, 23, 21, 0.08));
  }

  .hero-bg img {
    object-position: 58% center;
  }

  .hero-inner,
  .section-inner {
    width: calc(100% - 28px);
  }

  .hero-inner {
    min-height: 88vh;
    padding-top: 92px;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    color: #d7a17c;
    font-size: 12px;
  }

  .hero-lede {
    color: rgba(255, 250, 242, 0.9);
    gap: 5px;
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.28;
  }

  .hero-text {
    color: rgba(255, 250, 242, 0.78);
    font-size: 15px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 18px;
    color: #fffaf2;
    font-size: clamp(42px, 12vw, 54px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.05;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-benefits {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.28;
  }

  .button.primary {
    background: #fffaf2;
    color: var(--deep);
  }

  .button.secondary {
    border-color: rgba(255, 250, 242, 0.36);
    color: #fffaf2;
  }

  .assistant-visual {
    width: 100%;
  }

  .phone-shell {
    border-radius: 18px;
    padding: 12px;
  }

  .transform-heading {
    margin-bottom: 24px;
  }

  .qualification-flow {
    gap: 18px;
    margin-top: 24px;
  }

  .before-flow {
    gap: 10px;
  }

  .floating-message {
    max-width: 100%;
    width: 100%;
    font-size: 14px;
    transform: translate3d(0, 12px, 0);
  }

  .message-two,
  .message-three,
  .message-four,
  .message-five {
    justify-self: stretch;
    margin-left: 0;
    margin-right: 0;
  }

  .flow-core {
    min-height: 164px;
    border-radius: 18px;
  }

  .flow-core p {
    font-size: 22px;
  }

  .qualified-card {
    transform: translate3d(0, -84px, 0) scale(0.72);
    transform-origin: center top;
  }

  .qualification-flow.is-visible .floating-message {
    animation-name: messageRise;
  }

  .qualification-flow.is-visible .qualified-card {
    animation-name: summaryRise;
  }

  .summary-card div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .chat-row {
    max-width: 100%;
  }

  .footer {
    display: grid;
  }

  .free-card .button,
  .final-actions,
  .final-actions .button {
    width: 100%;
    justify-items: stretch;
  }
}
