@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/rubik-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #14263d;
  --navy-deep: #0d1c2d;
  --blue: #2563eb;
  --blue-dark: #164fc2;
  --mint: #82e3ba;
  --paper: #f5f7fb;
  --paper-blue: #e7edf5;
  --ink: #14263d;
  --muted: #5f6f84;
  --line: #c8d3e0;
  --white: #fbfcfe;
  --display: "Rubik", sans-serif;
  --body: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
.brand,
.price,
.process-list span,
.expert-principles span {
  font-family: var(--display);
}

.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 18px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--mint);
  color: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(13, 28, 45, 0.93);
  border-bottom: 1px solid rgba(245, 247, 251, 0.16);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: 21px;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 24px;
}

.brand-mark span {
  position: absolute;
  left: 2px;
  width: 22px;
  height: 6px;
  transform: skewX(-28deg);
}

.brand-mark span:first-child {
  top: 3px;
  background: var(--blue);
}

.brand-mark span:last-child {
  bottom: 3px;
  left: 6px;
  background: var(--mint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #dbe4ef;
  font-size: 15px;
  font-weight: 650;
}

.site-nav > a:not(.button) {
  padding: 22px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--mint);
  border-color: var(--mint);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--display);
  font-weight: 690;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

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

.button-small {
  min-height: 40px;
  padding: 0 17px;
}

.button-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button-secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.button:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.menu-button:focus-visible,
summary:focus-visible,
.finding:focus-visible,
.demo-tabs button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  padding-top: 70px;
  background: var(--navy);
  color: var(--white);
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(540px, 1.18fr);
  gap: 0;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px 64px 74px max(32px, calc((100vw - 1240px) / 2));
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(245, 247, 251, 0.18);
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--mint);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(54px, 5.4vw, 86px);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: var(--mint);
}

.hero-lead {
  max-width: 510px;
  margin: 34px 0 0;
  color: #c9d4e1;
  font-size: 20px;
  line-height: 1.45;
}

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

.text-link {
  position: relative;
  color: var(--white);
  font-weight: 760;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--mint);
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.55);
}

.text-link span {
  margin-left: 8px;
  color: var(--mint);
}

.hero-visual {
  position: relative;
  min-height: calc(100dvh - 70px);
  margin: 0;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 38, 61, 0.22), transparent 28%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 76px;
}

.section-heading h2,
.report-copy h2,
.process-intro h2,
.expert-copy h2,
.faq-grid h2,
.request-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading p,
.report-copy > p,
.process-intro > p,
.expert-copy > p,
.faq-grid > div > p,
.request-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.problem-section {
  background: var(--paper);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  border-top: 2px solid var(--navy);
}

.problem {
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 16px;
  padding: 38px 40px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.problem:nth-child(even) {
  border-left: 1px solid var(--line);
}

.problem-wide {
  grid-row: span 2;
  min-height: 540px;
  padding: 46px 40px;
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.problem-wide .problem-index {
  color: var(--mint);
}

.problem-mint {
  background: transparent;
}

.problem-index {
  font-family: var(--display);
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.problem h3 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 630;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.problem p {
  max-width: 500px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.problem-wide p {
  color: #b8c6d7;
}

.report-section {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.report-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -260px;
  background: var(--mint);
  transform: rotate(28deg);
  opacity: 0.78;
}

.report-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: start;
}

.report-copy {
  position: sticky;
  top: 112px;
}

.report-copy > p {
  color: #dbe5ff;
}

.report-key {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.report-key div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.report-key span {
  color: #dbe5ff;
}

.report-demo {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(13, 28, 45, 0.25);
  box-shadow: 20px 22px 0 var(--navy-deep);
}

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}

.demo-bar > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.demo-label {
  font-family: var(--display);
  font-weight: 760;
}

.demo-bar small {
  color: var(--muted);
}

.demo-score {
  color: var(--blue);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 760;
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.demo-tabs::-webkit-scrollbar {
  display: none;
}

.demo-tabs button {
  padding: 18px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper-blue);
  color: var(--muted);
  font-weight: 760;
  cursor: pointer;
}

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

.demo-tabs button span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-left: 5px;
  background: #d2dce8;
  font-size: 12px;
}

.demo-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--navy);
  box-shadow: inset 0 -4px 0 var(--blue);
}

.demo-panel {
  padding: 8px 30px 30px;
}

