:root {
  --ink: #292929;
  --muted: #72726e;
  --soft-muted: #9e9e99;
  --paper: #fcfcf8;
  --paper-deep: #f2f2ec;
  --surface: #ffffff;
  --surface-soft: #f7f7f2;
  --line: #d5d5d2;
  --line-soft: #eaebe5;
  --accent: #d1e043;
  --accent-soft: #e5eacd;
  --accent-deep: #5b6f00;
  --yellow: #febe29;
  --blue: #b8d5ff;
  --pink: #ffdef6;
  --red: #f8cec5;
  --shadow: 0 24px 70px rgba(41, 41, 41, 0.1);
  --font-body:
    "KMR Melange Grotesk", "Avenir Next", Inter, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display:
    "Quadrant Notepad", Georgia, "Times New Roman", Times, serif;
  color-scheme: light;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 540px, #ffffff 100%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(-160%);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(650px, calc(100% - 32px));
  min-height: 56px;
  transform: translateX(-50%);
  border: 0.5px solid rgba(41, 41, 41, 0.18);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(41, 41, 41, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.button,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  min-width: max-content;
  padding-left: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
}

.site-nav a,
.nav-cta {
  border-radius: 999px;
  padding: 8px 11px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
  outline: none;
}

.nav-cta {
  justify-content: center;
  min-width: 72px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 650;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 50px;
  min-height: 100svh;
  padding: 148px clamp(20px, 5vw, 64px) 88px;
}

.hero-content {
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  text-align: center;
}

.hero h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  margin-top: 24px;
  font-size: 96px;
  line-height: 0.96;
}

.hero-copy {
  width: min(690px, 100%);
  margin-top: 22px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.35;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.button {
  justify-content: center;
  min-height: 44px;
  border: 0.5px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #111111;
  outline: none;
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--soft-muted);
  background: var(--surface-soft);
  outline: none;
}

.hero-visual {
  width: min(1040px, 100%);
}

.hero-frame-copy {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.02;
  text-align: left;
  white-space: nowrap;
}

.hero-frame-copy-left {
  grid-column: 1 / 4;
  grid-row: 1;
  justify-self: start;
  max-width: none;
}

.hero-frame-copy-right {
  grid-column: 1 / 4;
  grid-row: 3;
  justify-self: end;
  max-width: none;
}

.notebook-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 18px;
  row-gap: 34px;
  align-items: center;
  min-height: 430px;
  border: 0.5px solid var(--line);
  border-radius: 28px;
  padding: clamp(16px, 2.4vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 247, 242, 0.92)),
    var(--surface-soft);
  box-shadow: var(--shadow);
}

.support-note {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 348px;
  border: 0.5px solid var(--line-soft);
  border-radius: 22px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(41, 41, 41, 0.07);
}

.support-note-raw {
  grid-column: 1;
  grid-row: 2;
  transform: rotate(-1.4deg);
}

.support-note-ready {
  grid-column: 3;
  grid-row: 2;
  transform: rotate(1.2deg);
}

.support-note-ready.support-video-card {
  box-shadow:
    0 26px 62px rgba(91, 111, 0, 0.24),
    0 0 0 8px rgba(169, 255, 77, 0.16);
}

.support-media-card,
.support-video-card {
  align-content: start;
  place-items: stretch;
  min-height: 348px;
  gap: 12px;
  padding: 12px;
}

.hero-card-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0.5px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface-soft);
  object-fit: cover;
}

.hero-guide-video {
  object-fit: contain;
}

.support-video-card .note-toolbar {
  align-items: flex-start;
}

.support-card-title {
  max-width: none;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.12;
  white-space: nowrap;
}

.support-card-logo {
  width: 24px;
  height: 24px;
  margin-left: auto;
  object-fit: contain;
}

.note-toolbar,
.chat-header {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.note-toolbar span,
.chat-header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.note-toolbar span:nth-child(2) {
  background: var(--yellow);
}

.note-toolbar span:nth-child(3) {
  background: var(--accent);
}

.note-toolbar strong {
  margin-left: 4px;
  font-weight: 650;
}

.support-note h3 {
  max-width: 320px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.02;
}

.note-lines {
  display: grid;
  gap: 9px;
}

.note-lines i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--line-soft);
}

