:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --line-strong: rgba(29, 29, 31, 0.2);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #12805c;
  --amber: #b36b00;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1180px);
  min-height: 64px;
  margin: 14px auto 0;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: rgba(245, 245, 247, 0.72);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  backdrop-filter: saturate(180%) blur(22px);
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.home-page .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.home-page .site-header.is-scrolled,
.sub-page .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(29, 29, 31, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 132px;
  min-height: 32px;
}

.brand-symbol {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #151516;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.brand-symbol span {
  position: absolute;
  left: 7px;
  width: 14px;
  height: 1.4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.brand-symbol span:nth-child(1) {
  top: 9px;
  transform: rotate(-10deg);
}

.brand-symbol span:nth-child(2) {
  top: 14px;
  transform: rotate(6deg);
}

.brand-symbol span:nth-child(3) {
  top: 19px;
  transform: rotate(-10deg);
}

.brand-word {
  color: #111113;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(29, 29, 31, 0.74);
  font-size: 13px;
  font-weight: 500;
}

.site-nav a {
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(29, 29, 31, 0.06);
  color: var(--ink);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 6px;
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #000;
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-open .nav-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.intro-hero {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100svh;
  padding: 120px 24px 80px;
  background: #ffffff;
  text-align: center;
}

.intro-brand {
  width: min(84vw, 820px);
  margin: 0 auto 18px;
  color: #000;
  font-size: clamp(82px, 16vw, 182px);
  font-weight: 850;
  line-height: 0.86;
  letter-spacing: 0;
}

.intro-hero p {
  margin: 0;
  color: rgba(29, 29, 31, 0.7);
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.25;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: 100vh;
  padding: 142px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(52px, 6.6vw, 82px);
  font-weight: 850;
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 850;
  line-height: 1.04;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.16;
}

.section-title {
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 850;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.24;
}

.hero-actions,
.cta-content .button {
  margin-top: 8px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-hover);
  color: #fff;
  outline: none;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(29, 29, 31, 0.36);
  background: #fff;
  outline: none;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.device-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.document-window {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.76;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9fb 100%);
  box-shadow: var(--shadow);
}

.document-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(0, 113, 227, 0.08) 72% 100%),
    linear-gradient(180deg, transparent 0 68%, rgba(18, 128, 92, 0.08) 68% 100%);
  pointer-events: none;
}

.window-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2d2d7;
}

.doc-lines {
  display: grid;
  gap: 18px;
  padding: 54px 46px;
}

.doc-lines i {
  display: block;
  height: 13px;
  border-radius: 999px;
  background: #e8e8ed;
}

.doc-lines i:nth-child(1) {
  width: 82%;
  height: 24px;
  background: #1d1d1f;
}

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

.doc-lines i:nth-child(3) {
  width: 76%;
}

.doc-lines i:nth-child(4) {
  width: 88%;
}

.doc-lines i:nth-child(5) {
  width: 54%;
}

.seal-card {
  position: absolute;
  right: 34px;
  bottom: 40px;
  width: min(70%, 270px);
  padding: 22px;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(0, 113, 227, 0.16);
  backdrop-filter: blur(20px);
}

.seal-card span,
.seal-card small {
  display: block;
}

.seal-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.seal-card strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 34px;
  line-height: 1;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-copy p,
.cta-content p,
.step p,
.feature p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.section-copy p {
  margin-bottom: 20px;
}

.centered {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.process {
  padding: 112px 0;
}

.process-animation {
  position: relative;
  height: 360vh;
  background: #f5f5f7;
  border-top: 1px solid var(--line);
}

.process-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(460px, 0.92fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  width: min(100% - 40px, var(--max));
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.process-copy span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.process-copy h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.8vw, 76px);
}

.process-copy p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.process-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  perspective: 1400px;
}

.upload-tray {
  position: absolute;
  bottom: 74px;
  left: 50%;
  z-index: 0;
  display: grid;
  place-items: center;
  width: min(76%, 520px);
  height: 116px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
  transform: translateX(-50%);
  transition: opacity 560ms ease, transform 560ms ease, filter 560ms ease;
}

.upload-tray span {
  position: relative;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-left: 0;
  transform: rotate(-45deg);
}

.upload-tray span::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 30px;
  top: 8px;
  left: 13px;
  background: var(--ink);
  transform: rotate(45deg);
}

