/* InstaDate (insta-date.org) — unique mobile-first styles */

:root {
  --bg: #0b1020;
  --panel: #121a2e;
  --panel-2: #182238;
  --teal: #5eead4;
  --teal-dim: #3db8a8;
  --violet: #a78bfa;
  --text: #eef2ff;
  --muted: #94a3b8;
  --line: rgba(94, 234, 212, 0.2);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: 1rem;
  --section-y: 1.5rem;
  --touch: 2.75rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 20% -5%, rgba(94, 234, 212, 0.1), transparent),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(167, 139, 250, 0.08), transparent);
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open { overflow: hidden; touch-action: none; }

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

.layout { min-height: 100vh; display: flex; flex-direction: column; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, 0.96);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(8px);
}

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.5rem 0;
}

.logo {
  flex: 1;
  min-width: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span { color: var(--teal); }

.menu-btn {
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: 600 0.8rem var(--font);
  cursor: pointer;
}

.site-nav {
  flex-basis: 100%;
  width: 100%;
  display: none;
  flex-direction: column;
  padding-bottom: 0.75rem;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
}

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

.site-nav a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--teal); }

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  font: 700 1rem var(--font);
  text-decoration: none;
  color: #062320;
  background: linear-gradient(135deg, var(--teal), #99f6e4);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(94, 234, 212, 0.22);
  -webkit-tap-highlight-color: transparent;
}

.btn-main--full { width: 100%; }

.btn-main--outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal-dim);
  box-shadow: none;
}

.hero { padding: var(--section-y) 0; }

.hero__layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.hero__head { text-align: left; }

.hero__visual {
  margin: 0.1rem auto 0;
  width: min(10.5rem, 46vw);
  max-width: 100%;
}

.hero__visual picture,
.hero__visual img {
  width: 100%;
  height: auto;
  max-height: 10.5rem;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.hero__label {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--violet);
  border-radius: 4px;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 5.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 0.35rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.block { padding: var(--section-y) 0; }

.block--shade {
  background: var(--panel);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.block h2 {
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  margin: 0 0 0.85rem;
}

.block__intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 40rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.tile {
  padding: 1rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tile h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--teal);
}

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

.intent-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.intent-steps li {
  position: relative;
  margin: 0 0 0.85rem;
  padding-left: 2.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.intent-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--violet);
  border-radius: 50%;
}

.intent-steps strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 42rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}

.faq summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 700;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin: 0;
  padding: 0 1rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.strip {
  padding: var(--section-y) var(--pad);
  text-align: center;
  background: var(--panel-2);
  border-block: 1px solid var(--line);
}

.strip p { margin: 0 0 1rem; font-weight: 600; }

.legal-page { padding: var(--section-y) 0 2.5rem; }

.legal-page h1 {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  margin: 0 0 1rem;
}

.doc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.doc h2 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 1.1rem 0 0.45rem;
}

.doc h2:first-child { margin-top: 0; }

.doc ul { padding-left: 1.2rem; margin: 0.5rem 0 0.75rem; }

.site-footer {
  margin-top: auto;
  padding: 1.35rem var(--pad);
  padding-bottom: max(1.35rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
}

.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.nav-backdrop.is-visible { display: block; }

@media (min-width: 375px) {
  :root { --pad: 1.125rem; --section-y: 1.65rem; }

  .hero__visual {
    width: min(11rem, 42vw);
  }

  .hero__visual picture,
  .hero__visual img {
    max-height: 11rem;
  }
}

@media (min-width: 768px) {
  :root { --pad: 1.35rem; --section-y: 2.2rem; }

  body.nav-open { overflow: auto; touch-action: auto; }

  .menu-btn { display: none; }

  .site-nav {
    display: flex !important;
    flex-direction: row;
    flex: 1;
    flex-basis: auto;
    width: auto;
    justify-content: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    border: none;
  }

  .site-nav a { min-height: 0; border: none; padding: 0.25rem 0; }

  .hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(13.5rem, 30%);
    grid-template-areas:
      "head visual"
      "cta visual"
      "pills visual";
    gap: 0.75rem 2rem;
    align-items: start;
  }

  .hero__head { grid-area: head; }

  .hero__cta {
    grid-area: cta;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__visual {
    grid-area: visual;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 13.5rem;
    margin: 0;
  }

  .hero__visual picture,
  .hero__visual img {
    max-height: 17rem;
  }

  .pills {
    grid-area: pills;
    justify-content: flex-start;
  }

  .btn-main--full { width: auto; min-width: 11rem; }

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

  .block h2,
  .block__intro,
  .strip { text-align: center; margin-inline: auto; }

  .intent-steps { max-width: 36rem; margin-inline: auto; }

  .faq { margin-inline: auto; }
}
