:root {
  --desktop: #507d7e;
  --desktop-dark: #315d60;
  --window: #d8d5ca;
  --panel: #efeee6;
  --shade: #aaa9a0;
  --deep-shade: #70736e;
  --light: #ffffff;
  --ink: #101311;
  --navy: #123b65;
  --navy-dark: #092440;
  --teal: #236a68;
  --status: #c4c7c1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--desktop);
  color: var(--ink);
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.48;
}

a { color: #092f5b; font-weight: 700; }
a:hover { color: #000; }

.desktop-window {
  width: min(1180px, calc(100% - 32px));
  margin: 25px auto;
  background: var(--window);
  border: 3px solid #f8f8f2;
  box-shadow: 3px 3px 0 #152d2d, -2px -2px 0 #2a4f4f;
}

.titlebar {
  min-height: 36px;
  padding: 5px 6px 5px 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--navy), #245a87);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1px;
}
.titlebar-brand { display: flex; align-items: center; gap: 8px; }
.app-mark { display: inline-flex; width: 19px; height: 19px; align-items: center; justify-content: center; color: #d6ebe5; }
.app-mark svg { width: 19px; height: 19px; }
.window-controls { display: flex; gap: 4px; }
.window-controls span {
  display: inline-flex;
  width: 21px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 2px outset #d5d5d0;
  background: #c8c8c2;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.toolbar {
  display: flex;
  gap: 2px;
  align-items: center;
  min-height: 39px;
  padding: 5px 7px;
  border-top: 2px solid #f7f7ef;
  border-bottom: 2px solid #6f716b;
  background: #c2c4bd;
}
.toolbar a {
  padding: 4px 9px;
  color: #111;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 14px;
}
.toolbar a:hover, .toolbar a:focus { border: 1px dotted #111; background: #d9dad4; }
.toolbar .toolbar-call { margin-left: auto; color: var(--navy); }

.content-area { padding: 16px; }
.panel {
  background: var(--panel);
  border: 2px solid;
  border-color: #777a74 #fff #fff #777a74;
  box-shadow: inset 1px 1px 0 #484b47, inset -1px -1px 0 #d1d0c8;
}
.dialog-title {
  margin: -2px -2px 14px;
  padding: 5px 8px;
  color: #fff;
  background: var(--teal);
  border: 2px solid;
  border-color: #78a6a2 #173e3d #173e3d #78a6a2;
  font-size: 14px;
  font-weight: 700;
}
.hero-panel { padding: 2px 16px 18px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: 24px; align-items: center; }
.lead { margin-top: 0; font-size: 19px; line-height: 1.42; font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button {
  display: inline-block;
  padding: 8px 13px;
  border: 2px outset #d4d6d1;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:active { border-style: inset; transform: translate(1px, 1px); }
.primary { color: #fff; background: var(--navy); }
.primary:hover { color: #fff; background: var(--navy-dark); }
.secondary { color: #111; background: #cbcdc6; }
.secondary:hover { color: #111; background: #e1e1d9; }

.system-card {
  padding: 3px;
  color: #eaf0e9;
  background: #1e3737;
  border: 3px inset #809a97;
  font-family: "Courier New", monospace;
  font-size: 13px;
}
.system-card-title { padding: 5px; background: #0d2525; font-weight: 700; }
.status-line { margin: 11px 5px; }
.status-light { display: inline-block; width: 9px; height: 9px; margin-right: 5px; background: #75d447; border: 1px solid #d5ffbc; }
dl { margin: 0; padding: 5px; border-top: 1px solid #6b8382; }
dl div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
dt { color: #b4c8c3; } dd { margin: 0; text-align: right; }

.service-zone { margin-top: 18px; }
.section-caption { height: 24px; padding: 2px 8px; border: 2px solid; border-color: #fff #747771 #747771 #fff; background: #c6c7c0; font-size: 13px; font-weight: 700; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 10px; }
.service-card { padding: 13px; }
.service-card h2 { margin: 7px 0 8px; font-size: 18px; line-height: 1.2; }
.service-card p { font-size: 14px; }
.service-card ul { margin: 12px 0 0; padding-left: 19px; font-size: 13px; }
.service-card li { margin-bottom: 5px; }
.service-icon { width: 38px; height: 38px; padding: 7px; color: #fff; background: var(--navy); border: 2px outset #9baebb; }
.service-icon svg { width: 100%; height: 100%; }

.process-panel { margin-top: 18px; padding: 2px 14px 15px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.process-step { min-height: 108px; padding: 10px; border: 2px inset #d6d4ca; background: #e4e3da; font-size: 14px; }
.process-step b { display: block; margin-bottom: 7px; color: var(--navy); font-family: "Courier New", monospace; font-size: 23px; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-top: 18px; }
.about-panel, .checklist-panel { padding: 2px 14px 14px; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { padding: 7px 0 7px 25px; border-bottom: 1px dotted #777; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 2px; color: #156040; font-weight: 900; }

.contact-panel { margin-top: 18px; padding: 2px 14px 16px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; }
.contact-line { margin: 12px 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.social-links a { padding: 3px 7px; border: 1px solid #777; background: #d5d5cd; font-size: 13px; }
.request-form { display: grid; grid-template-columns: 1fr; gap: 4px; }
.request-form label { margin-top: 4px; font-weight: 700; font-size: 13px; }
input, select, textarea {
  width: 100%;
  padding: 7px;
  border: 2px inset #e9e9e1;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
}
textarea { resize: vertical; }
.submit-button { justify-self: start; margin-top: 8px; }
.form-status { min-height: 20px; margin: 5px 0 0; font-family: "Courier New", monospace; font-size: 13px; font-weight: 700; }

.statusbar {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 31px;
  padding: 4px 7px;
  border-top: 2px solid #fff;
  background: var(--status);
  font-size: 12px;
}
.statusbar span, .statusbar a { padding: 2px 6px; border: 1px solid; border-color: #858782 #eee #eee #858782; }
.statusbar a { color: #102f55; }
.statusbar a:last-child { margin-left: auto; }

.privacy-content { min-height: 580px; }
.privacy-panel { padding: 2px 18px 20px; max-width: 850px; }
.privacy-panel h1 { font-size: 22px; }
.privacy-panel h2 { margin: 22px 0 5px; font-size: 17px; }
.privacy-panel p { margin: 6px 0; }
.updated { font-family: "Courier New", monospace; font-size: 13px; }

@media (max-width: 760px) {
  body { font-size: 15px; }
  .desktop-window { width: calc(100% - 12px); margin: 6px auto; }
  .titlebar { font-size: 12px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .toolbar-call { margin-left: 0; }
  .content-area { padding: 9px; }
  .hero-panel { padding: 2px 11px 13px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 15px; }
  .lead { font-size: 17px; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 0; }
  .statusbar { flex-wrap: wrap; gap: 4px; }
  .statusbar a:last-child { margin-left: 0; }
}
