:root {
  --background: #0a0a0a;
  --foreground: #f4f4f5;
  --primary: #ff4f93;
  --primary-foreground: #ffffff;
  --muted: #141414;
  --muted-foreground: #c4c4cc;
  --border: #2a2a2a;
  --card: #141414;
  --radius: 0.5rem;
  color-scheme: dark;
  font-family: Raleway, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
}
body.site ::selection { background: color-mix(in hsl, var(--primary) 20%, white); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: #0a0a0a;
  color: #fff;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}
.topbar-left, .topbar-right, .menu, .brand, .lang, .logout, .demo, .space {
  display: flex;
  align-items: center;
}
.topbar-left, .topbar-right { gap: 22px; min-width: 0; }
.brand {
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex: none;
}
.brand svg, .menu svg, .logout svg, .sun svg { width: 16px; height: 16px; flex: none; }
.brand svg { width: 20px; height: 20px; }
.menu { gap: 18px; flex-wrap: wrap; }
.menu > a, .drop > a, .logout {
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  gap: 6px;
}
.menu > a:hover, .drop > a:hover, .logout:hover { color: #ffd0e4; }
.drop { position: relative; }
.drop > a svg { width: 12px; height: 12px; opacity: 0.9; }
.drop-panel {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
}
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: grid; }
.drop-panel a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
}
.drop-panel a:hover { background: #222; }
.demo { gap: 6px; }
.demo svg { width: 11px; height: 11px; color: #ff4f93; }
.space { gap: 6px; color: #ff4f93; }
.space svg { color: #ff4f93; }
.lang { gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.lang .sep { color: #6b6b6b; font-weight: 500; }
.lang .on { color: #ff4f93; }
.sun { color: #fff; display: flex; }
.logout svg { width: 16px; height: 16px; }
.topbar form { margin: 0; display: flex; }
.space-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ff4f93;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.space-btn:hover { background: #ff6aa6; }

.hero {
  position: relative;
  padding: 5rem 1rem 4rem;
  text-align: center;
  border-bottom: 1px solid color-mix(in hsl, var(--border) 40%, transparent);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at top, var(--muted), var(--background) 55%);
}
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  margin: 0 auto 1.5rem;
  max-width: 18ch;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pink { color: var(--primary); }
.lede {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.6;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px color-mix(in hsl, var(--primary) 35%, transparent);
}
.btn-primary:hover { transform: scale(1.03); background: #ff6aa6; }
.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border-color: #3a3a3a;
  font-weight: 500;
}
.btn-ghost:hover { background: #1c1c1c; }
.checks {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
}
.checks li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.45rem; border-radius: 99px; background: var(--primary); vertical-align: middle; }

.frame {
  margin: 4rem auto 0;
  max-width: 56rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in hsl, var(--border) 50%, transparent);
  background: color-mix(in hsl, var(--background) 40%, transparent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}
.frame img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.logos {
  padding: 2.5rem 1rem;
  border-bottom: 1px solid color-mix(in hsl, var(--border) 40%, transparent);
  text-align: center;
}
.kicker {
  margin: 0 0 2rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 2.4rem;
  color: var(--muted-foreground);
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0.6;
}
.logo-row span { font-size: 1.15rem; }

.section { padding: 5rem 0; border-bottom: 1px solid color-mix(in hsl, var(--border) 40%, transparent); scroll-margin-top: 5.5rem; }
.story { scroll-margin-top: 5.5rem; }
.section.tint { background: #111111; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.photo {
  aspect-ratio: 1;
  max-width: 24rem;
  margin: 0 auto;
  border-radius: 1rem;
  object-fit: cover;
  border: 1px dashed var(--border);
  background: #111;
}
.pill {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid color-mix(in hsl, var(--primary) 20%, transparent);
  background: rgba(255, 79, 147, 0.12);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.muted { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.6; }
.points { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e4e4e7;
}
.points li::before {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  border-radius: 0.4rem;
  background: #222;
}

.cards, .offers, .stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.card, .offer, .story {
  background: var(--card);
  border: 1px solid color-mix(in hsl, var(--border) 50%, transparent);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover, .offer:hover, .story:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in hsl, var(--primary) 30%, white);
}
.card, .offer { padding: 1.5rem; min-height: 220px; }
.card h3, .offer h3, .story h3 { margin: 0.4rem 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.card p, .offer li, .story p { color: var(--muted-foreground); line-height: 1.55; font-size: 0.95rem; }
.offer .price { margin: 0.2rem 0 0.8rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.offer ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.offer .btn { width: 100%; }
.story img { width: 100%; height: 180px; object-fit: cover; }
.story div { padding: 1.1rem 1.2rem 1.3rem; }
.story span { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }

.faq details { border-top: 1px solid var(--border); padding: 0.95rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted-foreground); line-height: 1.55; }

.lead {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
}
.lead .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
label { display: block; margin-bottom: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--muted-foreground); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #111;
  color: var(--foreground);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  font: inherit;
  font-size: 16px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in hsl, var(--primary) 50%, white);
  border-color: var(--primary);
}
.error { color: hsl(0 72% 51%); margin: 0; }
.ok { color: #8fceab; margin: 0; }

.cta { text-align: center; padding: 5rem 1rem; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  padding: 1.4rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.foot a { color: var(--muted-foreground); text-decoration: none; }
.foot a:hover { color: var(--primary); }

@media (max-width: 980px) {
  .burger { display: flex; }
  .lang, .sun, .topbar form { display: none; }
  .topbar-right { gap: 8px; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px calc(16px + env(safe-area-inset-bottom));
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    max-height: calc(100dvh - 64px);
    overflow: auto;
  }
  .topbar.open .menu { display: flex; }
  .menu > a, .drop > a {
    min-height: 48px;
    padding: 0 8px;
    font-size: 16px;
  }
  .drop-panel {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: transparent;
    border: 0;
  }
  .split, .cards, .offers, .stories, .lead .row2 { grid-template-columns: 1fr; }
  .frame { margin-top: 2rem; }
  .frame img, .story img { aspect-ratio: 16 / 9; height: auto; }
  .hero { padding: 2.5rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
  .actions { flex-direction: column; }
  .actions .btn, .offer .btn, .space-btn { min-height: 44px; }
  .actions .btn { width: min(100%, 320px); }
  .logo-row { gap: 0.8rem 1.2rem; }
  .foot { flex-direction: column; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}
