/* netstalgia.online: a late-1990s corporate site.
   Verdana for text, Arial for headings; white pages on a grey desktop, a deep
   navy and slate-blue menu, grey sidebar boxes, classic blue links, bevelled
   grey buttons. No web fonts: what a 1998 PC already had. */
:root {
  --navy: #003366;        /* headings, the menu bar */
  --navy-dark: #001a33;
  --steel: #336699;       /* panel and section bars */
  --link: #003399;
  --visited: #663399;
  --sky: #eeeeee;         /* sidebar */
  --line: #b3b3b3;
  --pale: #f4f4f4;
  --gold: #996600;        /* small accents only */
  --cream: #f7f7f7;
  --red: #990000;
  --ink: #000000;
  --page: #c0c0c0;        /* the grey desktop around the page */
  --face: #d4d0c8;        /* Windows button face */
}
* { box-sizing: border-box; }
html { background: var(--page); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 13px/1.55 Verdana, Tahoma, Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); }
a:visited { color: var(--visited); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; font-family: Arial, Helvetica, sans-serif; }

.site { max-width: 980px; margin: 0 auto; background: #fff; border-left: 1px solid #808080; border-right: 1px solid #808080; }

/* ---- masthead ---- */
.mast {
  background: #fff;
  color: var(--ink);
  padding: 12px 18px 10px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  border-top: 6px solid var(--navy);
}
.logo { display: flex; gap: 12px; align-items: center; color: var(--navy); text-decoration: none; }
.logo:visited, .logo:hover { color: var(--navy); }
.logo img { width: 64px; height: 40px; }
.logo b { display: block; font: bold 28px/1 Arial, Helvetica, sans-serif; letter-spacing: -0.5px; }
.logo small { display: block; font: 10px Verdana, sans-serif; letter-spacing: 3px; color: #666; margin-top: 4px; }
.mast .speed { font-size: 11px; color: #666; text-align: right; }
.mast .speed b { color: var(--navy); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 6px 16px;
  font: bold 12px Verdana, Tahoma, Arial, sans-serif;
  text-decoration: none; cursor: pointer;
  border: 2px outset #f0f0f0; background: var(--face); color: #000;
}
.btn:visited, .btn:hover { color: #000; }
.btn:hover { background: #dedbd3; }
.btn:active { border-style: inset; }
.btn.yellow { background: var(--face); }
.btn.navy { background: var(--navy); color: #fff; border-color: #4d7aa6; }
.btn.navy:visited, .btn.navy:hover { color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---- the menu bar ---- */
.menu {
  background: var(--navy);
  border-top: 1px solid var(--steel);
  border-bottom: 3px solid var(--steel);
  padding: 0 8px;
  display: flex; flex-wrap: wrap;
}
.menu a {
  color: #fff; font: bold 11px Verdana, Tahoma, sans-serif; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 8px 10px; min-height: 36px; display: inline-flex; align-items: center;
  border-right: 1px solid var(--steel);
}
.menu a:visited { color: #fff; }
.menu a:hover, .menu a[aria-current] { background: var(--steel); color: #fff; }

/* ---- body: sidebar + main ---- */
.cols { display: flex; flex-wrap: wrap; }
.side {
  flex: 1 1 210px;
  background: var(--sky);
  border-right: 1px solid #999;
  padding: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.main { flex: 999 1 560px; min-width: 0; padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 26px; }

.panel { background: #fff; border: 1px solid #999; }
.panel h2, .bar {
  margin: 0; background: var(--steel); color: #fff;
  font: bold 11px Verdana, Tahoma, sans-serif; letter-spacing: 0.5px;
  padding: 4px 8px;
}
.panel ul { margin: 0; padding: 8px 8px 10px 24px; font-size: 13px; line-height: 1.85; }
.panel p { margin: 0; padding: 8px 10px; font-size: 13px; }
.access { text-align: center; padding: 10px 8px 12px; font-size: 12px; }
.access .num { display: block; font: bold 18px 'Courier New', Courier, monospace; color: var(--navy); margin: 4px 0 2px; }
.access .spell { display: block; letter-spacing: 2px; color: #555; }
.side .small { margin: 0; font-size: 11px; color: #333; text-align: center; }

/* section headings in the main column */
.sec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 8px; }
.sec > h2 {
  margin: 0; font: bold 17px Arial, Helvetica, sans-serif; color: var(--navy);
  padding: 0 0 4px; border-bottom: 1px solid #999;
}
.sec > p { margin: 0; }

/* the welcome block */
.welcome { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.welcome .text { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.welcome h1 { margin: 0; font: bold 30px/1.15 Arial, Helvetica, sans-serif; color: var(--navy); }
.welcome p { margin: 0; }
.welcome .shot { flex: 1 1 240px; max-width: 300px; }
.tagline { font-weight: bold; color: var(--steel); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.new {
  display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: bold;
  padding: 1px 5px; vertical-align: middle; letter-spacing: 1px;
}

.shot { border: 1px solid var(--line); display: block; }
figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
figcaption { font-size: 12px; color: #333; }

/* two products side by side */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.product { border: 1px solid var(--line); display: flex; flex-direction: column; }
.product h3 { margin: 0; background: var(--steel); border-bottom: 1px solid var(--navy); padding: 6px 10px; font-size: 14px; color: #fff; }
.product .in { padding: 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product p { margin: 0; }
.product ul { margin: 0; padding-left: 20px; line-height: 1.75; }
.product .btn { align-self: flex-start; margin-top: auto; }

/* feature table */
.features { border-collapse: collapse; width: 100%; font-size: 13px; }
.features th, .features td { border: 1px solid #c8d4ea; padding: 8px; text-align: left; vertical-align: top; }
.features th { width: 30%; color: var(--navy); }
.features tr:nth-child(odd) { background: var(--pale); }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tile { border: 1px solid #c8d4ea; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.tile b { color: var(--navy); }
.tile .tag { align-self: flex-start; font: bold 11px 'Courier New', monospace; background: var(--navy); color: #fff; padding: 1px 6px; }

/* steps */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.steps li { counter-increment: s; border: 1px solid #c8d4ea; padding: 12px 12px 12px 52px; position: relative; min-height: 64px; }
.steps li::before {
  content: counter(s); position: absolute; left: 12px; top: 12px;
  width: 28px; height: 28px; background: var(--navy); border: 1px solid var(--navy-dark);
  font: bold 15px/28px Arial, Helvetica, sans-serif; text-align: center; color: #fff;
}
.steps b { color: var(--navy); }

.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: start; }

/* sign up + download */
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; align-items: start; }
.signup { border: 1px solid #999; background: var(--cream); padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 8px; }
.signup h2, .get h2, .sec.signup > h2, .sec.get > h2 { margin: 0; padding: 0; border: 0; background: none; font-size: 18px; color: var(--navy); }
.signup p { margin: 0; }
.signup form { display: flex; flex-direction: column; gap: 6px; }
.signup label { font-weight: bold; font-size: 13px; }
.signup input[type=text], .signup input[type=password] {
  font: 15px Verdana, Tahoma, sans-serif; padding: 6px 8px; min-height: 36px;
  border: 2px inset #ddd; background: #fff; width: 100%;
}
.signup .check { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; margin-top: 4px; }
.signup .check input { margin-top: 3px; }
.signup .btn { align-self: flex-start; margin-top: 6px; }
.rules { margin: 0; padding-left: 20px; font-size: 12px; line-height: 1.6; color: #333; }
.hint { margin: 0; min-height: 1.2em; font-size: 12px; color: var(--red); }
.hint.good { color: #006633; }
.error { margin: 0; font-size: 13px; font-weight: bold; color: var(--red); }
.error:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; flex-direction: column; gap: 10px; }
.done h3 { margin: 0; color: var(--navy); font-size: 18px; }
.done p { margin: 0; }
.code { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.code span { font: bold 22px 'Courier New', Courier, monospace; background: #fff; border: 2px inset #ddd; padding: 6px 10px; letter-spacing: 2px; }
.done ol { margin: 0; padding-left: 20px; }

.get { border: 2px solid var(--navy); padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; scroll-margin-top: 8px; }
.get p { margin: 0; }
.reqs { border-collapse: collapse; font-size: 13px; width: 100%; }
.reqs th, .reqs td { border: 1px solid #c8d4ea; padding: 5px 8px; text-align: left; }
.reqs th { background: var(--pale); width: 40%; }

/* FAQ */
.faq { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.faq dt { font-weight: bold; color: var(--navy); }
.faq dt::before { content: 'Q: '; color: var(--red); }
.faq dd { margin: 0 0 4px 0; }
.faq dd::before { content: 'A: '; font-weight: bold; }

.note { margin: 0; font-size: 12px; background: var(--pale); border: 1px dashed var(--line); padding: 8px 10px; }

/* ---- the box (box page): its screen and lamps ---- */
.boxshow { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.boxshow .text { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.device {
  flex: none; width: min(100%, 360px);
  background: linear-gradient(#3a3a3a, #262626);
  border: 1px solid #111; border-radius: 8px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.device .badge { display: flex; justify-content: space-between; color: #ddd; font: bold 11px Verdana, sans-serif; letter-spacing: 2px; }
.device .badge i { font-style: normal; color: #9cc3e8; }
.oled {
  margin: 0; background: #000c12; color: #8ff0ff;
  font: 14px/1.35 'Courier New', Courier, monospace;
  padding: 10px; white-space: pre; min-height: 5.6em; overflow: hidden;
  border: 2px solid #111;
}
.lamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 4px; }
.lamp { display: flex; gap: 5px; align-items: center; color: #cfcfcf; font: 10px Verdana, sans-serif; }
.lamp b { width: 9px; height: 9px; border-radius: 50%; background: #4a1a1a; flex: none; }
.lamp.on b { background: #ff3b30; box-shadow: 0 0 5px #ff3b30; }
.replay { align-self: flex-start; }

.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.screens li { list-style: none; border: 1px solid #c8d4ea; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.screens pre { margin: 0; background: #000c12; color: #8ff0ff; font: 12px/1.35 'Courier New', monospace; padding: 6px 8px; white-space: pre; overflow-x: auto; }
.screens b { color: var(--navy); }
.screens { margin: 0; padding: 0; }

.book { border-collapse: collapse; font-size: 13px; width: 100%; }
.book th, .book td { border: 1px solid #c8d4ea; padding: 6px 8px; text-align: left; }
.book th { background: var(--navy); color: #fff; }
.book code { font: bold 13px 'Courier New', monospace; }

.portal { border: 1px solid var(--line); font-size: 12px; }
.portal .url { background: #e6e6e6; border-bottom: 1px solid var(--line); padding: 4px 8px; font-family: 'Courier New', monospace; }
.portal .menus { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.portal .menus div { padding: 8px 10px; border-right: 1px solid #e1e7f2; display: flex; flex-direction: column; gap: 2px; }
.portal .menus b { color: var(--navy); }

.specs { border-collapse: collapse; width: 100%; font-size: 13px; }
.specs th, .specs td { border: 1px solid #c8d4ea; padding: 7px 8px; text-align: left; vertical-align: top; }
.specs th { width: 28%; background: var(--pale); color: var(--navy); }

/* ---- footer ---- */
.foot {
  background: var(--sky); color: #333; padding: 10px 18px; font-size: 11px;
  border-top: 1px solid #999;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; align-items: center;
}
.foot a, .foot a:visited { color: var(--link); }
.foot a:hover { color: var(--red); }
.under { text-align: center; font-size: 10px; color: #555; padding: 8px 16px 18px; margin: 0; }

@media (max-width: 640px) {
  .main { padding: 16px; }
  .welcome h1 { font-size: 28px; }
  .side { border-right: 0; border-top: 1px solid var(--line); order: 2; }
  .mast .speed { display: none; }
  .features th { width: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}

/* ---- callouts in CMS content ---- */
.callout { margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-left: 6px solid var(--navy); background: var(--pale); font-size: 13px; }
.callout p { margin: 0 0 6px; }
.callout > :last-child { margin-bottom: 0; }
.callout-title { font-weight: bold; color: var(--navy); }
.callout.tip { border-left-color: #2a8a3a; }
.callout.tip .callout-title { color: #1f6a2b; }
.callout.warning { border-left-color: var(--red); background: #fff4e0; }
.callout.warning .callout-title { color: var(--red); }

/* ---- layout extras ---- */
.side form { margin: 0; }
.hello { padding: 8px 10px; font-size: 13px; }
.mast .who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--ink); }
.mast .who form { margin: 0; }
.device .badge { text-transform: uppercase; }

/* ---- account and admin forms, lists ---- */
.signup textarea, .signup select, .adm-form textarea, .adm-form select,
.adm-form input[type=text], .adm-form input[type=password] {
  font: 14px Verdana, Tahoma, sans-serif; padding: 6px 8px; border: 2px inset #ddd;
  background: #fff; width: 100%;
}
.adm-form { display: flex; flex-direction: column; gap: 6px; }
.adm-form label { font-weight: bold; font-size: 13px; }
.adm-form .check { display: flex; gap: 8px; align-items: center; font-weight: normal; }
.adm-form textarea { font-family: 'Courier New', Courier, monospace; }
.adm-table th { width: auto; }
.adm-table td form { margin: 0; }
.adm-table code { word-break: break-all; font-size: 11px; }
.adm code, .files code { word-break: break-all; }
.adm-table img.thumb { max-width: 120px; height: auto; }
.files .dl { margin: 0; padding: 0; list-style: none; }
.files .dl li { margin-bottom: 12px; line-height: 1.6; }
.adm .main { flex: 1 1 auto; }
.preview { border: 2px dashed var(--line); padding: 12px; }
.newslist, .pagelist { margin: 0; padding-left: 20px; line-height: 1.6; }
.newslist li { margin-bottom: 8px; }
.cms { display: flex; flex-direction: column; gap: 10px; }
.cms > * { margin-top: 0; margin-bottom: 0; }
