/* টেকসেতু: সাইটের স্টাইল। রং ও ফন্ট বদলাতে শুধু উপরের :root অংশ এডিট করুন। */
:root {
  --bg: #F2F5F3;
  --surface: #FFFFFF;
  --fg: #0E1D26;
  --muted: #51616B;
  --line: #D5DDD9;
  --accent: #0A7C6E;
  --accent-fg: #FFFFFF;
  --accent-soft: #DDEFEA;
  --signal: #B7600A;
  --danger: #B3261E;
  --font-display: "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  --font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B151B; --surface: #12212A; --fg: #E6EEEA; --muted: #9AABB3;
    --line: #254049; --accent: #3CC2AE; --accent-fg: #06211C; --accent-soft: #123B37;
    --signal: #F0A257; --danger: #FF8A80;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; }
.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand svg { width: 30px; height: 30px; }
.links { display: flex; gap: 6px 20px; flex-wrap: wrap; font-weight: 500; font-size: 16px; }
.links a { text-decoration: none; color: var(--muted); padding: 2px 0; border-bottom: 2px solid transparent; }
.links a:hover { color: var(--fg); }
.links a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 600; font-size: 17px; padding: 12px 22px; border-radius: 6px; text-decoration: none; border: 1.5px solid var(--accent); background: var(--accent); color: var(--accent-fg); cursor: pointer; line-height: 1.4; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--fg); filter: none; }

/* hero */
.hero { padding-block: 56px 64px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust { display: flex; gap: 20px 28px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust div { display: flex; flex-direction: column; }
.trust b { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1.2; }
.trust span { color: var(--muted); font-size: 14px; }

.ticket { background: var(--surface); border: 1.5px solid var(--fg); border-radius: 10px; padding: 22px; box-shadow: 8px 8px 0 var(--accent-soft); min-width: 0; }
.ticket .head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.ticket .tag { color: var(--signal); }
.ticket h3 { font-size: 20px; margin-top: 14px; }
.ticket .meta { color: var(--muted); font-size: 15px; margin-top: 4px; }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; }
.steps li { display: grid; grid-template-columns: 64px 18px minmax(0, 1fr); gap: 10px; align-items: start; padding-bottom: 14px; position: relative; font-size: 15px; }
.steps li::before { content: ""; position: absolute; left: 73px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps .dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--accent); justify-self: center; }
.steps .time { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.ticket .foot { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.ticket .ok { color: var(--accent); font-weight: 600; }

/* sections */
section.block { padding-block: 64px; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { max-width: 40em; margin-bottom: 36px; display: grid; gap: 10px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.sec-head p { color: var(--muted); }
.page-head { padding-block: 48px 8px; max-width: 46em; display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.page-head p { color: var(--muted); font-size: 19px; }
.more { margin-top: 24px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.svc { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--fg); min-width: 0; }
.svc svg { width: 34px; height: 34px; color: var(--accent); margin-top: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 21px; }
.svc p { color: var(--muted); font-size: 16px; }
.svc .mono { color: var(--muted); font-size: 12px; margin-top: 4px; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); }
.flow > div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; min-width: 0; }
.flow .mono { color: var(--accent); }
.flow h3 { font-size: 19px; margin: 8px 0 6px; }
.flow p { font-size: 15.5px; color: var(--muted); }

.webgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.dlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.dlist > div { border-top: 1px solid var(--line); padding: 18px 0 22px; min-width: 0; }
.dlist h3 { font-size: 19px; }
.dlist p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.dlist .mono { display: block; color: var(--accent); font-size: 12px; margin-top: 10px; overflow-wrap: anywhere; }
.panel { background: var(--surface); border: 1.5px solid var(--fg); border-radius: 10px; padding: 24px; box-shadow: 8px 8px 0 var(--accent-soft); min-width: 0; display: grid; gap: 10px; }
.panel h3 { font-size: 21px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; font-size: 16px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.two h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 8px; }
.two > div > p { color: var(--muted); margin-bottom: 20px; }

.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan.pop { border: 2px solid var(--accent); }
.plan .pill { align-self: flex-start; background: var(--accent); color: var(--accent-fg); font-size: 13px; font-weight: 600; padding: 2px 12px; border-radius: 99px; }
.plan h3 { font-size: 22px; }
.price { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1.1; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; flex: 1; font-size: 16px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.sub { font-size: 22px; font-weight: 700; display: flex; align-items: baseline; gap: 12px; margin: 8px 0 18px; flex-wrap: wrap; }
.sub span { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 10px; }
.sub:not(:first-child) { margin-top: 48px; }
.note { margin-top: 18px; color: var(--muted); font-size: 15px; }

.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cs { list-style: none; padding: 0; margin: 0; display: grid; }
.cs li { border-top: 1px solid var(--line); padding: 16px 0; min-width: 0; }
.cs h3 { font-size: 19px; }
.cs p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.faq { min-width: 0; }
.faq h3 { font-size: 22px; margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { color: var(--muted); margin-top: 8px; font-size: 16px; }

.band { background: var(--accent); color: var(--accent-fg); }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-block: 36px; }
.band h2 { font-size: clamp(24px, 3.4vw, 32px); }
.band p { opacity: .92; margin-top: 4px; max-width: 36em; }
.band .btn { background: var(--accent-fg); color: var(--accent); border-color: var(--accent-fg); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; padding-block: 40px 72px; }
.contact h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.info { display: grid; gap: 14px; margin-top: 22px; }
.info div { display: grid; }
.info span { color: var(--muted); font-size: 14px; }
.info b { font-weight: 600; font-size: 18px; overflow-wrap: anywhere; }
form.card { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; min-width: 0; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; min-width: 0; }
input, select, textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
textarea { min-height: 110px; resize: vertical; }
.err { color: var(--danger); font-size: 14px; font-weight: 400; }
.alert { padding: 14px 16px; border-radius: 8px; background: var(--accent-soft); display: grid; gap: 2px; }
.alert b { font-weight: 600; }
.alert.bad { background: transparent; border: 1.5px solid var(--danger); color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* admin */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); font-weight: 500; white-space: nowrap; }
td.msg { min-width: 240px; white-space: pre-wrap; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }

/* errors */
.err-page { padding-block: 96px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.err-page b { font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; color: var(--accent); }
.err-page h1 { font-size: clamp(30px, 5vw, 44px); }
.err-page p { color: var(--muted); max-width: 30em; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding-block: 40px 28px; color: var(--muted); font-size: 15px; background: var(--surface); }
.fcols { display: grid; gap: 28px 40px; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
.fcols h4 { font-family: var(--font-display); font-size: 16px; margin: 0 0 8px; color: var(--fg); }
.fcols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.fcols a { text-decoration: none; }
.fcols a:hover { color: var(--fg); text-decoration: underline; }
.fcols .brand { color: var(--fg); margin-bottom: 8px; }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; }

@media (max-width: 860px) {
  .hero, .contact, .webgrid, .consult { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding-block: 36px 48px; }
  section.block { padding-block: 48px; }
  .fcols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
