/* HimJodi website – design 1 "Rhododendron": the app's orange→pink→purple gradient, rounded
   cards, Poppins (Latin) + Mukta (Devanagari). Light and dark follow the visitor's phone/PC. */
:root {
  --bg: #ffffff;
  --soft: #faf5fb;
  --card: #ffffff;
  --ink: #121212;
  --muted: #5d5563;
  --line: #f0e6f2;
  --pink: #d0206f;
  --g1: #f58529;
  --g2: #dd2a7b;
  --g3: #8134af;
  --ok: #0a7a4f;
  --shadow: 0 12px 28px -16px rgba(129, 52, 175, 0.35);
  --font: 'Poppins', 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  color-scheme: light;
}
/* Theme: follows the device unless the visitor picks Light or Dark (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #120a1f;
    --soft: #1a1129;
    --card: #1c1230;
    --ink: #f5f0fa;
    --muted: #b3a8c4;
    --line: #2f2345;
    --pink: #f0457f;
    --ok: #3ddc97;
    --shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #120a1f;
  --soft: #1a1129;
  --card: #1c1230;
  --ink: #f5f0fa;
  --muted: #b3a8c4;
  --line: #2f2345;
  --pink: #f0457f;
  --ok: #3ddc97;
  --shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
:lang(hi) {
  --font: 'Mukta', 'Poppins', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
:lang(hi) body,
body:lang(hi) {
  line-height: 1.75;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--pink);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--g2);
  outline-offset: 3px;
  border-radius: 8px;
}
.in {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 20px;
}
.grad-text {
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--card);
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(1.4) blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}
.logo img {
  width: 32px;
  height: 32px;
}
.top nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.top nav a {
  color: var(--ink);
  text-decoration: none;
}
.top nav a:hover {
  color: var(--pink);
}
.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.btn-grad {
  color: #fff;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
  box-shadow: 0 10px 22px -10px rgba(221, 42, 123, 0.7);
}
.btn-line {
  color: var(--pink);
  background: var(--card);
  border: 1px solid var(--line);
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #121212;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}
.store .soon {
  font-size: 10px;
  background: linear-gradient(45deg, var(--g1), var(--g2));
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 92% -10%, rgba(221, 42, 123, 0.2), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(245, 133, 41, 0.16), transparent 60%),
    var(--bg);
}
.hero .in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-block: 56px 72px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  background: color-mix(in srgb, var(--pink) 10%, transparent);
  padding: 4px 12px;
  border-radius: 999px;
}
h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 0;
  text-wrap: balance;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
  margin: 16px 0 26px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
  padding: 0;
  list-style: none;
}
.hero-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  opacity: 0.12;
  pointer-events: none;
}

/* the app on a phone (pure CSS, no screenshot needed) */
.phone {
  width: min(270px, 70vw);
  aspect-ratio: 9 / 18.5;
  margin: 0 auto;
  border-radius: 38px;
  border: 9px solid #1d1422;
  background: #f7f3f9;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 70px -28px rgba(60, 20, 80, 0.55);
  font-family: 'Poppins', sans-serif;
  color: #121212;
}
.phone .bar {
  height: 26px;
}
.phone .title {
  padding: 0 14px;
  font-weight: 700;
  font-size: 15px;
}
.phone .title i {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  margin-top: 2px;
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
}
.phone .card {
  position: absolute;
  inset: 70px 12px 120px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #c9a6b9, #7e5b86 55%, #3b2a4a);
}
.phone .card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72));
}
.phone .card .person {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48%;
  aspect-ratio: 1 / 1.1;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  background: rgba(255, 255, 255, 0.18);
}
.phone .card .person::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -40%;
  transform: translateX(-50%);
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.phone .match {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
}
.phone .who {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
}
.phone .who small {
  display: block;
  font-weight: 400;
  font-size: 11px;
}
.phone .chips {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 66px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.phone .chips span {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(208, 32, 111, 0.1);
  color: #d0206f;
}
.phone .acts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.phone .acts span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  font-size: 18px;
}
.phone .acts .heart {
  color: #fff;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
}

/* sections */
section {
  padding-block: 72px;
}
.soft {
  background: var(--soft);
}
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.sec-head p {
  color: var(--muted);
  margin: 10px 0 0;
}
.grid3,
.grid2 {
  display: grid;
  gap: 20px;
}
.grid3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid2 {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 12px;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
}
.step-n {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
}
.ticks li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 800;
}
.parents-art {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
  color: #fff;
}
.parents-art .bubble {
  background: rgba(255, 255, 255, 0.95);
  color: #121212;
  border-radius: 18px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 15px;
}
.parents-art .bubble b {
  color: #d0206f;
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.plan.pop {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(45deg, var(--g1), var(--g2), var(--g3)) border-box;
}
.plan h3 {
  margin: 0;
  font-size: 18px;
}
.plan .price {
  font-size: 26px;
  font-weight: 800;
  margin: 6px 0 2px;
}
.plan .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.plan p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.plan .tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
}
.fine {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}

