:root {
  --bg: #07060b;
  --bg-soft: #0e0c14;
  --bg-card: rgba(22, 18, 32, 0.72);
  --bg-card-hover: rgba(32, 24, 46, 0.88);
  --line: rgba(186, 164, 214, 0.16);
  --line-strong: rgba(232, 72, 168, 0.42);
  --text: #f4eef8;
  --muted: #a79bb8;
  --faint: #7d728f;
  --pink: #f0489a;
  --magenta: #d81b70;
  --purple: #8b3dcf;
  --deep: #5a1f96;
  --lavender: #c4b4d8;
  --success: #6ee7b7;
  --grad: linear-gradient(135deg, #ff5eb1 0%, #c44adf 48%, #6d2ad4 100%);
  --grad-soft: linear-gradient(165deg, rgba(240, 72, 154, 0.22), rgba(109, 42, 212, 0.08));
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header-h: 84px;
  --max: 1120px;
  --font-display: Inter, "Segoe UI", sans-serif;
  --font-body: Inter, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(240, 72, 154, 0.22), transparent 55%),
    radial-gradient(720px 480px at 92% 8%, rgba(109, 42, 212, 0.2), transparent 50%),
    radial-gradient(640px 420px at 70% 90%, rgba(88, 30, 140, 0.18), transparent 55%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='140' viewBox='0 0 160 140'%3E%3Cg fill='none' stroke='%23f0489a' stroke-opacity='0.13' stroke-width='0.7'%3E%3Cpath d='M80 8 L152 132 H8 Z'/%3E%3Cpath d='M80 40 L120 110 H40 Z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 10px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--lavender);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 700;
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
}

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

.lead {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(7, 6, 11, 0.55);
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
}

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

.nav a {
  color: var(--lavender);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav .btn-primary {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(216, 27, 112, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: 5.5rem 0 5rem;
  scroll-margin-top: var(--header-h);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.45rem, 5.4vw, 4.15rem);
  line-height: 1.1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy p {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-copy .hero-kicker {
  margin: 0 0 1.55rem;
  color: var(--lavender);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.8rem;
  margin: 0 0 2.4rem;
  padding: 0;
  max-width: 36rem;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding: 0.12rem 0 0.12rem 1.15rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 500;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--grad);
}

.tip-wrap {
  position: relative;
  border-bottom: 1px dashed rgba(240, 72, 154, 0.55);
  cursor: help;
}

.tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.55rem);
  z-index: 4;
  width: max-content;
  max-width: 16rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #16121e;
  color: var(--lavender);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.tip-wrap:hover .tip,
.tip-wrap:focus-visible .tip,
.tip-wrap:focus-within .tip {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0;
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.facet {
  position: absolute;
  inset: 8% 6% 8% 10%;
  background:
    linear-gradient(160deg, rgba(240, 72, 154, 0.28), rgba(109, 42, 212, 0.08) 55%, transparent),
    rgba(16, 12, 24, 0.55);
  border: 1px solid var(--line);
  clip-path: polygon(50% 0%, 100% 28%, 82% 100%, 18% 100%, 0% 28%);
  box-shadow: var(--shadow);
}

.facet::after {
  content: "";
  position: absolute;
  inset: 12%;
  clip-path: polygon(50% 6%, 90% 32%, 76% 92%, 24% 92%, 10% 32%);
  background: var(--grad);
  opacity: 0.88;
  filter: saturate(1.1);
}

.orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(196, 180, 216, 0.18);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: rgba(12, 10, 18, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.chip b {
  font-weight: 700;
  color: #ff8ec4;
}

.chip-1 { top: 8%; left: 0; }
.chip-2 { top: 42%; right: -4%; }
.chip-3 { bottom: 10%; left: 8%; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.stat span {
  color: var(--faint);
  font-size: 0.88rem;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 28rem);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.cards-4,
.cards-why,
.cards-2 {
  display: grid;
  gap: 1.1rem;
}

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

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

.cards-2 {
  grid-template-columns: 1.15fr 0.85fr;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}

.icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: #ff9ac8;
}

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

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.work {
  display: grid;
  grid-template-rows: 148px 1fr;
  overflow: hidden;
  text-decoration: none;
  min-height: 100%;
}

.work-logo {
  display: grid;
  place-items: center;
  background: #050508;
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 1.6rem;
}

.work-logo.light {
  background: #f6f3ee;
}

.work-logo img {
  max-height: 84px;
  width: auto;
  max-width: min(82%, 280px);
  object-fit: contain;
}

.work-logo img.round {
  width: 84px;
  height: 84px;
  max-height: none;
  border-radius: 22px;
}

.work-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--lavender);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work p {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.work-link {
  color: #ff8ec4;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.work-link:hover,
.work-link:focus-visible {
  text-decoration: underline;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 0.2rem 1.1rem;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  font-family: var(--font-display);
}

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

details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
}

.contact-item {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.contact-item span {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-item strong {
  font-weight: 600;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--lavender);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 6, 11, 0.55);
  padding: 0.8rem 0.95rem;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(240, 72, 154, 0.18);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.form-status {
  min-height: 1.3rem;
  margin: 0;
  color: var(--success);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 0.8rem;
}

.footer-brand p,
.legal p {
  margin: 0 0 0.45rem;
}

.footer-col h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lavender);
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 0.35rem;
  color: var(--muted);
  text-decoration: none;
}

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

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.page-hero {
  padding: 4rem 0 2rem;
}

.prose {
  max-width: 46rem;
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .cards-4,
  .cards-why,
  .cards-2,
  .works,
  .steps,
  .contact-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-art {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    background: rgba(7, 6, 11, 0.96);
    border-bottom: 1px solid var(--line);
  }

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

  .nav a,
  .nav .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 0.5rem;
  }

  .hero-grid,
  .section-head,
  .cards-4,
  .cards-why,
  .cards-2,
  .works,
  .steps,
  .contact-grid,
  .footer-grid,
  .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
    padding: 3.2rem 0 3.8rem;
  }

  .hero-art {
    min-height: 280px;
  }

  .section {
    padding: 3.6rem 0;
  }
}

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

  .orbit,
  .btn,
  .card,
  .work {
    animation: none !important;
    transition: none !important;
  }
}

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

::selection {
  background: rgba(240, 72, 154, 0.35);
}
