:root {
  --bg: #07080c;
  --bg-deep: #0f1118;
  --surface: rgba(18, 19, 27, 0.78);
  --surface-strong: rgba(24, 25, 35, 0.92);
  --text: #f6f7fb;
  --text-muted: #d0d4de;
  --text-soft: #99a0b1;
  --primary: #bb3652;
  --primary-dark: #64182a;
  --primary-light: #f08aa0;
  --success: #58d68d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(240, 138, 160, 0.22);
  --gradient-primary: linear-gradient(135deg, #bb3652 0%, #64182a 100%);
  --gradient-panel: linear-gradient(145deg, rgba(22, 23, 33, 0.96), rgba(9, 10, 15, 0.98));
  --gradient-page: linear-gradient(180deg, #07080c 0%, #0f1118 46%, #090a0f 100%);
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.38);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --measure: 64ch;
  --measure-narrow: 58ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  background: var(--gradient-page);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 15% 18%, rgba(187, 54, 82, 0.16), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(100, 24, 42, 0.18), transparent 24%),
    radial-gradient(circle at 55% 100%, rgba(240, 138, 160, 0.08), transparent 38%);
}

body::after {
  background:
    radial-gradient(circle at var(--mx, 78%) var(--my, 12%), rgba(240, 138, 160, 0.12), transparent 18%),
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.018), transparent 44%);
}

body.is-loading {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: rgba(187, 54, 82, 0.45);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #090a0e;
}

::-webkit-scrollbar-thumb {
  background: rgba(187, 54, 82, 0.6);
  border-radius: 999px;
}

a {
  color: var(--text);
  text-decoration: none;
}

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

main {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(1180px, 91vw);
  margin: 0 auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top, rgba(187, 54, 82, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.98), rgba(7, 8, 12, 0.99));
  transition: opacity 320ms ease, visibility 320ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-shell {
  display: grid;
  place-items: center;
  gap: 1rem;
  width: min(440px, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(19, 20, 29, 0.92), rgba(8, 9, 13, 0.96));
  box-shadow: var(--shadow-xl);
}

.loader-logo {
  width: min(250px, 72vw);
}

.loader-mark {
  width: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary-light);
  border-right-color: var(--primary);
  animation: spin 900ms linear infinite;
}

.page-loader p {
  margin: 0;
  color: var(--text-muted);
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cursor-shadow {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 72px;
  height: 72px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease, width 260ms var(--ease-out), height 260ms var(--ease-out);
}

.cursor-shadow__ring,
.cursor-shadow__dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.cursor-shadow__ring {
  background: radial-gradient(circle at center, rgba(14, 3, 6, 0.3) 0%, rgba(14, 3, 6, 0.18) 48%, rgba(14, 3, 6, 0) 74%);
  border: 1px solid rgba(105, 21, 39, 0.36);
  box-shadow: 0 0 0 1px rgba(187, 54, 82, 0.05), 0 0 28px rgba(60, 12, 22, 0.22);
}

.cursor-shadow__dot {
  inset: 50% auto auto 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: #bb3652;
  box-shadow: 0 0 18px rgba(187, 54, 82, 0.48);
}

.cursor-shadow.is-visible {
  opacity: 1;
}

.cursor-shadow.is-active {
  width: 86px;
  height: 86px;
}

.cursor-shadow.is-pressed {
  width: 62px;
  height: 62px;
}

.cursor-shadow.is-suspended {
  opacity: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 12, 0.4);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 8, 12, 0.88);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(180px, 18vw, 232px);
  filter: drop-shadow(0 0 18px rgba(240, 138, 160, 0.16));
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.78rem 1rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0.72rem 0.92rem;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav .is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav .btn {
  margin-left: 0.35rem;
}

.site-nav .btn-primary,
.site-nav .btn-primary:hover {
  color: #fff;
  background: var(--gradient-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.88rem 1.28rem;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 16px 38px rgba(187, 54, 82, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(187, 54, 82, 0.4);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.section-hero {
  padding-top: clamp(5.25rem, 9vw, 7rem);
}

.page-hero {
  padding-bottom: 2.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--primary-light);
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 138, 160, 0.9), transparent);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 4.9vw, 4.7rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.lead {
  max-width: var(--measure-narrow);
  color: #dde1ea;
  font-size: clamp(1.05rem, 1.35vw, 1.14rem);
  line-height: 1.82;
}

.small {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.6rem;
}

.section-head h2 {
  max-width: 14ch;
}

.section-head p,
.hero-copy p,
.page-hero-grid > div:first-child p,
.split-panel > div:first-child p {
  max-width: var(--measure);
}

.hero-shell,
.page-hero-shell,
.split-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--gradient-panel);
  box-shadow: var(--shadow-xl);
}

.hero-shell::before,
.page-hero-shell::before,
.split-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(187, 54, 82, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(100, 24, 42, 0.28), transparent 28%);
  pointer-events: none;
}

.hero-shell::after,
.page-hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 84%);
  opacity: 0.26;
  pointer-events: none;
}

.hero-grid,
.page-hero-grid,
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.9rem;
  align-items: start;
  padding: clamp(1.9rem, 4vw, 3.25rem);
}

