:root {
  --ink: #11291c;
  --ink-2: #1b3d2a;
  --leaf: #2e7d4f;
  --lime: #d6ee7e;
  --orange: #e95b20;
  --orange-d: #cf430c;
  --sage: #f2f6ec;
  --muted: #52645a;
  --line: #d9e3d0;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 84px;
  --font-body: "Hind Siliguri", Bangla, system-ui, sans-serif;
  --font-display: "Anek Bangla", "Hind Siliguri", Bangla, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font: 400 17px/1.8 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 60;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange-d);
  outline-offset: 2px;
}

/* header (home এর মতোই) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 246, 236, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 0 var(--line),
    0 12px 28px -20px rgba(17, 41, 28, 0.35);
}
.header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.logo {
  width: 240px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}
.nav a {
  padding: 8px 16px;
  border-radius: 999px;
  transition:
    background 0.25s,
    color 0.25s;
}
.nav a:not(.login):hover {
  background: rgba(17, 41, 28, 0.07);
}
.nav a.is-current {
  background: rgba(17, 41, 28, 0.07);
  font-weight: 600;
}
.nav .login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 10px;
  padding: 10px 22px;
  background: var(--orange-d);
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(207, 67, 12, 0.8);
}
.nav .login .ico {
  width: 18px;
  height: 18px;
}
.nav .login:hover {
  background: #b83a08;
}
.nav .login:hover .ico {
  transform: translateX(3px);
}
.nav .login .ico {
  transition: transform 0.3s var(--ease);
}
.app-search {
  display: none;
}

/* policy page */
.pol-hero {
  padding: 32px 0 6px;
}
.pol-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 40px 44px 30px;
  background: linear-gradient(135deg, #fff 0%, #eef6e3 100%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -36px rgba(17, 41, 28, 0.55);
}
.pol-card::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 238, 126, 0.9),
    rgba(214, 238, 126, 0) 70%
  );
  pointer-events: none;
}
.pol-card::after {
  content: "";
  position: absolute;
  right: 70px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(233, 91, 32, 0.22),
    rgba(233, 91, 32, 0) 70%
  );
  pointer-events: none;
}
.pol-card > * {
  position: relative;
  z-index: 1;
}
.pol-card h1 {
  margin-top: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--ink-2);
}
.pol-card h1 small {
  display: block;
  margin-top: 4px;
  font-size: 0.55em;
  font-weight: 600;
  color: var(--leaf);
}
.pol-date {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}
.pol-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
  margin: 22px 0 0;
}
.pol-tabs::-webkit-scrollbar {
  display: none;
}
.pol-tabs a {
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease);
}
.pol-tabs a:hover {
  border-color: var(--leaf);
  transform: translateY(-2px);
}
.pol-tabs a.is-active {
  background: var(--orange-d);
  border-color: var(--orange-d);
  color: #fff;
}
.pol-lang {
  display: none;
  margin: 16px 0 0;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  width: max-content;
}
.pol-lang button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}
.pol-lang button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.pol-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 0;
}
.pol-head span {
  justify-self: start;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.pol-head span:last-child {
  background: var(--lime);
  color: var(--ink);
}
.policy {
  padding: 4px 0 70px;
}
.p-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 14px;
  padding: 6px 0;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.p-row:hover {
  box-shadow: 0 20px 36px -28px rgba(17, 41, 28, 0.5);
}
.p-col {
  padding: 22px 30px;
}
.p-col[lang="en"] {
  border-left: 1px dashed var(--line);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: linear-gradient(
    180deg,
    rgba(242, 246, 236, 0.55),
    rgba(242, 246, 236, 0)
  );
  border-radius: 0 26px 26px 0;
}
.p-col[lang="en"] h2 {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
.p-col h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.18rem;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.p-col h2 .num {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}
.p-col p {
  color: #223a2c;
}
.p-col p + p,
.p-col ul + p,
.p-col p + ul {
  margin-top: 8px;
}
.p-col ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.p-col li {
  margin: 7px 0;
}
.p-col li::marker {
  color: var(--orange-d);
}
.p-col strong {
  color: var(--ink);
}
.p-col a {
  color: var(--orange-d);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-row:first-child {
  background: linear-gradient(135deg, #fff, #f4f9e8);
  border-color: #cfe39a;
}
.p-row:last-child .p-col h2 .num {
  background: var(--orange-d);
  color: #fff;
}

/* footer */
.footer {
  position: relative;
  margin-top: 4px;
  padding: 40px 0 22px;
  background: var(--ink);
  color: #d7e4d1;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--lime) 0 33.4%,
    var(--orange) 33.4% 66.7%,
    #ffd54a 66.7%
  );
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-logo {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff;
}
.footer-logo img {
  width: 128px;
  height: auto;
}
.footer p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #b9ccb5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-nav a {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 15px;
  color: #eaf3e4;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease);
}
.footer-nav a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: translateY(-2px);
}
.footer-nav .footer-cta {
  background: var(--orange-d);
  border-color: var(--orange-d);
  color: #fff;
}

.dock {
  display: none;
}

@media (max-width: 980px) {
  .pol-head {
    display: none;
  }
  .pol-lang {
    display: flex;
  }
  .p-row {
    grid-template-columns: 1fr;
  }
  .p-col[lang="en"] {
    border-left: 0;
    border-radius: 0 0 26px 26px;
  }
  .policy[data-lang="bn"] [lang="en"] {
    display: none;
  }
  .policy[data-lang="en"] [lang="bn"] {
    display: none;
  }
}
@media (max-width: 700px) {
  :root {
    --header-h: 68px;
  }
  .wrap {
    padding: 0 20px;
  }
  .logo {
    width: 190px;
  }
  .nav {
    display: none;
  }
  .app-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f26a2e, var(--orange-d));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 12px 22px -12px rgba(207, 67, 12, 0.9);
  }
  .app-search .ico {
    width: 19px;
    height: 19px;
  }
  .pol-hero {
    padding-top: 20px;
  }
  .pol-card {
    padding: 26px 22px 22px;
    border-radius: 26px;
  }
  .p-col {
    padding: 20px 20px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer {
    padding-bottom: calc(24px + 92px + env(safe-area-inset-bottom, 0px));
  }
  .dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 4px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    padding: 8px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(217, 227, 208, 0.9);
    box-shadow: 0 20px 40px -18px rgba(17, 41, 28, 0.55);
  }
  .dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    border-radius: 18px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--muted);
    transition:
      background 0.25s,
      color 0.25s,
      transform 0.2s var(--ease);
  }
  .dock a:active {
    transform: scale(0.94);
  }
  .dock svg {
    width: 22px;
    height: 22px;
  }
  .dock a.is-active {
    color: var(--ink);
    background: var(--sage);
  }
  .dock a.is-active svg {
    color: var(--orange-d);
  }
  .dock .tab-cta {
    flex-direction: row;
    gap: 5px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #f26a2e, var(--orange-d));
    box-shadow: 0 12px 22px -12px rgba(207, 67, 12, 0.9);
  }
  .dock .tab-cta svg {
    width: 18px;
    height: 18px;
  }
}