.note-lines i:nth-child(1) {
  width: 78%;
}

.note-lines i:nth-child(2) {
  width: 94%;
}

.note-lines i:nth-child(3) {
  width: 62%;
}

.note-lines i:nth-child(4) {
  width: 86%;
}

.chat-card {
  display: grid;
  gap: 8px;
  border: 0.5px solid var(--line-soft);
  border-radius: 16px;
  padding: 12px;
  background: var(--surface-soft);
}

.chat-card p,
.long-chat-transcript p {
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
  background: #ffffff;
  font-size: 13px;
  line-height: 1.4;
}

.merge-arrow {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  width: 72px;
  height: 34px;
  justify-self: center;
}

.merge-arrow::before,
.merge-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  background: var(--accent-deep);
}

.merge-arrow::before {
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(91, 111, 0, 0.18);
}

.merge-arrow::after {
  right: 0;
  width: 18px;
  height: 18px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 4px solid var(--accent-deep);
  border-right: 4px solid var(--accent-deep);
  background: transparent;
}

.flow-list li::before {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-weight: 720;
}

.section,
.signup-section {
  padding: 108px clamp(20px, 5vw, 64px);
}

.platform-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%),
    var(--paper);
}

.section-heading {
  display: grid;
  gap: 14px;
  width: min(860px, 100%);
}

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

.eyebrow {
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: 72px;
  line-height: 1;
}

h3 {
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.feature-card p,
.triage-panel p,
.signup-copy p,
.flow-list li {
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1060px, 100%);
  margin: 42px auto 0;
}

.feature-card {
  min-height: 270px;
  border: 0.5px solid var(--line-soft);
  border-radius: 22px;
  padding: 26px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(41, 41, 41, 0.06);
}

.feature-card-accent {
  background:
    linear-gradient(180deg, rgba(229, 234, 205, 0.58), #ffffff 68%),
    var(--surface);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 400;
}

.feature-card p {
  margin-top: 14px;
}

.integrations-section {
  background:
    linear-gradient(180deg, #ffffff, var(--surface-soft)),
    var(--surface);
}

.integration-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 100%);
  margin: 42px auto 0;
}

.integration-logo-card {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 0.5px solid var(--line-soft);
  border-radius: 24px;
  padding: 26px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(41, 41, 41, 0.055);
}

.integration-logo {
  width: min(248px, 100%);
  height: auto;
  overflow: visible;
}

.integration-logo-zendesk {
  max-width: 246px;
}

.integration-logo-intercom {
  max-width: 248px;
}

.integration-logo-shopify {
  max-width: 238px;
}

.integration-logo text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 720;
  letter-spacing: 0;
}

.zendesk-mark {
  fill: #03363d;
}

.intercom-mark {
  fill: #286efa;
}

