/* Defensor — defensor.sky-loft.online v8 */
:root {
  --bg: #090d14;
  --surface: #111827;
  --surface2: #1a2332;
  --border: #2a3548;
  --text: #f0f4f8;
  --dim: #8b9cb5;
  --blue: #3b82f6;
  --blue2: #6366f1;
  --glow: rgba(59,130,246,.35);
  --r: 14px;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: Consolas, "Cascadia Code", monospace;
  --w: 1160px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;color-scheme:dark}
body{font:16px/1.65 var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:#79b4ff;text-decoration:none}
a:hover{color:#a8d0ff}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(100% - 32px,var(--w));margin-inline:auto}

/* ── NAV ── */
.nav-bar{position:sticky;top:0;z-index:99;background:rgba(9,13,20,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav-bar .wrap{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;color:var(--text)}
.brand img{width:32px;height:32px;border-radius:9px}
.menu{display:flex;align-items:center;gap:4px}
.menu a{padding:8px 14px;border-radius:8px;color:var(--dim);font-size:14px;font-weight:500}
.menu a:hover,.menu a.on{color:var(--text);background:rgba(59,130,246,.12)}
.menu .cta{margin-left:6px;padding:9px 18px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff!important;font-weight:600;border-radius:9px;box-shadow:0 2px 16px var(--glow)}
.menu .cta:hover{filter:brightness(1.08);color:#fff!important}
.burger{display:none;background:var(--surface);border:1px solid var(--border);color:var(--text);font-size:18px;padding:6px 10px;border-radius:8px;cursor:pointer}

/* ── BTNS ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:12px 22px;border-radius:10px;font-weight:600;font-size:15px;border:none;cursor:pointer;transition:.15s transform,.15s box-shadow}
.btn:hover{transform:translateY(-2px);text-decoration:none}
.btn-p{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 4px 20px var(--glow)}
.btn-p:hover{color:#fff}
.btn-s{background:var(--surface);color:var(--text);border:1px solid var(--border)}
.btn-s:hover{color:var(--text);border-color:#3d5270}
.btn-lg{padding:14px 28px;font-size:16px}

/* ── LANDING HERO ── */
.l-hero{background:radial-gradient(ellipse 80% 60% at 30% -10%,rgba(59,130,246,.22),transparent 55%),radial-gradient(ellipse 50% 40% at 90% 10%,rgba(99,102,241,.14),transparent 50%),linear-gradient(180deg,#0d1220,var(--bg));border-bottom:1px solid var(--border);padding:72px 0 64px}
.l-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.l-tag{display:inline-block;padding:5px 12px;margin-bottom:20px;background:rgba(59,130,246,.12);border:1px solid rgba(59,130,246,.28);border-radius:99px;font-size:12px;color:#93c5fd;font-weight:600;letter-spacing:.02em}
.l-hero h1{font-size:clamp(32px,5vw,52px);font-weight:800;line-height:1.08;letter-spacing:-.03em;margin-bottom:20px}
.l-hero h1 span{background:linear-gradient(135deg,#93c5fd,#a78bfa);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.l-desc{color:var(--dim);font-size:18px;line-height:1.7;margin-bottom:28px;max-width:480px}
.l-btns{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.l-tags{display:flex;flex-wrap:wrap;gap:8px}
.l-tags span{padding:5px 12px;background:var(--surface);border:1px solid var(--border);border-radius:99px;font-size:12px;color:var(--dim)}
.l-img{border-radius:var(--r);border:1px solid var(--border);box-shadow:0 32px 80px rgba(0,0,0,.55)}

/* ── SECTIONS ── */
.sec{padding:72px 0}
.sec-dim{background:var(--surface);border-block:1px solid var(--border)}
.sec-hd{margin-bottom:40px}
.sec-hd h2{font-size:clamp(24px,3vw,32px);font-weight:800;letter-spacing:-.02em;margin-bottom:8px}
.sec-hd p{color:var(--dim);font-size:17px}
.sec-foot{text-align:center;margin-top:36px}

/* 3 steps */
.steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:28px 24px;transition:.2s}
.step:hover{border-color:#3d5270;transform:translateY(-4px)}
.step-n{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#6366f1);color:#fff;font-weight:800;font-size:14px;display:grid;place-items:center;margin-bottom:16px;box-shadow:0 4px 14px var(--glow)}
.step h3{font-size:17px;font-weight:700;margin-bottom:8px}
.step p{color:var(--dim);font-size:14px;line-height:1.6}

/* feature cards */
.feat{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.fcard{background:var(--bg);border:1px solid var(--border);border-radius:var(--r);padding:24px;transition:.2s}
.sec-dim .fcard{background:var(--surface2)}
.fcard:hover{border-color:#3d5270;transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.3)}
.fcard-ico{font-size:28px;margin-bottom:12px}
.fcard h3{font-size:16px;font-weight:700;margin-bottom:6px}
.fcard p{color:var(--dim);font-size:14px;line-height:1.55}

/* use cases */
.use2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.use{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--blue);border-radius:var(--r);padding:22px 24px}
.use h3{font-size:15px;font-weight:700;margin-bottom:6px}
.use p{color:var(--dim);font-size:14px;line-height:1.6}

/* faq */
.faq{max-width:720px;display:flex;flex-direction:column;gap:8px}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.faq summary{padding:16px 18px;font-weight:600;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq details[open] summary{border-bottom:1px solid var(--border)}
.faq p{padding:16px 18px;color:var(--dim);font-size:14px;line-height:1.65}

/* cta bottom */
.l-cta{background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(99,102,241,.12));border-top:1px solid var(--border);padding:56px 0}
.l-cta-box{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:32px 36px}
.l-cta-box h2{font-size:22px;font-weight:800;margin-bottom:6px}
.l-cta-box p{color:var(--dim);font-size:15px}

/* ── INNER PAGES ── */
.pg-top{background:linear-gradient(180deg,#0d1220,var(--bg));border-bottom:1px solid var(--border);padding:48px 0 40px}
.pg-top h1{font-size:clamp(28px,4vw,38px);font-weight:800;letter-spacing:-.03em;margin-bottom:10px}
.pg-top p{color:var(--dim);font-size:16px;max-width:560px;line-height:1.65}
.pg-top .back{display:inline-block;margin-bottom:16px;color:var(--dim);font-size:14px;font-weight:500}
.pg-top .back:hover{color:#79b4ff}
.pg-body{padding:40px 0 64px}

/* command cards page */
.cmd6{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}
.ccard{display:flex;flex-direction:column;gap:6px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:24px;color:var(--text);font-weight:700;font-size:16px;transition:.2s;min-height:130px}
.ccard:hover{color:var(--text);border-color:#3d5270;transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.35)}
.ccard em{font-style:normal;font-size:28px;line-height:1;margin-bottom:4px}
.ccard small{font-weight:400;font-size:13px;color:var(--dim);line-height:1.5}

/* tabs on command subpages */
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.tabs a{padding:7px 14px;background:var(--surface);border:1px solid var(--border);border-radius:99px;font-size:13px;color:var(--dim);font-weight:500}
.tabs a:hover{color:var(--text);border-color:#3d5270}

/* prose */
.prose h2{font-size:18px;font-weight:700;margin:28px 0 10px;padding-top:16px;border-top:1px solid var(--border)}
.prose h2:first-child{border-top:none;padding-top:0;margin-top:0}
.prose h3{font-size:15px;font-weight:600;margin:18px 0 6px}
.prose p,.prose li{color:var(--dim);line-height:1.65}
.prose li strong,.prose p strong{color:var(--text)}
.prose ul,.prose ol{padding-left:20px;margin:8px 0 12px}
.tip{padding:14px 16px;margin:20px 0;background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.25);border-radius:var(--r);font-size:14px;color:var(--dim);line-height:1.6}
.tip b{color:var(--text)}
code,.pre{font-family:var(--mono);font-size:.85em;background:var(--surface2);padding:2px 7px;border-radius:5px;border:1px solid var(--border);color:#b8cce0}
.preblock{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:14px 16px;margin:12px 0;font-family:var(--mono);font-size:13px;color:#a8bdd4;white-space:pre-wrap;line-height:1.55}
table{width:100%;border-collapse:collapse;margin:16px 0;border:1px solid var(--border);border-radius:var(--r);overflow:hidden;font-size:14px}
th,td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--border)}
th{background:var(--surface2);color:var(--text);font-weight:600}
td{color:var(--dim)}
tr:last-child td{border-bottom:none}
.ol-steps{list-style:none;counter-reset:s}
.ol-steps li{counter-increment:s;position:relative;padding:18px 18px 18px 56px;margin-bottom:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);color:var(--dim)}
.ol-steps li::before{content:counter(s);position:absolute;left:16px;top:18px;width:28px;height:28px;background:linear-gradient(135deg,#2563eb,#6366f1);color:#fff;border-radius:50%;font-size:12px;font-weight:800;display:grid;place-items:center}
.ol-steps li b{color:var(--text)}
.pg-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
.block{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:24px 28px;margin-bottom:16px}
.block h2{font-size:17px;font-weight:700;margin-bottom:10px}

/* footer */
.site-foot{border-top:1px solid var(--border);padding:24px 0;background:var(--surface);color:var(--dim);font-size:13px}
.site-foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}
.site-foot a{color:var(--dim)}
.site-foot a:hover{color:#79b4ff}

@media(max-width:900px){
  .l-hero-grid{grid-template-columns:1fr;gap:32px}
  .l-img{order:-1;max-width:440px;margin-inline:auto}
  .steps3,.feat,.cmd6{grid-template-columns:1fr 1fr}
  .use2{grid-template-columns:1fr}
  .l-cta-box{flex-direction:column;text-align:center}
}
@media(max-width:600px){
  .steps3,.feat,.cmd6{grid-template-columns:1fr}
  .burger{display:block}
  .menu{display:none;position:absolute;top:64px;left:0;right:0;flex-direction:column;background:var(--bg);border-bottom:1px solid var(--border);padding:12px;box-shadow:0 20px 50px rgba(0,0,0,.5)}
  .menu.open{display:flex}
  .nav-bar .wrap{position:relative}
  .menu .cta{margin-left:0;text-align:center;width:100%}
}
