:root {
  --bg: #070707;
  --panel: #111111;
  --panel-soft: #151515;
  --card: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #b0b6c3;
  --muted-soft: #7e8593;
  --accent: #8ed63a;
  --radius: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(0, 0, 0, 0.85) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  cursor: default;
}

body,
.lead-modal__dialog,
.lead-modal__content {
  scrollbar-color: rgba(0, 0, 0, 0.85) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.lead-modal__dialog::-webkit-scrollbar,
.lead-modal__content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.lead-modal__dialog::-webkit-scrollbar-track,
.lead-modal__content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.lead-modal__dialog::-webkit-scrollbar-thumb,
.lead-modal__content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.85);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.lead-modal__dialog::-webkit-scrollbar-thumb:hover,
.lead-modal__content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.95);
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
.lead-modal__dialog::-webkit-scrollbar-button,
.lead-modal__content::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  overflow: hidden;
}

.mobile-phone-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(142, 214, 58, 0.32);
  border-radius: 50%;
  background: rgba(142, 214, 58, 0.96);
  color: #101010;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-phone-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-phone-cta__icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.mobile-phone-cta__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 22px 0 34px;
  background: #070707;
}

.hero .container {
  overflow: hidden;
  padding: 22px 22px 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, #111111 0%, #0b0b0b 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr);
  align-items: stretch;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav__links {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.site-nav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #cfd5df;
  font-size: 12px;
  font-weight: 600;
  transition: 0.2s ease;
  white-space: nowrap;
}

.site-nav__links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav__links a {
  min-height: 100%;
}

.hero__badge,
.hero__person {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hero__badge {
  width: 100%;
  padding: 11px 15px;
  border-radius: 999px;
  color: #d9deea;
  font-size: 13px;
  white-space: nowrap;
}

.hero__person {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  align-self: center;
  padding: 13px 16px;
  border-radius: 20px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.hero__person strong {
  color: var(--text);
  font-size: 15px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(360px, 0.95fr);
  gap: 0;
  align-items: stretch;
  min-height: 500px;
  margin-top: 18px;
  margin-right: -22px;
  background-image: url("./note_metrica_dark.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 8px 16px;
  margin-right: -80px;
}

.hero__copy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  right: -48px;
  background:
    radial-gradient(circle at 14% 50%, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.72) 34%, rgba(8, 8, 8, 0.38) 64%, rgba(8, 8, 8, 0) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.74) 40%, rgba(8, 8, 8, 0.32) 72%, rgba(8, 8, 8, 0) 100%);
  filter: blur(18px);
  z-index: -1;
}

.hero__copy h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero__copy h1 span {
  color: var(--accent);
}

.hero__lead {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

a[href],
button,
input,
textarea {
  cursor: pointer;
}

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

.button--primary {
  background: var(--accent);
  color: #101010;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--text);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.button--full {
  width: 100%;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.feature {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.02);
}

.feature__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.feature p {
  margin: 0;
  color: #b7bdc8;
  font-size: 11px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  min-height: 30px;
  text-align: left;
}

.hero__visual {
  min-height: 100%;
}

.pain-section {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 12px;
  padding: 18px 0 20px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.pain-section__title {
  padding: 18px 8px 18px 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

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

.pain-card {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #171717;
  color: #c6cbd5;
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding: 64px 0;
}

.section--dark {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

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

.eyebrow {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section__head h2,
.info-card h2,
.contact-card h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section__head p,
.contact-card p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.cases {
  display: grid;
  gap: 24px;
}

.case-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.case-card__tag {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(142, 214, 58, 0.2);
  border-radius: 999px;
  background: rgba(142, 214, 58, 0.1);
  color: #a7eb52;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 20px 0 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.metrics {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr);
  gap: 16px;
  margin-top: 24px;
}

.metric {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.metric:first-child {
  grid-column: 1 / -1;
}

.metric--half {
  grid-column: span 1;
}

.metric__title {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.metric__value {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric__value--accent {
  color: var(--accent);
}

.case-card__text {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0b0b0b;
  color: #c4cad3;
  font-size: 16px;
  line-height: 1.9;
}

.case-detail + .case-detail {
  margin-top: 22px;
}

.case-detail__title {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-detail p {
  margin: 0;
}

.case-detail__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-detail__list li {
  position: relative;
  padding-left: 20px;
}

.case-detail__list li + li {
  margin-top: 8px;
}

.case-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

.info-card,
.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
}

.info-card {
  background: #0b0b0b;
}

.info-card__lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.list,
.steps,
.contact-links {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.list-item,
.step,
.contact-links a {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.list-item {
  position: relative;
  padding: 18px 20px 18px 38px;
  color: #c7ccd6;
  font-size: 15px;
  line-height: 1.8;
}

.list-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.step {
  display: flex;
  gap: 16px;
  padding: 16px;
    align-items: center;
}

.step span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #111111;
  font-size: 14px;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: #c7ccd6;
  font-size: 15px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
}

.contact-card--primary {
  background: linear-gradient(180deg, #101010, #090909);
}

.contact-links a {
  display: block;
  padding: 20px;
    user-select: text;
    -webkit-user-select: text;
    -webkit-user-drag: none;
}

.contact-links span {
  display: block;
  color: var(--muted-soft);
  font-size: 14px;
}

.contact-links strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #0d0d0d;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #737a88;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(142, 214, 58, 0.12);
}

.contact-form textarea {
  resize: none;
  min-height: 140px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.consent a,
.site-footer__link,
.privacy-text a {
  color: #b9cdf9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 24px;
  margin: 2px 0 0;
  color: #a7eb52;
  font-size: 14px;
  line-height: 1.6;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(12px);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(86vh, 820px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.lead-modal__content {
  max-height: min(86vh, 820px);
  padding: 28px;
  overflow-y: auto;
}

.lead-modal__dialog h2 {
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead-modal__dialog p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.contact-form--modal {
  margin-top: 22px;
}

.site-footer {
  padding: 0 0 36px;
}

.site-footer .container {
  display: flex;
  justify-content: center;
}

.site-footer__link {
  color: var(--muted);
  font-size: 14px;
}

.privacy-page {
  padding: 22px 0 52px;
}

.privacy-page .container {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, #111111 0%, #0b0b0b 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.privacy-layout {
  padding-top: 28px;
}

.privacy-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.025);
}

.privacy-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.privacy-text {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.privacy-text p {
  margin: 0 0 18px;
}

.privacy-text ol {
  margin: 0;
  padding-left: 22px;
}

.privacy-text li + li {
  margin-top: 18px;
}

@media (max-width: 1120px) {
  .pain-section,
  .case-card,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-right: 0;
    padding: 28px 0 24px;
    background-size: cover;
    background-position: right center;
  }

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

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

  .site-nav {
    grid-template-columns: minmax(240px, auto) 1fr;
    align-items: center;
  }

  .hero__copy {
    margin-right: 0;
    padding: 10px 0 8px;
  }

  .hero__visual {
    display: none;
  }

  .pain-section__title {
    padding: 4px 0 10px;
    text-align: center;
  }

  .pain-card {
    min-height: 50px;
    padding: 6px 12px;
  }
}

@media (max-width: 840px) {
  .section__head {
    align-items: start;
    flex-direction: column;
  }

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

  .metric:first-child,
  .metric--half {
    grid-column: auto;
  }

  .pain-section__title {
    font-size: 32px;
  }
}

@media (max-width: 690px) {
  .site-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__person {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .site-nav__links {
    width: 100%;
    justify-content: stretch;
  }

  .site-nav__links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero__content {
    padding: 20px 0 18px;
    background-size: cover;
    background-position: 72% top;
  }

  .hero__copy::before {
    left: -10px;
    right: -14px;
  }

  .pain-section__title {
    text-align: center;
    font-size: 28px;
  }

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

  .pain-card {
    min-height: 64px;
    padding: 4px 12px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero .container {
    padding: 18px 18px 0;
  }

  .hero__badge,
  .hero__person {
    width: 100%;
    border-radius: 18px;
  }

  .hero__copy h1 {
    font-size: 38px;
  }

  .hero__lead,
  .section__head p,
  .contact-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero__actions,
  .button,
  .button--ghost,
  .button--primary {
    width: 100%;
  }

  .hero__content {
    padding: 18px 0 14px;
    background-position: 74% top;
  }

  .hero__copy::before {
    left: -12px;
    right: -18px;
  }

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

  .section {
    padding: 52px 0;
  }

  .case-card,
  .info-card,
  .contact-card {
    padding: 24px;
  }

  .case-card h3 {
    font-size: 28px;
  }

  .pain-section__title {
    padding: 8px 0;
    font-size: 28px;
    text-align: center;
  }

  .contact-links strong {
    font-size: 18px;
  }

  .metric__value {
    font-size: 22px;
  }

  .lead-modal {
    align-items: center;
    padding: 12px;
  }

  .lead-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 24px;
  }

  .lead-modal__content {
    max-height: calc(100vh - 24px);
    padding: 22px 18px 18px;
  }

  .privacy-card {
    padding: 24px;
  }
}
