/* IT Sentinel, built by Toolkit Security
   All colours, fonts and radii are the tokens in :root. Change the theme there only. */

:root {
  --bg:          #0E1217;  /* page background */
  --panel:       #151B23;  /* cards, header, form fields */
  --panel-hot:   #1A1A12;  /* highlighted card */
  --line:        #26303B;  /* borders, dividers */
  --line-strong: #3A4654;  /* hover borders */
  --text:        #E7E3D8;  /* body text */
  --muted:       #8E98A4;  /* secondary text */
  --accent:      #D89B00;  /* buttons, links, key labels (sparingly) */
  --accent-ink:  #0E1217;  /* text on an accent background */
  --accent-soft: rgba(216, 155, 0, .12);
  --question:    #D89B00;  /* example questions, set in mono */
  --ok:          #4FA37A;
  --risk:        #D9673F;

  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --radius:    12px;
  --radius-sm: 8px;
  --measure:   68ch;
  --wide:      1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--text); font-weight: 600; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink);
        padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600; z-index: 100; }
.skip:focus { left: 16px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--wide); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
         font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.brand small { color: var(--muted); font-weight: 400; font-size: 13px; }
.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--text); }
.site-header .btn { margin-left: 8px; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .brand small { display: none; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font: 600 16px/1 var(--font-sans); padding: 14px 22px; border-radius: var(--radius-sm);
  border: 0; cursor: pointer; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn-small { padding: 10px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Layout ─────────────────────────────────────────────── */
main { display: block; }
.section { padding: 88px 24px; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.wrap { max-width: var(--wide); margin: 0 auto; }
.text { max-width: var(--measure); }
.eyebrow { font: 600 13px/1.4 var(--font-mono); color: var(--accent); letter-spacing: .08em;
           text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; font-weight: 600; }
h1 { font-size: clamp(34px, 5.5vw, 56px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text); }
.muted { color: var(--muted); }
.figure { margin: 40px 0 0; }
.figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.figure figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding-top: 72px; }
.hero .lead { max-width: var(--measure); margin-bottom: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.hero .actions .muted { font-size: 15px; }

/* ── Cards ──────────────────────────────────────────────── */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 32px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.hot { background: var(--panel-hot); border-color: var(--accent); }
.card h3 { margin-bottom: 10px; }
.card p, .card li { color: var(--muted); font-size: 16px; }
.card p:last-child { margin-bottom: 0; }

/* ── Steps (how it works) ───────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; max-width: var(--measure); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font: 700 14px/30px var(--font-mono); text-align: center;
}

/* ── Trust list ─────────────────────────────────────────── */
.points { display: grid; gap: 18px 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 32px; }
.points div { border-left: 2px solid var(--accent); padding-left: 18px; }
.points h3 { font-size: 17px; margin-bottom: 6px; }
.points p { color: var(--muted); margin: 0; font-size: 16px; }

/* ── Integrations grid ──────────────────────────────────── */
.grid-int { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
            border-radius: var(--radius); overflow: hidden; margin-top: 32px;
            grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-int { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-int { grid-template-columns: 1fr; } }
.grid-int div { background: var(--panel); padding: 18px 20px; }
.grid-int dt { font: 600 12.5px/1.4 var(--font-mono); color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.grid-int dd { margin: 0; font-size: 15.5px; }
.note { margin-top: 18px; color: var(--muted); font-style: italic; }

/* ── Example questions (signature element) ─────────────── */
.qa { display: grid; gap: 14px 40px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); margin-top: 32px; }
.qa div { border-top: 1px solid var(--line); padding-top: 14px; }
.qa dt { font: 500 15.5px/1.5 var(--font-mono); color: var(--question); }
.qa dt::before { content: "> "; color: var(--muted); }
.qa dd { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

.stories { margin-top: 56px; }
.stories .cards { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ── What you get ───────────────────────────────────────── */
.list { padding: 0; margin: 28px 0 0; list-style: none; max-width: var(--measure); display: grid; gap: 14px; }
.list li { padding-left: 22px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { max-width: var(--measure); margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 24px/1 var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } form { padding: 20px; } }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; font: 400 16px/1.5 var(--font-sans);
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.status { min-height: 1.5em; margin: 0; font-size: 15px; }
.status.err { color: var(--risk); }
.status.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { display: none; background: var(--panel); border: 1px solid var(--ok); border-radius: var(--radius); padding: 28px; }
.thanks:target, .thanks.show { display: block; }
.thanks h3 { color: var(--ok); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 32px 24px 48px; color: var(--muted); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ── Plain pages (privacy, 404) ─────────────────────────── */
.page { max-width: var(--measure); margin: 0 auto; padding: 64px 24px 88px; }
.page h2 { font-size: 22px; margin-top: 36px; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }
.spaced { margin-top: 56px; }

/* Wide diagrams stay readable on phones: they scroll sideways inside their frame. */
@media (max-width: 760px) {
  .figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .figure img { width: 860px; max-width: none; }
  .figure figcaption { position: sticky; left: 0; }
}
