:root {
  --lime: #76ff03;
  --lime-strong: #5fd400;
  --ink: #10110f;
  --ink-soft: #151613;
  --text: #121212;
  --muted: #66645d;
  --cream: #f6f3ee;
  --surface: #fbfaf6;
  --paper: #fffdf8;
  --line: #e2ded5;
  --line-dark: #343631;
  --shadow: 0 24px 70px rgba(15, 16, 14, 0.12);
  --container: 1260px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: Inter, Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3,
.brand {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 950;
  line-height: 1.05;
}

h2 {
  font-size: clamp(32px, 3vw, 54px);
  font-weight: 950;
  line-height: 1.08;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

em {
  color: var(--lime);
  font-style: normal;
}

.wrap {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

/* Offset anchor scroll for fixed header */
#services,
#cases,
#reviews,
#about,
#contacts,
#pricing,
#quiz {
  scroll-margin-top: 80px;
}

.nowrap {
  white-space: nowrap;
}

.dark {
  background: var(--ink);
  color: #fff;
}

/* Header */

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding-inline: max(36px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 15, 13, 0.78);
  color: #fff;
  backdrop-filter: blur(18px);
  animation: slideDown 0.75s var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  font-size: 22px;
  font-weight: 950;
}

.bolt {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 14px;
  min-height: 48px;
  padding: 0 22px 0 26px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 0 0 1px rgba(118, 255, 3, 0.22), 0 12px 38px rgba(118, 255, 3, 0.18);
  transition: box-shadow 0.24s ease, filter 0.24s ease;
}

.nav-cta:hover {
  filter: brightness(1.03);
  box-shadow: 0 0 0 1px rgba(118, 255, 3, 0.32), 0 16px 44px rgba(118, 255, 3, 0.26);
}

.nav-cta b {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0; /* hide → text, draw with ::after */
  transition: transform 0.24s var(--ease);
}

.nav-cta b::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--lime);
  border-top: 2px solid var(--lime);
  transform: rotate(45deg) translate(-1px, 1px);
}

.nav-cta:hover b {
  transform: translateX(3px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.24s ease, filter 0.24s ease, transform 0.24s ease;
}

.btn:hover {
  filter: brightness(1.02);
  transform: translateY(-3px);
}

.lime {
  background: linear-gradient(135deg, var(--lime), var(--lime-strong));
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(118, 255, 3, 0.18);
}

.lime:hover {
  box-shadow: 0 18px 46px rgba(118, 255, 3, 0.26);
}

.btn span,
.hero-btn span,
.case-modal-copy .btn span,
.audit-form .btn span {
  display: inline-grid;
  place-items: center;
  line-height: 0;
  flex-shrink: 0;
  transition: transform 0.24s var(--ease);
}

.btn:hover span {
  transform: translateX(3px);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #10110f 0%, #10110f 36%, rgba(16, 17, 15, 0.74) 55%, rgba(16, 17, 15, 0.38) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/svg/hero-network.svg") left center / cover no-repeat;
  opacity: 0.65;
  animation: slowDrift 12s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 655px) minmax(0, 1fr);
  align-items: center;
  height: 100%;
  gap: 52px;
  padding-inline-start: max(36px, calc((100vw - var(--container)) / 2));
}

.hero-copy {
  padding-block: clamp(88px, 11vh, 130px) clamp(28px, 4vh, 50px);
  animation: fadeUp 0.8s var(--ease) both;
}

.pill,
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.pill {
  margin-bottom: 28px;
  padding: 8px 13px;
  border: 1px solid rgba(118, 255, 3, 0.42);
  background: rgba(118, 255, 3, 0.06);
  color: var(--lime);
}

.lead {
  max-width: 520px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.68;
}

.trigger-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: 620px;
  margin-bottom: 36px;
}

.trigger {
  min-width: 0;
}

.trigger img {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}

.trigger span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-btn {
  justify-content: space-between;
  width: min(100%, 380px);
  text-align: left;
}

.hero-btn span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 17, 15, 0.12);
  font-size: 24px;
}

