:root {
  --magenta: #cf15bb;
  --magenta-dark: #a81097;
  --magenta-soft: #fbeef9;
  --navy: #14162b;
  --navy-soft: #1f2240;
  --text: #2a2d45;
  --muted: #5d6079;
  --line: #e6e6ee;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--magenta);
}

a:hover {
  color: var(--magenta-dark);
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

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

.logo img {
  display: block;
  height: 46px;
  width: auto;
}

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

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--magenta);
  background: var(--magenta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.btn-ghost:hover {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.nav .btn {
  padding: 9px 20px;
  color: #fff;
}

.nav .btn:hover {
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--navy);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 22, 43, 0.78) 0%, rgba(20, 22, 43, 0.45) 55%, rgba(20, 22, 43, 0.1) 100%),
    linear-gradient(0deg, rgba(20, 22, 43, 0.55) 0%, rgba(20, 22, 43, 0) 45%);
}

.hero-inner {
  max-width: 720px;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(20, 22, 43, 0.35);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--magenta-soft);
  color: var(--magenta-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(20, 22, 43, 0.4);
}

.hero h1 em {
  font-style: normal;
  color: #f27de4;
}

.hero .lead {
  color: #e4e5f1;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero .facts {
  color: #e4e5f1;
}

.hero .facts svg {
  color: #f27de4;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.facts svg {
  width: 18px;
  height: 18px;
  color: var(--magenta);
  flex: none;
}

/* Sections */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

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

.card-note {
  grid-column: span 2;
}

.card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--magenta-soft);
  color: var(--magenta);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.card-note {
  background: var(--navy);
  border-color: var(--navy);
}

.card-note h3 {
  color: #fff;
}

.card-note p {
  color: #c9cbe0;
}

.card-note .icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 20px;
  border-top: 3px solid var(--magenta);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

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

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

/* Why */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split h2 + p {
  margin-bottom: 28px;
}

.after-checks {
  margin: 32px 0 0;
}

.checks {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
}

.checks svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
}

.checks strong {
  display: block;
  color: var(--navy);
}

.checks span {
  color: var(--muted);
}

/* Contact */

.contact {
  background:
    radial-gradient(50% 80% at 100% 100%, rgba(207, 21, 187, 0.28) 0%, rgba(207, 21, 187, 0) 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(91, 96, 180, 0.22) 0%, rgba(91, 96, 180, 0) 70%),
    var(--navy);
  color: #c9cbe0;
}

.contact h2 {
  color: #fff;
}

.contact .section-head p {
  color: #c9cbe0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-grid-2 {
  max-width: 760px;
}

.contact-item {
  display: block;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(31, 34, 64, 0.82);
  color: #c9cbe0;
  text-decoration: none;
  font-style: normal;
}

a.contact-item {
  transition: border-color 0.15s, transform 0.15s;
}

a.contact-item:hover {
  border-color: var(--magenta);
  color: #c9cbe0;
  transform: translateY(-2px);
}

.contact-item .label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e78fdc;
}

.contact-item .value {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9da0bd;
  font-size: 0.92rem;
  padding: 26px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer a {
  color: #c9cbe0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer .link-button {
  color: #c9cbe0;
}

.site-footer .link-button:hover {
  color: #fff;
}

.prose .link-button {
  color: var(--magenta);
}

/* Cookie consent */

.consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  width: min(420px, calc(100% - 32px));
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -16px rgba(20, 22, 43, 0.4);
  font-size: 0.95rem;
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0 0 16px;
}

.consent strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.consent .btn {
  padding: 11px 16px;
}

/* Text page (privacy) */

.prose {
  max-width: 760px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.prose h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose .meta {
  color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
    .cards,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 0;
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(20, 22, 43, 0.8), rgba(20, 22, 43, 0.55));
  }

  .split-steps .steps {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .card-note {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav li a:not(.btn) {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .btn {
    margin-top: 16px;
    padding: 13px 24px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .nav {
    padding: 8px 16px 20px;
  }

  .actions .btn {
    width: 100%;
  }
}

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

  .btn,
  a.contact-item {
    transition: none;
  }
}
