/* Lanitel - single stylesheet, no external fonts or frameworks */
:root {
  --ink: #12222e;
  --ink-soft: #4a5b67;
  --navy: #0f2a3d;
  --teal: #1d8f7a;
  --teal-dark: #156e5e;
  --mint: #e7f5f1;
  --bg: #f6f8f7;
  --card: #ffffff;
  --line: #dfe5e3;
  --pass: #1f7a4d; --pass-bg: #e6f4ec;
  --warn: #9a5b00; --warn-bg: #fff3dc;
  --fail: #b42318; --fail-bg: #fdeceb;
  --info: #3d5a73; --info-bg: #eaf0f5;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.02em; }
h2 { font-size: 1.5rem; margin-top: 1.6em; }
h3, .h3 { font-size: 1.15rem; margin-top: 0; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
code { background: #eef2f1; padding: .1em .35em; border-radius: 4px; word-break: break-all; }
pre { background: var(--navy); color: #e8f1ee; padding: 1em; border-radius: var(--radius); overflow-x: auto; }
pre code { background: none; color: inherit; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.section { padding: 48px 20px; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header and footer */
.site-header { background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 28px; height: 28px; background: url("favicon.svg") center/contain no-repeat; }
.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-header nav a { color: #cfe0e8; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 28px 0; margin-top: 40px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #15405a 100%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; align-items: start; }
.hero h1 { color: #fff; }
.hero .lead { color: #cfe0e8; }
.hero .muted { color: #a9c2cf; }
.hero .eyebrow { color: #6fd8bf; }
.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 24px; }
.hero-card h2 { color: #fff; font-size: 1.1rem; margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid rgba(255,255,255,.1); color: #d7e5ec; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid #6fd8bf; border-bottom: 2.5px solid #6fd8bf; transform: rotate(-45deg); }
.checklist strong { color: #fff; }

/* Checker form */
.checker-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 12px; }
.checker-form input[type="text"] { flex: 1 1 280px; min-width: 0; font-size: 1.1rem; padding: 14px 16px; border-radius: 8px; border: 2px solid transparent; background: #fff; color: var(--ink); }
.checker-form input:focus { outline: none; border-color: #6fd8bf; }
.checker-form.compact input[type="text"] { border-color: var(--line); }
.checker-form.compact input:focus { border-color: var(--teal); }
button, .button {
  display: inline-block; background: var(--teal); color: #fff; border: 0; border-radius: 8px;
  padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
button:hover, .button:hover { background: var(--teal-dark); color: #fff; }
.advanced { flex-basis: 100%; font-size: .92rem; }
.advanced summary { cursor: pointer; color: inherit; opacity: .85; }
.advanced input { margin-top: 6px; width: 100%; max-width: 320px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); font: inherit; }
.advanced label { display: block; margin-top: 8px; font-weight: 600; }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.link-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; display: block; }
.link-card:hover { border-color: var(--teal); transform: translateY(-2px); color: inherit; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.split h2 { margin-top: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); background: var(--mint); padding: 2px 8px; border-radius: 99px; margin-bottom: 10px; }

/* Results */
.score-card { display: flex; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.score-card h1 { font-size: 1.6rem; margin-bottom: .3em; word-break: break-all; }
.score-card .lead { margin-bottom: .4em; }
.grade { flex: none; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: #fff; background: var(--info); }
.grade-a .grade { background: var(--pass); }
.grade-b .grade { background: #4f8a3a; }
.grade-c .grade { background: var(--warn); }
.grade-d .grade, .grade-f .grade { background: var(--fail); }
.results { display: grid; gap: 14px; margin: 24px 0; }
.result { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--info); border-radius: var(--radius); padding: 18px 20px; }
.result header, .kev header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.result h2, .kev h2 { font-size: 1.1rem; margin: 0; }
.status-pass { border-left-color: var(--pass); }
.status-warn { border-left-color: #d98b00; }
.status-fail { border-left-color: var(--fail); }
.pill { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill-pass { background: var(--pass-bg); color: var(--pass); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-fail { background: var(--fail-bg); color: var(--fail); }
.pill-info { background: var(--info-bg); color: var(--info); }
.records summary { cursor: pointer; font-size: .9rem; color: var(--ink-soft); }
.records code { display: block; margin-top: 6px; padding: 8px 10px; }
.fix { background: var(--mint); border-radius: 8px; padding: 10px 14px; margin-top: 10px; font-size: .95rem; }
.fix:last-child { margin-bottom: 0; }
.fix code.suggest { display: block; margin-top: 8px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); user-select: all; }
.upsell { background: #fff; border: 2px solid var(--teal); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.upsell h3 { margin-bottom: .3em; }
.upsell ul { margin: 0 0 .8em; padding-left: 1.2em; }
.upsell li { margin-bottom: 6px; }
.next-steps h2 { margin-top: 0; }
.notice { background: var(--info-bg); border-radius: 8px; padding: 12px 16px; margin: 16px 0; }
.notice.error { background: var(--fail-bg); color: var(--fail); font-weight: 600; }
.callout { background: var(--mint); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 6px; margin: 20px 0; }

/* Threat watch */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 20px 0; }
.filters label { display: flex; flex-direction: column; font-size: .88rem; font-weight: 600; gap: 4px; }
.filters label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; }
.filters input[type="text"], .filters select { padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; min-width: 180px; }
.filters button { padding: 10px 18px; }
.kev-list { display: grid; gap: 12px; }
.kev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kev p { margin-bottom: .6em; }

/* Long-form pages */
.prose h2 { margin-top: 1.8em; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.prose dt { font-weight: 800; color: var(--navy); }
.prose dd { margin: 0; }
.prose li { margin-bottom: .5em; }
.soon { padding-left: 1.2em; }
.soon li { margin-bottom: .6em; }

@media (max-width: 860px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .score-card { flex-direction: column; align-items: flex-start; }
  .prose dl { grid-template-columns: 1fr; }
}