.upload-tray strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.document-stack {
  position: relative;
  width: min(84%, 560px);
  height: 520px;
  transform-style: preserve-3d;
}

.doc {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  align-content: start;
  gap: 14px;
  width: min(72%, 360px);
  min-height: 460px;
  padding: 34px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.12);
  transform-origin: center;
  transition: opacity 650ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 650ms ease;
}

.doc i,
.doc b {
  display: block;
  border-radius: 999px;
  background: #e8e8ed;
}

.doc i {
  height: 12px;
}

.doc i:nth-child(1) {
  width: 82%;
  height: 24px;
  background: #1d1d1f;
}

.doc i:nth-child(2) {
  width: 92%;
}

.doc i:nth-child(3) {
  width: 66%;
}

.doc i:nth-child(4) {
  width: 78%;
}

.doc b {
  width: 46%;
  height: 46px;
  margin-top: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0f0f3, #fafafa);
}

.doc-back {
  transform: translate(-68%, -34%) rotate(-9deg) translateY(74px) scale(0.9);
  opacity: 0.72;
}

.doc-middle {
  transform: translate(-43%, -39%) rotate(6deg) translateY(36px) scale(0.95);
  opacity: 0.88;
}

.doc-front {
  transform: translate(-50%, -50%) rotate(-2deg) translateY(0) scale(1);
  opacity: 1;
}

.expert-card {
  position: absolute;
  top: 88px;
  right: 20px;
  z-index: 4;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  width: min(58%, 330px);
  padding: 18px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  filter: blur(10px);
  transform: translateX(38px) translateY(12px);
  transition: opacity 560ms ease, filter 560ms ease, transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(22px);
}

.expert-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

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

.expert-card strong {
  margin-bottom: 2px;
  font-size: 16px;
}

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

.expert-card em {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e8ed;
}

.expert-card em::after {
  content: "";
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.expert-card ul {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 6px 0 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.expert-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 800;
}

.scan-line {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 38%;
  z-index: 5;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 113, 227, 0.75), transparent);
  opacity: 0;
  transform: translateY(-90px);
  transition: opacity 450ms ease;
}

.humint-stamp {
  position: absolute;
  left: 50%;
  top: 77%;
  z-index: 7;
  display: grid;
  align-content: center;
  justify-items: start;
  width: 214px;
  min-height: 74px;
  padding: 17px 20px;
  border: 1px solid rgba(0, 51, 102, 0.18);
  border-radius: 8px;
  color: rgba(0, 51, 102, 0.92);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(0, 51, 102, 0.1);
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.96);
  transition: opacity 420ms ease, transform 700ms cubic-bezier(0.2, 1, 0.2, 1);
  backdrop-filter: blur(18px);
}

.humint-stamp span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.humint-stamp strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.final-check {
  position: absolute;
  right: 72px;
  bottom: 118px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  transition: opacity 450ms ease 180ms, transform 550ms cubic-bezier(0.16, 1, 0.3, 1) 180ms;
}

.process-animation[data-step="review"] .upload-tray,
.process-animation[data-step="stamp"] .upload-tray {
  opacity: 0;
  filter: blur(10px);
  transform: translateX(-50%) translateY(42px) scale(0.94);
}

.process-animation[data-step="review"] .doc-back,
.process-animation[data-step="stamp"] .doc-back {
  transform: translate(-57%, -48%) rotate(-2deg) scale(0.96);
  opacity: 0.88;
}

.process-animation[data-step="review"] .doc-middle,
.process-animation[data-step="stamp"] .doc-middle {
  transform: translate(-50%, -50%) rotate(1deg) scale(0.98);
  opacity: 0.94;
}

.process-animation[data-step="review"] .doc-front,
.process-animation[data-step="stamp"] .doc-front {
  transform: translate(-46%, -52%) rotate(0deg) scale(1);
}

.process-animation[data-step="review"] .expert-card {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) translateY(0);
}

.process-animation[data-step="review"] .scan-line {
  opacity: 1;
  animation: scanDocument 2400ms ease-in-out infinite;
}

.process-animation[data-step="stamp"] .expert-card {
  opacity: 0;
  filter: blur(8px);
  transform: translateX(30px) translateY(-10px);
}

