:root {
  --green: #006a4e;
  --green-dark: #00523c;
  --green-deep: #063d2e;
  --gold: #d4b36a;
  --cream: #f4f1e8;
  --text: #143028;
  --muted: #5e6f67;
  --border: #c5d0c8;
  --white: #ffffff;
  --heading-red: #b42318;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--cream);
  font-family: "SolaimanLipi", "Segoe UI", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--green); }

.wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.top {
  background: linear-gradient(90deg, var(--green-deep), var(--green) 55%, var(--green-dark));
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

.seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(212, 179, 106, 0.75);
}

.kicker {
  margin: 0 0 2px;
  font-size: 13px;
  opacity: 0.85;
}

.brand strong {
  font-size: 20px;
}

.notice {
  background: #fff6f5;
  border-bottom: 3px solid var(--heading-red);
  color: #5c1a16;
  padding: 16px 0;
}

.notice-kicker {
  margin: 0 0 6px;
  color: var(--heading-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.notice p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.notice strong {
  color: var(--heading-red);
  font-weight: 700;
}

.hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(160deg, #e7f3ec, var(--cream));
  padding: 48px 0 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 700;
}

h1, h2, h3 { color: var(--green-deep); }
h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; }
h2 { margin: 0 0 10px; }
.lead, .meta, .guide, .fine { color: var(--muted); line-height: 1.7; }

.card,
.tutorial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(6, 61, 46, 0.08);
}

.why, .downloads, .tutorial { margin: 12px auto 28px; }

.why {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(6, 61, 46, 0.08);
  padding: 28px 28px 22px;
}

.why h2 {
  margin: 0 0 18px;
  color: var(--heading-red);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 2px solid #f4c7c3;
}

.why ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: why;
}

.why li {
  counter-increment: why;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid #eee4e2;
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.why li:last-child { border-bottom: 0; }

.why li::before {
  content: counter(why, bengali);
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: #fde8e6;
  color: var(--heading-red);
  font-weight: 700;
  font-size: 16px;
}

.tutorial {
  padding: 28px 24px;
  text-align: center;
}
.tutorial .guide {
  margin: 0 auto 18px;
  max-width: 34em;
  font-size: 18px;
}
.tutorial .btn { min-width: min(320px, 100%); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.card.recommended {
  box-shadow: 0 0 0 2px var(--gold), 0 12px 30px rgba(6, 61, 46, 0.08);
}

.card.recommended::after {
  content: "আপনার কম্পিউটার";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.os {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

.card h3 { margin: 0; }
.meta { margin: 0 0 8px; min-height: 24px; }

.btn {
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.btn:hover { background: var(--green-dark); }

[hidden] { display: none !important; }

footer {
  margin-top: auto;
  background: var(--green-deep);
  color: #dce8e2;
  padding: 22px 0;
}

footer .fine { color: #b7c9c0; margin: 6px 0 0; }

@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .card.recommended::after { position: static; align-self: flex-start; }
  .why { padding: 20px 16px 14px; }
  .why li { font-size: 16px; }
}
