/* HerDate — marketing site */
:root {
  --coral: #ff6b6b;
  --coral-dark: #e85555;
  --rose: #ff8a8a;
  --ink: #0d0d0d;
  --ink-soft: #1a0a0a;
  --surface: #141414;
  --surface-2: #1e1e1e;
  --text: #ffffff;
  --text-soft: #b0b0b0;
  --text-muted: #6b6b6b;
  --gold: #ffd700;
  --gold-deep: #ff8c00;
  --verified: #42a5f5;
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

.nav.is-scrolled {
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: color 0.25s;
}

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

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--coral);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s, transform 0.25s;
}

.nav__cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}

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

.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.35);
}

.btn--primary:hover {
  background: var(--coral-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.btn--store {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: left;
  gap: 12px;
  min-width: 180px;
}

.btn--store small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-soft);
}

.btn--store strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

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

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(13, 13, 13, 0.97) 0%,
      rgba(13, 13, 13, 0.55) 42%,
      rgba(26, 10, 10, 0.35) 70%,
      rgba(13, 13, 13, 0.25) 100%
    ),
    radial-gradient(
      ellipse 80% 50% at 70% 30%,
      rgba(255, 107, 107, 0.18),
      transparent 60%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  max-width: 640px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(255, 107, 107, 0.3);
}

.hero__brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 30%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.hero__lead {
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 36ch;
  margin-bottom: 28px;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.65s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(72px, 12vw, 120px) 0;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__lead {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 42ch;
}

.section--alt {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 50%, var(--ink) 100%);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ——— About ——— */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about__visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.4), transparent 50%);
  pointer-events: none;
}

.about__copy .section__lead {
  margin-bottom: 28px;
}

.pride-bar {
  display: flex;
  height: 4px;
  width: 120px;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pride-bar span {
  flex: 1;
}

.pride-bar span:nth-child(1) {
  background: #d52d00;
}
.pride-bar span:nth-child(2) {
  background: #ef7627;
}
.pride-bar span:nth-child(3) {
  background: #ff9a56;
}
.pride-bar span:nth-child(4) {
  background: #fff;
}
.pride-bar span:nth-child(5) {
  background: #d162a4;
}
.pride-bar span:nth-child(6) {
  background: #b55690;
}
.pride-bar span:nth-child(7) {
  background: #a30262;
}

/* ——— Features ——— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.feature {
  padding-top: 8px;
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--coral);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

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

.feature-split:nth-child(even) .feature-split__media {
  order: 2;
}

.feature-split__media {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature-split:hover .feature-split__media img {
  transform: scale(1.04);
}

.feature-split__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.feature-split__copy p {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 36ch;
}

/* ——— How it works ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 107, 107, 0.25);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-soft);
}

/* ——— Pricing ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.plan:hover {
  border-color: rgba(255, 107, 107, 0.4);
  transform: translateY(-4px);
}

.plan--featured {
  background: linear-gradient(160deg, #1a1010 0%, #1e1510 100%);
  border-color: rgba(255, 215, 0, 0.35);
  position: relative;
}

.plan--featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  color: #1a0a00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.plan__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}

.plan__period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.plan ul {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}

.plan li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 700;
  flex-shrink: 0;
}

.plan--featured li::before {
  color: var(--gold);
}

.plan .btn {
  width: 100%;
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  padding: clamp(80px, 12vw, 120px) 0;
  overflow: hidden;
  text-align: center;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.1);
}

.cta-band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.85),
    rgba(255, 107, 107, 0.25)
  );
}

.cta-band__content {
  position: relative;
  z-index: 1;
}

.cta-band .section__title {
  margin-inline: auto;
  max-width: 18ch;
}

.cta-band .section__lead {
  margin: 0 auto 32px;
  max-width: 40ch;
}

.cta-band .btn-group {
  justify-content: center;
}

/* ——— Footer ——— */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer__about {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 28ch;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ——— Legal pages ——— */
.legal-hero {
  padding: calc(var(--nav-h) + 64px) 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-hero p {
  color: var(--text-muted);
  margin-top: 8px;
}

.legal-body {
  padding: 48px 0 96px;
  max-width: 720px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 12px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.legal-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-body p,
.legal-body li {
  color: var(--text-soft);
  margin-bottom: 12px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

.legal-body a {
  color: var(--coral);
}

.legal-body code {
  font-size: 0.9em;
  color: var(--rose);
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-callout {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.08);
  color: var(--text);
  line-height: 1.55;
}

.legal-toc {
  margin: 28px 0 8px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.legal-toc__title {
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-weight: 700;
  margin: 0 0 12px !important;
  color: var(--text);
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

.legal-toc li {
  margin-bottom: 6px;
  color: var(--text-soft);
}

.legal-toc a {
  color: var(--text-soft);
}

.legal-toc a:hover {
  color: var(--coral);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .about,
  .feature-split,
  .features-grid,
  .steps,
  .pricing-grid,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .feature-split:nth-child(even) .feature-split__media {
    order: 0;
  }

  .about__visual {
    aspect-ratio: 16 / 11;
    max-height: 360px;
  }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

  .nav__links a {
    padding: 14px 8px;
  }

  .nav__cta {
    justify-content: center;
    margin-top: 8px;
  }

  .nav__toggle {
    display: grid;
  }

  .hero__content {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .container,
  .nav__inner,
  .hero__content {
    width: calc(100% - 32px);
  }

  .btn-group {
    flex-direction: column;
  }

  .btn--store {
    width: 100%;
  }
}