.intercom-lines {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.shopify-mark path:first-child {
  fill: #95bf47;
}

.shopify-mark path:nth-child(2) {
  fill: none;
  stroke: #5e8e3e;
  stroke-linecap: round;
  stroke-width: 3;
}

.shopify-mark text {
  fill: #ffffff;
  font-size: 21px;
  font-weight: 820;
}

.example-section,
.triage-section {
  background: var(--surface-soft);
}

.product-examples {
  display: grid;
  justify-items: center;
  margin-top: 42px;
}

.product-example {
  width: min(1120px, 100%);
  overflow: hidden;
  border: 0.5px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.case-study-carousel {
  display: grid;
  gap: 16px;
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 4px 4px 0;
}

.case-study-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: 0;
}

.case-study-logo-frame {
  display: flex;
  align-items: center;
  width: auto;
  max-width: min(170px, 42vw);
  height: 42px;
  overflow: hidden;
}

.case-study-logo-frame-beats {
  width: 158px;
}

.case-study-logo-frame-dyson {
  width: 74px;
}

.case-study-logo {
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.case-study-logo-frame-beats .case-study-logo {
  width: 176px;
  object-fit: cover;
  object-position: 56% center;
}

.case-study-logo-frame-dyson .case-study-logo {
  width: auto;
  height: 70%;
  object-fit: contain;
}

.case-study-controls {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.case-study-status {
  min-width: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.case-study-nav {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0.5px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface-soft);
  cursor: pointer;
}

.case-study-nav:hover,
.case-study-nav:focus-visible {
  border-color: var(--soft-muted);
  background: var(--surface);
  outline: none;
}

.case-study-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
}

.case-study-nav-left::before {
  transform: translate(-35%, -50%) rotate(135deg);
}

.case-study-nav-right::before {
  transform: translate(-65%, -50%) rotate(-45deg);
}

.case-study-viewport,
.case-study-slide {
  min-width: 0;
}

.case-study-slide[hidden] {
  display: none;
}

.case-study-slide:not([hidden]) {
  display: grid;
  min-width: 0;
}

.procedure-comparison {
  display: grid;
  grid-template-columns: minmax(250px, 0.64fr) 104px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}

.legacy-support-visual,
.procedure-output {
  min-width: 0;
}

.legacy-support-visual {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 500px;
  overflow: hidden;
  border: 0.5px solid var(--line-soft);
  border-radius: 22px;
  padding: 18px;
  background: var(--surface-soft);
}

.document-pile {
  position: relative;
  min-height: 238px;
}

.support-doc {
  position: absolute;
  display: grid;
  gap: 9px;
  width: min(78%, 260px);
  min-height: 148px;
  border: 0.5px solid var(--line-soft);
  border-radius: 18px;
  padding: 14px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(41, 41, 41, 0.08);
}

.support-doc-one {
  left: 0;
  top: 26px;
  transform: rotate(-4deg);
}

.support-doc-two {
  right: 6px;
  top: 6px;
  transform: rotate(3deg);
}

.support-doc-three {
  left: 42px;
  top: 82px;
  transform: rotate(-1deg);
}

.support-doc span,
.chat-header strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.support-doc i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.support-doc i:nth-of-type(2n) {
  width: 86%;
}

.support-doc i:nth-of-type(3n) {
  width: 62%;
}

.long-chat-transcript {
  display: grid;
  gap: 10px;
  border: 0.5px solid var(--line-soft);
  border-radius: 18px;
  padding: 14px;
  background: var(--surface);
}

.chat-scroll {
  position: relative;
  height: 252px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.chat-scroll-track {
  display: grid;
  animation: transcriptScroll 16s linear infinite;
}

.chat-scroll-set {
  display: grid;
  gap: 10px;
  padding-bottom: 10px;
}

.transform-flow {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 82px;
  min-height: 500px;
}

.transform-flow::before {
  content: none;
}

.transform-flow::after {
  content: none;
}

.transform-flow span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 112px;
  border: 0.5px solid rgba(91, 111, 0, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(41, 41, 41, 0.08);
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.transform-flow span::before {
  content: none;
  position: static;
  display: inline-block;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  opacity: 0.72;
  transform: scaleY(1.18);
  transform-origin: center;
}

.transform-flow span::after {
  content: none;
  position: static;
  display: inline-block;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  opacity: 0.72;
  transform: scaleY(1.18);
  transform-origin: center;
}

.transform-flow span:first-child::before {
  content: "<<";
}

.transform-flow span:first-child::after {
  content: none;
}

.transform-flow span:last-child::before {
  content: none;
}

.transform-flow span:last-child::after {
  content: ">>";
}

.procedure-output {
  display: grid;
  align-content: center;
}

.example-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 0.5px solid var(--line-soft);
  border-radius: 22px;
  background: var(--surface-soft);
}

.procedure-video-stage {
  display: grid;
  place-items: center;
  width: min(960px, 100%);
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin-inline: auto;
  padding: 0;
}

.procedure-video {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: inherit;
  background: #ffffff;
}

.procedure-video-crop-sides {
  transform: scale(1.0);
  transform-origin: center;
}

.triage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 42px;
  align-items: start;
  width: min(1040px, 100%);
  margin: 42px auto 0;
}

.flow-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
  border-top: 0.5px solid var(--line);
}

.flow-list li {
  position: relative;
  min-height: 112px;
  padding: 24px 0 24px 76px;
  border-bottom: 0.5px solid var(--line);
  counter-increment: flow;
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  width: 48px;
  height: 48px;
  font-size: 13px;
}

.flow-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
}