/* faq */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  float: right;
  color: var(--pink);
  font-weight: 800;
}
.faq details[open] summary::after {
  content: '–';
}
.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* final call to action */
.band {
  border-radius: 32px;
  padding: 44px;
  color: #fff;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.band h2 {
  color: #fff;
  max-width: 18ch;
}
.band .store {
  background: #fff;
  color: #121212;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  color: var(--muted);
  font-size: 14px;
}
footer .in {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer a {
  color: var(--muted);
}

/* long-text pages (privacy, safety) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 48px 72px;
}
.doc h1 {
  font-size: clamp(30px, 4vw, 42px);
}
.doc h2 {
  font-size: 22px;
  margin-top: 36px;
}
.doc p,
.doc li {
  color: var(--ink);
}
.doc .note {
  border-left: 4px solid var(--g2);
  background: var(--soft);
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}
.doc .table {
  overflow-x: auto;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.doc th,
.doc td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.doc th {
  background: var(--soft);
}
.helplines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.helplines div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.helplines b {
  display: block;
  font-size: 24px;
  color: var(--pink);
}

/* phones and small tablets */
@media (max-width: 860px) {
  .hero .in,
  .grid2 {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .top nav .hide-sm {
    display: none;
  }
  section {
    padding-block: 52px;
  }
  .band {
    padding: 28px;
  }
}
@media (max-width: 480px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* SEO pages: district grid, breadcrumbs, wide docs */
.doc.wide {
  max-width: 1000px;
}
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--muted);
}
.dgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.dcard {
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dcard:hover {
  transform: translateY(-2px);
}
.dcard h3 {
  color: var(--pink);
}
.doc ol {
  padding-left: 22px;
}
.doc ol li {
  margin-bottom: 8px;
}
footer p a {
  color: var(--muted);
}

/* light / dark switch */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  min-height: 34px;
}
.theme-btn:hover {
  border-color: var(--pink);
}

/* details still to be filled in before launch */
.todo {
  color: var(--pink);
  font-style: italic;
}

/* language switch: EN | हिं – the current language is highlighted */
.langsw {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
}
.langsw a,
.langsw span {
  padding: 4px 12px;
  text-decoration: none;
  color: var(--muted);
}
.langsw .on {
  color: #fff;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
}
.langsw a:hover {
  color: var(--pink);
}

/* ---- motion (site-motion.js + Motion). Hidden only while Motion is running; .is-in = shown ---- */
.js-motion [data-reveal]:not(.is-in),
.js-motion [data-reveal-group]:not(.is-in) > * {
  opacity: 0;
}
.top {
  transition: box-shadow 0.3s, border-color 0.3s;
}
.top.scrolled {
  border-bottom-color: transparent;
  box-shadow: var(--shadow);
}
.sec-head .eyebrow {
  margin-bottom: 12px;
}

/* hover polish (pointer devices only; switched off with reduced motion above) */
.btn,
.store {
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.grid3 > .card,
.plan,
.quote {
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
@media (hover: hover) {
  .btn:hover,
  .store:hover {
    transform: translateY(-2px);
  }
  .btn-line:hover {
    border-color: var(--pink);
  }
  .grid3 > .card:hover,
  .plan:hover,
  .quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -22px rgba(129, 52, 175, 0.45);
  }
}

/* hero: a soft glow behind the phone */
.phone-stage {
  position: relative;
}
.phone-stage::before {
  content: '';
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g2) 30%, transparent), transparent);
  filter: blur(24px);
}
.phone-stage .phone {
  position: relative;
}

/* promises (in place of reviews until real members share their stories) */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.quote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.quote blockquote::before {
  content: '“';
  display: block;
  font-size: 54px;
  line-height: 0.8;
  font-weight: 800;
  background: linear-gradient(45deg, var(--g1), var(--g2), var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote blockquote p {
  margin: 0;
}
.quote figcaption {
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}
.quote figcaption b {
  color: var(--pink);
}
.note-center {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 18px auto 0;
  max-width: 60ch;
}

/* final call to action */
.band {
  position: relative;
  overflow: hidden;
}
.band::after {
  content: '';
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  right: -90px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.band p {
  margin: 10px 0 0;
  max-width: 46ch;
  opacity: 0.92;
}
.band .store {
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}
