@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F5F2EA;
  --paper-2: #ECE7DB;
  --card: #FFFDF8;
  --ink: #0E1726;
  --ink-2: #4A5463;
  --ink-3: #7A8290;
  --line: rgba(14, 23, 38, 0.12);
  --teal: #01706D;
  --teal-hover: #015C5A;
  --teal-soft: rgba(1, 112, 109, 0.09);
  --indigo: #2B3990;
  --night: #0C121C;
  --night-2: #152033;
  --gold: #E39B24;
  --rad: 14px;
  --rad-lg: 28px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ur: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Urdu ---------- */
html[lang="ur"] { font-size: 15px; }
html[lang="ur"] body { font-family: var(--font-ur), var(--font); line-height: 1.95; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4 { letter-spacing: 0; line-height: 1.8; font-weight: 700; }
/* Nastaliq is much taller than Latin type, so headings are set smaller to match the English visual weight */
html[lang="ur"] h1 { font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.75; margin-bottom: 18px; }
html[lang="ur"] h2 { text-wrap: balance; }
html[lang="ur"] h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.8; }
html[lang="ur"] h3 { font-size: 1.12rem; }
html[lang="ur"] .f-copy h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
html[lang="ur"] .lede { font-size: 1.05rem; }
html[lang="ur"] .closer-line { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
html[lang="ur"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
html[lang="ur"] .closer-word, html[lang="ur"] .brand-name, html[lang="ur"] .cd-units b,
html[lang="ur"] .s-num, html[lang="ur"] .p-num,
html[lang="ur"] .f-brand b { font-family: var(--font); }

/* ---------- beta bar ---------- */
.beta-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 20px; font-size: 0.86rem; font-weight: 500;
  background: var(--night); color: #E8ECF2; text-align: center;
}
.beta-bar a { color: #7FE0D8; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.beta-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: #3DDBC9; box-shadow: 0 0 0 4px rgba(61,219,201,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61,219,201,0); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .3s; }
.site-header.scrolled::after { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 27px; height: 32px; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.025em; }
.nav { display: flex; gap: 28px; }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) { .nav { gap: 18px; } .nav a[href="#next"] { display: none; } }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.93rem; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; inset: auto 0 -4px; height: 1.5px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
  transition: border-color .2s, background .2s;
}
.lang:hover { border-color: var(--ink-3); background: var(--card); }
.lang-ur { font-family: var(--font-ur); font-size: 0.85rem; line-height: 1; }
.lang-sep { opacity: .4; }
html[lang="en"] .lang-en, html[lang="ur"] .lang-ur { color: var(--teal); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -8px rgba(1,112,109,.55); }
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 26px -10px rgba(1,112,109,.6); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 10px; }
.btn-block { width: 100%; }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.accent { color: var(--teal); }

