/* ==========================================================================
   TOPIK Champ — shared "document page" styles
   Same design language as the landing page (landing.html): the navy→indigo
   gradient hero, white cards, Anek Bangla / Hind Siliguri / Plus Jakarta Sans.
   Used by: privacy-policy, terms-conditions, faq, contact, deletion-account

   Only this :root block is brand-specific; everything below is structural.
   The token names below are inherited role names (--blue is "the brand
   colour", --teal is "the eyebrow/accent"), not literal hues.
   ========================================================================== */

:root {
  --ink: #101c4e;
  --muted: #6b7594;
  --faint: #99a0bd;
  --line: #dfe4fa;
  --blue: #2b49d6;
  --blue-dark: #16247b;
  --blue-wash: #e7ebfc;
  --teal: #ff4d4d;
  --green: #12a150;
  --amber: #f0a400;
  --alert: #e5484d;
  --wash: #f3f5fe;
  --brand-gradient: linear-gradient(115deg, #101c4e 0%, #16247b 38%, #22349f 68%, #2b49d6 100%);
  --deep-gradient: linear-gradient(115deg, #101c4e 0%, #16247b 50%, #2b49d6 100%);
  --card-shadow: 0 4px 20px rgba(16, 28, 78, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: "Hind Siliguri", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
p { text-wrap: pretty; }

.shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; }

/* ============================= header ============================= */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head-in {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.site-head img { height: 36px; width: auto; display: block; }
.head-links { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.head-link {
  font: 500 15px/1 "Hind Siliguri";
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
}
.head-link:hover { background: var(--wash); }
.head-cta {
  font: 600 15px/1 "Hind Siliguri";
  color: #fff;
  background: var(--blue);
  padding: 13px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(55, 101, 224, 0.28);
  white-space: nowrap;
}
.head-cta:hover { background: var(--blue-dark); color: #fff; }
@media (max-width: 560px) {
  .head-link { display: none; }
}

/* ============================== hero ============================== */
.doc-hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-gradient);
  padding: clamp(38px, 5vw, 66px) 0 clamp(44px, 6vw, 74px);
}
.doc-hero.deep { background: var(--deep-gradient); }
.doc-hero .deco { position: absolute; opacity: 0.09; pointer-events: none; }
.doc-hero .inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 16px;
  margin-bottom: 18px;
  font: 600 12.5px/1 "Plus Jakarta Sans";
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.doc-hero h1 {
  font: 800 clamp(28px, 4.2vw, 44px)/1.22 "Plus Jakarta Sans", sans-serif;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.doc-hero h1.bn { font-family: "Anek Bangla", sans-serif; line-height: 1.35; }
.updated {
  display: inline-block;
  font: 600 13.5px/1 "Plus Jakarta Sans";
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 15px;
  margin-bottom: 20px;
}
.doc-hero .lede {
  font: 400 clamp(15px, 1.2vw, 17px)/1.85 "Hind Siliguri";
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 640px;
}
.doc-hero .lede strong { color: #fff; font-weight: 600; }

/* ============================== body ============================== */
.doc-body { padding: clamp(30px, 5vw, 54px) 0 clamp(44px, 6vw, 76px); }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 12.5px/1 "Plus Jakarta Sans";
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}

/* table of contents */
.toc {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px 18px;
  counter-reset: toc;
}
.toc li { counter-increment: toc; }
.toc li a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  font: 500 15.5px/1.5 "Hind Siliguri";
  color: var(--ink);
  border-bottom: 1px solid var(--wash);
}
.toc li a::before {
  content: counter(toc, decimal-leading-zero);
  font: 700 12px/1 "Plus Jakarta Sans";
  color: var(--faint);
  flex: 0 0 auto;
}
.toc li a:hover { color: var(--blue); }

/* cards */
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: clamp(22px, 3.4vw, 34px);
  margin-bottom: 16px;
  scroll-margin-top: 84px;
}
.card > h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font: 800 clamp(19px, 2.2vw, 25px)/1.35 "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.card > h2.bn { font-family: "Anek Bangla", sans-serif; }
.card > h2 .num {
  flex: 0 0 auto;
  font: 800 13px/1 "Plus Jakarta Sans";
  color: var(--blue);
  background: var(--blue-wash);
  border-radius: 999px;
  padding: 8px 12px;
  letter-spacing: 0.02em;
}
.card h3 {
  font: 700 16.5px/1.5 "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  margin: 22px 0 8px;
}
.card p {
  font: 400 16px/1.85 "Hind Siliguri";
  color: var(--muted);
  margin: 0 0 12px;
}
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--ink); font-weight: 600; }
.card a { font-weight: 600; border-bottom: 1px solid rgba(55, 101, 224, 0.35); }
.card a:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }

/* bullet list */
.bullets { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.bullets li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font: 400 15.5px/1.7 "Hind Siliguri";
  color: var(--ink);
}
.bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  margin-top: 9px;
}
.bullets.deny li::before { background: var(--alert); opacity: 0.6; }

/* icon tiles (a row with a leading icon chip) */
.tiles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tiles > li, .tile {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  font: 400 15.5px/1.6 "Hind Siliguri";
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
a.tile:hover, .tiles > li a:hover { border-color: var(--blue); background: #fbfcff; }
.tile-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-icon.teal { background: rgba(66, 136, 136, 0.1); }
.tile-icon.green { background: rgba(75, 158, 88, 0.1); }
.tile-icon.amber { background: rgba(255, 138, 30, 0.12); }
.tile-body { min-width: 0; flex: 1; }
.tile-label {
  font: 600 11.5px/1.4 "Plus Jakarta Sans";
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.tile-value {
  font: 600 15.5px/1.5 "Hind Siliguri";
  color: var(--ink);
  overflow-wrap: anywhere;
}
a.tile { border-bottom: 1px solid var(--line) !important; font-weight: 400; }
a.tile:hover { border-color: var(--blue) !important; }

/* numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  font: 400 15.5px/1.6 "Hind Siliguri";
  color: var(--ink);
}
.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: 700 13px/30px "Plus Jakarta Sans";
  text-align: center;
}

/* callout */
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--wash);
  border-left: 3px solid var(--blue);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin-top: 18px;
  font: 400 15px/1.75 "Hind Siliguri";
  color: var(--ink);
}
.callout.warn { border-left-color: var(--amber); }
.callout.alert { border-left-color: var(--alert); }

/* price rows */
.prices { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
}
.price-name { font: 700 16.5px/1.4 "Plus Jakarta Sans", sans-serif; color: var(--ink); }
.price-sub { font: 400 14px/1.5 "Hind Siliguri"; color: var(--muted); margin-top: 3px; }
.price-amt { font: 800 22px/1 "Plus Jakarta Sans"; color: var(--blue); white-space: nowrap; }

/* sub-panel (numbered how-to blocks) */
.panel { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.panel-head {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--wash);
  padding: 13px 18px;
  font: 700 15px/1.4 "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.panel-head .n {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: 700 12px/24px "Plus Jakarta Sans";
  text-align: center;
}
.panel ol { margin: 0; padding: 14px 18px 16px 38px; display: flex; flex-direction: column; gap: 8px; }
.panel ol li { font: 400 15.5px/1.7 "Hind Siliguri"; color: var(--muted); }
.panel ol li::marker { color: var(--blue); font-weight: 700; }
.panel ol strong { color: var(--ink); }

/* accordion (FAQ) */
.acc { background: #fff; border-radius: 20px; box-shadow: var(--card-shadow); overflow: hidden; margin-bottom: 12px; }
.acc summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n {
  flex: 0 0 auto;
  font: 700 13px/1 "Plus Jakarta Sans";
  color: var(--faint);
}
.acc summary .q {
  flex: 1;
  font: 600 16.5px/1.6 "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
}
.acc summary .chev { flex: 0 0 auto; transition: transform 0.2s ease; }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .a {
  margin: 0;
  padding: 0 24px 24px 53px;
  font: 400 16px/1.85 "Hind Siliguri";
  color: var(--muted);
  animation: docFade 0.2s ease-out;
}
@keyframes docFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 16px/1 "Hind Siliguri";
  padding: 17px 26px;
  border-radius: 14px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(55, 101, 224, 0.26);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-grad {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 28px rgba(55, 101, 224, 0.3);
}
.btn-grad:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(55, 101, 224, 0.36); }
.btn-outline { color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-wash); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn-row .btn { flex: 1 1 220px; }

.doc-note { font: 400 14px/1.8 "Hind Siliguri"; color: var(--faint); margin: 26px 0 0; }

/* ============================= footer ============================= */
.site-foot { background: var(--ink); padding: clamp(30px, 4vw, 44px) 0 26px; }
.site-foot .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot-logo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-block; }
.foot-logo img { height: 34px; width: auto; display: block; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
.foot-links a {
  font: 400 14.5px/1.6 "Hind Siliguri";
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s;
}
.foot-links a:hover { color: #fff; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.foot-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13.5px/1 "Hind Siliguri";
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.foot-chip:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.foot-contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot-contact-title {
  font: 700 15px/1.4 "Hind Siliguri";
  color: #fff;
  margin-bottom: 4px;
}
.foot-contact a,
.foot-contact span {
  font: 400 14.5px/1.7 "Hind Siliguri";
  color: rgba(255, 255, 255, 0.66);
}
.foot-contact a:hover { color: #fff; }
.foot-copy {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 6px;
  padding-top: 20px;
  font: 400 13.5px/1.6 "Hind Siliguri";
  color: rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
