@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./fonts/unbounded-cyrillic.woff2") format("woff2");
  /* Cyrillic + Cyrillic-ext + common symbols */
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+0490-0491, U+04B0-04B1, U+1C80-1C8A, U+20B4, U+2116, U+2DE0-2DFF, U+A640-A69F;
}

:root {
  --wrap: 1120px;

  --bg: #050814;
  --bg2: #080b16;
  --text: #eef2ff;
  --muted: rgba(238, 242, 255, 0.72);
  --line: rgba(238, 242, 255, 0.14);

  --dark: #07090e;
  --light: #f7f9ff;
  --lightText: #0b1220;
  --lightMuted: rgba(11, 18, 32, 0.62);
  --lightLine: rgba(11, 18, 32, 0.12);

  --a0: #1dcaff;
  --a1: #5b8cff;
  --a2: #35f2c2;

  --radius: 24px;
  --radius2: 18px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }

/* Header removed */

/* Hero: vertical "card-like" first screen (closer to provided mock) */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: auto;
  background:
    radial-gradient(780px 520px at 18% 18%, rgba(255, 255, 255, 0.26), transparent 62%),
    radial-gradient(780px 520px at 82% 24%, rgba(255, 255, 255, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(134, 184, 255, 0.98), rgba(168, 160, 233, 0.98) 46%, rgba(255, 143, 187, 0.98));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 740px at 50% 60%, rgba(0, 0, 0, 0.10), transparent 62%);
  opacity: 1;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 700px at 55% 40%, rgba(255, 255, 255, 0.18), transparent 62%);
  opacity: 0.72;
  pointer-events: none;
}
.hero__stack {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  align-items: start;
}

