/* Fortress-AD website. One family (Archivo, variable weight and width): wide and heavy for headings, normal for text. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #1d2552;        /* indigo: headings, the walls */
  --line: #5464a8;       /* drawing lines, links */
  --paper: #fafbfd;      /* the page */
  --sheet: #edf0f7;      /* bands, the footer */
  --marigold: #f0a500;   /* buttons on dark, focus */
  /* one colour per thing the box does, the same everywhere: the fort's bastions, the lists, the brochure */
  --c1: #3b5bdb;         /* company sign-in: blue */
  --c2: #0c8f86;         /* files and backups: peacock teal */
  --c3: #d6336c;         /* web filtering: rani pink */
  --c4: #e8590c;         /* firewall and VPN: saffron */
  --c5: #7048e8;         /* your admin portal: violet */
  --text: #1f2333;
  --muted: #5b6175;
  --rule: #d9deeb;
  --measure: 68ch;
  font-size: 106.25%;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.62 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
}
a { color: var(--line); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { color: var(--ink); font-stretch: 125%; line-height: 1.12; margin: 0 0 .6em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.012em; max-width: 18ch; }
h2 { font-weight: 750; font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p, li, dd { max-width: var(--measure); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.small { font-size: .9rem; color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 9; }
.skip:focus { left: 8px; }

/* ---- header and footer */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 22px 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
         font-weight: 800; font-stretch: 125%; font-size: 1.2rem; }
.mark { width: 30px; height: 30px; color: var(--ink); }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.top nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--c3); }

main { max-width: 1180px; margin: 0 auto; padding: 0 28px 80px; }
main > section { margin-top: 88px; }
main > section:first-child { margin-top: 32px; }

