:root {
  --bg: #07111c;
  --panel: rgba(13, 27, 42, 0.82);
  --panel-strong: rgba(9, 20, 33, 0.94);
  --ink: #f5fbff;
  --muted: rgba(223, 238, 248, 0.72);
  --soft: rgba(223, 238, 248, 0.5);
  --line: rgba(142, 210, 224, 0.18);
  --cyan: #4bd6e8;
  --teal: #37c9a8;
  --blue: #2f7df4;
  --amber: #f4b95f;
  --danger: #ff7f75;
  --paper: #f9fbf6;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  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;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 4%, rgba(75, 214, 232, 0.24), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(244, 185, 95, 0.18), transparent 31rem),
    linear-gradient(135deg, #06101b 0%, #0b1b2c 46%, #07111c 100%);
  overflow-x: hidden;
}

section[id],
article[id] {
  scroll-margin-top: 118px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.grid-texture {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(142, 210, 224, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 210, 224, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

.orb {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(34px);
  pointer-events: none;
}
.orb-a { width: 430px; height: 430px; top: 120px; left: -170px; background: rgba(55, 201, 168, 0.24); }
.orb-b { width: 480px; height: 480px; right: -180px; top: 460px; background: rgba(47, 125, 244, 0.2); }

.site-header,
.section,
.site-footer,
.toast,
.mobile-sticky-cta { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1220px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(142, 210, 224, 0.18);
  border-radius: 999px;
  background: rgba(7, 17, 28, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.brand-mark,
.app-mark span {
  display: grid;
  place-items: center;
  color: #03101a;
  font-weight: 950;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 30%),
    linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 18px 46px rgba(75, 214, 232, 0.28);
}
.brand-mark { width: 44px; height: 44px; border-radius: 15px; font-size: 0.84rem; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand small { margin-top: 4px; color: var(--soft); font-size: 0.76rem; }

.nav-links { display: flex; gap: 4px; }
.nav-links button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: color 180ms ease, background 180ms ease;
}
.nav-links button:hover { color: var(--ink); background: rgba(142, 210, 224, 0.1); }

.btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.btn { min-height: 48px; padding: 0 20px; }
.btn:hover,
.small-btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #06101b;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 32%),
    linear-gradient(135deg, #4bd6e8 0%, #37c9a8 45%, #f4b95f 100%);
  box-shadow: 0 20px 60px rgba(75, 214, 232, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { box-shadow: 0 26px 72px rgba(75, 214, 232, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost,
.small-btn {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}
.btn-xl { min-height: 58px; padding-inline: 26px; }
.small-btn { min-height: 38px; padding: 0 14px; }

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  scroll-margin-top: 112px;
}
.eyebrow,
.section-kicker,
.mini-label,
.console-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #93edf7;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 950;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(55, 201, 168, 0.13);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 840px;
  margin: 18px 0 20px;
  font-size: clamp(3.2rem, 7vw, 6.35rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
h3 { margin-bottom: 10px; font-size: 1.48rem; letter-spacing: -0.035em; }
.hero-subhead,
.workflow-copy p,
.package-copy p,
.request-copy p,
.pain-grid p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 58px 0 54px;
}
.hero-actions,
.proof-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 30px; }
.proof-strip { margin-top: 34px; }
.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(245, 251, 255, 0.84);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual { position: relative; min-height: 640px; }
.hero-image,
.workflow-image,
.audit-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(142, 210, 224, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}
.hero-image { height: 640px; border-radius: 42px; }
.workflow-image,
.audit-image { height: 560px; border-radius: var(--radius-xl); }
.hero-image::after,
.workflow-image::after,
.audit-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 17, 28, 0.15), transparent 42%),
    linear-gradient(0deg, rgba(7, 17, 28, 0.42), transparent 54%);
}
.hero-image img,
.workflow-image img,
.audit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms ease;
}
.hero-image img { object-position: center center; }
.workflow-image img { object-position: center center; }
.audit-image img { object-position: 52% center; }
.hero-visual:hover img,
.workflow-image:hover img,
.audit-image:hover img { transform: scale(1.035); }

.hero-console {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: min(370px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid rgba(142, 210, 224, 0.22);
  border-radius: 28px;
  background: rgba(7, 17, 28, 0.76);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}
.hero-console strong { display: block; margin: 10px 0; color: #fff; font-size: 1.5rem; }
.hero-console p { color: var(--muted); line-height: 1.55; }
.hero-console .btn { width: 100%; }
.mini-meter {
  height: 9px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}
.mini-meter span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.problem-section,
.parser-section,
.package-section,
.request-section { margin-top: 88px; }
.problem-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(142, 210, 224, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}
.problem-section h2 { margin-bottom: 0; font-size: clamp(1.85rem, 3.6vw, 3.1rem); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pain-grid article,
.rules-panel,
.history-panel,
.package-grid article,
.request-form {
  border: 1px solid rgba(142, 210, 224, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}
.pain-grid article { padding: 20px; }
.pain-grid strong { color: #fff; }

.workflow-shot,
.audit-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  margin-top: 110px;
}
.workflow-shot { grid-template-columns: 0.86fr 1.14fr; }

.demo-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(75, 214, 232, 0.26);
  color: #93edf7;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 950;
  background:
    linear-gradient(90deg, transparent, rgba(75, 214, 232, 0.1), transparent),
    rgba(255, 255, 255, 0.04);
}
.parser-app {
  display: grid;
  grid-template-columns: 250px minmax(0, 0.95fr) minmax(0, 1.15fr) 330px;
  min-height: 820px;
  border-right: 1px solid rgba(75, 214, 232, 0.22);
  border-left: 1px solid rgba(75, 214, 232, 0.22);
  background:
    radial-gradient(circle at 70% 4%, rgba(75, 214, 232, 0.16), transparent 28rem),
    linear-gradient(140deg, rgba(6, 16, 27, 0.96), rgba(10, 28, 44, 0.94));
}
.sample-panel,
.document-panel,
.extraction-panel,
.output-panel { min-width: 0; padding: 22px; }
.sample-panel,
.document-panel,
.extraction-panel { border-right: 1px solid rgba(142, 210, 224, 0.13); }

.app-mark { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.app-mark span { width: 44px; height: 44px; border-radius: 15px; font-size: 0.8rem; }
.app-mark strong,
.app-mark small { display: block; }
.app-mark small { margin-top: 3px; color: var(--soft); }

.sample-stack { display: grid; gap: 10px; margin-bottom: 16px; }
.sample-card {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(142, 210, 224, 0.15);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.sample-card:hover,
.sample-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(75, 214, 232, 0.46);
  background: rgba(75, 214, 232, 0.1);
}
.sample-card span,
.sample-card strong,
.sample-card small { display: block; }
.sample-card span { color: var(--soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; }
.sample-card strong { margin: 7px 0; }
.sample-card small { color: var(--muted); }
.sample-panel > .btn { width: 100%; }

.parser-metrics { display: grid; gap: 10px; margin-top: 18px; }
.parser-metrics article {
  padding: 14px;
  border: 1px solid rgba(142, 210, 224, 0.15);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}
.parser-metrics span,
.parser-metrics strong { display: block; }
.parser-metrics span { color: var(--soft); font-size: 0.82rem; }
.parser-metrics strong { margin-top: 5px; color: #fff; font-size: 1.14rem; }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.document-preview {
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(142, 210, 224, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 0%, rgba(75, 214, 232, 0.14), transparent 22rem);
}
.paper {
  width: min(270px, 78%);
  min-height: 360px;
  padding: 26px;
  border-radius: 16px;
  color: #1d2b33;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(-1.4deg);
}
.paper-label {
  display: block;
  margin-bottom: 30px;
  color: #111;
  font-weight: 950;
  letter-spacing: 0.24em;
}
.paper-row,
.paper-grid span,
.paper-total {
  display: block;
  border-radius: 999px;
  background: #d8e2e2;
}
.paper-row { width: 62%; height: 9px; margin-bottom: 10px; }
.paper-row.wide { width: 86%; }
.paper-grid { display: grid; grid-template-columns: 1fr 0.7fr 0.7fr; gap: 9px; margin-top: 30px; }
.paper-grid span { height: 12px; }
.paper-total { width: 45%; height: 14px; margin: 46px 0 0 auto; background: #9edbd7; }
.upload-zone {
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed rgba(75, 214, 232, 0.38);
  border-radius: 22px;
  background: rgba(75, 214, 232, 0.07);
  transition: transform 180ms ease, border-color 180ms ease;
}
.upload-zone:hover { transform: translateY(-2px); border-color: rgba(75, 214, 232, 0.72); }
.upload-zone strong,
.upload-zone span { display: block; }
.upload-zone span { margin-top: 6px; color: var(--muted); line-height: 1.5; font-size: 0.9rem; }

.threshold-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(75, 214, 232, 0.2);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
}
.threshold-pill strong { color: #fff; }
.field-list { display: grid; gap: 10px; }
.field-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.2fr) 62px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(142, 210, 224, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}
.field-row.is-low { border-color: rgba(244, 185, 95, 0.36); background: rgba(244, 185, 95, 0.08); }
.field-row label { color: var(--soft); font-size: 0.78rem; }
.field-row input {
  width: 100%;
  border: 1px solid rgba(142, 210, 224, 0.16);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(6, 16, 27, 0.58);
  padding: 10px 11px;
  outline: none;
}
.field-row input:focus {
  border-color: rgba(75, 214, 232, 0.7);
  box-shadow: 0 0 0 4px rgba(75, 214, 232, 0.13);
}
.score {
  display: inline-flex;
  justify-content: center;
  padding: 8px 0;
  border-radius: 999px;
  color: #06101b;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}
.score.low { background: linear-gradient(135deg, var(--amber), #ffdb8d); }
.correction-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

.output-table { display: grid; gap: 8px; }
.output-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(142, 210, 224, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}
.output-row span { color: var(--soft); font-size: 0.8rem; }
.output-row strong { overflow-wrap: anywhere; }
.export-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(75, 214, 232, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(75, 214, 232, 0.08), rgba(255, 255, 255, 0.045));
}
.export-card span,
.export-card strong { display: block; }
.export-card span { color: var(--soft); }
.export-card strong { margin: 8px 0; color: #fff; }
.export-card p { color: var(--muted); line-height: 1.55; }
.export-card .btn { width: 100%; }

.parser-insight-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(75, 214, 232, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 0%, rgba(75, 214, 232, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.045);
}

.panel-head.compact {
  margin-bottom: 10px;
}

.panel-head.compact h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.confidence-chart {
  width: 100%;
  min-height: 180px;
  overflow: visible;
  border: 1px solid rgba(142, 210, 224, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.chart-grid line {
  stroke: rgba(142, 210, 224, 0.14);
  stroke-width: 1;
}

.threshold-line {
  stroke: rgba(244, 185, 95, 0.72);
  stroke-width: 2;
  stroke-dasharray: 7 7;
}

.threshold-text {
  fill: rgba(245, 251, 255, 0.72);
  font-size: 11px;
  font-weight: 850;
}

.confidence-area-path {
  fill: url("#confidenceArea");
}

.confidence-line-path {
  fill: none;
  stroke: url("#confidenceStroke");
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(75, 214, 232, 0.34));
}

.confidence-dot {
  fill: #07111c;
  stroke-width: 3;
}

.confidence-dot.high {
  stroke: var(--teal);
}

.confidence-dot.medium {
  stroke: var(--cyan);
}

.confidence-dot.low {
  stroke: var(--amber);
}

.field-heatmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.heat-cell {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(142, 210, 224, 0.14);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.heat-cell:hover,
.heat-cell:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.heat-cell span,
.heat-cell strong {
  display: block;
  min-width: 0;
}

.heat-cell span {
  color: var(--soft);
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heat-cell strong {
  color: #fff;
  font-size: 1.05rem;
}

.heat-cell::after {
  content: "";
  display: block;
  width: var(--score);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.heat-cell.medium::after {
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.heat-cell.low {
  border-color: rgba(244, 185, 95, 0.34);
  background: rgba(244, 185, 95, 0.08);
}

.heat-cell.low::after {
  background: linear-gradient(90deg, var(--amber), var(--danger));
}

.audit-section {
  grid-template-columns: 1fr 0.88fr;
  align-items: stretch;
}
.audit-image { grid-row: span 2; height: auto; min-height: 620px; }
.rules-panel,
.history-panel { padding: 24px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2); }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 22px 0; }
label {
  display: grid;
  gap: 8px;
  color: rgba(245, 251, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 850;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(142, 210, 224, 0.17);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(6, 16, 27, 0.62);
  padding: 13px 14px;
  outline: none;
}
input[type="range"] { accent-color: var(--cyan); padding: 12px 0; }
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(75, 214, 232, 0.68);
  box-shadow: 0 0 0 5px rgba(75, 214, 232, 0.11);
}
.history-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.history-filters button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(142, 210, 224, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}
.history-filters button.is-active {
  color: #06101b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  font-weight: 950;
}
.history-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.history-list li {
  padding: 13px 14px;
  border: 1px solid rgba(142, 210, 224, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}
.history-list strong,
.history-list span { display: block; }
.history-list span { margin-top: 6px; color: var(--soft); font-size: 0.82rem; line-height: 1.45; }

.package-section {
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid rgba(142, 210, 224, 0.17);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 12%, rgba(244, 185, 95, 0.14), transparent 24rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
}
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.package-grid article { padding: 22px; }
.package-grid article.featured {
  border-color: rgba(75, 214, 232, 0.32);
  background: linear-gradient(180deg, rgba(75, 214, 232, 0.1), rgba(255, 255, 255, 0.055));
}
.package-grid span { color: var(--soft); }
.package-grid strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.045em;
}
.package-grid p { color: var(--muted); line-height: 1.6; }

.request-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 72px;
}
.request-form {
  display: grid;
  gap: 13px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 127, 117, 0.34);
  border-radius: 16px;
  color: #ffd9d5;
  background: rgba(255, 127, 117, 0.11);
}
.btn-submit { width: 100%; min-height: 58px; }
.success-state {
  margin-top: 4px;
  padding: 15px;
  border: 1px solid rgba(55, 201, 168, 0.3);
  border-radius: 18px;
  color: #bff5df;
  background: rgba(55, 201, 168, 0.1);
}
.success-state strong,
.success-state span { display: block; }
.success-state span { margin-top: 6px; color: rgba(223, 238, 248, 0.76); line-height: 1.55; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: min(440px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid rgba(75, 214, 232, 0.26);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(7, 17, 28, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.88rem;
}
.site-footer strong { color: var(--ink); }
.mobile-sticky-cta { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .hero,
  .problem-section,
  .workflow-shot,
  .audit-section,
  .request-section { grid-template-columns: 1fr; }
  .parser-app { grid-template-columns: 1fr 1fr; }
  .sample-panel,
  .document-panel,
  .extraction-panel { border-right: 0; border-bottom: 1px solid rgba(142, 210, 224, 0.13); }
  .hero { min-height: auto; padding-top: 46px; }
  .audit-image { min-height: 520px; }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    border-radius: 24px;
  }
  .brand { min-width: 0; }
  .brand small,
  .site-header > .btn { display: none; }
  .section,
  .site-footer { width: calc(100% - 24px); }
  h1 { font-size: clamp(3rem, 15vw, 4.65rem); }
  .hero-actions,
  .hero-actions .btn,
  .pain-grid,
  .parser-app,
  .rules-grid,
  .package-grid,
  .request-section,
  .correction-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-visual,
  .hero-image { min-height: 540px; height: 540px; }
  .hero-image img { object-position: 54% center; }
  .hero-console {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
  .problem-section,
  .sample-panel,
  .document-panel,
  .extraction-panel,
  .output-panel,
  .rules-panel,
  .history-panel,
  .package-section,
  .request-form {
    padding: 20px;
    border-radius: 24px;
  }
  .workflow-shot,
  .audit-section { margin-top: 76px; }
  .workflow-image,
  .audit-image { height: 430px; min-height: 430px; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .field-row,
  .output-row { grid-template-columns: 1fr; }
  .document-preview { min-height: 380px; }
  .paper { width: 84%; min-height: 320px; }
  .site-footer { display: grid; padding-bottom: 78px; }
  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #06101b;
    font-weight: 950;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 32%),
      linear-gradient(135deg, #4bd6e8 0%, #37c9a8 45%, #f4b95f 100%);
    box-shadow: 0 20px 60px rgba(75, 214, 232, 0.3);
  }
}

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