.finding {
  width: 100%;
  display: grid;
  grid-template-columns: 92px 1fr 24px;
  gap: 12px;
  align-items: center;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.finding strong {
  font-size: 16px;
}

.finding-severity {
  color: #a12e42;
  font-size: 12px;
  font-weight: 850;
}

.severity-blue {
  color: var(--blue);
}

.severity-mint {
  color: #087755;
}

.finding-toggle {
  color: var(--muted);
  font-family: var(--display);
  font-size: 22px;
  text-align: right;
}

.finding-detail {
  padding: 0 0 24px 104px;
  border-bottom: 1px solid var(--line);
}

.finding-detail p {
  margin: 0 0 12px;
  color: var(--muted);
}

.finding-detail span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.services-section {
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.price-card {
  grid-column: span 2;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.price-card:nth-child(even) {
  padding: 32px;
  border-left: 1px solid var(--line);
}

.price-featured {
  position: relative;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-18px);
  border-color: var(--navy);
}

.price-featured::before {
  content: "основной формат";
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 10px;
  background: var(--mint);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-card h3 {
  margin: 0;
  font-size: 31px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.price-featured p,
.price-featured ul {
  color: #c6d2df;
}

.price {
  display: block;
  margin: 38px 0 24px;
  font-size: 44px;
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.055em;
}

.price small {
  font-family: var(--body);
  font-size: 16px;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px 20px;
  margin: 0 0 30px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li::before {
  content: "+";
  margin-right: 9px;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 800;
}

.price-featured li::before {
  color: var(--mint);
}

.price-card .button {
  width: fit-content;
  margin-top: auto;
}

.price-horizontal {
  grid-column: 2 / span 4;
  min-height: auto;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr auto;
  align-items: center;
  gap: 40px;
  padding: 34px;
}

.price-horizontal .price,
.price-horizontal .button {
  margin: 0;
}

.price-horizontal .price {
  white-space: nowrap;
}

.pricing-note {
  margin: 28px 0 0;
  color: var(--muted);
}

.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-grid {
  display: block;
}

.process-intro {
  position: static;
  max-width: 900px;
  margin-bottom: 88px;
}

.process-intro > p {
  color: #afbed0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  color: var(--navy);
  transform-origin: center;
}

.process-list li::before {
  content: none;
}

.process-list li:nth-child(1) {
  grid-column: 1 / span 6;
  background: var(--mint);
  transform: rotate(-0.8deg);
}

.process-list li:nth-child(2) {
  grid-column: 7 / span 6;
  margin-top: 42px;
  background: var(--paper);
  transform: rotate(0.65deg);
}

.process-list li:nth-child(3) {
  grid-column: 2 / span 6;
  margin-top: 18px;
  background: var(--blue);
  color: var(--white);
  transform: rotate(0.75deg);
}

.process-list li:nth-child(4) {
  grid-column: 8 / span 5;
  margin-top: 66px;
  border: 2px solid rgba(245, 247, 251, 0.8);
  color: var(--white);
  transform: rotate(-0.7deg);
}

.process-list span {
  max-width: 430px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.055em;
}

.process-list p {
  max-width: 430px;
  margin: auto 0 0;
  color: #38546a;
  font-size: 18px;
}

.process-list li:nth-child(3) p,
.process-list li:nth-child(4) p {
  color: #dbe5f4;
}

.expert-section {
  background: var(--mint);
}

.expert-grid {
  display: block;
}

.expert-copy {
  max-width: 1080px;
}

.expert-copy h2 {
  max-width: 900px;
  font-size: clamp(44px, 4.6vw, 68px);
}

.expert-copy > p {
  max-width: 680px;
  color: #2d4f63;
}

.expert-copy > p:last-child {
  max-width: 500px;
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
  font-size: 16px;
}

.expert-principles {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  margin-top: 76px;
}

.expert-principles div {
  max-width: 280px;
  padding: 0;
}

.expert-principles div:nth-child(2) {
  margin-top: 54px;
}

.expert-principles div:nth-child(3) {
  margin-top: -22px;
}

.expert-principles span {
  display: block;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.expert-principles p {
  margin: 14px 0 0;
  color: #2d4f63;
}

.faq-section {
  background: #dfe7f1;
}

.faq-grid {
  display: block;
}

.faq-grid > div:first-child {
  max-width: 880px;
  margin-bottom: 72px;
}

.faq-list {
  border: 0;
}

.faq-list details {
  width: 88%;
  margin-bottom: 16px;
  border: 0;
  background: var(--white);
  transition: transform 180ms ease;
}

.faq-list details:nth-child(1) {
  background: var(--mint);
}

.faq-list details:nth-child(2) {
  width: 72%;
  margin-left: auto;
}

.faq-list details:nth-child(3) {
  width: 82%;
  margin-left: 7%;
  background: var(--blue);
  color: var(--white);
}

.faq-list details:nth-child(4) {
  width: 70%;
  background: var(--paper);
}

.faq-list details:nth-child(5) {
  width: 78%;
  margin-left: auto;
  background: var(--navy);
  color: var(--white);
}

.faq-list details:hover {
  transform: translateX(6px);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 30px;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.04em;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--blue);
  font-size: 28px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details:nth-child(3) summary::after,
.faq-list details:nth-child(5) summary::after {
  color: var(--mint);
}

.faq-list p {
  max-width: 650px;
  margin: -2px 30px 0;
  padding-bottom: 28px;
  color: var(--muted);
}

.faq-list details:nth-child(3) p,
.faq-list details:nth-child(5) p {
  color: #d7e2ef;
}

.request-section {
  background: var(--paper-blue);
  color: var(--navy);
  border-top: 1px solid var(--line);
}

.request-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
}

.request-copy > p {
  color: var(--muted);
}

.request-copy > span {
  display: block;
  width: fit-content;
  margin-top: 38px;
  padding-top: 14px;
  border-top: 3px solid var(--mint);
  color: var(--navy);
  font-size: 14px;
  font-weight: 760;
}

.request-form {
  padding: 38px;
  border: 2px solid var(--navy);
  background: var(--paper);
  color: var(--navy);
  box-shadow: 18px 18px 0 var(--mint);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 750;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #aebdce;
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #76869a;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ad2c42;
  box-shadow: inset 4px 0 0 #ad2c42;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: #98243a;
  font-size: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #536278;
  font-size: 13px;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent a:hover,
.consent a:focus-visible {
  color: var(--blue);
}

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

.submit-button[disabled] {
  opacity: 0.68;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 14px;
}

.form-status.success {
  padding: 14px;
  border-left: 4px solid #087755;
  background: #d9f5e8;
  color: #075f45;
}

.site-footer {
  padding: 40px 0;
  background: var(--navy-deep);
  color: #aab9cc;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.footer-grid p {
  margin: 0;
  text-align: center;
}

.footer-grid > div {
  text-align: right;
  font-size: 12px;
}

.footer-grid > div span {
  display: block;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.footer-legal a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(130, 227, 186, 0.65);
  text-underline-offset: 3px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--mint);
}

.legal-page {
  min-height: 100dvh;
  background: var(--paper);
}

.legal-header {
  position: static;
}

.legal-header .nav-wrap {
  gap: 28px;
}

.legal-back {
  color: #dbe4ef;
  font-size: 15px;
  font-weight: 700;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: var(--mint);
}

.legal-main {
  padding: 72px 0 112px;
}

.legal-document {
  width: min(900px, 100%);
}

.legal-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-document h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 690;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-meta {
  margin: 24px 0 0;
  color: var(--muted);
}

.legal-draft {
  margin: 34px 0 54px;
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  background: #e6eeff;
  color: var(--navy);
}

.legal-draft strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
}

.legal-document section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-document h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 680;
}

.legal-document p,
.legal-document li {
  color: #334a62;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding-left: 24px;
}

.legal-placeholder {
  padding: 2px 6px;
  background: #fff0b8;
  color: #5d4300;
  font-weight: 760;
}

.legal-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 16px;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 28%;
  background: var(--paper-blue);
  font-family: var(--display);
}

.legal-signoff {
  margin-top: 24px;
  padding: 26px;
  background: var(--navy);
  color: var(--white);
}

.legal-signoff p,
.legal-signoff li {
  color: #dbe5f0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero-copy {
    padding-right: 36px;
  }

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

  .report-layout,
  .process-grid,
  .expert-grid,
  .faq-grid,
  .request-grid {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  body::before {
    content: "";
    position: fixed;
    inset: 70px 0 0;
    z-index: 18;
    background: rgba(7, 18, 30, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity 240ms ease, visibility 240ms ease;
    pointer-events: none;
  }

  body.menu-open::before {
    opacity: 1;
    visibility: visible;
  }

  .container {
    width: min(100% - 48px, 1240px);
  }

  .menu-button {
    display: block;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: rgba(255, 255, 255, 0.07);
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto auto;
    width: min(88vw, 420px);
    height: calc(100dvh - 70px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 34px 26px;
    background: var(--paper);
    color: var(--navy);
    box-shadow: -24px 0 60px rgba(7, 18, 30, 0.24);
    transform: translateX(110%);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav > a:not(.button) {
    padding: 20px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-family: var(--display);
    font-size: 25px;
    line-height: 1.05;
  }

  .site-nav > a:not(.button):hover,
  .site-nav > a:not(.button):focus-visible {
    color: var(--blue);
    border-color: var(--blue);
  }

  .site-nav .button {
    margin-top: 26px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    min-height: 650px;
    padding: 70px 24px 62px;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-visual {
    min-height: 520px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .problem-grid,
  .pricing-grid,
  .report-layout,
  .process-grid,
  .expert-grid,
  .faq-grid,
  .request-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-wide {
    grid-row: auto;
    min-height: 420px;
  }

  .problem:nth-child(even) {
    padding: 38px 40px;
    border-left: 0;
  }

  .report-copy,
  .process-intro {
    position: static;
  }

  .price-card,
  .price-card:nth-child(even),
  .price-featured {
    grid-column: auto;
    min-height: auto;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--white);
    transform: none;
  }

  .price-featured {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
  }

  .price-featured::before {
    top: 38px;
  }

  .price-horizontal {
    grid-column: auto;
  }

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

  .footer-grid p,
  .footer-grid > div {
    text-align: left;
  }

  .footer-legal {
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 36px, 1240px);
  }

  .section {
    padding: 88px 0;
  }

  .nav-wrap {
    height: 64px;
  }

  .site-nav {
    top: 64px;
    height: calc(100dvh - 64px);
  }

  body::before {
    top: 64px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-copy {
    min-height: 610px;
    padding: 58px 18px 52px;
  }

  .hero h1 {
    font-size: clamp(46px, 12.8vw, 58px);
    line-height: 0.92;
  }

  .hero-lead {
    margin-top: 28px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
  }

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

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

  .hero-visual img {
    object-position: 62% center;
  }

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

  .section-heading h2,
  .report-copy h2,
  .process-intro h2,
  .expert-copy h2,
  .faq-grid h2,
  .request-copy h2 {
    font-size: 42px;
  }

  .problem,
  .problem-wide {
    min-height: 270px;
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .problem:nth-child(even) {
    padding: 30px 0;
  }

  .problem-wide {
    padding: 30px 24px;
  }

  .report-layout,
  .process-grid,
  .expert-grid,
  .faq-grid,
  .request-grid {
    gap: 46px;
  }

  .report-demo {
    box-shadow: 10px 12px 0 var(--navy-deep);
  }

  .demo-bar {
    padding: 18px;
  }

  .demo-tabs {
    grid-template-columns: repeat(3, minmax(126px, 1fr));
    overflow-x: auto;
  }

  .demo-panel {
    padding: 6px 18px 18px;
  }

  .finding {
    grid-template-columns: 76px 1fr 20px;
    padding: 18px 0;
  }

  .finding-detail {
    padding: 0 0 18px;
  }

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

  .price-horizontal {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .price-horizontal .price {
    margin: 30px 0;
  }

  .price-featured::before {
    position: static;
    width: fit-content;
    margin-bottom: 22px;
  }

  .process-list li {
    grid-column: auto;
    min-height: 220px;
    margin-top: 0;
    padding: 26px;
    transform: none;
  }

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

  .expert-principles {
    flex-direction: column;
    gap: 36px;
    margin-top: 64px;
  }

  .expert-principles div,
  .expert-principles div:nth-child(2),
  .expert-principles div:nth-child(3) {
    max-width: 320px;
    margin-top: 0;
  }

  .faq-grid > div:first-child {
    margin-bottom: 48px;
  }

  .faq-list details,
  .faq-list details:nth-child(2),
  .faq-list details:nth-child(3),
  .faq-list details:nth-child(4),
  .faq-list details:nth-child(5) {
    width: 100%;
    margin-left: 0;
  }

  .faq-list details:hover {
    transform: none;
  }

  .faq-list summary {
    padding: 22px;
  }

  .faq-list p {
    margin-inline: 22px;
    padding-bottom: 24px;
  }

  .request-form {
    padding: 24px 20px;
    box-shadow: 9px 10px 0 var(--mint);
  }

  .legal-main {
    padding: 52px 0 88px;
  }

  .legal-header .nav-wrap {
    height: auto;
    min-height: 64px;
    padding: 10px 0;
  }

  .legal-back {
    max-width: 145px;
    text-align: right;
    line-height: 1.2;
  }

  .legal-document h1 {
    font-size: 42px;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: 0;
  }

  .legal-table td {
    margin-bottom: 12px;
  }
}

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

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

  .button,
  .site-nav,
  .menu-button span {
    transition: none;
  }
}
