/* ==========================================================================
   Suhrid — marketing one-pager
   Palette mirrors the app (android-native ui/theme/Color.kt).
   Mobile-first. No external requests: fonts self-hosted (GDPR).
   ========================================================================== */

/* ---- Fonts ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/bricolage-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/bricolage-latin-800.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-950: #3b0764;
  --pink-200: #ffc7d7;
  --pink-400: #ff6b94;
  --pink-500: #ff3b70;
  --green-400: #4ade80;
  --gold-200: #f7e2ae;
  --gold-300: #f0d189;
  --gold-400: #e4b95b;
  --gold-600: #a97e2f;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --bg: var(--slate-950);
  --surface: var(--slate-800);
  --surface-deep: var(--slate-900);
  --border: var(--slate-700);
  --text: var(--slate-200);
  --text-muted: var(--slate-400);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --space-section: clamp(3rem, 7vw, 5rem);
  --measure: 34rem;
  --container: 68rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  color: var(--slate-200);
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--purple-300);
}

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

:focus-visible {
  outline: 2px solid var(--purple-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--purple-600);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--purple-500);
  color: var(--slate-900);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-s) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---- Layout helpers ---- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

section {
  padding-block: var(--space-section);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  font-weight: 700;
  max-width: 24ch;
}

.section-intro {
  color: var(--text-muted);
  max-width: var(--measure);
  margin-bottom: 2.5rem;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--slate-950) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--slate-200);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 2.1rem;
  height: auto;
}

.brand img {
  height: 2.3rem;
  width: auto;
  display: block;
}

.site-nav {
  display: none;
  margin-left: auto;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-s);
}

.site-nav a:hover {
  color: var(--slate-200);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.lang-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-switch a,
.lang-switch span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  min-width: 2.6rem;
  text-align: center;
}

.lang-switch span[aria-current] {
  background: var(--purple-500);
  color: var(--slate-900);
}

.lang-switch a {
  color: var(--text-muted);
}

.lang-switch a:hover {
  color: var(--slate-200);
}

/* ---- Language hint banner ---- */
.lang-hint {
  display: none;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--surface-deep);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.lang-hint.is-visible {
  display: flex;
}

.lang-hint a {
  font-weight: 700;
}

.lang-hint button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem) var(--space-section);
  background:
    radial-gradient(60rem 40rem at 85% -10%, color-mix(in srgb, var(--purple-950) 55%, transparent), transparent 60%),
    linear-gradient(180deg, var(--slate-900) 0%, color-mix(in srgb, var(--purple-950) 20%, var(--slate-950)) 45%, var(--slate-950) 100%);
}

.hero .container {
  display: grid;
  gap: 3.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--purple-400);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--slate-300);
  max-width: var(--measure);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

/* ---- CTA buttons ---- */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: var(--slate-900);
  border-radius: var(--radius-m);
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  box-shadow: 0 12px 40px -12px color-mix(in srgb, var(--purple-500) 55%, transparent);
}

.btn-soon svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

.btn-soon small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.link-notify {
  display: inline-block;
  color: var(--purple-300);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.4rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---- Phone mockup ---- */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(19.5rem, 86vw);
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: 2.4rem;
  padding: 1rem 1rem 1.4rem;
  box-shadow:
    0 30px 80px -30px rgb(0 0 0 / 0.8),
    0 0 120px -40px color-mix(in srgb, var(--purple-500) 45%, transparent);
}

.phone-notch {
  width: 6rem;
  height: 0.45rem;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: var(--slate-700);
}

.phone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: var(--slate-300);
}

.bcast-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1rem;
}

.bcast-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.bcast-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--purple-500);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
  flex-shrink: 0;
}

.bcast-user {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.bcast-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bcast-match {
  margin-left: auto;
  background: color-mix(in srgb, var(--green-400) 16%, transparent);
  color: var(--green-400);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.bcast-activity {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.bcast-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.dot-live {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--green-400);
  flex-shrink: 0;
}

.bcast-btn {
  display: block;
  text-align: center;
  background: var(--pink-500);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-s);
  padding: 0.7rem;
}

.bcast-ghost {
  margin-top: 0.8rem;
  border: 1px dashed var(--slate-700);
  border-radius: var(--radius-m);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ---- Card grids ---- */
.card-grid {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.card {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 1.6rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.card .glyph {
  font-size: 1.6rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
}

/* ---- Steps ---- */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 1.6rem 1.6rem 1.6rem 4.4rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.4rem;
  top: 1.55rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--purple-500);
  color: var(--slate-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

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

/* ---- Question chips ---- */
.q-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.q-chips li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  max-width: 22rem;
}

.q-chips .q-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-400);
  margin-bottom: 0.3rem;
}

.match-note {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: color-mix(in srgb, var(--green-400) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--green-400) 35%, transparent);
  color: var(--green-400);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}

/* ---- Privacy badges ---- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.badge-row li {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-300);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

/* ---- FAQ ---- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq-list details {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  padding: 1.05rem 1.3rem;
  min-height: 44px;
}

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

.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--purple-400);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 1.3rem 1.2rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---- Closing CTA ---- */
.closing {
  text-align: center;
  background:
    radial-gradient(42rem 26rem at 50% 120%, color-mix(in srgb, var(--purple-950) 65%, transparent), transparent 70%);
}

.closing .section-title,
.closing .section-intro {
  margin-inline: auto;
}

.closing .cta-group {
  align-items: center;
}

.closing .logo-mark {
  width: 4.5rem;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

/* ---- Plus ---- */
.plus-card {
  border: 1px solid color-mix(in srgb, var(--gold-400) 45%, var(--border));
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 140% at 85% -20%, color-mix(in srgb, var(--gold-600) 18%, transparent), transparent 60%),
    var(--surface-deep);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.plus-card .card {
  background: transparent;
}

.plus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid var(--gold-600);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

.plus-free-note {
  color: var(--text-muted);
  max-width: var(--measure);
}

.plus-referral {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  border-top: 1px solid var(--border);
  margin-top: 1.75rem;
  padding-top: 1.5rem;
}

.plus-referral strong {
  color: var(--gold-300);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.site-footer .heart {
  color: var(--pink-500);
}

.site-footer a {
  color: var(--slate-300);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 1;
  transform: none;
}

/* ---- Motion (opt-in only) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(1.2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .dot-live {
    animation: pulse 1.8s ease-in-out infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--green-400) 45%, transparent);
    }
    50% {
      box-shadow: 0 0 0 6px transparent;
    }
  }
}

/* ---- ≥ 640px ---- */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- ≥ 900px ---- */
@media (min-width: 900px) {
  .site-nav {
    display: flex;
    gap: 0.2rem;
  }

  .lang-switch {
    margin-left: 0.5rem;
  }

  .hero .container {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .phone {
    transform: rotate(4deg);
  }

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

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

  .steps li {
    padding: 4.2rem 1.6rem 1.6rem;
  }

  .steps li::before {
    left: 1.6rem;
    top: 1.6rem;
  }

  .site-footer .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