/* Fixed hero scaling (lock the composition and scale as a single block). */
.heroFixed {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: auto;
  display: grid;
  place-items: start center;
  padding: max(0px, env(safe-area-inset-top)) 0 0;
}
.heroFixed__sizer {
  /* JS writes unitless --hero-scale. */
  --hero-scale: 1;
  --hero-w: 390px;
  --hero-h: 627px;
  width: var(--hero-w);
  height: calc(var(--hero-h) * var(--hero-scale));
}
.heroFixed__canvas {
  width: var(--hero-w);
  height: var(--hero-h);
  transform: translateZ(0) scale(var(--hero-scale));
  transform-origin: top left;
}
.heroFixed__canvas .hero__stack {
  max-width: none;
  margin: 0;
  width: var(--hero-w);
  height: var(--hero-h);
  padding: 0;
  display: block;
  position: relative;
}
.heroFixed__canvas .hero__titleBox {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 354px;
  min-width: 0;
  z-index: 20;
  /* Override the base frosted styles: in the mock it's a flat translucent bar. */
  /* Keep left inset close to the reference. */
  padding: 12px 10px 8px 16px;
  background: rgba(120, 136, 166, 0.34);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.heroFixed__canvas .hero__title {
  /* Match the reference composition (iPhone 12 artboard). */
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.58px;
}
.heroFixed__canvas .hero__subtitle {
  position: absolute;
  left: 18px;
  top: 118px;
  font-size: 18px;
  z-index: 20;
}
.heroFixed__canvas .hero__showcase {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--hero-w);
  height: var(--hero-h);
  /* Reset the base "full-bleed" hack used in the non-fixed hero. */
  right: auto;
  margin-left: 0;
  margin-right: 0;
  display: block;
  overflow: visible;
}
.heroFixed__canvas {
  /* Fixed artboard coordinates (390x627). */
  /* Tuned to match /хиро.png proportions. */
  --showcase-scale: 0.69;
  --deck-x: 28px;
  --deck-y: 167px;
  --heart-back-x: 84px;
  --heart-left1-x: -98px;
  --heart-left2-x: -156px;
  --heart-left3-x: -196px;
  --heart-next-x: 210px;
}
.heroFixed__canvas .heroHearts,
.heroFixed__canvas .hero__overlay {
  position: absolute;
  inset: 0;
}
.heroFixed__canvas .heroHearts {
  display: block;
}
.heroFixed__canvas .heartDeck {
  width: 520px;
  height: 520px;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(var(--deck-x), var(--deck-y)) scale(var(--showcase-scale));
  transform-origin: top left;
}
.heroFixed__canvas .hero__overlay {
  pointer-events: none;
  z-index: 6;
}
.heroFixed__canvas .hero__overlayInner {
  /* Overlay is positioned in the fixed artboard pixel coordinates (390x627). */
  width: var(--hero-w);
  height: var(--hero-h);
  position: absolute;
  inset: 0;
  transform: none;
}
.heroFixed__canvas .hero__who {
  left: 50px;
  top: 418px;
  bottom: auto;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.heroFixed__canvas .hero__name {
  font-size: 46px;
  letter-spacing: -0.55px;
  max-width: 222px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.heroFixed__canvas .hero__city {
  font-size: 18px;
  gap: 8px;
  margin-top: 6px;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.heroFixed__canvas .hero__pin { width: 18px; height: 18px; }
.heroFixed__canvas .heroBtn {
  min-width: 0;
  min-height: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.18px;
  font-size: 15px;
  line-height: 1;
  height: 44px;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: clip;
}
.heroFixed__canvas .hero__cta--wide {
  position: absolute;
  left: 34px;
  bottom: 44px;
  width: 322px;
  display: grid;
  grid-template-columns: 185px 128px;
  gap: 9px;
  z-index: 20;
}
.heroFixed__canvas .hero__age {
  left: 284px;
  top: 395px;
  right: auto;
  bottom: auto;
  width: 67px;
  height: 66px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
}
.heroFixed__canvas .heart[data-pos="back"] { opacity: 0.38; }
.heroFixed__canvas .heart[data-pos="left1"] { opacity: 0.18; }
.heroFixed__canvas .heart[data-pos="left2"] { opacity: 0.08; }
.heroFixed__canvas .heart[data-pos="left3"] { opacity: 0.04; }
.heroFixed__canvas .heart[data-pos="back"] .heart__img { filter: blur(26px) saturate(1.02) contrast(1.02); }
.heroFixed__canvas .heart[data-pos="left1"] .heart__img { filter: blur(30px) saturate(1.02) contrast(1.02); }
.heroFixed__canvas .heart[data-pos="left2"] .heart__img { filter: blur(34px) saturate(1.02) contrast(1.02); }
.heroFixed__canvas .heart[data-pos="left3"] .heart__img { filter: blur(38px) saturate(1.02) contrast(1.02); }
.hero {
  /* desktop defaults; mobile overrides below */
  --heart-back-x: 84px;
  --heart-left1-x: -98px;
  --heart-left2-x: -156px;
  --heart-left3-x: -196px;
  --heart-next-x: 210px;
}
.hero__titleBox {
  display: block;
  width: min(560px, 100%);
  padding: 14px 16px 10px;
  background: rgba(10, 20, 40, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}
.hero__title {
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  margin: 0;
  /* Keep the title inside the viewport across devices (iPhone 12 included). */
  font-size: clamp(44px, 12vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 14px 46px rgba(0, 0, 0, 0.18);
}
.hero__subtitle {
  margin: 0;
  color: rgba(0, 0, 0, 0.82);
  font-weight: 800;
  font-size: 22px;
}

.hero__showcase {
  position: relative;
  /* Full-bleed so side hearts don't clip on wrap width/padding */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
  height: min(520px, 76vh);
  display: grid;
  place-items: center;
}
.hero__showcaseLink {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  z-index: 8;
  /* keeps link clickable but doesn't break layout */
  background: transparent;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  /* Use flex for centering: grid auto-tracks can left-align oversized children. */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__overlayInner {
  position: relative;
  width: min(520px, 96vw);
  height: min(520px, 92vw);
  /* When parent is flex (used in hero v2), don't shrink oversized overlay blocks. */
  flex: 0 0 auto;
}
.hero__who {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #ffffff;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.30);
}
.hero__name {
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.4px;
  font-size: 46px;
  line-height: 1.02;
}
.hero__city {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  opacity: 0.95;
}
.hero__pin {
  width: 22px;
  height: 22px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-4.4 7-11a7 7 0 1 0-14 0c0 6.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='11' r='2.5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-4.4 7-11a7 7 0 1 0-14 0c0 6.6 7 11 7 11z'/%3E%3Ccircle cx='12' cy='11' r='2.5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.92;
}
.hero__age {
  position: absolute;
  right: 18px;
  bottom: 120px;
  padding: 18px 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.26), transparent 52%),
    linear-gradient(135deg, #ff3b2f, #ff0f5b);
  color: #fff;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 46px;
  letter-spacing: -0.8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta--wide {
  /* Use grid so CTAs never overflow horizontally on narrow screens. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.heroBtn {
  flex: 1;
  min-width: 220px;
  height: 74px;
  border-radius: 999px;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  /* Hero buttons should be bold, but not oversized. */
  font-size: clamp(16px, 3.2vw, 22px);
  line-height: 1;
  letter-spacing: 0.35px;
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, filter 120ms ease;
  cursor: pointer;
}
.heroBtn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.heroBtn:active { transform: translateY(0); }
.heroBtn:focus-visible { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.32), 0 22px 60px rgba(0, 0, 0, 0.18); }
.heroBtn--pink { background: linear-gradient(135deg, #ff2a8a, #ff6bd6); }
.heroBtn--blue { background: linear-gradient(135deg, #3394ff, #6b5bff); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #07101a;
  font-weight: 850;
  letter-spacing: 0.2px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.18); }
.btn:active { transform: translateY(0); }
.btn--primary {
  border: 0;
  background: linear-gradient(135deg, #ffd36c, #ff5aa0);
  box-shadow: 0 22px 60px rgba(255, 90, 160, 0.24);
}
.btn--ghost {
  background: rgba(5, 8, 20, 0.18);
  border-color: rgba(255, 255, 255, 0.40);
  color: rgba(255, 255, 255, 0.92);
}
.btn--wide { width: 100%; }

.heroHearts {
  position: absolute;
  inset: 0;
  /* Use flex for centering: grid auto-tracks can left-align oversized children. */
  display: flex;
  align-items: center;
  justify-content: center;
}
.heartDeck {
  position: relative;
  width: min(520px, 96%);
  height: min(520px, 92vw);
  /* When parent is flex (used in hero v2), don't shrink the deck. */
  flex: 0 0 auto;
}
.heart {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  /* mask */
  -webkit-mask-image: url("../heart.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("../heart.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  will-change: transform, opacity;
  /* Avoid animating filter: it tends to stutter with SVG masks on mobile. */
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 650ms ease;
}
.heart__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.heart__empty {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 10% 20%, rgba(255, 255, 255, 0.16), transparent 58%),
    radial-gradient(900px 320px at 90% 10%, rgba(255, 255, 255, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.02));
}
.heart.heart--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 10% 20%, rgba(255, 255, 255, 0.16), transparent 58%),
    radial-gradient(900px 320px at 90% 10%, rgba(255, 255, 255, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.02));
}
.heart[data-pos="front"] {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  z-index: 5;
}
.heart[data-pos="back"] {
  transform: translate3d(var(--heart-back-x, 84px), 0, 0) scale(0.86);
  opacity: 0.65;
  z-index: 4;
}
.heart[data-pos="back"] .heart__img { filter: blur(16px) saturate(1.05) contrast(1.05); }
.heart[data-pos="left1"] {
  transform: translate3d(var(--heart-left1-x, -98px), 0, 0) scale(0.66);
  opacity: 0.58;
  z-index: 3;
}
.heart[data-pos="left1"] .heart__img { filter: blur(14px) saturate(1.05) contrast(1.05); }
.heart[data-pos="left2"] {
  transform: translate3d(var(--heart-left2-x, -156px), 0, 0) scale(0.50);
  opacity: 0.22;
  z-index: 2;
}
.heart[data-pos="left2"] .heart__img { filter: blur(16px) saturate(1.05) contrast(1.05); }
.heart[data-pos="left3"] {
  transform: translate3d(var(--heart-left3-x, -196px), 0, 0) scale(0.40);
  opacity: 0.12;
  z-index: 1;
}
.heart[data-pos="left3"] .heart__img { filter: blur(18px) saturate(1.05) contrast(1.05); }
.heart[data-pos="next"] {
  transform: translate3d(var(--heart-next-x, 210px), 0, 0) scale(0.30);
  opacity: 0;
  z-index: 0;
}

@media (max-width: 520px) {
  .hero { padding: 0; min-height: auto; }
  .heroFixed { min-height: auto; }
  .hero__title { letter-spacing: -0.6px; }
  .hero__subtitle { font-size: 20px; }
  .hero__showcase { height: min(520px, 72vh); }
  .hero__name { font-size: 40px; }
  .hero__city { font-size: 20px; }
  .hero__age { bottom: 132px; font-size: 42px; padding: 16px 20px; }
  .heroBtn { height: 68px; min-width: 0; }
  .hero__cta--wide { gap: 12px; }

  /* Make offsets proportional to viewport so nothing gets clipped on small screens */
  .hero {
    --heart-back-x: clamp(40px, 10vw, 74px);
    --heart-left1-x: clamp(-96px, -16vw, -62px);
    --heart-left2-x: clamp(-146px, -24vw, -92px);
    --heart-left3-x: clamp(-182px, -30vw, -110px);
    --heart-next-x: clamp(160px, 40vw, 240px);
  }
}

@media (max-width: 420px) {
  /* iPhone 12 width is 390px: ensure both CTAs fit perfectly */
  .heroBtn { font-size: 16px; letter-spacing: 0.2px; }
  .heroBtn--form { font-size: clamp(22px, 5.2vw, 30px); }
}

/* Dark section (black) */
.dark {
  background: #000;
  color: var(--text);
  padding: 50px 0 46px;
}
.dark--contacts { padding: 42px 0 52px; }
.sectionHead { max-width: 820px; }
.sectionTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}
.sectionTitle {
  margin: 14px 0 10px;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.4px;
  font-size: 34px;
  line-height: 1.08;
}
.sectionLead { margin: 0; color: rgba(238, 242, 255, 0.78); font-size: 16px; }
.tri {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.triCard {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}
.triCard--link {
  display: block;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 140ms ease, filter 140ms ease;
}
.triCard--link:hover { transform: translateY(-2px); filter: brightness(1.03); }
.triCard--link:active { transform: translateY(0); filter: brightness(0.98); }
.triCard--link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22), 0 26px 70px rgba(0, 0, 0, 0.45);
}
.triCard--a {
  background:
    radial-gradient(900px 300px at 10% 20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, rgba(29, 202, 255, 0.92), rgba(91, 140, 255, 0.92));
}
.triCard--b {
  background:
    radial-gradient(900px 300px at 10% 20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, rgba(53, 242, 194, 0.92), rgba(29, 202, 255, 0.92));
}
.triCard--c {
  background:
    radial-gradient(900px 300px at 10% 20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 211, 108, 0.92), rgba(255, 90, 160, 0.92));
}
.triCard--d {
  background:
    radial-gradient(900px 300px at 10% 20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 82, 160, 0.92), rgba(107, 91, 255, 0.92));
}
.triT {
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.3px;
  font-size: 22px;
  line-height: 1.05;
}
.triD { margin-top: 10px; color: rgba(255, 255, 255, 0.92); font-size: 15px; line-height: 1.45; }

/* Stories (horizontal scroller) */
.stories {
  margin-top: 28px;
  padding-top: 4px;
}
.stories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stories__title {
  margin: 0;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.4px;
  font-size: 26px;
  line-height: 1.1;
}
.stories__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stories__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease, background 140ms ease;
}
.stories__btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.stories__btn:active { transform: translateY(0); filter: brightness(0.96); }
.stories__btnIco { font-size: 22px; line-height: 1; }

.stories__scroller {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 4px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.stories__scroller::-webkit-scrollbar { height: 8px; }
.stories__scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.stories__scroller::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.storyCard {
  flex: 0 0 clamp(260px, 78vw, 420px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(53, 242, 194, 0.22), rgba(91, 140, 255, 0.22));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  padding: 18px 18px 20px;
  color: #fff;
  scroll-snap-align: start;
}
.storyCard__who {
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.storyCard__where {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.storyCard__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 720px) {
  .stories__title { font-size: 22px; }
  .stories__controls { display: none; }
  .storyCard { padding: 16px; }
}

/* Light section (white) */
.light {
  background: var(--light);
  color: var(--lightText);
  padding: 56px 0 54px;
}
.sectionHead--light { max-width: 860px; }
.sectionTag--light {
  border-color: var(--lightLine);
  background: rgba(11, 18, 32, 0.03);
  color: rgba(11, 18, 32, 0.76);
}
.sectionTitle--light { color: var(--lightText); }
.sectionLead--light { color: var(--lightMuted); }

.profilesBlock {
  margin-top: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--lightLine);
  background: #fff;
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.10);
  padding: 18px;
}

/* Profiles (same ids used by app.js) */
.profiles { display: grid; gap: 10px; margin-bottom: 16px; }
.profiles:last-child { margin-bottom: 0; }
.profiles__label {
  font-size: 12px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.66);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profiles__grid {
  display: grid;
  /* Always render 6 cards as 3x2 on desktop so "women first" is visible */
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pcard {
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: #fff;
  overflow: hidden;
  min-width: 0;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.pcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.14);
  border-color: rgba(29, 202, 255, 0.42);
}
.pcard__media { aspect-ratio: 3 / 4; background: rgba(11, 18, 32, 0.06); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__media { position: relative; }
.pcard__heart {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.18);
}
.pcard__heart svg { transform: translateY(0.5px); }
.pcard__age {
  right: 12px;
  bottom: 12px;
  z-index: 2;
  position: absolute;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 46px;
  letter-spacing: -0.64px;
  line-height: 1;
  display: inline-block;
  isolation: isolate;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
}
.pcard--m .pcard__age {
  background-image: linear-gradient(135deg, #39b6ff, #1f4dff);
}
.pcard--f .pcard__age {
  background-image: linear-gradient(135deg, #ff4db8, #ff2a5a);
}
.pcard--u .pcard__age {
  background-image: linear-gradient(135deg, #39b6ff, #ff2a5a);
}
.pcard__img--empty {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(900px 240px at 10% 20%, rgba(29, 202, 255, 0.22), transparent 55%),
    radial-gradient(900px 240px at 90% 10%, rgba(91, 140, 255, 0.20), transparent 55%),
    linear-gradient(180deg, rgba(11,18,32,0.05), rgba(11,18,32,0.02));
}
.pcard__body { padding: 10px 10px 11px; }
.pcard__name { font-weight: 900; font-size: 13px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__meta { margin-top: 6px; font-size: 12px; color: rgba(11, 18, 32, 0.64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  color: rgba(11, 18, 32, 0.72);
  transform: translateY(2px);
}

@media (prefers-reduced-motion: no-preference) {
  .pcard__heart { animation: beat 1.15s ease-in-out infinite; }
  @keyframes beat {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.08); }
    24% { transform: scale(0.98); }
    36% { transform: scale(1.12); }
    52% { transform: scale(1); }
  }
}
.pcard--skeleton { pointer-events: none; }
.pcard--skeleton .pcard__name, .pcard--skeleton .pcard__meta {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(11,18,32,0.06), rgba(11,18,32,0.14), rgba(11,18,32,0.06));
  background-size: 200% 100%;
  animation: shimmer 1.25s linear infinite;
  color: transparent;
}
.pcard--skeleton .pcard__name { height: 14px; width: 70%; }
.pcard--skeleton .pcard__meta { height: 12px; width: 90%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Search section reuses old naming but with light styling */
.section { padding: 42px 0; background: var(--bg2); }
.h2 {
  margin: 0 0 10px;
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.3px;
  font-size: 30px;
}
.card {
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(238, 242, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card__in { padding: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature {
  border-radius: var(--radius2);
  border: 1px solid rgba(238, 242, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}
.feature__title {
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  margin: 0 0 10px;
  color: rgba(238, 242, 255, 0.92);
  font-size: 24px;
  letter-spacing: -0.2px;
}
.feature__text { margin: 0; color: rgba(238, 242, 255, 0.74); }

.field__control {
  height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(238, 242, 255, 0.18);
  background: rgba(5, 8, 20, 0.40);
  color: rgba(238, 242, 255, 0.92);
  padding: 0 16px;
  outline: none;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
}
.field__control:focus {
  border-color: rgba(29, 202, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(29, 202, 255, 0.14);
}
.lp-form__sep {
  font-size: 18px;
  font-weight: 800;
  color: rgba(238, 242, 255, 0.72);
  padding: 0 2px;
}

.ageRange {
  --min-p: 0;
  --max-p: 25;
  display: grid;
  gap: 12px;
}
.ageRange__fields {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ageRange__valueBox {
  flex: 1;
  height: 86px;
  border-radius: 999px;
  border: 1px solid rgba(238, 242, 255, 0.18);
  background: rgba(5, 8, 20, 0.38);
  display: flex;
  align-items: center;
  padding: 0 26px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.10);
}
.ageRange__value {
  font-family: "Unbounded", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 52px;
  letter-spacing: -1.2px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}
.ageRange__sep {
  font-size: 22px;
  font-weight: 900;
  color: rgba(238, 242, 255, 0.72);
  padding: 0 6px;
}
.ageRange__slider {
  position: relative;
  height: 36px;
  display: grid;
  align-items: center;
}
.ageRange__track {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.ageRange__trackFill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--min-p) * 1%);
  width: calc((var(--max-p) - var(--min-p)) * 1%);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd36c, #ff2a8a, #6b5bff);
  box-shadow: 0 10px 24px rgba(255, 90, 160, 0.18);
}
.ageRange__range {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.ageRange__range::-webkit-slider-runnable-track {
  height: 36px;
  background: transparent;
}
.ageRange__range::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: #ffffff;
  border: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  /* triangle pointing right by default (min) */
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-top: 3px;
}
.ageRange__range--max::-webkit-slider-thumb {
  /* triangle pointing left (towards the range) */
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.ageRange__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.28), 0 14px 32px rgba(0, 0, 0, 0.22);
}
.ageRange__range::-moz-range-track {
  height: 10px;
  background: transparent;
}
.ageRange__range::-moz-range-thumb {
  pointer-events: auto;
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: #ffffff;
  border: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ageRange__range--max::-moz-range-thumb { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.ageRange__range--min { z-index: 2; }
.ageRange__range--max { z-index: 3; }

.heroBtn--form {
  width: 100%;
  min-width: 0;
  height: 78px;
  letter-spacing: 0.3px;
  /* Form CTA can be bigger than the hero CTAs */
  font-size: clamp(22px, 4.2vw, 30px);
}
.lp-form__fineprint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 211, 108, 0.12);
  border: 1px solid rgba(255, 211, 108, 0.24);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

/* Contacts */
/* contactCard removed with the contacts section */

/* Footer */
.footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 30px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
}
.footer__brand { font-weight: 900; letter-spacing: 0.2px; }
.footer__muted { color: rgba(238, 242, 255, 0.6); font-size: 13px; }
.footer__right { display: grid; justify-items: end; gap: 10px; }
.footer__links {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.footer__link { color: rgba(238, 242, 255, 0.82); padding: 6px 10px; border-radius: 12px; }
.footer__link:hover { background: rgba(255, 255, 255, 0.06); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__titleBox { animation: fadeUp 520ms ease both; }
  .hero__showcase { animation: fadeUp 600ms ease 80ms both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 980px) {
  .tri { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .profiles__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__right { justify-items: start; }
  .footer__links { justify-items: start; }
  .pcard__age { font-size: 42px; letter-spacing: -0.56px; }
  .heroBtn--form { height: 72px; }
  .heroBtn { font-size: 18px; min-width: 0; letter-spacing: 0.25px; }
  .heroBtn--form { font-size: 24px; }
  .feature__title { font-size: 22px; }
  .ageRange__valueBox { height: 78px; padding: 0 20px; }
  .ageRange__value { font-size: 44px; letter-spacing: -1px; }
}