.hero-media {
  position: relative;
  min-height: 540px;
  align-self: stretch;
  animation: fadeIn 1s 0.12s var(--ease) both;
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #10110f 0%, rgba(16, 17, 15, 0.58) 13%, rgba(16, 17, 15, 0) 42%);
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
}

.timer {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  width: max-content;
  max-width: calc(100vw - 48px);
  padding: 20px 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(18, 19, 17, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  animation: floatSoft 4.5s ease-in-out infinite;
}

.timer small {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.timer strong {
  display: block;
  color: #fff;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.timer i {
  color: var(--lime);
  font-style: normal;
}

.timer span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  white-space: nowrap;
}

/* Quiz */

.quiz {
  padding: 34px 0 48px;
  background: var(--surface);
}

.quiz-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 62px;
  padding: 36px 40px 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 20px 70px rgba(21, 20, 17, 0.05);
}

.quiz-title h2 {
  font-size: 32px;
  line-height: 1.15;
}

.quiz-title em {
  color: #52ad00;
}

.quiz-head {
  display: grid;
  grid-template-columns: 118px minmax(130px, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.stepnum b {
  font-size: 52px;
  font-weight: 950;
  line-height: 1;
}

.stepnum span {
  color: #6b6961;
  font-weight: 800;
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #d8d4ca;
}

.progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--lime);
  transition: width 0.24s ease;
}

.arrows {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.arrows button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.arrows button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
}

.arrows button[data-next]:not(.next-text) {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.arrows .next-text {
  width: auto;
  min-width: 104px;
  padding: 0 20px;
  border-color: var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.qstep {
  display: none;
}

.qstep.active {
  display: block;
  animation: stepIn 0.28s var(--ease) both;
}

.qstep legend {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 950;
}

.choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.choices.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choices label {
  cursor: pointer;
}

.choices input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.choices span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #302f2b;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background 0.22s ease;
}

/* In popup: 2 columns so text fits in buttons */
.popup-card .choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choices label:hover span {
  border-color: #62cf00;
  box-shadow: 0 10px 26px rgba(21, 20, 17, 0.06);
}

.choices input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: #111;
}

.input:focus {
  border-color: #62cf00;
  box-shadow: 0 0 0 3px rgba(118, 255, 3, 0.22);
}

.choices > .input {
  margin: 0;
}

.area {
  height: 150px;
  padding: 15px;
  resize: vertical;
}

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

.policy {
  margin: 18px 0 0;
  color: #8a867c;
  font-size: 12px;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 28px 24px;
  border: 1px solid var(--lime);
  border-radius: 12px;
  background: rgba(118, 255, 3, 0.08);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
  animation: stepIn 0.3s var(--ease) both;
}

.audit-form .form-success {
  min-height: 96px;
  border-color: rgba(118, 255, 3, 0.6);
  background: rgba(118, 255, 3, 0.06);
  color: #fff;
}

/* Content Sections */

.benefits {
  position: relative;
  padding: 58px 0 66px;
  background: var(--surface) url("../assets/svg/light-circles.svg") center top / cover no-repeat;
}

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

.benefit-grid article {
  position: relative;
  min-height: 245px;
  padding: 22px 44px 24px 70px;
  border-left: 1px solid var(--line);
  animation: fadeUp 0.8s var(--ease) both;
}

.benefit-grid article:first-child {
  border-left: 0;
}

.benefit-grid .num {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #52ad00;
  font-size: 26px;
  font-weight: 950;
}

.benefit-grid h3 {
  margin-bottom: 18px;
}

.benefit-grid h3 b {
  font-size: 23px;
}

.benefit-grid p,
.about-copy p:not(.kicker),
.review-grid p,
.faq p {
  line-height: 1.68;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
}

.about {
  padding: 70px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 48px;
}

.kicker {
  padding: 8px 12px;
  background: var(--ink);
  color: var(--lime);
}

.about-copy p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-tags span {
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
}

.danil-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.danil-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.danil-card:hover img {
  transform: scale(1.035);
}

.danil-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(12, 13, 12, 0.72);
  color: #fff;
  backdrop-filter: blur(12px);
}

.danil-card b,
.danil-card span {
  display: block;
}

