:root {
  color-scheme: light;
  --color-bg-base: #fbfbf8;
  --color-bg-surface: #ffffff;
  --color-bg-elevated: #f2f3f0;
  --color-bg-hover: #e8ebe6;
  --color-border-default: rgba(35, 38, 52, 0.1);
  --color-border-subtle: rgba(35, 38, 52, 0.055);
  --color-text-primary: #202126;
  --color-text-secondary: #565966;
  --color-text-muted: #80838f;
  --color-accent-primary: #6872d6;
  --color-accent-primary-hover: #5660c4;
  --color-accent-success: #2f8f73;
  --color-accent-danger: #c84a3f;
  --color-accent-warning: #b7791f;
  --accent-rgb: 104 114 214;
  --success-rgb: 47 143 115;
  --danger-rgb: 200 74 63;
  --text-rgb: 35 38 52;
  --surface-rgb: 255 255 255;
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --line: var(--color-border-default);
  --paper: var(--color-bg-base);
  --paper-strong: var(--color-bg-elevated);
  --white: var(--color-bg-surface);
  --green: var(--color-accent-success);
  --green-dark: var(--color-accent-success);
  --blue: var(--color-accent-primary);
  --rust: var(--color-accent-danger);
  --violet: var(--color-accent-primary);
  --primary: var(--color-accent-primary);
  --primary-hover: var(--color-accent-primary-hover);
  --shadow: 0 1px 1px rgba(var(--text-rgb) / 0.03), 0 12px 32px rgba(var(--text-rgb) / 0.06);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb) / 0.62);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 760;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header,
.site-footer,
main {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: url("/brand-logo.svg?v=20260619002631") center / 168% no-repeat;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--primary-hover);
}

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 36px 0 40px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(251, 251, 248, 0.98) 46%,
    rgba(251, 251, 248, 0.82) 62%,
    transparent 82%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 20px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.77rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.15rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: 2.85rem;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.lead {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.24rem;
}

.section-heading {
  max-width: 1080px;
}

.section-heading > p:not(.eyebrow),
.proof-copy > p:not(.eyebrow),
.cta-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

button.button {
  font: inherit;
  cursor: pointer;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.primary:focus-visible {
  outline-color: rgba(var(--accent-rgb) / 0.62);
}

.button.secondary {
  background: rgba(var(--surface-rgb) / 0.72);
  backdrop-filter: blur(12px);
}

.hero-note {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-scene {
  position: absolute;
  inset: 18px max(-80px, -6vw) 34px 38%;
  z-index: 0;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--surface-rgb) / 0.92), rgba(242, 243, 240, 0.74)),
    linear-gradient(90deg, rgba(var(--accent-rgb) / 0.1), rgba(var(--success-rgb) / 0.08));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--text-rgb) / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb) / 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black 32%, black 100%);
}

.scene-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(var(--accent-rgb) / 0.28);
  stroke-width: 3;
}

.scene-panel,
.scene-card {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  background: rgba(var(--surface-rgb) / 0.88);
  box-shadow: 0 16px 48px rgba(var(--text-rgb) / 0.1);
  backdrop-filter: blur(14px);
}

.scene-panel-main {
  top: 18%;
  right: 17%;
  width: min(430px, 43vw);
  padding: 18px;
}

.scene-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-default);
}

.scene-panel-header span,
.scene-card span,
.scene-row span {
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scene-panel-header strong {
  color: var(--primary-hover);
  font-size: 0.92rem;
}

.scene-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.scene-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.scene-row-alert span {
  color: var(--violet);
}

.scene-card {
  width: min(290px, 30vw);
  min-height: 110px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 17px;
}

.scene-card strong {
  line-height: 1.2;
}

.scene-card small {
  color: var(--muted);
}

.scene-card-one {
  top: 10%;
  right: 50%;
}

.scene-card-two {
  top: 51%;
  right: 7%;
}

.scene-card-three {
  bottom: 10%;
  right: 34%;
}

.workflow-graphic {
  display: grid;
  margin-top: 34px;
}

.process-map {
  position: relative;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  background:
    linear-gradient(rgba(var(--surface-rgb) / 0.78), rgba(var(--surface-rgb) / 0.9)),
    linear-gradient(135deg, rgba(var(--accent-rgb) / 0.08), rgba(var(--success-rgb) / 0.08));
  box-shadow: 0 16px 48px rgba(var(--text-rgb) / 0.1);
  overflow: hidden;
}

.process-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--text-rgb) / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb) / 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.46), black 34%, black 66%, rgba(0, 0, 0, 0.46));
  pointer-events: none;
}

.process-map > * {
  position: relative;
  z-index: 1;
}

.process-steps {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    34px
    minmax(0, 1fr)
    34px
    minmax(0, 1fr)
    34px
    minmax(0, 1fr);
  align-items: stretch;
}

.process-step {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  background: rgba(var(--surface-rgb) / 0.92);
  box-shadow: 0 10px 30px rgba(var(--text-rgb) / 0.07);
}