.foot { background: var(--sheet); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 40px 28px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot p { color: var(--muted); margin: .4em 0; max-width: 46ch; }

/* ---- buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 6px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font: inherit; font-weight: 650; font-stretch: 110%; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #2b3670; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--sheet); }
.btn.light { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn.light:hover { background: #ffbb24; color: var(--ink); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---- the hero: the plan of the fort */
.hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; }
.hero-fig { justify-self: end; width: 100%; max-width: 680px; margin-right: -28px; }
.fort { width: 100%; height: auto; display: block; overflow: visible; }
.fort .grid { stroke: #e2e6f1; stroke-width: 1; }
.fort .moat { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 5 6; opacity: .7; }
.fort .wall { fill: #eef1fb; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round;
              stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 2.4s ease-out both; }
.fort .keep { fill: var(--ink); }
.fort .keep-t { fill: #fff; font: 700 15px "Archivo", sans-serif; font-stretch: 112%; }
.fort .lead { stroke: var(--line); stroke-width: 1.4; }
.fort .lab { fill: var(--ink); font: 700 23px "Archivo", sans-serif; font-stretch: 112%; }
.fort .bastion { stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; animation: appear .5s 1.2s ease-out both; }
.fort .b1 { fill: var(--c1); } .fort .b2 { fill: var(--c2); } .fort .b3 { fill: var(--c3); } .fort .b4 { fill: var(--c4); } .fort .b5 { fill: var(--c5); }
.fort .l1, .fort .t1 { stroke: var(--c1); fill: var(--c1); } .fort .l2, .fort .t2 { stroke: var(--c2); fill: var(--c2); }
.fort .l3, .fort .t3 { stroke: var(--c3); fill: var(--c3); } .fort .l4, .fort .t4 { stroke: var(--c4); fill: var(--c4); }
.fort .l5, .fort .t5 { stroke: var(--c5); fill: var(--c5); }
.fort text.lab { stroke: none; }
.fort .lab, .fort .lead { animation: appear .6s 1.6s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 70% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fort .wall, .fort .lab, .fort .lead, .fort .bastion { animation: none; } }

/* the five-colour strip along the top and the foot of every page */
.strip { display: flex; height: 6px; }
.strip i { flex: 1; } .strip i:nth-child(1) { background: var(--c1); } .strip i:nth-child(2) { background: var(--c2); }
.strip i:nth-child(3) { background: var(--c3); } .strip i:nth-child(4) { background: var(--c4); } .strip i:nth-child(5) { background: var(--c5); }
.s1 { --c: var(--c1); } .s2 { --c: var(--c2); } .s3 { --c: var(--c3); } .s4 { --c: var(--c4); } .s5 { --c: var(--c5); } .s0 { --c: var(--ink); }

/* ---- the five things */
.band { background: var(--sheet); margin-left: -28px; margin-right: -28px; padding: 56px 28px; border-radius: 4px; }
.five { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; margin: 28px 0 0; }
.five div { border-top: 4px solid var(--c, var(--ink)); padding: 16px 16px 6px; background: #fff; border-radius: 0 0 6px 6px; }
.five dt { font-weight: 750; font-stretch: 118%; color: var(--ink); font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.five dt::before { content: ""; width: 11px; height: 11px; background: var(--c, var(--marigold)); transform: rotate(45deg); flex: none; }
.five dd { margin: 8px 0 0; color: var(--muted); }
.five .dark { background: var(--ink); border-top-color: var(--marigold); }
.five .dark dt { color: #fff; } .five .dark dt::before { background: var(--marigold); } .five .dark dd { color: #c9cfe9; }
.more { margin-top: 28px; font-weight: 600; }

/* ---- two columns: a list and a note */
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 0 0 16px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; background: var(--c1); transform: rotate(45deg); }
.ticks li:nth-child(2)::before { background: var(--c2); } .ticks li:nth-child(3)::before { background: var(--c3); }
.ticks li:nth-child(4)::before { background: var(--c4); } .ticks li:nth-child(5)::before { background: var(--c5); }
.ticks b { color: var(--ink); }
.note { border-left: 4px solid var(--c3); padding: 4px 0 4px 22px; }
.note p { color: var(--muted); }

/* ---- the dark band with the demo */
.demo-band { background: var(--ink); color: #dfe3f3; border-radius: 4px; padding: 44px 40px; border-top: 6px solid var(--c4);
             display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.demo-band h2 { color: #fff; }
.demo-band p { margin: 0; max-width: 62ch; }

/* ---- inner pages */
.page-head { border-bottom: 1px solid var(--rule); padding-bottom: 28px; }
.detail { display: grid; grid-template-columns: .55fr 1.45fr; gap: 56px; align-items: start; }
.detail-fig { position: sticky; top: 24px; }
.fort.small .wall { animation: none; }
.detail-body h2 { margin-top: 1.6em; font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.detail-body h2::before { content: ""; width: 13px; height: 13px; background: var(--c, var(--ink)); transform: rotate(45deg); flex: none; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body ul, .prose ul { padding-left: 1.2em; }
.detail-body li { margin-bottom: 6px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 48px 0 0; max-width: 860px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; padding: 26px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); grid-row: span 2; font-weight: 800; font-stretch: 125%; font-size: 2.6rem; line-height: 1; color: var(--marigold); }
.steps li:nth-child(1)::before { color: var(--c1); } .steps li:nth-child(2)::before { color: var(--c2); }
.steps li:nth-child(3)::before { color: var(--c3); } .steps li:nth-child(4)::before { color: var(--c4); } .steps li:nth-child(5)::before { color: var(--c5); }
.steps h2 { font-size: 1.35rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.plain { padding-left: 1.3em; }
.plain li { margin-bottom: 8px; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 700; font-stretch: 112%; color: var(--ink); font-size: 1.1rem; }
.faq details[open] summary { margin-bottom: 8px; }
.faq p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }

/* ---- the contact form */
.contact { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: #fff;
  border: 1.5px solid #c9cfe0; border-radius: 6px; padding: 11px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: 3px solid #ffd77a; outline-offset: 0; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.form .check input { width: auto; margin-top: 5px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { background: #fff1ee; border-left: 3px solid #c2410c; color: #7c2d12; padding: 10px 14px; margin: 0; }

@media (max-width: 900px) {
  .hero, .split, .detail, .contact { grid-template-columns: 1fr; }
  .hero-fig { justify-self: center; max-width: 560px; margin-right: 0; }
  .detail-fig { display: none; }
  .five { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .top { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
  .top nav { gap: 6px 16px; }
  main { padding: 0 20px 64px; }
  main > section { margin-top: 64px; }
  .band { margin-left: -20px; margin-right: -20px; padding: 40px 20px; }
  .five, .form .two { grid-template-columns: 1fr; }
  .demo-band { padding: 32px 24px; }
  .steps li { grid-template-columns: 52px 1fr; }
  .steps li::before { font-size: 2rem; }
}
