/* retro.css — the landing page as a 1996 desktop. No images and no web fonts: everything here is
   CSS, so the page is a few kilobytes and paints at once on any phone. */
:root {
  --desk: #008080; --face: #c0c0c0; --hi: #fff; --lo: #808080; --dark: #0a0a0a;
  --title: #000080; --title2: #1084d0; --ink: #111; --hl: #ffff00;
  --ui: "Tahoma", "Verdana", "Segoe UI", system-ui, sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--desk); color: var(--ink); font: 16px/1.45 var(--ui); padding-bottom: 52px; }
/* A faint dither, like an old desktop wallpaper. Pure CSS. */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(#004848 1px, transparent 1px); background-size: 4px 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
:focus-visible { outline: 2px dotted #fff; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }

/* Bevels: the whole look is these two shadows. */
.win, .go, .startbtn, .task { box-shadow: inset -1px -1px var(--dark), inset 1px 1px var(--hi), inset -2px -2px var(--lo), inset 2px 2px #dfdfdf; }

.desk { position: relative; max-width: 980px; margin: 0 auto; padding: 16px 12px; display: grid; gap: 18px; }
.win { background: var(--face); padding: 3px; margin: 0; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 4px 3px 8px;
  background: linear-gradient(90deg, var(--title), var(--title2)); color: #fff; font-weight: 700; font-size: 14px; }
.btns { display: flex; gap: 2px; }
.btns i { font-style: normal; width: 18px; height: 16px; line-height: 13px; text-align: center; color: #000; background: var(--face); font-size: 12px;
  box-shadow: inset -1px -1px var(--dark), inset 1px 1px var(--hi); }
.body { padding: 16px 14px 18px; }

.hero h1 { margin: 0 0 12px; font: 700 clamp(30px, 8vw, 54px)/1.05 var(--ui); letter-spacing: -.02em; }
.hero p { margin: 0 0 16px; font-size: 18px; }
.go { display: inline-block; padding: 14px 22px; min-height: 52px; background: var(--face); color: #000; font: 700 19px/1.2 var(--ui);
  text-decoration: none; outline: 1px solid #000; outline-offset: 0; }
.go:active { box-shadow: inset 1px 1px var(--dark), inset -1px -1px var(--hi), inset 2px 2px var(--lo); transform: translate(1px, 1px); }
.go.small { font-size: 16px; padding: 10px 16px; min-height: 44px; }
.price { margin: 14px 0 0 !important; font-size: 16px !important; }

.note .body { font: 15px/1.5 var(--mono); background: #fff; margin: 2px; box-shadow: inset 1px 1px var(--lo), inset -1px -1px var(--hi); }
.note p { margin: 0 0 8px; }
.note .q { font-weight: 700; }
.note .q.typing::after { content: "█"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pen { margin: 10px 0 0 !important; transition: opacity .4s; }
.pen.hide { opacity: 0; }
mark { background: var(--hl); color: #000; padding: 0 3px; }

/* Desktop icons. Each opens a small window: the detail is there, but never in the way. */
.icons { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.icon summary { list-style: none; cursor: pointer; width: 88px; min-height: 76px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; color: #fff; font-size: 13px; padding: 4px; text-shadow: 1px 1px 0 #000; }
.icon summary::-webkit-details-marker { display: none; }
.icon[open] summary { background: rgb(0 0 128 / .6); outline: 1px dotted #fff; }
.ico { width: 34px; height: 38px; position: relative; display: block; }
.ico.doc { background: #fff; box-shadow: 1px 1px 0 #000; }
.ico.doc::before { content: ""; position: absolute; inset: 8px 6px auto; height: 18px; background: repeating-linear-gradient(#000 0 2px, transparent 2px 5px); }
.ico.money { background: #1f8f3a; border-radius: 3px; height: 24px; margin: 7px 0; box-shadow: 1px 1px 0 #000; }
.ico.money::before { content: "$"; position: absolute; inset: 0; color: #fff; font: 700 16px/24px var(--ui); text-align: center; }
.ico.why { background: #ffd23f; border-radius: 50%; width: 34px; height: 34px; margin: 2px 0; box-shadow: 1px 1px 0 #000; }
.ico.why::before { content: "!"; position: absolute; inset: 0; font: 700 22px/34px var(--ui); text-align: center; color: #000; }
.ico.help { background: #fff; border-radius: 50%; width: 34px; height: 34px; margin: 2px 0; box-shadow: 1px 1px 0 #000; }
.ico.help::before { content: "?"; position: absolute; inset: 0; font: 700 22px/34px var(--ui); text-align: center; color: var(--title); }
.pop { width: min(92vw, 420px); margin-top: 6px; position: relative; z-index: 2; }
.icon[open] { flex-basis: 100%; }
.pop ol { margin: 0; padding-left: 20px; }
.pop li, .pop p { margin: 0 0 8px; }

.task { position: fixed; left: 0; right: 0; bottom: 0; height: 44px; background: var(--face); display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px; z-index: 5; }
.startbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--face); color: #000; font-weight: 700; text-decoration: none; }
.flag { width: 16px; height: 14px; background: conic-gradient(#f22 0 25%, #2c2 0 50%, #fc0 0 75%, #36f 0); transform: skewX(-8deg); }
.tray { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 10px; font-size: 13px;
  box-shadow: inset 1px 1px var(--lo), inset -1px -1px var(--hi); }
.tray a { color: #000; }

@media (min-width: 860px) {
  .desk { grid-template-columns: 1.25fr .9fr; align-items: start; padding-top: 48px; gap: 28px; }
  .hero { grid-column: 1; }
  .note { grid-column: 2; margin-top: 90px; transform: rotate(1deg); }
  .icons { grid-column: 1 / -1; }
}

/* ---------- Looks. Same page, different decade. Chosen with <html data-look="...">. ---------- */
.menubar, .closebox { display: none; }
.bar .t { flex: 1; }

/* Windows 98, blue sky with clouds. Still pure CSS. */
[data-look="sky"] body { background:
  radial-gradient(60px 26px at 18% 22%, #fff 60%, transparent 62%), radial-gradient(90px 34px at 26% 25%, #fff 55%, transparent 58%),
  radial-gradient(70px 28px at 72% 14%, #fff 60%, transparent 62%), radial-gradient(110px 40px at 82% 18%, #fffe 55%, transparent 58%),
  radial-gradient(80px 30px at 55% 62%, #ffffffd9 55%, transparent 58%), radial-gradient(120px 44px at 66% 66%, #ffffffcc 50%, transparent 54%),
  radial-gradient(70px 26px at 12% 78%, #ffffffd9 55%, transparent 58%),
  linear-gradient(#3a7bd5, #7fb2f0 55%, #bcd8f7) fixed; }
[data-look="sky"] body::before { display: none; }
[data-look="sky"] { --title: #0a246a; --title2: #a6caf0; }

/* Classic Mac, System 7: one bit, striped title bars, a menu bar on top. */
[data-look="mac7"] { --face: #fff; --ink: #000; --ui: "Chicago", "Charcoal", "Geneva", "Verdana", system-ui, sans-serif; }
[data-look="mac7"] body { background: #fff; padding: 30px 0 0; }
[data-look="mac7"] body::before { opacity: 1; background-image: repeating-conic-gradient(#000 0 25%, #fff 0 50%); background-size: 2px 2px; opacity: .55; }
[data-look="mac7"] .task { display: none; }
[data-look="mac7"] .menubar { display: flex; position: fixed; top: 0; left: 0; right: 0; height: 28px; z-index: 6; background: #fff; border-bottom: 1px solid #000;
  align-items: center; gap: 18px; padding: 0 12px; font: 700 14px/1 var(--ui); }
[data-look="mac7"] .menubar .logo { width: 14px; height: 16px; background: #000; border-radius: 50% 50% 45% 45%; }
[data-look="mac7"] .menubar .mclock { margin-left: auto; font-weight: 700; }
[data-look="mac7"] .win { background: #fff; padding: 0; border: 1px solid #000; box-shadow: 2px 2px 0 #000; }
[data-look="mac7"] .bar { position: relative; color: #000; padding: 4px 8px; background:
  repeating-linear-gradient(#000 0 1px, #fff 1px 3px) 0 4px / 100% 11px no-repeat, #fff; border-bottom: 1px solid #000; justify-content: center; }
[data-look="mac7"] .bar .t { flex: none; background: #fff; padding: 0 8px; font-size: 14px; }
[data-look="mac7"] .btns { display: none; }
[data-look="mac7"] .closebox { display: block; position: absolute; left: 10px; top: 5px; width: 13px; height: 13px; background: #fff; border: 1px solid #000; box-shadow: 0 0 0 2px #fff; }
[data-look="mac7"] .go, [data-look="mac7"] .startbtn { background: #fff; color: #000; border: 2px solid #000; border-radius: 10px; box-shadow: none; outline: 3px solid #000; outline-offset: 3px; }
[data-look="mac7"] .go:active { background: #000; color: #fff; transform: none; }
[data-look="mac7"] .note .body { margin: 0; box-shadow: none; }
[data-look="mac7"] mark { background: #000; color: #fff; }
[data-look="mac7"] .icon summary { color: #000; text-shadow: none; }
[data-look="mac7"] .icon summary { background: #fff; outline: 1px solid #000; width: 96px; }
[data-look="mac7"] .icon[open] summary { background: #000; color: #fff; }

/* Mac OS 9, Platinum: soft grey windows with pinstripes on a blue-purple desktop. */
[data-look="mac9"] { --face: #dddddd; --ink: #000; --ui: "Charcoal", "Geneva", "Verdana", system-ui, sans-serif; }
[data-look="mac9"] body { background: #6c6ccb; padding: 30px 0 0; }
[data-look="mac9"] body::before { opacity: .12; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 3px 3px; }
[data-look="mac9"] .task { display: none; }
[data-look="mac9"] .menubar { display: flex; position: fixed; top: 0; left: 0; right: 0; height: 28px; z-index: 6; background: linear-gradient(#f4f4f4, #d8d8d8);
  border-bottom: 1px solid #777; align-items: center; gap: 18px; padding: 0 12px; font: 400 14px/1 var(--ui); }
[data-look="mac9"] .menubar .logo { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#5b9e3c 0 17%, #f5c02a 0 34%, #ef8a24 0 50%, #d6343a 0 67%, #8a3c90 0 84%, #2d8bd6 0); }
[data-look="mac9"] .menubar .mclock { margin-left: auto; }
[data-look="mac9"] .win { background: #dddddd; padding: 0 4px 4px; border: 1px solid #555; border-radius: 3px; box-shadow: inset 1px 1px #fff, 0 3px 10px rgb(0 0 0 / .35); }
[data-look="mac9"] .bar { position: relative; color: #000; justify-content: center; padding: 3px 8px; margin: 0 -4px 4px;
  background: repeating-linear-gradient(#f2f2f2 0 1px, #c9c9c9 1px 2px); border-bottom: 1px solid #999; font-weight: 400; }
[data-look="mac9"] .bar .t { flex: none; background: #dddddd; padding: 0 8px; }
[data-look="mac9"] .btns { display: none; }
[data-look="mac9"] .closebox { display: block; position: absolute; left: 8px; top: 4px; width: 13px; height: 13px; border: 1px solid #444; background: linear-gradient(135deg, #fff, #aaa); }
[data-look="mac9"] .go, [data-look="mac9"] .startbtn { background: linear-gradient(#fafafa, #cfcfcf); color: #000; border: 1px solid #333; border-radius: 8px; outline: none;
  box-shadow: 0 0 0 3px #6c6ccb33, inset 0 1px #fff; }
[data-look="mac9"] .go:active { background: linear-gradient(#bbb, #e6e6e6); transform: none; }
[data-look="mac9"] .note .body { box-shadow: inset 1px 1px #888, inset -1px -1px #fff; }
[data-look="mac9"] mark { background: #b8b8ff; }
[data-look="mac9"] .icon[open] summary { background: rgb(0 0 0 / .35); }

/* System 7 is the chosen look (Raj, 2026-09-28): tighter so the whole example sits above the fold. */
[data-look="mac7"] .body { padding: 12px 14px 14px; }
[data-look="mac7"] .desk { gap: 12px; padding-top: 12px; }
[data-look="mac7"] .hero p { margin-bottom: 14px; }
[data-look="mac7"] .note .body { font: 17px/1.5 var(--ui); }
[data-look="mac7"] .note .a { color: #000; }
[data-look="mac7"] .menubar a { color: #000; text-decoration: none; padding: 6px 0; }
[data-look="mac7"] .menubar a:hover { text-decoration: underline; }
[data-look="mac7"] body { padding: 34px 0 16px; }


/* Legal pages: one long window, easy to read. */
.legal { max-width: 760px; width: 100%; margin: 0 auto; }
.legal .body { font-size: 16px; line-height: 1.6; }
.legal h1 { margin: 0 0 6px; font-size: 30px; }
.legal h2 { margin: 22px 0 6px; font-size: 19px; }
.legal p, .legal li { margin: 0 0 10px; }
.legal .updated { color: #444; }
.legal .callout { border: 1px solid #000; padding: 10px 12px; margin: 12px 0; }
.legal a { color: #000; }
.buy2 { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0 !important; }

/* A colour desktop on the landing, waiting and feedback screens; the interview keeps the plain grey one,
   because that is where you concentrate (Raj, 2026-10-01). A soft teal, as colour Macs offered. */
[data-look="mac7"][data-desk="teal"] body::before { background-image: repeating-conic-gradient(#137a7a 0 25%, #fff 0 50%); }

/* The example link reads as part of the price line, black like the rest of the page. */
.price a { color: inherit; }
