/* themonkeytech.com - same rules as setup.themonkeytech.com: flat colours and one solid accent (no
   gradients, glow, blur or shadows), 1px rules and tables instead of cards, sharp corners (2px on
   buttons), IBM Plex Sans with IBM Plex Mono for labels and facts, short literal copy.
   Dark: matte industrial. Light (follows the visitor's setting): paper and ink. */
:root {
  --bg:#111111; --panel:#1A1A1A; --rule:#2A2A2A; --rule-strong:#3A3A3A;
  --ink:#EDEDED; --sub:#9A9A9A; --accent:#6CD9A8; --on-accent:#111111;
}
@media (prefers-color-scheme: light) {
  :root { --bg:#F3F2EE; --panel:#EAE8E2; --rule:#D6D3CB; --rule-strong:#B9B5AC; --ink:#141414; --sub:#5C5A55; --accent:#0A7A55; --on-accent:#F7F6F3; }
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.6 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; }
a { color:inherit; }
.mono { font-family:"IBM Plex Mono", Consolas, monospace; }
.wrap { max-width:1040px; margin:0 auto; padding-left:24px; padding-right:24px; }
hr { border:0; border-top:1px solid var(--rule); margin:0; }
.word b { color:var(--accent); font-weight:inherit; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* header */
header .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:600; font-size:16px; text-decoration:none; }
.logo { width:22px; height:22px; background:var(--ink); -webkit-mask:url(/img/logo.png) center/contain no-repeat; mask:url(/img/logo.png) center/contain no-repeat; }
nav ul { display:flex; gap:20px; list-style:none; margin:0; padding:0; font-size:14px; }
nav a { color:var(--sub); text-decoration:none; }
nav a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
nav a[aria-current="page"] { color:var(--ink); text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:6px; text-decoration-thickness:2px; }

/* announcement strip under the header */
.notice .wrap { display:flex; flex-wrap:wrap; gap:6px 14px; align-items:baseline; padding-top:10px; padding-bottom:10px; font-size:13.5px; }
.tag { font-family:"IBM Plex Mono", Consolas, monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; border:1px solid var(--accent); color:var(--accent); padding:1px 6px; }
.notice span:not(.tag) { color:var(--sub); }
h2 .tag { margin-left:6px; vertical-align:2px; }
.notice a { color:var(--ink); text-underline-offset:3px; }
.tools-list th { color:var(--ink); font-weight:600; width:24%; }
.tools-list td { color:var(--sub); }
.tools-list + .actions { margin-top:20px; }

/* top: left-aligned, asymmetric */
.top { display:grid; grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); gap:64px; padding-top:56px; padding-bottom:56px; }
.top > table { align-self:start; }
.label { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--sub); margin:0 0 14px; }
h1 { font-size:44px; line-height:1.08; font-weight:600; letter-spacing:-0.02em; margin:0 0 16px; }
.lead { margin:0 0 28px; max-width:34em; color:var(--sub); }
.lead strong { color:var(--ink); font-weight:500; }
.actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.btn { display:inline-block; background:var(--accent); color:var(--on-accent); text-decoration:none; font-weight:600; font-size:15px; padding:11px 20px; border-radius:2px; }
.btn:hover { text-decoration:underline; text-underline-offset:3px; }
.btn-2 { display:inline-block; border:1px solid var(--rule-strong); color:var(--ink); text-decoration:none; font-weight:500; font-size:15px; padding:10px 18px; border-radius:2px; }
.btn-2:hover { border-color:var(--ink); }
.quote { margin:0; color:var(--sub); font-size:14px; }

/* specification tables */
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; vertical-align:top; padding:10px 0; border-top:1px solid var(--rule); }
tr:last-child th, tr:last-child td { border-bottom:1px solid var(--rule); }
th { font-weight:400; color:var(--sub); width:34%; padding-right:16px; }
.spec th { font-family:"IBM Plex Mono", Consolas, monospace; font-size:12.5px; }
.spec a { text-decoration:none; }
.spec a:hover { text-decoration:underline; text-underline-offset:3px; }

/* sections: heading on the left, content on the right */
section { display:grid; grid-template-columns:minmax(0, 3fr) minmax(0, 9fr); gap:32px; padding-top:40px; padding-bottom:44px; }
h2 { font-size:15px; font-weight:600; margin:0; }
.services th { color:var(--ink); font-weight:500; font-family:"IBM Plex Mono", Consolas, monospace; font-size:13.5px; width:20%; text-transform:lowercase; }
.services td { color:var(--sub); }
ol.steps { list-style:none; margin:0; padding:0; counter-reset:n; }
ol.steps li { counter-increment:n; display:grid; grid-template-columns:48px minmax(0, 1fr); padding:12px 0; border-top:1px solid var(--rule); }
ol.steps li:last-child { border-bottom:1px solid var(--rule); }
ol.steps li::before { content:counter(n, decimal-leading-zero); font-family:"IBM Plex Mono", Consolas, monospace; font-size:13px; color:var(--accent); padding-top:2px; }
ol.steps p { margin:0; }
ol.steps .sub { color:var(--sub); font-size:14px; margin-top:2px; }
.form iframe { display:block; width:100%; min-height:1500px; border:1px solid var(--rule); border-radius:0; background:#fff; }
.form p { color:var(--sub); font-size:14px; }

footer .wrap { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; padding-top:20px; padding-bottom:32px; font-size:12px; color:var(--sub); }
footer a { text-decoration:none; }
footer a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }

@media (max-width:820px) {
  .top { grid-template-columns:1fr; gap:36px; padding-top:36px; padding-bottom:40px; }
  h1 { font-size:34px; }
  section { grid-template-columns:1fr; gap:14px; padding-top:28px; padding-bottom:32px; }
}
@media (max-width:520px) {
  .wrap { padding-left:16px; padding-right:16px; }
  header .wrap { flex-wrap:wrap; padding-top:10px; padding-bottom:10px; }
  .services th, .services td { display:block; width:auto; border-top:0; padding:0; }
  .services tr { display:block; border-top:1px solid var(--rule); padding:10px 0; }
  .services tr:last-child { border-bottom:1px solid var(--rule); }
  .services tr:last-child th, .services tr:last-child td { border-bottom:0; }
}

/* emphasis: a bordered callout inside the frame instead of a full-width band */
.callout { border:1px solid var(--rule-strong); background:var(--panel); padding:20px 22px; }
.callout > table { margin-bottom:0; }