.triage-panel {
  border: 0.5px solid var(--line-soft);
  border-radius: 24px;
  padding: 30px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(41, 41, 41, 0.06);
}

.triage-panel h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
}

.triage-panel p:not(.eyebrow) {
  margin-top: 16px;
}

.section-backed {
  display: grid;
  gap: 28px;
  justify-items: center;
  background: var(--surface);
}

.backer-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(900px, 100%);
}

.backer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  border: 0.5px solid var(--line-soft);
  border-radius: 22px;
  padding: 24px;
  background: var(--surface-soft);
}

.backer-logo img {
  max-width: min(190px, 100%);
  max-height: 56px;
  object-fit: contain;
  filter: saturate(0.88);
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 58px;
  align-items: start;
  background:
    linear-gradient(180deg, var(--accent-soft), #ffffff 78%),
    var(--accent-soft);
}

.signup-copy {
  display: grid;
  gap: 14px;
  max-width: 650px;
}

.signup-copy h2 {
  font-size: 74px;
}

.signup-form {
  display: grid;
  gap: 14px;
  border: 0.5px solid rgba(41, 41, 41, 0.12);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 0.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.signup-form textarea {
  resize: vertical;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(209, 224, 67, 0.24);
}

.form-status {
  min-height: 22px;
  color: var(--accent-deep);
  font-weight: 650;
  line-height: 1.4;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 118px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 0.5px solid var(--line-soft);
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
}

.site-footer span {
  display: block;
  color: var(--ink);
  font-weight: 720;
}

.site-footer p {
  margin-top: 4px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

@keyframes transcriptScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 1020px) {
  .site-header {
    width: min(720px, calc(100% - 24px));
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 74px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .hero-frame-copy {
    font-size: 31px;
    white-space: normal;
  }

  h2,
  .signup-copy h2 {
    font-size: 54px;
  }

  .support-note h3 {
    font-size: 34px;
  }

  .notebook-stage,
  .procedure-comparison,
  .triage-layout,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .hero-frame-copy-left,
  .hero-frame-copy-right,
  .support-note-raw,
  .support-note-ready,
  .merge-arrow {
    grid-column: 1;
    grid-row: auto;
  }

  .support-note-raw,
  .support-note-ready {
    transform: none;
  }

  .merge-arrow {
    width: 34px;
    height: 64px;
  }

  .merge-arrow::before {
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
  }

  .merge-arrow::after {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
  }

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

  .feature-card {
    min-height: auto;
  }

  .legacy-support-visual {
    min-height: auto;
  }

  .transform-flow {
    gap: 24px;
    min-height: 132px;
  }

  .transform-flow::before {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

  .transform-flow::after {
    top: 50%;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    grid-template-columns: 1fr auto;
    width: 100%;
    transform: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 9px 12px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    gap: 34px;
    padding: 72px 20px 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-frame-copy {
    font-size: 27px;
  }

  h2,
  .signup-copy h2 {
    font-size: 40px;
  }

  .support-note h3 {
    font-size: 30px;
  }

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

  .notebook-stage {
    min-height: auto;
    border-radius: 22px;
  }

  .support-note {
    min-height: auto;
  }

  .section,
  .signup-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .product-example {
    padding: 12px;
    border-radius: 22px;
  }

  .case-study-header {
    align-items: flex-start;
    padding: 2px 2px 0;
  }

  .case-study-title {
    font-size: 18px;
  }

  .case-study-controls {
    gap: 6px;
  }

  .case-study-nav {
    width: 34px;
    height: 34px;
  }

  .legacy-support-visual {
    padding: 14px;
  }

  .document-pile {
    min-height: 226px;
  }

  .support-doc {
    width: 82%;
  }

  .support-doc-three {
    left: 20px;
  }

  .flow-list li {
    padding-left: 62px;
  }

  .flow-list li::before {
    width: 42px;
    height: 42px;
  }

  .backer-logo-row {
    grid-template-columns: 1fr;
  }

  .integration-logo-row {
    grid-template-columns: 1fr;
  }

  .backer-logo {
    min-height: 94px;
  }

  .backer-logo img {
    max-height: 48px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  .chat-scroll-track {
    animation: none;
  }
}