.process-result,
.process-run {
  border-color: rgba(var(--success-rgb) / 0.24);
}

.process-label {
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.process-arrow {
  position: relative;
  width: 28px;
  height: 28px;
  align-self: center;
  justify-self: center;
}

.process-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(var(--accent-rgb) / 0.62);
  border-right: 2px solid rgba(var(--accent-rgb) / 0.62);
  transform: translate(-65%, -50%) rotate(45deg);
}

.band,
.split,
.cta {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.hero + .band {
  padding-top: 10px;
}

.hero + .proof-band {
  padding-top: 72px;
}

.step-grid,
.example-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-grid article,
.example-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(var(--surface-rgb) / 0.58);
}

.step-grid article {
  min-height: 220px;
}

.step-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-grid p,
.example-grid p,
.check-list p,
.receipt li {
  margin: 4px 0 0;
  color: var(--muted);
}

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

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

.example-grid article {
  min-height: 252px;
  display: flex;
  flex-direction: column;
}

.trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: rgba(var(--accent-rgb) / 0.1);
  color: var(--primary);
}

.trigger-icon svg {
  width: 23px;
  height: 23px;
}

.card-link {
  margin: 18px 0 0;
}

.example-grid .card-link {
  margin-top: auto;
  text-align: right;
}

.card-link a {
  color: var(--primary-hover);
  font-weight: 760;
  text-decoration: none;
}

.card-link a:hover {
  text-decoration: underline;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.receipt {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(var(--text-rgb) / 0.08);
  overflow: hidden;
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.receipt-header span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.receipt ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: receipt;
}

.receipt li {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 20px 14px 58px;
  border-bottom: 1px solid var(--color-border-subtle);
  counter-increment: receipt;
}

.receipt li:last-child {
  border-bottom: 0;
}

.receipt li::before {
  content: counter(receipt);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(var(--accent-rgb) / 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.split,
.cta {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  display: flex;
  align-items: start;
  gap: 13px;
  margin: 0;
}

.check-list p::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--primary);
}

.app-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.app-pills small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--color-border-default);
  border-radius: 8px;
  background: rgba(var(--surface-rgb) / 0.72);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.cta {
  align-items: center;
  padding-bottom: 96px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(var(--surface-rgb) / 0.78);
  box-shadow: 0 18px 50px rgba(var(--text-rgb) / 0.06);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 760;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(var(--accent-rgb) / 0.52);
  outline: 3px solid rgba(var(--accent-rgb) / 0.18);
  outline-offset: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--rust);
}

.download-main {
  padding: 56px 0 86px;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: 54px;
  align-items: center;
  min-height: 520px;
}

.download-copy h1 {
  max-width: 660px;
}

.download-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.download-media img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer a {
  text-decoration: none;
}

.legal {
  max-width: 780px;
  padding: 72px 0 96px;
}

.legal h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: 4.2rem;
  line-height: 1;
}

.legal h2 {
  margin-top: 38px;
  font-size: 1.45rem;
}

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

.legal a {
  color: var(--primary-hover);
  font-weight: 700;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.52fr);
  gap: 54px;
  align-items: center;
  padding: 28px 0 56px;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  line-height: 1.06;
}

.page-hero .lead {
  max-width: 690px;
}

.example-grid article h3 a {
  color: var(--primary-hover);
  text-decoration: none;
}

.example-grid article h3 a:hover {
  text-decoration: underline;
}

.section-more {
  margin: 28px 0 0;
  text-align: right;
}

.section-more a {
  color: var(--primary-hover);
  font-weight: 760;
  text-decoration: none;
}

.section-more a:hover {
  text-decoration: underline;
}

.learn-more {
  margin: 20px 0 0;
}

.learn-more a {
  color: var(--primary-hover);
  font-weight: 760;
  text-decoration: none;
}

.learn-more a:hover {
  text-decoration: underline;
}

.learn-more a + a {
  margin-left: 18px;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
}

.nav-cta:hover {
  background: var(--primary-hover);
  color: #fff;
}

.scenario-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(var(--text-rgb) / 0.08);
  overflow: hidden;
}

.scenario-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.scenario-panel header span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scenario-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-panel li {
  display: grid;
  gap: 4px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.scenario-panel li:last-child {
  border-bottom: 0;
}

.scenario-panel li span {
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scenario-panel li p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(var(--surface-rgb) / 0.74), rgba(var(--surface-rgb) / 0.9)),
    linear-gradient(135deg, rgba(var(--accent-rgb) / 0.1), rgba(var(--success-rgb) / 0.08));
}

.cta-band h2 {
  font-size: 2rem;
}

.cta-band p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--muted);
}

/* --- Setup walkthrough: product-UI mocks + numbered flow --- */
.app-window {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 24px 64px rgba(var(--text-rgb) / 0.12);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.app-dots {
  display: inline-flex;
  gap: 6px;
}

.app-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(var(--text-rgb) / 0.16);
}

.app-title {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.app-body {
  padding: 18px 18px 20px;
}

.dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--muted);
}

