/* aahead.site — one stylesheet, Web 1.0 homebrew-console style.            */
/* Web-safe fonts, integer px, table-friendly. Conservative CSS 2.1 as the  */
/* base (outset/inset/ridge bevels, tiled backgrounds — all work on the PSP */
/* NetFront browser); a few CSS3 touches (box-shadow) are progressive only. */

html, body { margin: 0; padding: 0; }
body {
  background: #16181c url("ui/bg-tile.png") repeat;
  color: #1f1f1f;
  font-family: Verdana, Geneva, Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

/* the whole page is a beveled "application window" on the desktop */
#page {
  max-width: 600px;
  margin: 14px auto 26px;
  background: #f4f1e8 url("ui/paper.png") repeat;
  border: 2px solid #0c0d10;
  border-top: 2px solid #5a5e66;
  border-left: 2px solid #5a5e66;
  box-shadow: 0 0 0 2px #2c2f35, 6px 8px 0 #050608;
}
.pad { padding: 2px 16px; }

a { color: #0645ad; }
a:visited { color: #5a2ca0; }
a:hover { color: #b83232; background: #fbe9c8; }

/* ── title bar: brushed-metal window chrome ───────────────────────────── */
.titlebar {
  position: relative;
  background: #2f3136 url("ui/titlebar-tile.png") repeat-x;
  color: #ede7d8;
  border-bottom: 3px solid #b83232;
  border-top: 1px solid #6b7079;
  padding: 9px 16px 8px 14px;
}
.titlebar .date {
  float: right; font-size: 10px; color: #aeb3ba; padding-top: 9px;
  font-family: "Courier New", Courier, monospace;
}
/* fake traffic-light window dots */
.titlebar:before {
  content: ""; position: absolute; left: 14px; top: 7px;
  width: 8px; height: 8px; background: #e0716e;
  border: 1px solid #1a1c20; border-radius: 5px;
  box-shadow: 12px 0 0 -1px #e8c14b, 24px 0 0 -1px #79c46f,
              13px 0 0 0 #1a1c20, 25px 0 0 0 #1a1c20;
}
.wm { font-size: 30px; font-weight: bold; letter-spacing: 1px; line-height: 1;
      margin: 12px 0 0; text-shadow: 1px 1px 0 #0a0b0d, 2px 2px 0 #000; }
.wm b { color: #e0716e; }
.tagline { font-size: 12px; color: #cfd2d6; margin-top: 3px; font-style: italic; }

/* hero banner image (home) */
.hero { text-align: center; background: #1a1c20; padding: 10px 8px 8px;
        border-bottom: 1px solid #000; }
.hero img { display: inline-block; max-width: 100%; height: auto;
            border: 1px solid #000; image-rendering: pixelated; }

/* ── marquee news ticker ──────────────────────────────────────────────── */
.ticker {
  background: #120f08; color: #e8a33d; border-top: 1px solid #3a2f17;
  border-bottom: 2px solid #000; padding: 4px 0;
  font-family: "Courier New", Courier, monospace; font-size: 12px;
  letter-spacing: 1px;
}
.ticker b { color: #ffd27a; }

/* ── nav: row of raised beveled buttons ───────────────────────────────── */
.nav { background: #3b3e44 url("ui/titlebar-tile.png") repeat-x; padding: 6px 10px;
       font-size: 11px; border-bottom: 1px solid #15171b; }
.nav a {
  display: inline-block; color: #f2efe6; text-decoration: none;
  font-weight: bold; text-transform: uppercase; letter-spacing: 1px;
  background: #565a61; padding: 3px 8px; margin: 2px 2px;
  border: 2px outset #80858d;
}
.nav a:hover { background: #b83232; border-color: #e0716e; color: #fff; }
.nav .s { display: none; }

/* ── headings + text ──────────────────────────────────────────────────── */
h1 { font-size: 19px; margin: 16px 0 6px; color: #2a2a2a;
     text-shadow: 1px 1px 0 #fff; }
h2 { font-size: 14px; margin: 16px 0 6px; color: #5a2a14;
     border-bottom: 1px dashed #b9a98a; padding-bottom: 2px; }
p { margin: 0 0 10px; }
.lede { color: #55503f; font-style: italic; }
.scene { color: #6a6151; font-style: italic; font-size: 12px; }

/* decorative divider */
hr { border: 0; height: 4px; margin: 16px 0;
     background: #b83232;
     border-top: 1px solid #e7c39b; border-bottom: 1px solid #7e1f1f; }

/* section label: blocky bar with a red leading block */
.sect {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #f4ead4; font-weight: bold; margin: 6px 0 12px;
  background: #2f3136; padding: 5px 8px 5px 26px; position: relative;
  border: 2px outset #5a5e66; border-left: 8px solid #b83232;
}
.sect:before { content: "\25A0 \25A0"; position: absolute; left: 8px; top: 5px;
               color: #e0716e; letter-spacing: 0; }

/* ── terminal-style note box ──────────────────────────────────────────── */
.note {
  background: #0b1410; color: #7ce08a; border: 2px inset #16331f;
  padding: 9px 11px; font-family: "Courier New", Courier, monospace;
  font-size: 12px; line-height: 1.55; margin: 0 0 12px;
  box-shadow: inset 0 0 24px #04130a;
}
.note b { color: #d7ffd9; }
.note a { color: #74d0ff; }
.note a:hover { color: #fff; background: #14361f; }

.plan { font-size: 12px; color: #55503f; margin: 0 0 12px;
        background: #efe6cf; border: 1px solid #d6c9a8;
        border-left: 4px solid #c9a24b; padding: 6px 9px; }
.plan b { color: #1f1f1f; }

/* ── app blocks ───────────────────────────────────────────────────────── */
.app { margin: 0 0 18px; }
img.shot { display: block; width: 480px; max-width: 100%; height: auto;
           border: 1px solid #9a9488; background: #000000; }
/* device mockup framed like a glossy CRT photo */
img.mock {
  display: block; width: 100%; max-width: 540px; height: auto;
  background: #fff; padding: 6px;
  border: 2px solid #2a2c30;
  border-top-color: #565a61; border-left-color: #565a61;
  box-shadow: 4px 5px 0 #0a0b0d;
}
.cap { font-family: "Courier New", Courier, monospace; font-size: 11px;
       color: #6a6151; margin: 5px 0 10px; }
.nm { font-size: 17px; font-weight: bold; color: #2a2a2a;
      text-shadow: 1px 1px 0 #fff; }
.ver { font-size: 11px; font-weight: bold; color: #fff7e6;
       background: #b83232; padding: 1px 7px; border: 1px solid #7e1f1f;
       letter-spacing: 1px; }
.one { font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px;
       color: #1f1f1f; margin: 6px 0 8px; }

/* ── download / file tables ───────────────────────────────────────────── */
table.files { border-collapse: collapse; width: 100%; font-size: 12px;
              margin: 8px 0; border: 2px outset #c9bfa8; background: #fffdf6; }
table.files th { background: #2f3136; color: #f0ead8; text-align: left;
                 padding: 5px 8px; font-size: 10px; text-transform: uppercase;
                 letter-spacing: 1px; border-bottom: 2px solid #15171b; }
table.files td { padding: 6px 8px; border-bottom: 1px solid #e5dfce;
                 vertical-align: top; }
table.files tr.last td { border-bottom: 0; }
a.zip { font-weight: bold; }
a.zip:before { content: "\21E9 "; color: #7e1f1f; }
.links { font-size: 12px; margin: 4px 0 6px; }

/* spec / controls tables */
table.spec, table.keys { border-collapse: collapse; width: 100%; font-size: 13px;
                         margin: 6px 0 12px; }
table.spec td, table.keys td { border-bottom: 1px solid #e5dfce;
                               padding: 5px 8px 5px 0; vertical-align: top; }
table.spec td.k { color: #5a2a14; width: 112px; white-space: nowrap;
                  font-weight: bold; }
table.keys td.b { width: 130px; font-weight: bold; white-space: nowrap;
                  font-family: "Courier New", Courier, monospace; }

ol { margin: 4px 0 12px; padding-left: 24px; }
ol li { margin: 0 0 5px; }
ul { margin: 4px 0 12px; padding-left: 20px; }
ul li { margin: 0 0 4px; }
ul li:first-letter { }

.mono { font-family: "Courier New", Courier, monospace; }
.hash { font-family: "Courier New", Courier, monospace; font-size: 11px;
        color: #55503f; word-wrap: break-word; }
pre.sums { font-family: "Courier New", Courier, monospace; font-size: 11px;
           line-height: 1.7; background: #0b1410; color: #7ce08a;
           border: 2px inset #16331f; padding: 10px; overflow-x: auto;
           margin: 0 0 8px; }
pre.sums b { color: #d7ffd9; }
.back { font-size: 12px; margin: 12px 0 4px; }

/* platform status */
.st-now { font-weight: bold; color: #1a7a32; }
.st-soon { color: #8a8475; font-style: italic; }

/* ── 88x31 badge wall ─────────────────────────────────────────────────── */
.badges { margin: 8px 0 10px; line-height: 0; }
.b88 {
  display: inline-block; width: 84px; height: 27px; margin: 0 4px 4px 0;
  padding: 0 1px; vertical-align: middle; overflow: hidden;
  border: 1px solid #000; border-top-color: #888; border-left-color: #888;
  font-family: "Courier New", Courier, monospace; font-size: 9px;
  line-height: 11px; text-align: center; color: #fff; letter-spacing: 0;
}
.b88 b { display: block; }
.b88-a { background: #2f3136; }
.b88-a b { color: #e0716e; }
.b88-b { background: #1a5fb4; }
.b88-c { background: #126e2e; }
.b88-d { background: #7e1f1f; }
.b88-e { background: #b0820f; }
.b88 i { font-style: normal; color: #ffe9b0; }

/* hit counter — black LCD box */
.counter { display: inline-block; background: #07120b; color: #61e07a;
           border: 2px inset #16331f; padding: 3px 6px; margin: 2px 0;
           font-family: "Courier New", Courier, monospace; font-size: 14px;
           letter-spacing: 3px; }
.counter b { color: #b9ffc4; }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { background: #2f3136 url("ui/titlebar-tile.png") repeat-x;
        color: #c7c2b4; border-top: 3px solid #b83232; margin-top: 18px;
        padding: 14px 16px 12px; font-size: 11px; }
.foot a { color: #e3a05a; }
.foot a:hover { color: #fff; background: transparent; }
.foot .row { margin: 0 0 8px; }
.foot img.badge { border: 0; vertical-align: middle; }
