/* pages.css — Privacy, Terms, Support aur 404 ke liye. Home page jaise hi
   rang, nav aur footer, taaki click karte hi site alag na lage. Legal text
   jaisa hai waisa; yahan sirf uska roop hai. */

:root {
  color-scheme: light;
  --ground: #FAF8F5;
  --surface: #FFFFFF;
  --ink: #20263A;
  --ink-2: #4B5167;
  --ink-3: #868B9A;
  --line: #E8E3DC;
  --track: #D9D1C6;
  --accent: #ED7624;
  --accent-ink: #B84708;
  --accent-wash: #FFEFE3;
  --nav-bg: rgba(250, 248, 245, .74);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 56px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #0E1117; --surface: #171B24; --ink: #EDEAE5; --ink-2: #B7BBC7; --ink-3: #7C8294;
    --line: #262B37; --track: #333A49; --accent: #F58A3C; --accent-ink: #F8A565; --accent-wash: #2D2017;
    --nav-bg: rgba(14, 17, 23, .72);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* nav — home jaisa */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--nav-bg); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-soon { font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent-wash); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
/* Point L: "Notify me at launch" — home jaisa. Safed text ke liye gaadha orange (4.5:1). */
.nav-cta, .btn-acc { display: inline-flex; align-items: center; border-radius: 999px; background: #C2570F; color: #FFFFFF; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta { height: 36px; padding: 0 16px; font-size: 14px; }
.nav-cta:hover, .btn-acc:hover { background: #B84708; }
.nav-cta .short { display: none; }
.btn-acc { height: 40px; padding: 0 18px; font-size: 14.5px; margin-top: 18px; }

/* lamba text padhne ke liye */
.page { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 88px)); padding-bottom: clamp(72px, 10vw, 120px); }
.prose { max-width: 720px; }
.prose h1 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -.042em; font-weight: 700; text-wrap: balance; }
.prose .updated { margin: 14px 0 44px; font-size: 15px; color: var(--ink-3); }
.prose h2 { margin: 52px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.2; letter-spacing: -.022em; font-weight: 700; }
.prose p, .prose li { font-size: 17px; line-height: 1.72; color: var(--ink-2); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }

/* 404 */
/* Beech mein — upar-neeche aur daayein-baayein dono (user ka faisla, 13 Oct 2026). */
.lost { min-height: calc(100vh - 180px); display: grid; align-content: center; justify-items: center; text-align: center; gap: 18px; }
.lost h1 { margin: 0; font-family: var(--font-display); font-size: clamp(40px, 7vw, 84px); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.lost h1 span { color: var(--accent); }
.lost p { margin: 0; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 40ch; }
.home-link { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none; margin-top: 8px; }
.home-link:hover { opacity: .9; }

/* footer — home jaisa */
.foot { background: #20263A; color: #FFFFFF; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand { color: #FFFFFF; }
.foot p { margin: 10px 0 0; color: #B7BBC7; font-size: 14.5px; }
.foot h3 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #FFFFFF; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot ul a { text-decoration: none; color: #B7BBC7; }
.foot ul a:hover { color: #FFFFFF; }
.fine { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: #868B9A; }
@media (prefers-color-scheme: dark) { .foot { background: #0A0C11; border-top: 1px solid #242936; } }

/* Lj: Safety / Community — chhote section cards */
.lede { margin: 0 0 8px; font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--ink-2); }
.callout { margin: 28px 0 0; padding: 18px 20px; border-radius: 18px; background: var(--accent-wash); color: var(--ink); font-size: 16px; line-height: 1.6; }
.callout strong { color: var(--ink); }

/* DLb: /delete-account — email → code → delete. Laal sirf aakhri button par. */
.del-card { margin: 8px 0 28px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(32, 38, 58, .04), 0 10px 30px -18px rgba(32, 38, 58, .25); }
.del-card form { display: grid; gap: 10px; }
/* display: grid "hidden" ko daba deta — teeno kadam ek saath dikhte.
   ".del-card ..." isliye: ".prose p" (rang, 17px, neeche 16px) warna in <p> ko daba deta. */
.del-card [hidden] { display: none !important; }
.del-card .del-step { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.del-label { font-size: 15px; font-weight: 600; color: var(--ink); }
.del-input { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--track); background: var(--ground); color: var(--ink); font: inherit; font-size: 17px; }
.del-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.del-input[aria-invalid="true"] { border-color: #C4432F; }
.del-code { max-width: 220px; letter-spacing: .32em; font-variant-numeric: tabular-nums; font-weight: 600; }
.del-btn { justify-self: start; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.del-btn:hover:not(:disabled) { opacity: .9; }
.del-btn:disabled { opacity: .55; cursor: default; }
.del-btn.danger { background: #C4432F; color: #FFFFFF; }
.del-card .del-note, .del-card .del-sent { margin: 0; font-size: 15px; color: var(--ink-2); }
.del-card .del-err { margin: 0; font-size: 15px; font-weight: 600; color: #C4432F; }
.del-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.del-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: #C4432F; flex-shrink: 0; }
.del-card .del-links { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-3); }
.del-link { border: 0; padding: 0; background: none; font: inherit; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.del-link:disabled { color: var(--ink-3); text-decoration: none; cursor: default; }
.del-done { display: grid; justify-items: start; gap: 6px; outline: none; }
.del-done h3 { margin: 6px 0 0; font-size: 21px; letter-spacing: -.02em; }
.del-card .del-done p { margin: 0; }
/* Password ke saath "Show" — field ke andar, daayein. */
.del-pass { position: relative; }
.del-pass .del-input { padding-right: 76px; }
.del-show { position: absolute; top: 7px; right: 7px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--accent-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.del-show:hover { background: var(--accent-wash); }
.del-forgot { justify-self: start; font-size: 15px; margin: -2px 0 4px; }
.del-card .del-ok { margin: 0; padding: 10px 14px; border-radius: 12px; background: #E3F2EC; color: #145C38; font-size: 15px; font-weight: 600; }
.del-tick { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #E3F2EC; color: #147945; font-size: 22px; font-weight: 700; }
@media (prefers-color-scheme: dark) {
  .del-input[aria-invalid="true"] { border-color: #E8705C; }
  .del-card .del-err { color: #E8705C; }
  .del-btn.danger { background: #D2523D; }
  .del-tick { background: #16302A; color: #4FB68F; }
  .del-card .del-ok { background: #16302A; color: #7FD3AE; }
}

@media (max-width: 880px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-soon, .nav-cta { margin-left: auto; }
  .nav-cta .long { display: none; }
  .nav-cta .short { display: inline; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* NV2b — Early access page. body[data-early] "soon" / "open" se do haal:
   .ea-soon sirf khulne se pehle, .ea-open sirf khulne ke baad. */
[data-early="soon"] .ea-open, [data-early="open"] .ea-soon { display: none !important; }
.ea-steps { list-style: none; margin: 8px 0 16px; padding: 0; counter-reset: ea; display: grid; gap: 14px; }
.ea-steps li { counter-increment: ea; position: relative; margin: 0; padding: 20px 20px 20px 68px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(32, 38, 58, .04), 0 10px 30px -18px rgba(32, 38, 58, .25); }
.ea-steps li::before { content: counter(ea); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-ink); font-weight: 700; font-size: 15px; }
.ea-steps li p { margin: 0 0 4px; font-size: 16px; line-height: 1.6; }
.prose .ea-steps .ea-step-title { margin: 4px 0 4px; font-size: 18px; font-weight: 600; color: var(--ink); }
.ea-btn { display: inline-flex; align-items: center; height: 44px; margin-top: 12px; padding: 0 20px; border-radius: 999px; background: #C2570F; color: #FFFFFF !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.ea-btn:hover { background: #B84708; }
.prose .ea-wait { font-size: 15px; color: var(--ink-3); }
@media (max-width: 520px) {
  .ea-steps li { padding: 18px 16px 18px 58px; }
  .ea-steps li::before { left: 16px; top: 18px; }
}
