/* Socho website. Brief colours (Section 4.7), flat, no external fonts or trackers. */
:root {
  --sun: #ffc233;
  --ink: #1e2a5e;
  --cream: #fff8ec;
  --coral: #ff6b4a;
  --teal: #2ab7bb;
  --violet: #5b4bd6;
  --sky: #4db8ff;
  --peach: #ffe0d2;
  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;
  --outline: 3px solid var(--ink);
  --lift: 0 5px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--round);
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); font-weight: 700; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.urdu { font-family: var(--urdu); direction: rtl; line-height: 2; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--cream);
  border-bottom: var(--outline);
}
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.brand span { font-size: 24px; font-weight: 900; }
.top nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a {
  text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: 16px;
}
.top nav a:hover, .top nav a[aria-current="page"] { background: var(--sun); }

/* Hero: flat sunburst (hard colour stops, so no banding) */
.hero {
  background:
    repeating-conic-gradient(from 3deg at 22% 45%, var(--violet) 0 11.25deg, var(--ink) 11.25deg 22.5deg);
  color: #fff;
  border-bottom: var(--outline);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center;
  padding-block: 56px;
}
.hero .tara { width: min(320px, 70vw); margin-inline: auto; transform: rotate(-8deg); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero .tara { animation: none; } }
.hero h1 { font-size: clamp(56px, 10vw, 104px); line-height: 1; margin: 0 0 8px; letter-spacing: -1px; }
.hero .tag { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; color: var(--sun); margin: 0 0 6px; }
.hero .slogan { font-size: 20px; margin: 0; }
.hero .slogan.urdu { font-size: 22px; text-align: left; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: var(--outline); box-shadow: var(--lift);
  background: var(--coral); color: var(--ink); text-decoration: none; font-weight: 900; font-size: 18px;
}
.btn.ghost { background: #fff; }
.btn small { display: block; font-size: 12px; font-weight: 700; line-height: 1.1; }
.btn .big { display: block; font-size: 18px; line-height: 1.1; }
.btn[aria-disabled="true"] { cursor: default; opacity: .9; }

/* Sections */
section { padding-block: 56px; }
h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 12px; }
.lead { font-size: 20px; max-width: 720px; margin: 0 0 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card {
  border: var(--outline); border-radius: 24px; padding: 22px; box-shadow: var(--lift);
}
.card h3 { margin: 6px 0 6px; font-size: 24px; }
.card p { margin: 0; }
.card .emoji { font-size: 40px; line-height: 1; }
.sun { background: var(--sun); } .teal { background: var(--teal); }
.coral { background: var(--coral); } .sky { background: var(--sky); }
.peach { background: var(--peach); } .white { background: #fff; }

/* Screenshots */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px);
  gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory;
}
.shots img { border: var(--outline); border-radius: 22px; scroll-snap-align: start; background: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li {
  background: #fff; border: var(--outline); border-radius: 18px; padding: 14px 16px 14px 52px; position: relative;
}
.checks li::before {
  content: "✓"; position: absolute; left: 14px; top: 12px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--teal); border: 2px solid var(--ink);
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
}

.how { counter-reset: step; display: grid; gap: 14px; padding: 0; list-style: none; }
.how li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; }
.how li::before {
  content: counter(step); flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sun); border: var(--outline); display: grid; place-items: center; font-weight: 900;
}

/* Legal pages */
.doc { padding-block: 40px 64px; }
.doc .paper {
  background: #fff; border: var(--outline); border-radius: 24px; padding: clamp(20px, 4vw, 44px);
  max-width: 820px; margin-inline: auto;
}
.doc h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.1; margin: 0 0 6px; }
.doc .updated { margin: 0 0 24px; opacity: .8; }
.doc h2 { font-size: 26px; margin: 32px 0 8px; }
.doc li { margin-bottom: 6px; }
.summary { background: var(--peach); border: var(--outline); border-radius: 18px; padding: 16px 20px; }

/* Footer */
footer { background: var(--ink); color: var(--cream); padding-block: 36px; margin-top: 24px; }
footer a { color: var(--sun); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-block: 36px; }
  .hero .slogan.urdu { text-align: center; }
  .cta { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .top nav a { padding: 6px 8px; font-size: 15px; }
  .top nav .wide { display: none; }   /* section links: desktop only */
  .top nav { flex-wrap: nowrap; }
  .hero .tara { width: 200px; }
  .brand span { font-size: 20px; }
}

/* Hero heading: brand name plus what it is, both in the H1 */
.hero h1 .tag {
  display: block; font-size: clamp(22px, 3.2vw, 30px); letter-spacing: 0;
  color: var(--sun); margin-top: 10px; line-height: 1.25;
}

/* At a glance: quotable facts */
.glance { font-size: 20px; max-width: 900px; margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.facts div { background: #fff; border: var(--outline); border-radius: 16px; padding: 10px 14px; }
.facts dt { font-size: 14px; font-weight: 700; opacity: .75; }
.facts dd { margin: 0; font-size: 20px; font-weight: 900; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: var(--outline); border-radius: 18px; background: var(--cream); padding: 4px 18px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 28px; font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font-size: 20px; margin: 12px 0; }
.faq details p { margin: 0 0 14px; }

/* About page */
.about .about-tara { width: 120px; margin: 0 0 8px; transform: rotate(-8deg); }
.about .lead { font-size: 20px; }
.about .urdu { display: block; margin-top: 6px; font-size: 22px; text-align: left; }