h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin-bottom: 24px; }
h1 span { display: block; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.25; font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 56px 0 88px;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 33em; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.countdown { margin-top: 40px; display: flex; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 460px; }
.cd-label { font-size: 0.85rem; color: var(--ink-3); font-weight: 500; }
.cd-units { display: flex; gap: 18px; }
.cd-units div { display: flex; align-items: baseline; gap: 5px; }
.cd-units b { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cd-units span { font-size: 0.82rem; color: var(--ink-3); }

.hero-visual { position: relative; min-height: 560px; }
.hero-photo { position: absolute; inset: 0 0 40px 70px; border-radius: var(--rad-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(14,23,38,.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
html[dir="rtl"] .hero-photo { inset: 0 70px 40px 0; }
/* in Urdu the phone sits on the right, so the photo is mirrored to keep her face and phone clear */
html[dir="rtl"] .hero-photo img { transform: scaleX(-1); }

/* the phone: a frame around a screenshot from the app (the status bar and
   the island are in the picture). The corner is an iPhone screen's: about
   a sixth of the width. */
.phone {
  position: absolute; left: 0; bottom: 0; width: 290px;
  background: #0D1318; border-radius: 48px; overflow: hidden;
  box-shadow: 0 0 0 7px #05080d, 0 40px 70px -20px rgba(5,8,13,.65);
}
html[dir="rtl"] .phone { left: auto; right: 0; transform-origin: bottom right; }
/* the phone is drawn at full size, then scaled as one piece so its proportions never change */
.phone { transform: scale(var(--phone-scale, .72)); transform-origin: bottom left; }
.phone .shot { width: 100%; height: auto; }
/* one screenshot per language */
html[lang="ur"] .shot-en, html:not([lang="ur"]) .shot-ur { display: none; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: 40px 32px 44px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
html[dir="rtl"] .pillar + .pillar { border-left: 0; border-right: 1px solid var(--line); }
.p-num { display: block; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: 18px; letter-spacing: .08em; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: .98rem; }

/* ---------- features ---------- */
.features { padding: 112px 0 40px; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feature-b { grid-template-columns: 1fr 1.1fr; }
.feature figure { border-radius: var(--rad-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -36px rgba(14,23,38,.4); }
.feature figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.feature:hover figure img { transform: scale(1.03); }
.f-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.f-copy p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 22px; max-width: 30em; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 9px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg) translateY(-3px); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 26px 24px; transition: transform .25s, box-shadow .25s; }
.mini:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(14,23,38,.35); }
.mini h4 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.mini p { color: var(--ink-2); font-size: .94rem; }

/* ---------- privacy (dark) ---------- */
.privacy {
  margin: 72px calc(50% - 50vw) 0; padding: 112px 24px;
  background: radial-gradient(1000px 500px at 85% 0%, rgba(1,129,126,.22), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(43,57,144,.28), transparent 60%), var(--night);
  color: #E9EDF3;
}
.privacy-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.eyebrow-dark, .privacy .accent { color: #6FD3CB; }
.pv-lede { color: #B7C0CC; font-size: 1.1rem; margin: 24px 0 28px; max-width: 32em; }
.pv-link { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s; }
.pv-link:hover { border-color: #6FD3CB; }
.pv-link::after { content: " \2192"; }
html[dir="rtl"] .pv-link::after { content: " \2190"; }
.pv-facts { list-style: none; display: grid; gap: 0; counter-reset: f; }
.pv-facts li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.pv-facts li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.pv-facts b { font-size: 1.1rem; color: #fff; }
.pv-facts span { color: #A7B1BE; }

/* ---------- how ---------- */
.how { padding: 112px 0 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps li { position: relative; padding: 32px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad-lg); }
.s-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 800; margin-bottom: 22px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }

/* ---------- join ---------- */
.join { padding: 72px 0 40px; scroll-margin-top: 80px; }
#get { display: block; scroll-margin-top: 80px; }
.join-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 56px;
  box-shadow: 0 40px 80px -50px rgba(14,23,38,.35);
}
.join-mark { width: 40px; height: 48px; margin-bottom: 24px; }
.join-copy h2 { margin-bottom: 16px; }
.join-copy > p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 28px; }
.join-points { list-style: none; display: grid; gap: 12px; }
.join-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.join-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }

.access-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; border: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field input[type=text], .field input[type=email], .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }
.field textarea { resize: vertical; min-height: 84px; }
.field.invalid input { border-color: #C0392B; }
.hint { font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
html[lang="ur"] .hint { line-height: 2; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 7px; }
.tile { position: relative; display: grid; place-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; font-weight: 600; background: var(--paper); transition: border-color .2s, background .2s, color .2s; font-family: var(--font); }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal); }
.tile:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-status { font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #B03A2E; }
.fine { font-size: .78rem; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { padding: 112px 0 40px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq .sec-head { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
html[dir="rtl"] .faq summary { padding: 22px 0 22px 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
html[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 24px 0; max-width: 40em; animation: fadeIn .35s ease; }
html[dir="rtl"] .faq details p { padding: 0 0 24px 40px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- closer ---------- */
.closer { padding: 120px 0 96px; text-align: center; display: grid; justify-items: center; gap: 12px; overflow: hidden; }
.closer-line { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; color: var(--ink-2); }
.closer-word {
  font-family: var(--font); font-weight: 800; letter-spacing: -0.06em; line-height: .9;
  font-size: clamp(5rem, 21vw, 17rem); padding: 0 .04em .06em;
  background: linear-gradient(100deg, #01817E 10%, #2B3990 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 20px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--night); color: #A7B1BE;
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 32px; align-items: start;
  padding: 56px max(24px, calc(50% - var(--wrap)/2 + 24px)) 40px;
}
.f-brand { display: flex; gap: 14px; align-items: flex-start; }
.f-brand b { color: #fff; font-size: 1.1rem; }
.f-brand p { font-size: .9rem; max-width: 24em; }
.f-links { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: flex-end; }
.f-links a { color: #D5DBE3; text-decoration: none; font-size: .92rem; }
.f-links a:hover { color: #fff; text-decoration: underline; }
.f-legal { grid-column: 1 / -1; font-size: .8rem; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .beta-bar .dot { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 40px; }
  .hero-visual { min-height: 520px; }
  .feature, .feature-b { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .feature-b figure { order: -1; }
  .privacy-inner, .faq, .join-card { grid-template-columns: 1fr; gap: 40px; }
  .join-card { padding: 36px 28px; }
  .steps, .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 28px 4px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  html[dir="rtl"] .pillar + .pillar { border-right: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .f-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
  main { padding: 0 18px; }
  .site-header { padding: 12px 18px; }
  .header-actions .btn-sm { display: none; }
  .hero-visual { min-height: 540px; }
  .hero-photo { inset: 0 0 170px 0 !important; }
  .hero-photo img { object-position: 20% 30%; }
  .phone { --phone-scale: .62; transform-origin: bottom right; left: auto !important; right: 8px !important; }
  html[dir="rtl"] .phone { right: auto !important; left: 8px !important; transform-origin: bottom left; }
  html[dir="rtl"] .hero-photo img { object-position: 80% 30%; }
  .countdown { flex-direction: column; align-items: flex-start; gap: 8px; }
  .features, .how, .faq { padding-top: 80px; }
  .privacy { padding: 80px 20px; }
  .closer { padding: 88px 0 72px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- powered-by line ---------- */
.powered { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .3em; margin-top: 22px; font-size: .9rem; color: var(--ink-2); max-width: 34em; }
.powered a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--teal); }
.powered a:hover { color: var(--teal); }
.pw-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #01817E, #2B3990); margin-inline-end: .35em; }

/* ---------- technology ---------- */
.tech { padding: 112px 0 40px; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.tech-lede { color: var(--ink-2); font-size: 1.08rem; margin: 22px 0 28px; max-width: 33em; }
.tech-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.text-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--teal); border-color: var(--teal); }
.stack { list-style: none; display: grid; gap: 10px; }
.layer { position: relative; display: grid; gap: 3px; padding: 22px 26px 22px 30px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: transform .3s; }
.layer:hover { transform: translateX(4px); }
html[dir="rtl"] .layer:hover { transform: translateX(-4px); }
.layer::before { content: ""; position: absolute; inset: 14px auto 14px 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--teal); }
html[dir="rtl"] .layer { padding: 22px 30px 22px 26px; }
html[dir="rtl"] .layer::before { inset: 14px 0 14px auto; border-radius: 4px 0 0 4px; }
.layer b { font-size: 1.25rem; letter-spacing: -0.02em; }
.layer > span:last-child { color: var(--ink-2); font-size: .95rem; }
.l-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ur"] .l-tag { letter-spacing: 0; }
.l-app { margin-inline: 48px 0; }
.l-engine { margin-inline: 24px 0; }
.l-engine::before { background: linear-gradient(#01817E, #2B3990); }
.l-icp { background: var(--night); color: #fff; border-color: transparent; }
.l-icp::before { background: #6FD3CB; }
.l-icp .l-tag { color: #6FD3CB; }
.l-icp > span:last-child { color: #B7C0CC; }
.tech-benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.tb { padding: 28px 24px 8px 0; }
html[dir="rtl"] .tb { padding: 28px 0 8px 24px; }
.tb h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--teal); }
.tb p { color: var(--ink-2); font-size: .94rem; }
.f-powered { font-size: .85rem; margin-top: 6px; max-width: 28em; }
.f-powered a { color: #6FD3CB; }
@media (max-width: 960px) {
  .tech-grid { grid-template-columns: 1fr; gap: 36px; }
  .tech-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .tech { padding-top: 80px; }
  .tech-benefits { grid-template-columns: 1fr; }
  .l-app { margin-inline: 24px 0; } .l-engine { margin-inline: 12px 0; }
}
.l-link { justify-self: start; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 1px solid currentColor; }
.l-link:hover { color: var(--teal-hover); }
.l-link::after { content: " \2192"; }
html[dir="rtl"] .l-link::after { content: " \2190"; }
.pv-links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.faq details p.faq-more { padding-top: 0; margin-top: -12px; }
.faq-more a { font-weight: 600; }
.powered { display: block; line-height: 1.7; }
.pw-dot { display: inline-block; vertical-align: middle; margin-bottom: 2px; }
html[lang="ur"] .powered { line-height: 2.2; }

/* Internet Computer mark + PDA links */
.icp-mark { display: inline-block; width: 1.35em; height: 1.35em; vertical-align: -0.38em; margin-inline-end: .25em; }
.icp-link { white-space: nowrap; }
h2 .icp-mark { width: 1.2em; height: 1.2em; vertical-align: -0.24em; margin-inline-end: .18em; }
.layer b .icp-mark { width: 1.3em; height: 1.3em; vertical-align: -0.32em; }
.pda-link { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.pda-link:hover { color: var(--teal); }
.privacy .pda-link:hover, .site-footer .pda-link:hover, .f-powered .pda-link { color: #6FD3CB; }
.powered .pda-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--teal); }

/* Store badges + ChatT Web */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.store-row-hero { margin-top: 18px; }
.store-badge { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform .2s; }
.store-badge img { height: 40px; width: auto; }
.store-badge:hover, .store-web:hover { transform: translateY(-1px); }
.store-web { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px; border-radius: 8px; background: #000; color: #fff; text-decoration: none; transition: transform .2s; }
.store-web svg { width: 22px; height: 22px; flex: none; }
.store-web span { display: flex; flex-direction: column; line-height: 1.05; }
.store-web small { font-size: .62rem; letter-spacing: .01em; opacity: .9; }
.store-web b { font-size: .98rem; font-weight: 600; }
html[lang="ur"] .store-web small { font-size: .7rem; line-height: 1.5; }
html[lang="ur"] .store-web span { line-height: 1.25; }
.store-badge, .store-web { direction: ltr; }
.store-row-faq { margin: 4px 0 16px; }
.store-label { margin: 22px 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ur"] .store-label { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.web-link { font-weight: 600; unicode-bidi: isolate; }

/* Who can join */
.who-card { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--teal-soft); }
.who-card h3 { margin: 0 0 6px; font-size: 1rem; }
.who-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.who-card .who-later { margin-top: 10px; }
.who-tag { display: inline-block; margin-inline-end: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .04em; vertical-align: 1px; }
html[lang="ur"] .who-tag { letter-spacing: 0; font-size: .78rem; }

/* ---------- what's coming ---------- */
.road { padding: 72px 0 112px; }
.road-lede { color: var(--ink-2); font-size: 1.08rem; margin-top: 18px; max-width: 34em; }
.road-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; position: relative; padding-top: 30px; }
.road-track::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: 2px;
  background: linear-gradient(90deg, var(--teal) 0 22%, transparent 22%) , repeating-linear-gradient(90deg, rgba(1,112,109,.35) 0 6px, transparent 6px 12px); }
html[dir="rtl"] .road-track::before { background: linear-gradient(270deg, var(--teal) 0 22%, transparent 22%), repeating-linear-gradient(270deg, rgba(1,112,109,.35) 0 6px, transparent 6px 12px); }
.road-track li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 24px 22px 26px; }
.r-dot { position: absolute; top: -30px; inset-inline-start: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); }
.road-track li.now .r-dot { background: var(--teal); box-shadow: 0 0 0 6px rgba(1,112,109,.15); }
.r-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(1,112,109,.08); padding: 4px 9px; border-radius: 999px; margin-bottom: 14px; }
.road-track li.now .r-tag { background: var(--teal); color: #fff; }
.road-track h3 { font-size: 1.15rem; margin-bottom: 8px; }
.road-track p { color: var(--ink-2); font-size: .95rem; }
html[lang="ur"] .r-tag { letter-spacing: 0; text-transform: none; font-size: .8rem; }
@media (max-width: 980px) { .road-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .road { padding: 48px 0 80px; }
  .road-track { grid-template-columns: 1fr; padding-top: 0; padding-inline-start: 28px; }
  .road-track::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal) 0 22%, rgba(1,112,109,.3) 22%); }
  html[dir="rtl"] .road-track::before { left: auto; right: 7px; background: linear-gradient(180deg, var(--teal) 0 22%, rgba(1,112,109,.3) 22%); }
  .r-dot { top: 26px; inset-inline-start: -28px; }
}

.store-note { margin-top: 10px; font-size: .86rem; color: var(--ink-3); max-width: 36em; }
html[lang="ur"] .store-note { line-height: 2; }

/* The countdown is hidden once the day arrives (app.js); its display: flex
   would otherwise outrank the hidden attribute. */
.countdown[hidden] { display: none; }

/* ---------- fallback views (the app's links, and not-found) ---------- */
/* assets/site.js adds a view-* class to <html> before first paint; that
   hides every section of the home page and shows the one for the view.
   Without JS the home page shows. */
main > .landing { display: none; }
.view-invite main > :not(#invite),
.view-contact main > :not(#contact),
.view-call main > :not(#call),
.view-not-found main > :not(#not-found) { display: none; }
.view-invite main > #invite,
.view-contact main > #contact,
.view-call main > #call,
.view-not-found main > #not-found { display: block; }

.landing { max-width: 680px; margin: 0 auto; padding: 72px 0 104px; text-align: center; }
.landing h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.1; margin-bottom: 20px; }
.landing .lede { margin: 0 auto; }
.landing .cta-row { justify-content: center; margin-top: 32px; }
.landing-icon { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 18px 36px -18px rgba(14,23,38,.45); }
.web-open { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.web-open a { font-weight: 600; }
/* The link itself, and the button that copies it. Always left to right:
   it is an address, whatever language the page is in. */
.link-box {
  display: block; width: 100%; margin-top: 32px; padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.5;
  color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  word-break: break-all; direction: ltr; text-align: center; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.link-box:hover, .link-box:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.copy-hint { margin-top: 10px; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 520px) { .landing { padding: 48px 0 72px; } }
