/* ════════════════════════════════════════════════════════════════════════
   bangla.it.com/en — the English site.
   ────────────────────────────────────────────────────────────────────────
   Deliberately NOT a restyle of the Bangla page. That page belongs to its
   readers: a drawn crest, photographs of the country, a warm register. This
   one is written and built for a different reader — someone evaluating a
   security tool, who scans for the mechanism, the numbers and the catch.

   So the register here is a technical dossier: hairline rules instead of
   cards, monospace for anything measurable, a comparison table as the
   centrepiece rather than a hero image, and claims numbered so they can be
   argued with. Same brand, same dark ground, different document.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:      #06090C;
  --bg-1:    #0A1015;
  --bg-2:    #10181F;
  --line:    rgba(255,255,255,.11);
  --line-2:  rgba(255,255,255,.20);
  --grid:    rgba(255,255,255,.045);

  --fg:      #EEF3F6;
  --fg-2:    #A9BAC5;
  --fg-3:    #74858F;

  --ac:      #16C078;
  --ac-2:    #34D98E;
  --warn:    #F0A93B;

  --mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1120px;
  --gut:  clamp(20px, 5vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.001ms!important; transition-duration:.001ms!important; } }

body {
  margin: 0; color: var(--fg);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  /* A faint engineering grid, not a texture — it should be almost subliminal,
     visible mainly where the page is empty. */
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 88px 100%,
    var(--bg);
}
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* ── type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.13; letter-spacing: -.022em; font-weight: 650; color: #fff; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(25px, 3.2vw, 38px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--fg-2); }
a { color: var(--ac-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong, b { color: #fff; font-weight: 620; }
code, kbd { font-family: var(--mono); font-size: .9em; color: var(--ac-2); }

.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--fg-2); max-width: 62ch; }

/* Monospace eyebrow — the label of a section in a spec sheet. */
.tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ac); margin: 0 0 16px; display: flex; align-items: center; gap: 12px;
}
.tag::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.muted { color: var(--fg-3); font-size: 14px; }
.mono  { font-family: var(--mono); }

/* ── layout ───────────────────────────────────────────────────────────── */
.sec { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: 0; }
.sec-tight { padding: clamp(40px, 5vw, 68px) 0; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background .14s, border-color .14s, color .14s;
}
.btn:hover { text-decoration: none; }
.btn-go { background: var(--ac); color: #03130B; }
.btn-go:hover { background: var(--ac-2); }
.btn-line { border-color: var(--line-2); color: var(--fg); }
.btn-line:hover { border-color: var(--fg-3); background: rgba(255,255,255,.04); }
.btn:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* ── the comparison table: the page's centrepiece ─────────────────────── */
.cmp { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 15.5px; }
.cmp caption { text-align: left; color: var(--fg-3); font-size: 13.5px; padding-bottom: 14px; }
.cmp th, .cmp td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; border-bottom-color: var(--line-2); }
.cmp thead th:last-child { color: var(--ac); }
.cmp tbody th { font-weight: 600; color: var(--fg); width: 30%; }
.cmp td { color: var(--fg-2); }
.cmp td:last-child { color: #fff; background: rgba(22,192,120,.055); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-wrap { overflow-x: auto; }

/* ── numbered claims ──────────────────────────────────────────────────── */
.claims { counter-reset: c; margin-top: 30px; }
.claim { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.claim:last-child { border-bottom: 0; }
.claim::before {
  counter-increment: c; content: counter(c, decimal-leading-zero);
  font-family: var(--mono); font-size: 13px; color: var(--ac); padding-top: 3px;
}
.claim h3 { margin-bottom: 6px; }
.claim p { margin: 0; font-size: 15.5px; }

/* ── spec list ────────────────────────────────────────────────────────── */
.spec { margin: 28px 0 0; border-top: 1px solid var(--line-2); }
.spec div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--fg-3); font-size: 14.5px; }
.spec dd { margin: 0; font-family: var(--mono); font-size: 14px; color: #fff; text-align: right; }

/* ── screenshots ──────────────────────────────────────────────────────── */
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); border-top: 1px solid var(--line); letter-spacing: .04em; }
.shot-lead { margin-top: clamp(36px, 5vw, 56px); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); margin-top: 30px; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }

