:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --ink: #121826;
  --muted: #5d687a;
  --line: #d8e0ea;
  --forti-red: #d71920;
  --teal: #008f88;
  --green: #198754;
  --amber: #b26a00;
  --blue: #2457c5;
  --code: #0c1222;
  --shadow: 0 18px 40px rgba(29, 40, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--forti-red);
  color: white;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 8px 10px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 30px;
}

.eyebrow {
  color: var(--forti-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin: 12px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  padding: 9px 13px;
  text-decoration: none;
}

.button.primary {
  border-color: var(--forti-red);
  background: var(--forti-red);
  color: white;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.visual-band {
  margin: 22px 0 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-band img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 30px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-header p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric strong {
  font-size: 1.7rem;
  line-height: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  padding: 3px 9px;
}

.tag.green {
  border-color: #b7dfc9;
  background: #e9f7ef;
  color: var(--green);
}

.tag.amber {
  border-color: #f0d6a8;
  background: #fff5df;
  color: var(--amber);
}

.tag.red {
  border-color: #f0b8bb;
  background: #fff0f1;
  color: var(--forti-red);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  border-left: 3px solid var(--line);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
}

.timeline-item.active {
  border-left-color: var(--forti-red);
}

.timeline-item time {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

code {
  border-radius: 5px;
  background: #e9edf5;
  color: var(--code);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 5px;
}

.callout {
  border-left: 4px solid var(--teal);
  background: #e9f8f7;
  border-radius: 0 8px 8px 0;
  color: #113f3c;
  margin: 18px 0 0;
  padding: 14px 16px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article {
  max-width: 900px;
  padding-bottom: 24px;
}

.article h2 {
  margin-top: 34px;
}

.article ul,
.article ol {
  color: var(--muted);
  padding-left: 1.35rem;
}

.article li + li {
  margin-top: 6px;
}

.note-list {
  display: grid;
  gap: 12px;
}

.note-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.note-item h3 {
  margin-bottom: 4px;
}

.note-item p {
  margin: 0;
  color: var(--muted);
}

.note-meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.command-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.command-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0 40px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 38px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .note-item {
    grid-template-columns: 1fr;
  }

  .note-meta {
    white-space: normal;
  }
}