.danil-card b {
  font-size: 22px;
}

.danil-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.pricing,
.cases,
.reviews,
.faq,
.footer {
  background: var(--surface);
}

.pricing {
  padding: 70px 0;
}

.pricing h2,
.section-row h2,
.review-grid h2 {
  font-size: 30px;
}

.pricing h2 {
  margin-bottom: 24px;
}

.tariffs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tariffs article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 342px;
  padding: 29px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(20, 20, 17, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.tariffs article:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 58px rgba(20, 20, 17, 0.09);
}

.tariffs .active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 2px var(--lime), 0 24px 70px rgba(0, 0, 0, 0.13);
}

.tariffs h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.tariffs small {
  font-weight: 950;
}

.tariffs ul {
  margin: 24px 0;
  padding-left: 17px;
  color: #5e5b54;
  line-height: 1.75;
}

.tariffs .active ul {
  color: #dfdfd3;
}

.tariffs b {
  margin-top: auto;
  margin-bottom: 18px;
  font-size: 23px;
}

.tariffs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.tariffs a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20,20,17,0.12);
}

.tariffs .active a {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.tariffs .active a:hover {
  box-shadow: 0 10px 28px rgba(118,255,3,0.28);
}

.tariffs mark {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 7px 18px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.cases {
  padding: 66px 0;
  border-top: 1px solid #e8e4da;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-row strong {
  font-size: 16px;
  white-space: nowrap;
}

.section-row em {
  color: #52ad00;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  display: block;
  padding-bottom: 18px;
  overflow: hidden;
  border-radius: 10px;
  outline: 0;
  cursor: pointer;
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.case-card:hover,
.case-card:focus-visible {
  background: #fff;
  box-shadow: 0 18px 48px rgba(21, 21, 18, 0.08);
  transform: translateY(-5px);
}

.case-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(118, 255, 3, 0.8), 0 18px 48px rgba(21, 21, 18, 0.08);
}

.case-grid img {
  width: 100%;
  aspect-ratio: 1.85 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(21, 21, 18, 0.08);
  transition: transform 0.4s ease;
}

.case-card:hover img {
  transform: scale(1.035);
}

.case-grid h3,
.case-grid p {
  padding-inline: 12px;
}

.case-grid h3 {
  margin: 14px 0 8px;
  font-size: 15px;
}

.case-grid p {
  margin: 0;
  color: #55524c;
  font-size: 13px;
  line-height: 1.45;
}

.reviews {
  padding: 70px 0 84px;
}

.review-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  align-items: start;
  gap: 46px;
}

.review-grid blockquote {
  position: relative;
  margin: 0;
  padding: 8px 0 0 54px;
  border-left: 1px solid var(--line);
}

.review-grid blockquote::before {
  content: "”";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 96px;
  font-weight: 950;
  line-height: 0.65;
}

.review-grid p {
  color: #2a2925;
  font-size: 17px;
}

.review-grid footer {
  margin-top: 24px;
}

.review-grid b,
.review-grid span {
  display: block;
}

.review-grid span {
  margin-top: 4px;
  color: #77736b;
}

.final {
  position: relative;
  padding: 62px 0;
  overflow: hidden;
  background-image: url("../assets/svg/dark-wave.svg");
  background-position: center;
  background-size: cover;
}

.final::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 380px;
  height: 260px;
  background: url("../assets/svg/abstract-blob.svg") center / contain no-repeat;
  opacity: 0.9;
}

.final-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 56px;
}

.final h2 {
  font-size: 34px;
}

.final p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.audit-card {
  padding: 28px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audit-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.audit-field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.audit-form input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.audit-form input:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.audit-form input:focus {
  border-color: rgba(118, 255, 3, 0.5);
  background: rgba(118, 255, 3, 0.03);
  box-shadow: 0 0 0 3px rgba(118, 255, 3, 0.1);
}

.audit-btn {
  width: 100%;
  min-height: 56px;
}

.audit-policy {
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  text-align: center;
  line-height: 1.6;
}

/* FAQ and Footer */

.faq {
  padding: 42px 0;
}

.faq h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0 28px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  list-style: none;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}

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

