:root {
  --paper: #f5f2eb;
  --paper-deep: #ebe5da;
  --ink: #101820;
  --navy: #081525;
  --navy-soft: #122338;
  --white: #ffffff;
  --red: #e9574f;
  --red-soft: #f8e6e2;
  --teal: #1b8b98;
  --teal-soft: #e0eff0;
  --blue: #246b8e;
  --blue-soft: #e4eef3;
  --sand: #ded7c9;
  --muted: #66717b;
  --green: #36785b;
  --shell: min(1240px, calc(100vw - 56px));
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-grid {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(45, 55, 65, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 55, 65, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  width: 26px;
  height: 26px;
  transform: rotate(45deg);
  place-items: center;
  border: 1.5px solid var(--teal);
}

.logo-mark span {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--red);
}

.logo-text b {
  font-weight: 750;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  font-size: 13px;
  color: #3d4852;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}

.login-link {
  font-size: 13px;
  color: #3d4852;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn svg,
.text-link svg,
.footer-contact svg,
.source-view button svg,
.fit-categories svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(233, 87, 79, 0.2);
}

.btn-primary:hover {
  background: #dc4d46;
  box-shadow: 0 14px 34px rgba(233, 87, 79, 0.28);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}

.btn-large {
  min-height: 56px;
  padding-inline: 26px;
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.menu-toggle,
.mobile-login,
.mobile-nav-cta {
  display: none;
}

.hero {
  min-height: 760px;
  overflow: hidden;
  padding: 82px 0 74px;
}

.hero::before {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 550px;
  height: 550px;
  border: 120px solid rgba(27, 139, 152, 0.06);
  border-radius: 50%;
  content: "";
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 58px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 4px;
  padding: 0 10px;
  background: var(--teal);
  color: var(--white);
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.section-tag-red {
  background: var(--red);
}

.section-tag-blue {
  background: var(--blue);
}

.hero h1 {
  max-width: 650px;
  margin: 28px 0 23px;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  margin-top: 13px;
  color: var(--teal);
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #35414b;
  font-size: 18px;
  line-height: 1.65;
}

.hero-purpose {
  margin: 17px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.32);
  padding: 8px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-note {
  display: flex;
  max-width: 540px;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--teal);
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 26px 22px 55px 30px;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 455px;
  border: 1px solid rgba(8, 21, 37, 0.18);
  border-radius: 28px 28px 28px 6px;
  background: var(--white);
  box-shadow: 0 34px 70px rgba(8, 21, 37, 0.15);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 52%, rgba(8, 21, 37, 0.22));
  content: "";
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 455px;
  object-fit: cover;
}

.visual-label {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(8, 21, 37, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(245, 242, 235, 0.91);
  box-shadow: 0 9px 22px rgba(8, 21, 37, 0.09);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.visual-label-top {
  top: 20px;
  left: 20px;
}

.visual-label-right {
  top: 20px;
  right: 20px;
}

.result-float {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: min(430px, 78%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 22px 55px rgba(8, 21, 37, 0.28);
  color: var(--white);
}

.result-float-head {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 16px;
  font-size: 11px;
}

.result-float-head > span:last-child {
  margin-left: auto;
  color: #7ed0d6;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66ce91;
  box-shadow: 0 0 0 4px rgba(102, 206, 145, 0.12);
}

.result-float-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.result-float-row div {
  padding: 15px 16px 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.result-float-row div:last-child {
  border-right: 0;
}

.result-float-row small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.result-float-row strong {
  font-size: 14px;
}

.hero-index,
.section-index {
  position: absolute;
  right: 2vw;
  bottom: -45px;
  color: rgba(16, 24, 32, 0.045);
  font-family: "Courier New", monospace;
  font-size: 150px;
  font-weight: 700;
  pointer-events: none;
}

.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--navy);
  color: var(--white);
}

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

.trust-grid > div {
  padding: 29px 28px 31px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 5px;
  color: #74cbd2;
  font-size: 17px;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.problem,
.result,
.case-section,
.pricing {
  overflow: hidden;
  padding: 118px 0;
}

.section-heading {
  margin-bottom: 54px;
}

.split-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.75fr);
  gap: 90px;
}

.section-heading h2,
.proof-copy h2,
.faq-intro h2,
.final-cta h2 {
  margin: 20px 0 0;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading p {
  margin: 0;
  color: #4e5b65;
  font-size: 16px;
  line-height: 1.65;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 39px 42px;
}

.comparison-manual {
  background: rgba(255, 255, 255, 0.72);
}

.comparison-service {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.comparison-card h3 {
  margin: 42px 0 28px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.card-number {
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.comparison-service .card-number {
  color: var(--teal);
}

.comparison-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 15px;
  list-style: none;
}

.comparison-card li {
  position: relative;
  padding-left: 24px;
  color: #34414b;
  font-size: 14px;
  line-height: 1.45;
}

.comparison-card li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--red);
  transform: rotate(45deg);
  content: "";
}

.comparison-service li::before {
  border-color: var(--teal);
  background: var(--teal);
}

.comparison-footer {
  position: absolute;
  right: 42px;
  bottom: 34px;
  left: 42px;
  border-top: 1px solid rgba(16, 24, 32, 0.16);
  padding-top: 17px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.boundary-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 21px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 20px 23px;
  background: var(--blue-soft);
  color: #34414b;
  font-size: 13px;
  line-height: 1.55;
}

.boundary-note span {
  flex: 0 0 auto;
  border-radius: 3px;
  padding: 5px 8px;
  background: var(--blue);
  color: var(--white);
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.dark-section {
  position: relative;
  overflow: hidden;
  padding: 118px 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--white);
}

.light-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.7fr);
  gap: 90px;
}

.light-heading p {
  color: rgba(255, 255, 255, 0.64);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid article {
  position: relative;
  min-height: 310px;
  padding: 34px 37px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid article:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.process-step {
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.process-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 42px 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: #71cad1;
}

.process-icon svg {
  width: 28px;
  height: 28px;
}

.process-icon-search span {
  position: relative;
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.process-icon-search span::after {
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 2px;
  transform: rotate(45deg);
  background: currentColor;
  content: "";
}

.process-grid h3 {
  margin: 0 0 13px;
  font-size: 23px;
}

.process-grid p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.process-time {
  display: grid;
  align-items: center;
  margin-top: 40px;
  grid-template-columns: auto 1fr auto;
  gap: 27px;
}

.time-value {
  color: #74cbd2;
  font-size: 37px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.process-time > span:nth-child(2) {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.result-demo {
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 60px rgba(8, 21, 37, 0.08);
}

.result-tabs {
  display: grid;
  border-bottom: 1px solid var(--sand);
  grid-template-columns: repeat(3, 1fr);
}

.result-tabs button {
  display: flex;
  min-height: 68px;
  cursor: pointer;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--sand);
  padding: 0 24px;
  background: transparent;
  color: #5a6570;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.result-tabs button:last-child {
  border-right: 0;
}

.result-tabs button span {
  color: var(--teal);
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.result-tabs button.is-active {
  background: var(--navy);
  color: var(--white);
}

.result-tabs button.is-active span {
  color: #74cbd2;
}

.result-window {
  min-height: 420px;
  background: var(--white);
}

.window-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #e5e6e5;
  padding: 0 18px;
  background: #f7f7f5;
  color: #6b747c;
  font-size: 10px;
}

.window-bar strong {
  margin-left: 10px;
  color: #414b54;
  font-weight: 600;
}

.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
}

.window-dot:first-child {
  background: var(--red);
}

.window-dot:nth-child(2) {
  background: #e2b24b;
}

.window-dot:nth-child(3) {
  background: #69b17e;
}

.window-status {
  margin-left: auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e3f3e8;
  color: var(--green);
}

.table-wrap {
  overflow-x: auto;
  padding: 22px;
}

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #dfe2e2;
  padding: 13px 14px;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: #f6faf9;
}

.source-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
}

.source-view {
  display: grid;
  padding: 28px;
  gap: 12px;
}

.source-view article {
  display: grid;
  align-items: center;
  border: 1px solid #dfe2e2;
  border-radius: 10px;
  padding: 18px 20px;
  grid-template-columns: 36px 1fr auto auto;
  gap: 17px;
}

.source-status {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.source-status svg {
  width: 16px;
  height: 16px;
}

.source-view article strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.source-view article p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.source-view article > b {
  font-size: 15px;
}

.source-view article button {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  gap: 7px;
  background: none;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
}

.match-view {
  display: grid;
  min-height: 370px;
  grid-template-columns: 0.36fr 0.64fr;
}

.match-product {
  padding: 44px 34px;
  background: var(--navy);
  color: var(--white);
}

.match-product span {
  color: #74cbd2;
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.match-product strong {
  display: block;
  margin-top: 60px;
  font-size: 24px;
  line-height: 1.15;
}

.match-product p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.match-list {
  padding: 27px;
}

.match-list > div {
  display: grid;
  align-items: center;
  border-bottom: 1px solid #e1e4e4;
  padding: 17px 4px;
  grid-template-columns: 30px 1fr auto;
  gap: 11px;
}

.match-list span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.match-list svg {
  width: 13px;
  height: 13px;
}

.match-list p {
  margin: 0;
  color: #4a5660;
  font-size: 11px;
}

.match-list strong {
  font-size: 11px;
}

.result-features {
  display: grid;
  margin-top: 21px;
  grid-template-columns: repeat(4, 1fr);
}

.result-features article {
  min-height: 190px;
  border: 1px solid var(--sand);
  border-right: 0;
  padding: 27px 24px;
  background: rgba(255, 255, 255, 0.74);
}

.result-features article:last-child {
  border-right: 1px solid var(--sand);
}

.result-features span {
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.result-features h3 {
  margin: 38px 0 12px;
  font-size: 17px;
}

.result-features p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.proof-section {
  padding: 118px 0;
  background: var(--teal-soft);
}

.proof-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.88fr;
  gap: 90px;
}

.proof-visual {
  position: relative;
}

.proof-visual > picture {
  display: block;
}

.proof-visual img {
  width: 100%;
  min-height: 510px;
  border: 1px solid rgba(27, 139, 152, 0.34);
  border-radius: 6px 28px 28px 28px;
  object-fit: cover;
  box-shadow: 0 28px 55px rgba(27, 139, 152, 0.15);
}

.proof-badge {
  position: absolute;
  right: -25px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 8px;
  padding: 16px 20px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(8, 21, 37, 0.16);
}

.proof-badge > svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.proof-badge strong,
.proof-badge span {
  display: block;
}

.proof-badge strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.proof-badge span {
  color: var(--muted);
  font-size: 9px;
}

.proof-copy h2 {
  max-width: 570px;
}

.proof-copy > p {
  margin: 25px 0 0;
  color: #45525c;
  font-size: 15px;
  line-height: 1.7;
}

.proof-list {
  margin: 34px 0 26px;
  border-top: 1px solid rgba(16, 24, 32, 0.17);
}

.proof-list > div {
  display: grid;
  border-bottom: 1px solid rgba(16, 24, 32, 0.17);
  padding: 20px 0;
  grid-template-columns: 40px 1fr;
}

.proof-list span {
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.proof-list strong {
  font-size: 14px;
}

.proof-list p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  grid-column: 2;
}

.text-link-dark {
  border-color: rgba(16, 24, 32, 0.28);
}

.case-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--white);
  grid-template-columns: 0.95fr 1.05fr;
  box-shadow: 0 24px 60px rgba(8, 21, 37, 0.08);
}

.case-main {
  padding: 42px;
  background: var(--navy);
  color: var(--white);
}

.case-label {
  color: #74cbd2;
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-main h3 {
  margin: 18px 0 22px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.case-main > p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.65;
}

.case-time {
  display: grid;
  align-items: center;
  margin-top: 56px;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
}

.case-time span {
  color: #74cbd2;
  font-family: "Courier New", monospace;
  font-size: 15px;
}

.case-time i {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.case-time i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.case-time strong {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 500;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-metrics > div {
  min-height: 170px;
  border-right: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 38px 34px;
}

.case-metrics > div:nth-child(2) {
  border-right: 0;
}

.case-metrics span {
  display: block;
  max-width: 170px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.case-metrics strong {
  display: block;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.case-metrics .case-difference {
  min-height: 145px;
  border-right: 0;
  border-bottom: 0;
  background: var(--red-soft);
  grid-column: 1 / -1;
}

.case-difference strong {
  color: var(--red);
  font-size: 38px;
}

.case-disclaimer {
  margin: 18px 0 0;
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.fit-section {
  padding-block: 118px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.78fr;
  gap: 18px;
}

.fit-grid > div {
  min-height: 370px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 35px;
  background: rgba(255, 255, 255, 0.025);
}

.fit-grid h3 {
  margin: 0 0 30px;
  font-size: 20px;
}

.fit-good p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.45;
}

.fit-good svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #74cbd2;
}

.fit-categories > span {
  display: block;
  margin-bottom: 20px;
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.fit-categories > div {
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 19px 0;
  grid-template-columns: 33px 1fr auto;
}

.fit-categories b {
  color: #74cbd2;
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.fit-categories strong {
  font-size: 12px;
}

.fit-categories svg {
  color: rgba(255, 255, 255, 0.38);
}

.fit-limit {
  background: rgba(233, 87, 79, 0.08) !important;
}

.fit-limit p {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.4;
}

.pricing-grid {
  display: grid;
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.price-card {
  display: flex;
  min-height: 550px;
  flex-direction: column;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 40px;
  background: var(--white);
}

.price-free {
  border-color: var(--red);
  background: var(--red-soft);
}

.price-work {
  border-color: var(--navy);
}

.price-kicker {
  display: block;
  margin-bottom: 25px;
  color: var(--red);
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.price-work .price-kicker {
  color: var(--blue);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 45px;
  letter-spacing: -0.05em;
}

.price-card > div > p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.price-value {
  display: block;
  margin-top: 45px;
  color: var(--red);
  font-size: 23px;
}

.price-condition {
  display: block;
  margin-top: 38px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.price-card ul {
  display: grid;
  margin: auto 0 30px;
  padding: 31px 0 0;
  border-top: 1px solid rgba(16, 24, 32, 0.15);
  gap: 14px;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #3f4b55;
  font-size: 12px;
}

.price-card li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.pricing-note {
  max-width: 900px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.faq-section {
  padding: 118px 0;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
  background: #eee9df;
}

.faq-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
}

.faq-intro {
  position: sticky;
  top: 115px;
}

.faq-intro h2 {
  margin-top: 22px;
}

.faq-intro > p {
  max-width: 370px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-intro button {
  background: transparent;
}

.faq-list {
  border-top: 1px solid rgba(16, 24, 32, 0.25);
}

.faq-list details {
  border-bottom: 1px solid rgba(16, 24, 32, 0.25);
}

.faq-list summary {
  position: relative;
  padding: 26px 58px 26px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.faq-list summary span::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 720px;
  margin: -5px 0 27px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.final-cta {
  padding: 91px 0;
  background: var(--navy);
  color: var(--white);
}

.final-cta-inner {
  display: grid;
  align-items: end;
  grid-template-columns: 1.15fr 0.65fr;
  gap: 95px;
}

.final-cta h2 {
  max-width: 800px;
  margin-top: 22px;
}

.final-cta-inner > div:last-child p {
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 14px;
  line-height: 1.6;
}

footer {
  background: #050e19;
  color: var(--white);
}

.footer-top {
  display: grid;
  align-items: center;
  padding: 45px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: auto 1fr auto;
  gap: 45px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #74cbd2;
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  display: grid;
  padding: 28px 0 34px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  line-height: 1.55;
  grid-template-columns: auto auto 1fr;
  gap: 40px;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom p {
  max-width: 520px;
  margin: 0 0 0 auto;
  text-align: right;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(8, 21, 37, 0.76);
  backdrop-filter: blur(9px);
}

.upload-modal {
  position: relative;
  width: min(570px, 100%);
  border-radius: 18px;
  padding: 40px;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  animation: modal-in 220ms ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(16, 24, 32, 0.08);
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
}

.upload-modal h2 {
  margin: 20px 0 12px;
  font-size: 35px;
  letter-spacing: -0.04em;
}

.upload-modal > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.dropzone {
  display: grid;
  min-height: 190px;
  cursor: pointer;
  margin: 26px 0 18px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(16, 24, 32, 0.35);
  border-radius: 12px;
  padding: 25px;
  background: var(--white);
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease;
}

.dropzone:hover,
.dropzone.has-file {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dropzone-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.dropzone strong {
  font-size: 13px;
}

.dropzone small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.modal-submit {
  width: 100%;
}

.modal-submit.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.modal-caption {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 40px, 960px);
  }

  .main-nav {
    gap: 18px;
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 410px;
    height: 410px;
  }

  .split-heading,
  .light-heading {
    gap: 50px;
  }

  .proof-layout {
    gap: 55px;
  }

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

  .fit-limit {
    min-height: auto !important;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 68px;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    cursor: pointer;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .menu-toggle span:last-child {
    margin-top: -14px;
  }

  .menu-toggle.is-active span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle.is-active span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--sand);
    padding: 15px 16px 24px;
    background: var(--paper);
    box-shadow: 0 24px 40px rgba(8, 21, 37, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    border-bottom: 1px solid var(--sand);
    padding: 16px 8px;
  }

  .mobile-login,
  .mobile-nav-cta {
    display: inline-flex;
  }

  .mobile-nav-cta {
    margin-top: 16px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-visual {
    max-width: 680px;
    padding-left: 0;
  }

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

  .trust-grid > div:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .split-heading,
  .light-heading,
  .proof-layout,
  .faq-layout,
  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .comparison-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .process-grid article {
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 38px;
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .process-icon {
    margin: 26px 0 20px;
  }

  .process-time {
    grid-template-columns: auto 1fr;
  }

  .process-time .btn {
    grid-column: 1 / -1;
  }

  .result-features {
    grid-template-columns: 1fr 1fr;
  }

  .result-features article:nth-child(2) {
    border-right: 1px solid var(--sand);
  }

  .result-features article:nth-child(n + 3) {
    border-top: 0;
  }

  .proof-visual {
    max-width: 650px;
  }

  .proof-badge {
    right: 20px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

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

  .fit-limit {
    grid-column: auto;
  }

  .faq-intro {
    position: static;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom p {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 26px);
  }

  .hero,
  .problem,
  .result,
  .case-section,
  .pricing,
  .dark-section,
  .proof-section,
  .faq-section {
    padding-block: 78px;
  }

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

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-visual {
    padding: 0 0 60px;
  }

  .hero-image-wrap,
  .hero-image-wrap img {
    min-height: 335px;
    height: 335px;
  }

  .visual-label-right {
    display: none;
  }

  .result-float {
    width: calc(100% - 18px);
  }

  .result-float-row div {
    padding-inline: 11px;
  }

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

  .trust-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section-heading h2,
  .proof-copy h2,
  .faq-intro h2,
  .final-cta h2 {
    font-size: 39px;
  }

  .comparison-card {
    min-height: 405px;
    padding: 30px 26px;
  }

  .comparison-footer {
    right: 26px;
    left: 26px;
  }

  .boundary-note {
    flex-direction: column;
  }

  .process-time {
    grid-template-columns: 1fr;
  }

  .result-tabs {
    grid-template-columns: 1fr;
  }

  .result-tabs button {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--sand);
  }

  .match-view {
    grid-template-columns: 1fr;
  }

  .match-product {
    padding: 28px;
  }

  .match-product strong {
    margin-top: 26px;
  }

  .source-view article {
    grid-template-columns: 34px 1fr;
  }

  .source-view article > b,
  .source-view article button {
    grid-column: 2;
  }

  .result-features {
    grid-template-columns: 1fr;
  }

  .result-features article,
  .result-features article:nth-child(2) {
    border-right: 1px solid var(--sand);
    border-bottom: 0;
  }

  .result-features article:last-child {
    border-bottom: 1px solid var(--sand);
  }

  .proof-visual img {
    min-height: 370px;
  }

  .proof-badge {
    right: 12px;
    bottom: 14px;
    left: 12px;
  }

  .case-main,
  .price-card {
    padding: 30px 26px;
  }

  .case-main h3 {
    overflow-wrap: anywhere;
    font-size: 27px;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-metrics > div,
  .case-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .case-metrics .case-difference {
    grid-column: auto;
  }

  .price-card {
    min-height: 530px;
  }

  .price-card h3 {
    font-size: 39px;
  }

  .upload-modal {
    padding: 31px 22px 24px;
  }

  .footer-nav,
  .footer-bottom div {
    flex-direction: column;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

[hidden] { display: none !important; }

/* ============================================================================
   Модалка «загрузка ТЗ → аккаунт» и cookie-баннер
   ----------------------------------------------------------------------------
   Продолжение вёрстки макета: те же токены, тот же ритм. Формы входа,
   регистрации и восстановления пароля живут внутри окна загрузки — гость
   не уходит со страницы после того, как выбрал файл.
   ========================================================================= */

.upload-modal {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.upload-modal.is-loading {
  cursor: progress;
}

.dropzone.is-dragover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

/* Контакты в подвале на месте ссылки на сайт из макета: телефон и почта */
.footer-contacts {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: #74cbd2;
  font-size: 12px;
  font-weight: 700;
}

.footer-contacts a {
  transition: color 180ms ease;
  white-space: nowrap;
}

.footer-contacts a:hover {
  color: var(--white);
}

/* Поле файла живёт вне зоны загрузки: прячем, но не через display:none —
   скрытый таким образом input некоторые браузеры отказываются открывать */
.dropzone-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropzone:focus-visible {
  border-color: var(--teal);
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.modal-error {
  margin: 14px 0 0;
  border-left: 2px solid var(--red);
  padding: 9px 12px;
  background: var(--red-soft);
  color: #b3352d;
  font-size: 12px;
  line-height: 1.5;
}

.modal-hint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.modal-hint b {
  color: var(--ink);
}

.modal-file {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(27, 139, 152, 0.3);
  border-radius: 8px;
  /* справа оставляем место под кнопку закрытия окна */
  padding: 11px 46px 11px 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.modal-file svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.modal-file span {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-step h2 {
  margin: 20px 0 12px;
  font-size: 35px;
  letter-spacing: -0.04em;
}

.modal-step > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.auth-view {
  margin-top: 22px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: rgba(102, 113, 123, 0.7);
}

.field input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 139, 152, 0.14);
}

.field .code-input {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-align: center;
}

.consent {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  cursor: pointer;
  accent-color: var(--teal);
}

.consent a {
  color: var(--teal);
  text-decoration: underline;
}

.modal-submit {
  width: 100%;
  margin-top: 18px;
}

.modal-submit:disabled {
  cursor: progress;
  opacity: 0.6;
}

.modal-submit:disabled:hover {
  transform: none;
}

.modal-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-ghost {
  flex: 1;
  min-height: 42px;
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.btn-ghost:hover {
  border-color: rgba(16, 24, 32, 0.32);
  color: var(--ink);
}

.modal-switch {
  font-size: 11px;
}

.modal-switch button {
  cursor: pointer;
  background: none;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
}

.modal-switch button:hover {
  text-decoration: underline;
}

.cookie-bar {
  position: fixed;
  z-index: 90;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(16, 24, 32, 0.14);
  padding: 12px max(24px, calc((100vw - var(--shell)) / 2));
  background: rgba(245, 242, 235, 0.97);
  backdrop-filter: blur(10px);
}

.cookie-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.cookie-bar a {
  color: var(--teal);
  text-decoration: underline;
}

.cookie-bar .btn {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .modal-step h2 {
    font-size: 27px;
  }

  .footer-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 20px;
  }
}

