:root {
  --font-main: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", "Georgia", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --color-bg: #0f1026;
  --color-bg-soft: #171934;
  --color-surface: rgba(255, 255, 255, 0.08);
  --color-surface-strong: rgba(255, 255, 255, 0.13);
  --color-card: #ffffff;
  --color-card-muted: #f7f3ff;
  --color-text: #eef0ff;
  --color-text-dark: #20223f;
  --color-muted: #b9bddf;
  --color-muted-dark: #606584;
  --color-primary: #ff6fb1;
  --color-primary-dark: #d94e92;
  --color-secondary: #7c5cff;
  --color-accent: #58e6d9;
  --color-warm: #ffd166;
  --color-line: rgba(255, 255, 255, 0.16);
  --color-line-dark: rgba(32, 34, 63, 0.13);
  --color-link: #ff91c7;
  --color-heading: #ffffff;
  --color-heading-dark: #191b36;

  --shadow-soft: 0 24px 80px rgba(6, 8, 30, 0.34);
  --shadow-card: 0 18px 48px rgba(30, 27, 75, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --section-gap: clamp(56px, 8vw, 104px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 111, 177, 0.32), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(88, 230, 217, 0.22), transparent 30%),
    linear-gradient(135deg, #0f1026 0%, #171934 42%, #24143a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 70%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.05), transparent 38%, rgba(255,111,177,0.06));
  z-index: -1;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--color-text-dark);
  background: var(--color-accent);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--color-line);
  background: rgba(15, 16, 38, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 30px rgba(255, 111, 177, 0.28);
}

.logo-mark img {
  width: 25px;
  height: 25px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--color-muted);
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-heading);
  background: var(--color-surface);
}

.header-action {
  flex-shrink: 0;
}

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 16px 34px rgba(255, 111, 177, 0.25);
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(124, 92, 255, 0.28);
}

.button.secondary {
  color: var(--color-heading);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: none;
}

.button.light {
  color: var(--color-text-dark);
  background: #fff;
  box-shadow: 0 18px 38px rgba(30, 27, 75, 0.14);
}

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0 var(--section-gap);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--color-accent);
  border: 1px solid rgba(88, 230, 217, 0.32);
  border-radius: 999px;
  background: rgba(88, 230, 217, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  color: var(--color-heading);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 870px;
  font-size: clamp(2.45rem, 6.2vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 18px;
}

.lead {
  max-width: 720px;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hero-note span {
  padding: 8px 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.visual-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  box-shadow: var(--shadow-soft);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 18px auto auto -18px;
  width: 72px;
  height: 72px;
  border-radius: 28px;
  background: var(--color-accent);
  filter: blur(26px);
  opacity: 0.38;
}

.visual-card img {
  position: relative;
  border-radius: 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section.light {
  color: var(--color-text-dark);
  background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
}

.section.light h2,
.section.light h3,
.section.light h4 {
  color: var(--color-heading-dark);
}

.section.light .lead,
.section.light p,
.section.light li {
  color: var(--color-muted-dark);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head .lead {
  max-width: 560px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 16px 44px rgba(4, 6, 24, 0.12);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -32px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 177, 0.22), transparent 70%);
}

.card.light-card {
  border-color: var(--color-line-dark);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.card p,
.card li {
  color: var(--color-muted);
}

.light .card p,
.light .card li {
  color: var(--color-muted-dark);
}

.icon-badge {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,111,177,0.18), rgba(124,92,255,0.18));
}

.icon-badge img {
  width: 27px;
  height: 27px;
}

.ribbon {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--color-text-dark);
  border-radius: 999px;
  background: var(--color-warm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.feature-list,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 0 0 5px rgba(255, 111, 177, 0.12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.panel {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
}

.light .panel {
  border-color: var(--color-line-dark);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.quote-box {
  padding: 28px;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 111, 177, 0.09);
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 76px;
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  font-weight: 900;
}

.cta-band {
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(88,230,217,0.2), transparent 30%),
    linear-gradient(135deg, rgba(255,111,177,0.22), rgba(124,92,255,0.2));
  box-shadow: var(--shadow-soft);
}

.cta-band.light-cta {
  color: var(--color-text-dark);
  border-color: var(--color-line-dark);
  background:
    radial-gradient(circle at 82% 18%, rgba(88,230,217,0.22), transparent 28%),
    linear-gradient(135deg, #fff0f8, #f0edff);
}

.cta-band.light-cta h2,
.cta-band.light-cta h3 {
  color: var(--color-heading-dark);
}

.cta-band.light-cta p {
  color: var(--color-muted-dark);
}

.breadcrumbs {
  padding-top: 28px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255,255,255,0.45);
}

.page-hero {
  padding: 54px 0 var(--section-gap);
}

.page-hero .lead {
  max-width: 810px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.kpi {
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
}

.kpi strong {
  display: block;
  color: var(--color-heading);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
}

.kpi span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--color-text-dark);
  min-width: 720px;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--color-line-dark);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-heading-dark);
  background: #f8f5ff;
}

tr:last-child td {
  border-bottom: 0;
}

.faq details {
  padding: 22px 24px;
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.faq details + details {
  margin-top: 14px;
}

.faq summary {
  color: var(--color-heading-dark);
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-top: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--color-heading-dark);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  color: var(--color-text-dark);
  border: 1px solid rgba(32, 34, 63, 0.18);
  border-radius: 16px;
  background: #fff;
  font: inherit;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(88, 230, 217, 0.25);
  border-color: var(--color-accent);
}

.site-footer {
  padding: 46px 0 34px;
  border-top: 1px solid var(--color-line);
  background: rgba(7, 8, 22, 0.42);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(170px, 0.4fr));
  gap: 28px;
}

.footer-title {
  color: var(--color-heading);
  font-weight: 900;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  font-size: 0.92rem;
}

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

.light .text-muted {
  color: var(--color-muted-dark);
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-list {
    flex-wrap: wrap;
  }

  .header-action {
    display: none;
  }

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

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: static;
  }

  .nav-list a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero,
  .page-hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.35rem);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .kpi-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .card,
  .panel,
  .timeline-item,
  .cta-band {
    padding: 22px;
    border-radius: 22px;
  }

  .timeline-item {
    padding-left: 24px;
    padding-top: 74px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
