/* ============================================================================
   DawaImg — Modern Forensic Design System
   DawaForensics.com redesign  ·  plain HTML/CSS/JS  ·  self-contained
   ============================================================================ */

/* ----------------------------- Design tokens ----------------------------- */
:root{
  --bg:            #070b12;
  --bg-2:          #0a1018;
  --bg-3:          #0d1420;
  --card:          #0f1621;
  --card-2:        #121b28;
  --surface:       rgba(255,255,255,.045);
  --surface-2:     rgba(255,255,255,.07);
  --border:        rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --text:          #e9eef6;
  --text-dim:      #b3bfd0;
  --muted:         #8290a6;

  --brand:         #37e0c3;   /* signal teal */
  --brand-2:       #4ea8ff;   /* azure */
  --brand-ink:     #05201c;
  --grad:          linear-gradient(120deg,#37e0c3 0%, #4ea8ff 55%, #7c8bff 100%);
  --grad-soft:     linear-gradient(120deg, rgba(55,224,195,.16), rgba(78,168,255,.10));

  --cta:          #ffc24b;    /* download amber */
  --cta-2:        #ff9f3c;
  --cta-ink:      #2a1c02;
  --cta-grad:     linear-gradient(120deg,#ffcf6a 0%, #ff9f3c 100%);
  --cta-glow:     0 10px 30px -8px rgba(255,166,60,.55);

  --ok:           #49d6a0;
  --warn:         #ffb43a;
  --bad:          #ff6f6f;

  --radius:       16px;
  --radius-lg:    22px;
  --radius-sm:    10px;
  --radius-pill:  999px;

  --shadow-sm:    0 2px 10px rgba(0,0,0,.35);
  --shadow:       0 18px 40px -18px rgba(0,0,0,.7);
  --shadow-lg:    0 40px 80px -30px rgba(0,0,0,.75);
  --ring:         0 0 0 1px var(--border-strong), 0 0 0 4px rgba(55,224,195,.14);

  --maxw:         1180px;
  --nav-h:        68px;
  --font:         "Inter","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  --mono:         ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* -------------------------------- Base -------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(55,224,195,.10), transparent 60%),
    radial-gradient(1100px 700px at 108% 0%, rgba(78,168,255,.10), transparent 55%),
    var(--bg);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; }
h1,h2,h3,h4,h5{ line-height:1.12; margin:0 0 .5em; letter-spacing:-.02em; font-weight:800; }
h1{ font-size:clamp(2.5rem,6.4vw,4.6rem); font-weight:850; }
h2{ font-size:clamp(1.9rem,4.2vw,3rem); }
h3{ font-size:clamp(1.25rem,2.4vw,1.6rem); }
p{ margin:0 0 1rem; }
::selection{ background:rgba(55,224,195,.32); color:#fff; }

/* subtle background grid */
body::before{
  content:""; position:fixed; inset:0; z-index:-2; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 85%);
  -webkit-mask-image:radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 85%);
}

/* ------------------------------ Layout -------------------------------- */
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 22px; }
.container-wide{ max-width:1320px; }
.section{ padding:clamp(60px,9vw,120px) 0; position:relative; }
.section-tight{ padding:clamp(42px,6vw,80px) 0; }
.grid{ display:grid; gap:22px; }
.col-3{ grid-template-columns:repeat(3,1fr); }
.col-2{ grid-template-columns:repeat(2,1fr); }
.col-4{ grid-template-columns:repeat(4,1fr); }
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media (max-width:960px){
  .col-3,.col-2,.col-4,.split{ grid-template-columns:1fr; gap:24px; }
}
@media (max-width:960px) and (min-width:680px){
  .col-4{ grid-template-columns:repeat(2,1fr); }
  .col-3{ grid-template-columns:repeat(2,1fr); }
}
.center{ text-align:center; }
.mx-auto{ margin-inline:auto; }
.divider{ height:1px; background:linear-gradient(90deg,transparent,var(--border),transparent); border:0; margin:0; }