.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 19px;
  line-height: 0;
  transition: transform 0.34s var(--ease), background 0.22s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover::after {
  background: #1c1e1a;
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.42s var(--ease), opacity 0.3s ease;
}

.faq p {
  margin: 0;
  padding-bottom: 18px;
  color: var(--muted);
}

.footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, auto);
  align-items: center;
  gap: 26px;
  color: #5f5c55;
  font-size: 13px;
}

.footer .brand {
  color: var(--ink);
  font-size: 18px;
}

/* Modals */

.modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 13, 12, 0.72);
  backdrop-filter: blur(10px);
}

.modal.is-open {
  display: flex;
  animation: overlayFade 0.22s ease both;
}

.modal-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  animation: modalIn 0.28s var(--ease) both;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.case-panel > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.case-modal-copy {
  padding: 52px 46px 42px;
}

.case-modal-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(30px, 3vw, 44px);
}

.case-modal-copy strong {
  display: block;
  margin-bottom: 20px;
  color: #52ad00;
  font-size: 20px;
  line-height: 1.35;
}

.case-modal-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.case-modal-copy .btn {
  margin-top: 8px;
}

.quiz-popup-panel {
  width: min(100%, 860px);
  overflow: visible;
  padding-top: 58px;
  background: transparent;
  box-shadow: none;
}

.quiz-popup-panel .modal-close {
  top: 0;
  right: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.popup-card {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  border-radius: 14px;
}

.popup-card .quiz-title h2 {
  font-size: 30px;
}

/* Animations */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes overlayFade {
  from {
    background: rgba(12, 13, 12, 0);
  }

  to {
    background: rgba(12, 13, 12, 0.72);
  }
}

@keyframes slowDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes softPulse {
  from {
    background: rgba(118, 255, 3, 0.08);
  }

  to {
    background: transparent;
  }
}

.reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Hamburger & Mobile Nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.14);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.26s var(--ease), opacity 0.26s ease, width 0.26s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  z-index: 90;
  inset: 64px 0 0;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 36px;
  background: rgba(10, 11, 10, 0.97);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-overlay nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav-link {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, padding-left 0.22s var(--ease);
}

.mobile-nav-link:hover {
  color: var(--lime);
  padding-left: 10px;
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 28px;
  justify-content: center;
  font-size: 15px;
}

@media (min-width: 761px) {
  .mobile-nav-overlay {
    display: none;
  }
}

/* Tablet */