/* ── inside grid ──────────────────────────────────────────────────────── */
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.part { background: var(--bg); padding: 24px 22px; }
.part h3 { margin-bottom: 7px; font-size: 17px; }
.part p { margin: 0; font-size: 14.5px; }
.part .k { font-family: var(--mono); font-size: 11px; color: var(--ac); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 10px; }

/* ── editions ─────────────────────────────────────────────────────────── */
.eds { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 30px; }
.ed { border: 1px solid var(--line); border-radius: 8px; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-1); }
.ed.lead-ed { border-color: rgba(22,192,120,.4); }
.ed h3 { margin: 0; }
.ed .who { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ac); }
.ed ul { margin: 0; padding-left: 1.1em; }
.ed li { font-size: 14.5px; color: var(--fg-2); margin-bottom: 5px; }
.ed .size { margin-top: auto; font-family: var(--mono); font-size: 12.5px; color: var(--fg-3); }

/* ── download ─────────────────────────────────────────────────────────── */
.pick { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-top: 28px; }
.pick-row { display: flex; flex-direction: column; gap: 7px; min-width: 230px; flex: 1; }
.pick-row label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.pick-row select {
  appearance: none; -webkit-appearance: none; padding: 12px 38px 12px 13px; border-radius: 6px;
  border: 1px solid var(--line-2); background-color: var(--bg-2); color: var(--fg);
  font-family: inherit; font-size: 15px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8'><path d='M1 1l5.5 5.5L12 1' fill='none' stroke='%2374858F' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
}
.pick-row select option { background: #10181F; color: #EEF3F6; }
.pick-row select:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }

.term { margin-top: 16px; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: #04080B; }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--fg-3); }
.term-cp { background: rgba(255,255,255,.09); color: var(--fg); border: 0; border-radius: 4px; padding: 5px 11px; font-family: var(--mono); font-size: 11.5px; cursor: pointer; }
.term-cp:hover { background: rgba(255,255,255,.16); }
.term pre { margin: 0; padding: 15px 14px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: #CFE9DA; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
details.q { border-bottom: 1px solid var(--line); padding: 17px 0; }
details.q summary { cursor: pointer; list-style: none; font-weight: 600; color: #fff; font-size: 16.5px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; float: right; color: var(--ac); font-family: var(--mono); }
details.q[open] summary::after { content: "\2212"; }
details.q p { margin: 11px 0 0; font-size: 15.5px; }

/* ── nav / footer ─────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; background: rgba(6,9,12,.82); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 58px; }
.mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; color: var(--fg); letter-spacing: -.01em; }
.mark:hover { text-decoration: none; }
.mark img { border-radius: 5px; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 3px; }
.top-nav a { padding: 7px 12px; border-radius: 5px; font-size: 14.5px; color: var(--fg-2); }
.top-nav a:hover { background: rgba(255,255,255,.06); color: var(--fg); text-decoration: none; }
.top-nav .bn { border: 1px solid var(--line-2); margin-left: 8px; }

/* The two Bengali strings on this page — the language switch in the nav and in
   the footer — must use the bundled face, not the Latin stack. This page's
   readers are the least likely to have a Bengali system font installed, and
   without one "বাংলা" renders as tofu boxes: the link out of the English site
   would be unreadable to exactly the people who need it. We ship the font
   precisely so nothing depends on the visitor having one. */
.top-nav .bn, .foot-grid a[href*="lang=bn"] { font-family: "Bangla", var(--sans); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--fg); font-size: 20px; cursor: pointer; padding: 6px 8px; }
@media (max-width: 820px) {
  .burger { display: block; }
  .top-nav { display: none; position: absolute; left: 0; right: 0; top: 58px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-1); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 14px; }
  .top-nav.open { display: flex; }
  .top-nav a { padding: 11px 4px; }
  .top-nav .bn { margin-left: 0; text-align: center; }
}

.foot { border-top: 1px solid var(--line); padding: 44px 0 34px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.foot-grid div { display: flex; flex-direction: column; gap: 8px; }
.foot-grid b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.foot-grid a { color: var(--fg-2); font-size: 14px; }
.foot-fine { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