/* ------------------------------ Eyebrow -------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--mono); font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brand); font-weight:600; margin:0 0 18px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:linear-gradient(90deg,var(--brand),transparent); }
.lead{ font-size:clamp(1.05rem,1.6vw,1.28rem); color:var(--text-dim); max-width:62ch; }
.center .lead{ margin-inline:auto; }
.ink{ color:#fff; }
.dim{ color:var(--text-dim); }
.mut{ color:var(--muted); }

/* ------------------------------- Buttons -------------------------------- */
.btn{
  --bg:var(--surface); --fg:#fff;
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 22px; border-radius:var(--radius-pill);
  font-weight:700; font-size:.98rem; letter-spacing:-.01em;
  background:var(--bg); color:var(--fg);
  border:1px solid var(--border);
  transition:transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, filter .2s;
  white-space:nowrap; user-select:none;
}
.btn svg{ width:19px; height:19px; flex:none; }
.btn:hover{ transform:translateY(-2px); border-color:var(--border-strong); }
.btn:active{ transform:translateY(0); }
.btn:focus-visible{ outline:none; box-shadow:var(--ring); }

.btn-primary{
  --bg:var(--grad); --fg:#04121a; border:0;
  box-shadow:0 12px 34px -14px rgba(78,168,255,.7);
}
.btn-primary:hover{ filter:brightness(1.06); box-shadow:0 18px 44px -14px rgba(78,168,255,.85); }

.btn-cta{
  --bg:var(--cta-grad); --fg:var(--cta-ink); border:0;
  box-shadow:var(--cta-glow);
}
.btn-cta:hover{ box-shadow:0 16px 40px -10px rgba(255,166,60,.75); filter:brightness(1.03); }

.btn-ghost{ --bg:transparent; }
.btn-ghost:hover{ --bg:var(--surface); }

.btn-lg{ padding:17px 30px; font-size:1.06rem; }
.btn-sm{ padding:9px 15px; font-size:.86rem; border-radius:var(--radius-pill); }
.btn-block{ width:100%; }
.btn[aria-busy="true"]{ opacity:.7; }

/* download button gets a subtle animated sheen */
.btn-cta::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 62%);
  transform:translateX(-120%); transition:transform .7s var(--ease);
}
.btn-cta:hover::after{ transform:translateX(120%); }

/* -------------------------------- Badges -------------------------------- */
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 14px; border-radius:var(--radius-pill);
  background:var(--surface); border:1px solid var(--border);
  font-size:.82rem; font-weight:600; color:var(--text-dim);
}
.pill svg{ width:15px; height:15px; }
.pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(73,214,160,.18); }
.badge-row{ display:flex; flex-wrap:wrap; gap:12px; }
.tag{
  font-family:var(--mono); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase;
  padding:4px 10px; border-radius:7px; background:rgba(55,224,195,.12); color:var(--brand); border:1px solid rgba(55,224,195,.22);
  display:inline-block;
}
.tag.b{ background:rgba(78,168,255,.12); color:var(--brand-2); border-color:rgba(78,168,255,.22); }