.dot.done,
.dot.auto {
  background: var(--green);
}

.dot.review {
  background: var(--violet);
}

.dot.note,
.dot.draft {
  background: var(--color-accent-warning);
}

.dot.read {
  background: var(--blue);
}

.dot.more {
  background: rgba(var(--text-rgb) / 0.3);
}

.record-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.record-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.record-list li:last-child {
  border-bottom: 0;
}

.record-list .dot {
  margin-top: 5px;
}

.record-list strong {
  display: block;
  font-size: 0.96rem;
}

.record-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.setup-flow {
  position: relative;
  margin-top: 28px;
  display: grid;
  gap: 0;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 0.72fr) minmax(0, 1.04fr);
  gap: 30px;
  align-items: start;
  padding: 30px 0;
}

.flow-node {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* The connecting rail, drawn as segments so it begins at node 1 and ends at
   node 4 with no stub above or below. */
.flow-step:not(:first-child) .flow-node::before,
.flow-step:not(:last-child) .flow-node::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(var(--accent-rgb) / 0.3);
}

/* Segments anchor at each number's center (~22px from the step top) and extend
   into the 30px section padding so they meet across the gap. */
.flow-step:not(:first-child) .flow-node::before {
  top: -30px;
  bottom: calc(100% - 22px);
}

.flow-step:not(:last-child) .flow-node::after {
  top: 22px;
  bottom: -30px;
}

.flow-node span {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 1.02rem;
  font-weight: 800;
}

.flow-text h3 {
  margin: 0 0 8px;
  font-size: 1.32rem;
}

.flow-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.spec-field {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.spec-title {
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.spec-lines {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-lines li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.95rem;
}

.spec-lines li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--primary);
}

.qa-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.qa-item {
  display: grid;
  gap: 7px;
  justify-items: start;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(var(--surface-rgb) / 0.7);
}

.qa-item + .qa-item {
  margin-top: 10px;
}

.qa-item strong {
  font-size: 0.95rem;
}

.qa-ans {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(var(--success-rgb) / 0.12);
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.action-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-list li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 2px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.action-list li:last-child {
  border-bottom: 0;
}

.action-list span {
  color: var(--ink);
  font-size: 0.93rem;
}

.action-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
}

.approve-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.approve-row:first-child {
  padding-top: 2px;
}

.approve-row span {
  font-size: 0.93rem;
}

.tag {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px 11px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 760;
}

.tag.auto {
  background: rgba(var(--success-rgb) / 0.13);
  color: var(--green-dark);
}

.tag.review {
  background: rgba(var(--accent-rgb) / 0.13);
  color: var(--primary-hover);
}

.approve-btn {
  width: 100%;
  margin-top: 16px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-weight: 760;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .example-grid,
  .example-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  main {
    width: calc(100% - 28px);
    max-width: 1140px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 14px 0;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding: 10px 0 30px;
  }

  .hero::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 251, 248, 0.94), rgba(251, 251, 248, 0.98));
  }

  .hero-scene {
    inset: 14px -80px 18px 18%;
    opacity: 0.24;
    pointer-events: none;
  }

  .scene-panel,
  .scene-card,
  .scene-lines {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 4px 0 22px;
  }

  h1 {
    font-size: 2.95rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .lead {
    font-size: 1.12rem;
  }

  .step-grid,
  .workflow-graphic,
  .proof-band,
  .split,
  .cta,
  .download-hero,
  .page-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-node::before,
  .flow-node::after {
    display: none;
  }

  .flow-step {
    grid-template-columns: 40px 1fr;
    gap: 18px 16px;
    align-items: start;
    padding: 24px 0;
  }

  .flow-node span {
    width: 38px;
    height: 38px;
  }

  .flow-art {
    grid-column: 2 / -1;
  }

  .step-grid article {
    min-height: 0;
  }

  .step-grid span {
    margin-bottom: 16px;
  }

  .process-map {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-map::before {
    mask-image: linear-gradient(rgba(0, 0, 0, 0.42), black 18%, black 82%, rgba(0, 0, 0, 0.42));
  }

  .process-step {
    min-height: 0;
  }

  .process-arrow {
    width: 28px;
    height: 28px;
  }

  .process-arrow::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%) rotate(135deg);
  }

  .band,
  .split,
  .cta {
    padding: 48px 0;
  }

  .cta .button {
    justify-self: start;
  }

  .download-main {
    padding: 32px 0 62px;
  }

  .download-hero {
    min-height: 0;
  }

  .download-media {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  nav {
    font-size: 0.88rem;
  }

  nav a {
    white-space: nowrap;
  }

  h1 {
    font-size: 1.72rem;
    line-height: 1.05;
  }

  h2 {
    font-size: 1.78rem;
    line-height: 1.08;
  }

  .lead {
    font-size: 1.04rem;
  }

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

  .example-grid,
  .example-grid.cols-3,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .step-grid article,
  .example-grid article {
    padding: 20px;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .receipt-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .legal h1 {
    font-size: 2.7rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.52rem;
  }
}

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