@media (max-width: 1180px) {
  .wrap {
    width: min(calc(100% - 40px), var(--container));
  }

  .topbar {
    padding-inline: 24px;
  }

  .hero-grid {
    padding-inline-start: 24px;
  }

  .timer {
    right: 16px;
  }

  .tariffs,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .review-grid h2 {
    grid-column: 1 / -1;
  }

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

  .audit-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 100dvh;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(16,17,15,0.35) 0%, rgba(16,17,15,0.1) 40%, rgba(16,17,15,0.75) 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0;
    align-items: start;
    align-content: start;
    padding-inline: 20px;
  }

  .hero-copy {
    padding-block: clamp(84px, 11vh, 110px) 18px;
  }

  .hero-media {
    align-self: stretch;
    min-height: 180px;
    margin-inline: -20px;
  }

  .hero-media::before {
    background: linear-gradient(0deg, #10110f 0%, rgba(16, 17, 15, 0) 52%);
  }

  .quiz-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 26px;
  }

  .quiz-title h2 {
    font-size: 28px;
  }

  .quiz-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .arrows {
    justify-content: flex-start;
  }

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

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

  .benefit-grid article {
    min-height: auto;
    padding: 24px 20px 24px 62px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .benefit-grid article:first-child {
    border-top: 0;
  }

  .benefit-grid .num {
    left: 14px;
  }

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

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

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

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

  .case-panel > img {
    min-height: 260px;
    max-height: 360px;
  }

  .case-modal-copy {
    padding: 34px 28px 30px;
  }

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

/* Mobile */

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 32px), var(--container));
  }

  .topbar {
    min-height: 64px;
    gap: 10px;
    padding-inline: 16px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    order: 3; /* after brand and nav, before cta */
    margin-left: auto;
  }

  .nav-cta {
    order: 4;
    min-height: 42px;
    gap: 8px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 950;
  }

  .nav-cta b {
    width: 22px;
    height: 22px;
  }

  .brand {
    font-size: 19px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.12;
  }

  .hero {
    min-height: 100dvh;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    align-content: start;
    height: 100%;
    padding-inline: 16px;
    gap: 0;
  }

  .hero-copy {
    /* нижний отступ резервирует место под таймер, закреплённый внизу,
       чтобы кнопка и иконки на первом экране не перекрывались */
    padding-block: clamp(76px, 14vh, 110px) 96px;
  }

  .hero-media {
    display: none;
  }

  .timer {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    padding: 12px 16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    animation: none;
  }

  .timer small {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .timer strong {
    font-size: 20px;
  }

  .timer span {
    font-size: 9px;
  }

  .pill {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .lead {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .trigger-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .trigger img {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
  }

  .trigger span {
    font-size: 13px;
  }

  .hero-btn {
    width: 100%;
    min-height: 60px;
    padding: 0 16px;
    font-size: 12px;
  }

  .quiz {
    padding-top: 18px;
  }

  .quiz-card {
    padding: 22px 16px;
  }

  .quiz-title h2,
  .popup-card .quiz-title h2 {
    font-size: 22px;
  }

  .arrows .next-text {
    flex: 1;
    min-width: 118px;
  }

  .choices,
  .choices.two {
    grid-template-columns: 1fr;
  }

  .choices span {
    min-height: 52px;
  }

  .about,
  .pricing,
  .cases,
  .reviews {
    padding: 48px 0;
  }

  .about-grid,
  .final-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .danil-card {
    max-width: 100%;
  }

  .tariffs,
  .case-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .tariffs article {
    min-height: auto;
    padding: 24px 22px;
  }

  .section-row {
    display: block;
  }

  .section-row strong {
    display: block;
    margin-top: 10px;
    white-space: normal;
  }

  .review-grid blockquote {
    padding-left: 38px;
  }

  .final {
    padding: 48px 0;
  }

  .final-grid {
    gap: 18px;
  }

  .final h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .audit-card {
    padding: 22px 18px 18px;
    border-radius: 12px;
  }

  .audit-fields {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal {
    padding: 12px;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
    border-radius: 12px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    font-size: 24px;
  }

  .case-panel > img {
    min-height: 220px;
  }

  .case-modal-copy {
    padding: 28px 20px 24px;
  }

  .quiz-popup-panel {
    width: 100%;
    padding-top: 48px;
  }

  .quiz-popup-panel .modal-close {
    top: 0;
    right: 0;
  }

  .popup-card {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 72px);
    padding: 18px 16px 20px;
    gap: 16px;
    border-radius: 12px;
    overflow-y: auto;
  }

  .popup-card .quiz-title h2 {
    font-size: 20px;
  }

  .popup-card .quiz-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .popup-card .stepnum b {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(calc(100% - 24px), var(--container));
  }

  .topbar {
    padding-inline: 12px;
    gap: 8px;
  }

  .nav-cta {
    padding: 0 10px;
    font-size: 11px;
  }

  .nav-cta b {
    width: 20px;
    height: 20px;
  }

  h1 {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  h2 {
    font-size: clamp(20px, 6vw, 26px);
  }

  .hero-grid {
    padding-inline: 12px;
  }

  .trigger-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .trigger span {
    font-size: 12px;
  }

  .audit-btn,
  .submit {
    padding-inline: 14px;
  }

  .case-modal-copy .btn {
    width: 100%;
  }

  .popup-card .quiz-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(calc(100% - 20px), var(--container));
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .hero-grid {
    padding-inline: 12px;
  }

  .timer strong {
    font-size: 18px;
  }

  .timer span {
    font-size: 7.5px;
  }

  .arrows button {
    width: 42px;
    height: 42px;
  }

  .arrows .next-text {
    min-width: 90px;
  }

  .nav-cta b {
    width: 24px;
    height: 24px;
  }
}

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