/* -------------------------------- Cards -------------------------------- */
.card{
  background:linear-gradient(180deg,var(--card-2),var(--card));
  border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:26px; position:relative; overflow:hidden;
  transition:transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.card::before{ content:""; position:absolute; inset:0; background:var(--grad-soft); opacity:0; transition:opacity .25s; pointer-events:none; }
.card:hover{ transform:translateY(-4px); border-color:var(--border-strong); box-shadow:var(--shadow); }
.card:hover::before{ opacity:.5; }
.card>*{ position:relative; }
.card .ic{
  width:46px; height:46px; border-radius:13px; display:grid; place-items:center; margin-bottom:16px;
  background:rgba(55,224,195,.12); border:1px solid rgba(55,224,195,.24); color:var(--brand);
}
.card .ic svg{ width:23px; height:23px; }
.card h3{ font-size:1.15rem; margin-bottom:.35rem; }
.card p{ color:var(--text-dim); margin:0; font-size:.96rem; }

/* media card */
.media-card{ padding:0; }
.media-card .shot{ width:100%; aspect-ratio:16/9; object-fit:cover; border-bottom:1px solid var(--border); display:block; filter:saturate(1.02) contrast(1.02); }
.media-card .shot-body{ padding:20px 22px 24px; }
.media-card .shot-body h3{ font-size:1.08rem; }

/* glass panel */
.glass{
  background:rgba(12,19,30,.66); border:1px solid var(--border);
  backdrop-filter:blur(14px) saturate(1.2); -webkit-backdrop-filter:blur(14px) saturate(1.2);
  border-radius:var(--radius-lg);
}

/* ------------------------------- Navbar -------------------------------- */
.nav{
  position:sticky; top:0; z-index:100; height:var(--nav-h);
  display:flex; align-items:center;
  background:rgba(9,14,22,.62); backdrop-filter:blur(16px) saturate(1.3); -webkit-backdrop-filter:blur(16px) saturate(1.3);
  border-bottom:1px solid transparent;
  transition:border-color .25s, background .25s;
}
.nav.scrolled{ border-bottom-color:var(--border); background:rgba(9,14,22,.86); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; }
.brand{ display:inline-flex; align-items:center; gap:11px; font-weight:800; font-size:1.12rem; letter-spacing:-.02em; }
.brand .logo{
  width:36px; height:36px; border-radius:10px; overflow:hidden;
  background:transparent; display:grid; place-items:center; flex:none;
}
.brand .logo img{ width:100%; height:100%; object-fit:cover; display:block; }
.brand .sub{ font-family:var(--mono); font-size:.55em; color:var(--muted); letter-spacing:.08em; font-weight:600; margin-top:2px; }
.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links a{
  padding:9px 14px; border-radius:10px; font-weight:600; font-size:.95rem; color:var(--text-dim);
  transition:color .15s, background .15s; position:relative;
}
.nav-links a:hover{ color:#fff; background:var(--surface); }
.nav-links a.active{ color:var(--brand); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.burger{ display:none; width:42px; height:42px; border-radius:11px; background:var(--surface); border:1px solid var(--border); place-items:center; }
.burger svg{ width:22px; height:22px; }

.mobile-menu{
  position:fixed; inset:var(--nav-h) 0 auto 0; z-index:99;
  background:rgba(9,14,22,.97); backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  transform:translateY(-12px); opacity:0; pointer-events:none; transition:.2s var(--ease);
  padding:16px 22px 26px;
}
.mobile-menu.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
.mobile-menu a{ display:block; padding:14px 8px; font-size:1.05rem; font-weight:600; border-bottom:1px solid var(--border); }
.mobile-menu .mm-cta{ margin-top:18px; display:flex; flex-direction:column; gap:12px; }
@media (max-width:900px){
  .nav-links,.nav-cta .btn{ display:none; }
  .burger{ display:grid; }
}

/* mobile sticky download bar */
.mbar{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  display:none; gap:10px; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(9,14,22,.94); backdrop-filter:blur(16px); border-top:1px solid var(--border);
}
.mbar .btn{ flex:1; }
@media (max-width:900px){ .mbar{ display:flex; } body{ padding-bottom:72px; } }

/* -------------------------------- Hero -------------------------------- */
.hero{ position:relative; padding:clamp(48px,7vw,96px) 0 clamp(50px,7vw,90px); }
.hero-glow{ position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(600px 340px at 18% 18%, rgba(55,224,195,.22), transparent 60%),
             radial-gradient(700px 380px at 88% 8%, rgba(78,168,255,.20), transparent 60%);
}
.hero .kicker{
  display:inline-flex; align-items:center; gap:9px; padding:7px 14px 7px 10px; border-radius:var(--radius-pill);
  background:var(--surface); border:1px solid var(--border); font-size:.85rem; font-weight:600; color:var(--text-dim); margin-bottom:26px;
}
.hero .kicker .dot{ width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(73,214,160,.2); }
.hero h1 .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero .lead{ font-size:clamp(1.1rem,2vw,1.4rem); margin:22px 0 30px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:18px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:8px 18px; color:var(--muted); font-size:.9rem; font-weight:500; }
.hero-trust span{ display:inline-flex; align-items:center; gap:7px; }
.hero-trust svg{ width:16px; height:16px; color:var(--ok); }
.os-note{ font-family:var(--mono); font-size:.78rem; color:var(--muted); margin-left:2px; }

.hero-stage{ margin-top:52px; }
.frame{
  position:relative; border-radius:20px; overflow:hidden; border:1px solid var(--border-strong);
  box-shadow:var(--shadow-lg); background:#0b1220;
}
.frame .bar{ height:34px; display:flex; align-items:center; gap:6px; padding:0 14px; background:rgba(255,255,255,.05); border-bottom:1px solid var(--border); }
.frame .bar i{ width:11px; height:11px; border-radius:50%; background:var(--border); }
.frame .bar i:nth-child(1){ background:#ff6f6f; } .frame .bar i:nth-child(2){ background:#ffc24b; } .frame .bar i:nth-child(3){ background:#49d6a0; }
.frame .bar .ttl{ margin-left:8px; font-family:var(--mono); font-size:.72rem; color:var(--muted); }
.frame img{ width:100%; height:auto; display:block; }
.hero-cap{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }

/* stat strip */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:30px; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); background:var(--card); }
.stat{ padding:22px 20px; border-right:1px solid var(--border); }
.stat:last-child{ border-right:0; }
.stat b{ display:block; font-size:clamp(1.5rem,3vw,2.1rem); font-weight:850; letter-spacing:-.02em; }
.stat b .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat span{ color:var(--muted); font-size:.86rem; }
@media (max-width:820px){ .stats{ grid-template-columns:repeat(2,1fr);} .stat:nth-child(2){ border-right:0;} .stat:nth-child(1),.stat:nth-child(2){ border-bottom:1px solid var(--border);} }

/* CTA band */
.band{ position:relative; overflow:hidden; border-radius:var(--radius-lg); border:1px solid var(--border-strong);
  background:linear-gradient(120deg, rgba(55,224,195,.14), rgba(78,168,255,.10)), var(--card); padding:clamp(38px,6vw,66px); }
.band .grid-bg{ position:absolute; inset:0; opacity:.5; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:40px 40px; -webkit-mask-image:radial-gradient(120% 120% at 50% 0,#000,transparent); mask-image:radial-gradient(120% 120% at 50% 0,#000,transparent);}
.band>*{ position:relative; }
.band h2{ max-width:20ch; }
.band .ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }

/* section head */
.sec-head{ max-width:720px; margin-bottom:44px; }
.sec-head.center{ margin-inline:auto; text-align:center; }

/* pipeline */
.pipeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; align-items:stretch; }
.pipeline .step{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:18px; position:relative; }
.pipeline .step .n{ font-family:var(--mono); font-size:.72rem; color:var(--brand); letter-spacing:.1em; }
.pipeline .step h4{ font-size:1rem; margin:8px 0 6px; }
.pipeline .step p{ font-size:.85rem; color:var(--muted); margin:0; }
.pipeline .arrow{ position:absolute; right:-13px; top:50%; transform:translateY(-50%); z-index:2; color:var(--border-strong); }
.pipeline .arrow svg{ width:20px; height:20px; }
@media (max-width:980px){ .pipeline{ grid-template-columns:1fr; } .pipeline .arrow{ display:none; } }

/* format chips */
.fmt{ display:flex; flex-wrap:wrap; gap:8px; }
.fmt code{ font-family:var(--mono); font-size:.8rem; padding:6px 11px; border-radius:8px; background:rgba(78,168,255,.1); border:1px solid rgba(78,168,255,.2); color:#cfe0ff; }

/* checklist */
.check{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.check.two{ grid-template-columns:1fr 1fr; }
@media (max-width:680px){ .check.two{ grid-template-columns:1fr; } }
.check li{ display:flex; align-items:flex-start; gap:11px; font-size:.98rem; color:var(--text-dim); }
.check .mark{ flex:none; width:22px; height:22px; border-radius:7px; display:grid; place-items:center; margin-top:1px; }
.check .mark svg{ width:15px; height:15px; }
.check.ok .mark{ background:rgba(73,214,160,.14); color:var(--ok); }
.check.no .mark{ background:rgba(255,111,111,.14); color:var(--bad); }

/* testimonial */
.quote{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px; }
.quote .mark{ font-size:2.6rem; line-height:.6; color:var(--brand); font-family:Georgia,serif; }
.quote p{ color:var(--text); font-size:1.06rem; margin:10px 0 16px; }
.quote .who{ color:var(--muted); font-size:.88rem; }
.quote .who b{ color:var(--text-dim); }

/* logos/trust */
.trust{ display:flex; flex-wrap:wrap; gap:14px 30px; align-items:center; color:var(--muted); font-weight:600; }
.trust .num{ font-size:clamp(1.6rem,3vw,2.2rem); font-weight:850; color:#fff; }
.trust .num .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.trust-cell{ display:flex; flex-direction:column; }

/* tables */
.table{ width:100%; border-collapse:collapse; overflow:hidden; border-radius:var(--radius); border:1px solid var(--border); font-size:.95rem; display:block; }
.table th,.table td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--border); vertical-align:top; }
.table thead th{ background:rgba(255,255,255,.04); font-weight:700; color:var(--text); font-size:.85rem; letter-spacing:.02em; }
.table tbody tr:last-child td{ border-bottom:0; }
.table tbody tr:hover{ background:var(--surface); }
.table .yes{ color:var(--ok); font-weight:700; }
.table .no{ color:var(--muted); }

/* FAQ */
.faq-list{ display:grid; gap:12px; max-width:900px; }
.faq-item{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.faq-q{ width:100%; text-align:left; padding:20px 22px; background:none; border:0; display:flex; align-items:center; justify-content:space-between; gap:16px; font-weight:700; font-size:1.05rem; }
.faq-q .chev{ flex:none; width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--surface); border:1px solid var(--border); transition:transform .25s var(--ease); }
.faq-q .chev svg{ width:17px; height:17px; transition:transform .25s var(--ease); }
.faq-item.open .chev{ background:rgba(55,224,195,.14); color:var(--brand); }
.faq-item.open .chev svg{ transform:rotate(180deg); }
.faq-a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s var(--ease); }
.faq-item.open .faq-a{ grid-template-rows:1fr; }
.faq-a>div{ overflow:hidden; }
.faq-a p{ margin:0; padding:0 22px 22px; color:var(--text-dim); }

/* roadmap / timeline */
.timeline{ position:relative; padding-left:34px; display:grid; gap:26px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:linear-gradient(var(--brand),var(--brand-2),transparent); }
.tl-item{ position:relative; }
.tl-item::before{ content:""; position:absolute; left:-30px; top:4px; width:14px; height:14px; border-radius:50%; background:var(--bg); border:2px solid var(--brand); box-shadow:0 0 0 4px rgba(55,224,195,.14); }
.tl-item .when{ font-family:var(--mono); font-size:.78rem; color:var(--brand); letter-spacing:.08em; }
.tl-item h4{ margin:4px 0 6px; font-size:1.05rem; }
.tl-item p{ margin:0; color:var(--muted); font-size:.94rem; }
.tl-item.done::before{ background:var(--brand); }
.tl-item .status{ font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 9px; border-radius:7px; }
.tl-item.done .status{ background:rgba(73,214,160,.14); color:var(--ok); }
.tl-item.todo .status{ background:var(--surface); color:var(--muted); }

/* blog cards */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .blog-grid{ grid-template-columns:1fr; } }
.post{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:transform .2s var(--ease), border-color .2s; }
.post:hover{ transform:translateY(-5px); border-color:var(--border-strong); box-shadow:var(--shadow); }
.post .cover{ aspect-ratio:16/8; width:100%; object-fit:cover; display:block; }
.post .cover-wrap{ position:relative; }
.post .meta{ display:flex; gap:10px; align-items:center; color:var(--muted); font-size:.82rem; padding:16px 20px 0; font-family:var(--mono); }
.post .body{ padding:8px 20px 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post h3{ font-size:1.16rem; }
.post h3 a{ background:linear-gradient(var(--text),var(--text)) 0 88%/0 2px no-repeat; transition:background-size .3s; }
.post:hover h3 a{ background:linear-gradient(var(--brand),var(--brand)) 0 88%/0 2px no-repeat; }
.post .excerpt{ color:var(--text-dim); font-size:.94rem; margin:0; }
.post .go{ margin-top:auto; color:var(--brand); font-weight:700; font-size:.9rem; display:inline-flex; gap:7px; align-items:center; }
.post .go svg{ width:16px; height:16px; }

/* article (blog) */
.article{ max-width:760px; margin:0 auto; }
.article .cover{ border-radius:var(--radius-lg); border:1px solid var(--border); aspect-ratio:16/8; object-fit:cover; width:100%; display:block; }
.article h1{ font-size:clamp(2rem,4.6vw,3.1rem); margin:.3em 0 .4em; }
.article .meta{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; color:var(--muted); font-size:.9rem; margin-bottom:8px; }
.article .body h2{ margin:1.6em 0 .5em; }
.article .body h3{ margin:1.4em 0 .4em; }
.article .body p{ color:var(--text-dim); font-size:1.05rem; }
.article .body ul,.article .body ol{ color:var(--text-dim); padding-left:1.2em; }
.article .body li{ margin:.4em 0; }
.article .body a{ color:var(--brand); text-decoration:underline; text-underline-offset:3px; }
.article .callout{ background:var(--grad-soft); border:1px solid rgba(55,224,195,.25); border-radius:var(--radius); padding:20px 22px; margin:26px 0; }
.article .callout b{ color:var(--brand); }
.article .download-inline{ background:var(--card); border:1px solid var(--border-strong); border-radius:var(--radius-lg); padding:26px; margin:34px 0; display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; }
.article blockquote{ margin:26px 0; padding:6px 0 6px 22px; border-left:3px solid var(--brand); font-size:1.15rem; color:var(--text); }
.article .read-more{ border-top:1px solid var(--border); margin-top:40px; padding-top:26px; }
.toc{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:20px 22px; margin:22px 0; }
.toc a{ display:block; padding:6px 8px; color:var(--text-dim); border-radius:7px; font-size:.95rem; }
.toc a:hover{ background:var(--surface); color:#fff; }
.toc ol{ margin:6px 0 0; padding-left:1.2em; }
.byline{ display:flex; align-items:center; gap:12px; }
.byline .av{ width:42px; height:42px; border-radius:50%; background:var(--grad); display:grid; place-items:center; font-weight:800; color:#04121a; }
.byline .who b{ display:block; color:#fff; font-size:.95rem; } .byline .who span{ color:var(--muted); font-size:.82rem; }

/* forms */
.form{ display:grid; gap:16px; }
.field label{ display:block; font-size:.9rem; font-weight:600; margin-bottom:7px; color:var(--text-dim); }
.field input,.field select,.field textarea{
  width:100%; padding:13px 15px; border-radius:var(--radius-sm); background:var(--bg-2);
  border:1px solid var(--border); color:var(--text); font:inherit; transition:border-color .2s, box-shadow .2s;
}
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 4px rgba(55,224,195,.12); }
.field .hint{ font-size:.8rem; color:var(--muted); margin-top:6px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:620px){ .form-grid{ grid-template-columns:1fr; } }
.form-msg{ padding:12px 16px; border-radius:var(--radius-sm); font-size:.92rem; border:1px solid; display:none; }
.form-msg.ok{ display:block; background:rgba(73,214,160,.12); border-color:rgba(73,214,160,.3); color:var(--ok); }

/* download cards */
.dl-card{ display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:center; padding:30px; }
.dl-card .os{ width:64px; height:64px; border-radius:16px; display:grid; place-items:center; background:var(--surface); border:1px solid var(--border); }
.dl-card .os svg{ width:30px; height:30px; }
.dl-card .meta b{ font-size:1.3rem; }
.dl-card .meta small{ color:var(--muted); }
.dl-card .specs{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.dl-card .actions{ display:flex; flex-direction:column; gap:10px; }
.dl-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:820px){ .dl-grid{ grid-template-columns:1fr; } .dl-card{ grid-template-columns:1fr; } }
.recd{ display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border-radius:var(--radius-pill); background:rgba(55,224,195,.12); border:1px solid rgba(55,224,195,.28); color:var(--brand); font-size:.82rem; font-weight:700; }

/* analytics activity widget */
.activity{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px; }
.activity .rows{ display:grid; gap:14px; margin:18px 0; }
.activity .row{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.activity .row .label{ color:var(--text-dim); display:flex; align-items:center; gap:10px; }
.activity .bar{ flex:1; height:10px; border-radius:6px; background:var(--surface); overflow:hidden; }
.activity .bar i{ display:block; height:100%; background:var(--grad); width:0; transition:width 1s var(--ease); }
.activity .count{ font-family:var(--mono); font-weight:800; font-size:1.2rem; }

/* misc */
.foot{ border-top:1px solid var(--border); background:linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:30px; padding:56px 0 30px; }
@media (max-width:860px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }
.foot h5{ font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.foot a{ color:var(--text-dim); display:block; padding:6px 0; transition:color .15s; }
.foot a:hover{ color:var(--brand); }
.foot .brand{ margin-bottom:14px; }
.foot .blurb{ color:var(--muted); font-size:.92rem; max-width:34ch; }
.foot-bar{ display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; padding:20px 0 34px; border-top:1px solid var(--border); color:var(--muted); font-size:.86rem; }
.foot-social{ display:flex; gap:10px; }
.foot-social a{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:var(--surface); border:1px solid var(--border); padding:0; }
.foot-social a:hover{ border-color:var(--brand); color:var(--brand); }
.foot-social svg{ width:18px; height:18px; }

/* page header (sub-pages) */
.pagehead{ position:relative; padding:clamp(40px,6vw,72px) 0 clamp(30px,4vw,48px); }
.pagehead .crumbs{ display:flex; gap:8px; align-items:center; color:var(--muted); font-size:.86rem; margin-bottom:20px; }
.pagehead .crumbs a{ color:var(--muted); } .pagehead .crumbs a:hover{ color:var(--brand); }
.pagehead .crumbs .sep{ opacity:.5; }
.pagehead h1{ font-size:clamp(2rem,5vw,3.2rem); }
.pagehead .lead{ margin-top:14px; }

/* reveal animation (only when JS is present) */
.js [data-reveal]{ opacity:0; transform:translateY(22px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js [data-reveal]{ opacity:1; transform:none; transition:none; } }

/* gradient text helper */
.gtxt{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* number counter */
.counter{ font-variant-numeric:tabular-nums; }

/* utility */
.mt-0{ margin-top:0!important; } .mt-1{ margin-top:14px; } .mt-2{ margin-top:28px; } .mt-3{ margin-top:48px; }
.mb-0{ margin-bottom:0!important; } .mb-1{ margin-bottom:14px; } .mb-2{ margin-bottom:28px; }
.hidden{ display:none!important; }
.skip-link{ position:fixed; top:-60px; left:12px; z-index:200; background:var(--brand); color:#04121a; padding:10px 16px; border-radius:8px; font-weight:700; transition:top .2s; }
.skip-link:focus{ top:12px; }

/* toast */
.toast{ position:fixed; bottom:100px; left:50%; transform:translateX(-50%) translateY(20px); z-index:150; background:var(--card-2); border:1px solid var(--border-strong); padding:12px 20px; border-radius:var(--radius-pill); box-shadow:var(--shadow); opacity:0; pointer-events:none; transition:.25s var(--ease); font-size:.92rem; display:flex; align-items:center; gap:10px; }
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.toast svg{ width:18px; height:18px; color:var(--ok); }

/* FULL-WIDTH NAVBAR: inner content spans the whole viewport, not the capped page column */
.nav > .container{ max-width:none; padding:0 24px; }
@media (max-width:680px){ .nav > .container{ padding:0 16px; } }