.process-animation[data-step="stamp"] .doc-back {
  transform: translate(-54%, -47%) rotate(0deg) scale(0.94);
  opacity: 0.42;
}

.process-animation[data-step="stamp"] .doc-middle {
  transform: translate(-50%, -49%) rotate(0deg) scale(0.97);
  opacity: 0.62;
}

.process-animation[data-step="stamp"] .doc-front {
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.process-animation[data-step="stamp"] .humint-stamp {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  animation: stampImpact 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.process-animation[data-step="stamp"] .final-check {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-process-cards {
  display: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step,
.feature {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.step-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.intelligence {
  padding: 96px 0 112px;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #1d1d1f;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.feature:nth-child(2) .feature-icon {
  background: var(--green);
}

.feature:nth-child(3) .feature-icon {
  background: var(--amber);
}

.section.cta-band {
  width: 100%;
  max-width: none;
  padding: 112px 20px;
  background: #111113;
  color: #f5f5f7;
}

.cta-content {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.cta-content .eyebrow {
  color: #66aaff;
}

.cta-content h2 {
  margin-bottom: 26px;
}

.cta-content p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: rgba(245, 245, 247, 0.72);
}

.cta-content .button {
  margin-top: 18px;
}

.guarantee {
  border-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
}

.text-link::after {
  content: ">";
  margin-left: 7px;
  transform: translateY(1px);
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translate(4px, 1px);
}

.page-hero {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  padding: 168px 0 84px;
  text-align: center;
}

.page-hero.compact {
  padding-bottom: 56px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 auto 22px;
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 850;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.button-large {
  min-height: 52px;
  padding-inline: 28px;
  font-size: 17px;
}

.review-flow {
  display: grid;
  gap: 18px;
  padding: 24px 0 112px;
}

.flow-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.flow-item > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 850;
}

.flow-item h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.8vw, 52px);
}

.flow-item p,
.info-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.info-stack {
  display: grid;
  gap: 18px;
  padding: 24px 0 112px;
}

.info-panel {
  scroll-margin-top: 110px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.info-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.6vw, 62px);
}

.info-panel p {
  max-width: 860px;
  margin-bottom: 18px;
}

.info-panel .button {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

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

.site-footer a:hover {
  color: var(--ink);
}

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

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    margin-top: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(22px);
  }

  .js-ready .site-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .js-ready .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-cta {
    display: flex;
    align-items: center;
    min-height: 46px;
    margin-left: 0;
    border-radius: 8px;
    font-size: 16px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-visual {
    min-height: 480px;
  }

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

  .process-animation {
    height: auto;
    padding: 82px 0;
  }

  .process-sticky {
    display: none;
  }

  .mobile-process-cards {
    display: grid;
    gap: 16px;
  }

  .mobile-process-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
  }

  .mobile-process-card span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
  }

  .mobile-process-card p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.56;
  }

  .page-hero {
    padding-top: 142px;
  }

  .flow-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split,
  .process,
  .intelligence {
    padding: 82px 0;
  }

  .site-footer {
    display: grid;
  }

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

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 48px;
  }

  .intro-hero {
    padding-inline: 18px;
  }

  .intro-brand {
    width: 100%;
  }

  h2 {
    font-size: 34px;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .doc-lines {
    padding: 42px 32px;
  }

  .seal-card {
    right: 20px;
    bottom: 24px;
    width: calc(100% - 40px);
  }

  .seal-card strong {
    font-size: 30px;
  }

  .step,
  .feature {
    padding: 24px;
  }

  .section.cta-band {
    width: 100%;
    padding: 84px 14px;
  }

  .page-hero {
    width: min(100% - 28px, 960px);
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .flow-item,
  .info-panel {
    padding: 24px;
  }

  .flow-item h2,
  .info-panel h2 {
    font-size: 30px;
  }
}

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

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

  .process-animation {
    height: auto;
    padding: 82px 0;
  }

  .process-sticky {
    display: none;
  }

  .mobile-process-cards {
    display: grid;
    gap: 16px;
  }
}

@keyframes scanDocument {
  0% {
    transform: translateY(-110px);
  }
  100% {
    transform: translateY(128px);
  }
}

@keyframes stampImpact {
  0% {
    opacity: 0;
    transform: translate(-50%, 24px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