.hero-copy h1,
.page-hero-grid h1 {
  max-width: 11ch;
  margin-bottom: 1.15rem;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.82rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(187, 54, 82, 0.12);
  color: #f8c4cf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag {
  font-family: "Syne", "Manrope", sans-serif;
}

.hero-side,
.info-stack,
.contact-methods {
  display: grid;
  gap: 1.15rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card,
.panel,
.glass-card,
.mini-stat,
.metric-card,
.contact-method,
form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem;
}

.card::before,
.panel::before,
.glass-card::before,
.mini-stat::before,
.metric-card::before,
.contact-method::before,
form::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 138, 160, 0.9), transparent 72%);
  opacity: 0.7;
}

.panel,
.glass-card,
.contact-method {
  background: var(--surface-strong);
}

.card,
.panel,
.glass-card,
.mini-stat,
.metric-card,
.contact-method {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.panel:hover,
.glass-card:hover,
.mini-stat:hover,
.metric-card:hover,
.contact-method:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 138, 160, 0.3);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
}

.card > *:last-child,
.panel > *:last-child,
.glass-card > *:last-child,
.mini-stat > *:last-child,
.metric-card > *:last-child,
.contact-method > *:last-child,
form > *:last-child {
  margin-bottom: 0;
}

.float-card {
  animation: float 8s ease-in-out infinite;
}

.card-index {
  margin-bottom: 0.9rem;
  color: var(--primary-light);
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card h3,
.panel h3,
.glass-card h3,
.metric-card h3,
.mini-stat h3,
.contact-method h3 {
  margin-bottom: 0.75rem;
}

.card p,
.panel p,
.glass-card p,
.metric-card p,
.mini-stat p,
.contact-method p {
  font-size: 0.98rem;
  line-height: 1.74;
}

.metric-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-row strong {
  display: block;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.98rem;
}

.metric-row span {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 24ch;
  text-align: right;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.mini-stat span {
  display: block;
  color: var(--text-soft);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-stat strong,
.metric-card strong,
.contact-method h3 {
  display: block;
  margin: 0.35rem 0 0.45rem;
}

.mini-stat strong,
.metric-card strong {
  color: var(--primary-light);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.08;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.9rem;
  padding: clamp(1.9rem, 4vw, 3rem);
}

.highlight {
  border-left: 2px solid var(--primary);
  padding-left: 1rem;
  color: var(--text);
  line-height: 1.82;
}

.process-list,
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list {
  counter-reset: step;
  display: grid;
  gap: 1.15rem;
}

.process-list li {
  position: relative;
  min-height: 2.25rem;
  padding-left: 3rem;
  color: var(--text-muted);
  line-height: 1.74;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(187, 54, 82, 0.14);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 0.72rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 14px rgba(240, 138, 160, 0.4);
}

.contact-method p {
  margin: 0.32rem 0;
}

.contact-method h3 a {
  color: var(--text);
}

.contact-method a:hover {
  color: var(--primary-light);
}

form {
  background: linear-gradient(160deg, rgba(20, 21, 31, 0.92), rgba(11, 12, 18, 0.96));
}

.contact-form {
  background:
    radial-gradient(circle at top right, rgba(187, 54, 82, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(20, 21, 31, 0.94), rgba(10, 11, 16, 0.98));
}

.contact-form .btn-primary {
  width: 100%;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

input::placeholder,
textarea::placeholder,
select:invalid {
  color: rgba(255, 255, 255, 0.4);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(240, 138, 160, 0.72);
  background: rgba(187, 54, 82, 0.06);
  box-shadow: 0 0 0 4px rgba(187, 54, 82, 0.14);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.compact-grid {
  gap: 0.75rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
}

.flash {
  margin-bottom: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.flash-success {
  border: 1px solid rgba(88, 214, 141, 0.32);
  background: rgba(88, 214, 141, 0.12);
}

.flash-error {
  border: 1px solid rgba(255, 124, 124, 0.32);
  background: rgba(255, 124, 124, 0.1);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 9, 13, 0.94);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 1.25rem;
  padding: 2.5rem 0 1.8rem;
}

.footer-logo {
  width: clamp(190px, 19vw, 240px);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 18px rgba(240, 138, 160, 0.15));
}

.footer-grid h3 {
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-grid a {
  color: var(--text-muted);
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.35rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.is-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

@media (max-width: 1100px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid,
  .page-hero-grid,
  .split-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(9, 10, 15, 0.98);
    box-shadow: var(--shadow-xl);
  }

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

  .site-nav a,
  .site-nav .btn {
    margin: 0;
  }

  .site-nav .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .hero-stat-grid,
  .compact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cursor-shadow {
    display: block;
  }

  body.has-cursor-shadow,
  body.has-cursor-shadow a,
  body.has-cursor-shadow button,
  body.has-cursor-shadow .btn,
  body.has-cursor-shadow .menu-toggle,
  body.has-cursor-shadow [role="button"],
  body.has-cursor-shadow summary,
  body.has-cursor-shadow label {
    cursor: none;
  }

  body.has-cursor-shadow input,
  body.has-cursor-shadow textarea,
  body.has-cursor-shadow select,
  body.has-cursor-shadow option,
  body.has-cursor-shadow [contenteditable="true"] {
    cursor: text;
  }
}
