/* TPI IT Desk guide. Studio mood tokens (tpi-design, 29 Oct 2026): warm ink and paper, bronze accent, Poppins. */
@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("Poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("Poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("Poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("Poppins-600.woff2") format("woff2"); }

:root {
  --ink-1: #161616; --ink-2: #2E2D2A; --ink-3: #6E6C66; --ink-4: #8E8A82;
  --paper: #F4F3EF; --paper-2: #F2EFE8; --card: #FFFFFF;
  --hairline: #E2DFD7; --hairline-soft: #ECE9E2;
  --bronze: #9A7B4F; --bronze-fill: #8A6C42; --bronze-ink: #6E5530; --sand: #CDB892;
  --gate-bg: #F6EFE2; --gate-bd: #E4D6BC;
  --hero-band: linear-gradient(100deg, #F7F3EC 0%, #EFE6D6 55%, #D9C7A6 100%);
  --ok: #2E7D5B;
  --win: #FFFFFF; --win-bar: #F3F2F1; --win-line: #E1DFDD; --win-text: #323130; --win-muted: #8A8886; --win-accent: #0F6CBD;
  --radius: 14px; --radius-ctl: 8px;
  --shadow: 0 1px 0 rgba(20,20,20,.03), 0 18px 40px -28px rgba(20,20,20,.18);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink-2); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
b, strong { font-weight: 500; color: var(--ink-1); }
em { font-style: normal; font-weight: 500; color: var(--ink-1); }
h1, h2 { font-weight: 300; color: var(--ink-1); text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
p { margin: 0; }

.top { display: flex; align-items: center; gap: 16px; padding: 18px max(20px, env(safe-area-inset-left)) 14px; border-bottom: 1px solid var(--hairline); background: var(--card); }
.home { display: inline-flex; }
a.btn { text-decoration: none; display: inline-block; }
.logo { display: block; height: 34px; width: auto; }
.top-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding-left: 16px; border-left: 1px solid var(--hairline); }
.progress { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.bar { width: 140px; height: 4px; border-radius: 4px; background: var(--hairline-soft); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--bronze); transition: width .3s ease; }

main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 32px max(20px, env(safe-area-inset-left)) 40px; }
.slide { display: grid; gap: 20px; padding: 8px 0 48px; }
.slide > *, .pair > *, .split > *, .choose > *, .cards > * { min-width: 0; }
body { overflow-x: hidden; }
.slide + .slide { border-top: 1px solid var(--hairline); padding-top: 40px; }
.js .slide { display: none; border-top: 0; padding-top: 8px; }
.js .slide.is-current { display: grid; }
@media (prefers-reduced-motion: reduce) { .bar-fill { transition: none; } }

.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-ink); font-weight: 500; }
.lead { font-size: 18px; font-weight: 300; color: var(--ink-2); max-width: 62ch; }
.note { font-size: 13px; color: var(--ink-3); max-width: 70ch; }

.hero { background: var(--hero-band); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; }
.hero .lead { max-width: 54ch; }
.checklist { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; }
.checklist h2 { font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.checklist ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.checklist li::marker { color: var(--bronze); font-weight: 500; }

.actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.btn { font: 500 15px var(--font); color: var(--ink-1); background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-ctl); padding: 11px 22px; cursor: pointer; min-width: 110px; }
.btn:hover { border-color: var(--ink-4); }
.btn.primary { background: var(--bronze-fill); border-color: var(--bronze-fill); color: #FFFFFF; }
.btn.primary:hover { background: var(--bronze-ink); }
.btn:focus-visible, .choice:focus-visible { outline: 2px solid var(--ink-1); outline-offset: 2px; }
h1:focus, h2:focus { outline: none; }

.choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.choice { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 16px; padding: 20px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .2s; }
.choice:hover { border-color: var(--bronze); }
.choice-text { display: grid; gap: 4px; font-size: 14px; color: var(--ink-3); }
.choice-text b { font-size: 17px; font-weight: 500; }

.split, .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; align-items: center; }
.advice { display: grid; gap: 12px; }
.tip { background: var(--gate-bg); border: 1px solid var(--gate-bd); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 4px; font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 6px; align-content: start; font-size: 15px; color: var(--ink-3); }
.card b { font-size: 16px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; color: var(--ink-1); }

.foot { text-align: center; font-size: 12px; color: var(--ink-4); padding: 18px 20px 28px; border-top: 1px solid var(--hairline); }

/* ---------- Illustrations of Windows screens (simplified; Segoe UI where available) ---------- */
.mock { margin: 0; font-family: "Segoe UI", var(--font); color: var(--win-text); }
.mock-win, .mock-dialog, .mock-signin { background: var(--win); border: 1px solid var(--win-line); border-radius: 10px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.06); overflow: hidden; }
.mw-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--win-bar); border-bottom: 1px solid var(--win-line); font-size: 13px; }
.mw-title { font-weight: 600; }
.mw-search { flex: 1; max-width: 340px; margin: 0 auto; background: #FFF; border: 1px solid var(--win-line); border-radius: 6px; padding: 4px 10px; color: var(--win-muted); }
.mw-icons { display: flex; gap: 8px; margin-left: auto; }
.ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: var(--win-muted); font-size: 16px; }
.mw-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--win-text); }
.mw-toggle i { width: 28px; height: 14px; border-radius: 7px; background: var(--win-accent); position: relative; }
.mw-toggle i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #FFF; }
.mw-ribbon { display: flex; gap: 18px; padding: 8px 14px; font-size: 13px; border-bottom: 1px solid var(--win-line); color: var(--win-text); }
.mw-ribbon .hl { color: #FFF; background: var(--win-accent); padding: 0 8px; border-radius: 3px; }
.mw-body { display: grid; grid-template-columns: 220px 1fr; min-height: 230px; }
.mw-pane { display: grid; align-content: start; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--win-line); font-size: 13px; }
.mw-pane span { padding: 5px 10px 5px 22px; border-radius: 4px; }
.mw-pane .acct { padding-left: 10px; font-weight: 600; margin-top: 6px; }
.mw-list { display: grid; align-content: start; gap: 10px; padding: 14px; }
.mw-list i { display: block; height: 38px; border-radius: 4px; background: linear-gradient(90deg, #F3F2F1 0 40%, transparent 40%), #FAF9F8; }
.backstage { grid-template-columns: 180px 1fr; }
.bs-nav { background: var(--win-accent); color: #FFF; display: grid; align-content: start; gap: 2px; padding: 12px 0; font-size: 13px; }
.bs-nav span { padding: 7px 18px; }
.bs-nav .on { background: rgba(255,255,255,.18); }
.bs-main { padding: 20px 24px; display: grid; align-content: start; gap: 12px; font-size: 13px; }
.bs-main b { font-size: 20px; font-weight: 300; }
.tile { height: 46px; border: 1px solid var(--win-line); border-radius: 4px; }
.row { padding: 6px 10px; border: 1px solid var(--win-line); border-radius: 4px; font-size: 13px; }
.btnish { justify-self: start; display: inline-block; padding: 6px 14px; border: 1px solid var(--win-line); border-radius: 4px; font-size: 13px; background: #FFF; }
.btnish.solid { background: var(--win-accent); color: #FFF; border-color: var(--win-accent); }
.btnish.right { justify-self: end; }

.mock-dialog { max-width: 460px; justify-self: center; width: 100%; }
.mock-dialog.wide { max-width: 760px; }
.md-head { padding: 12px 16px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--win-line); }
.md-split { display: grid; grid-template-columns: 140px 150px 1fr; min-height: 190px; font-size: 13px; }
.md-nav, .md-sub { display: grid; align-content: start; gap: 2px; padding: 10px 6px; border-right: 1px solid var(--win-line); }
.md-nav span, .md-sub span { padding: 6px 10px; border-radius: 4px; }
.md-nav .on, .md-sub .on { background: #EBF3FC; font-weight: 600; }
.md-main { padding: 16px; display: grid; align-content: start; gap: 10px; }
.md-form { padding: 18px 16px; display: grid; gap: 12px; font-size: 13px; }
.field { border: 1px solid var(--win-line); border-bottom: 2px solid var(--win-accent); border-radius: 4px; padding: 8px 10px; font-size: 14px; }
.muted { color: var(--win-muted); }
.check { display: flex; align-items: center; gap: 8px; }
.check::before { content: "\2713"; width: 16px; height: 16px; display: grid; place-items: center; font-size: 11px; color: #FFF; background: var(--win-accent); border-radius: 3px; flex: none; }
.check.off::before { content: ""; background: #FFF; border: 1px solid var(--win-muted); }
.link { color: var(--win-accent); text-decoration: underline; justify-self: start; }
.ok { color: var(--ok); font-size: 15px; }

.mock-signin { padding: 26px 28px; display: grid; gap: 10px; max-width: 400px; justify-self: center; width: 100%; font-size: 14px; }
.ms-brand { font-weight: 600; color: #5E5E5E; font-size: 15px; }
.ms-user { color: var(--win-text); font-size: 13px; }
.mock-signin b { font-size: 20px; font-weight: 600; }
.small { font-size: 13px; color: #5E5E5E; }
.big-num { font-size: 42px; font-weight: 600; justify-self: center; padding: 6px 18px; }

.mock-phone { justify-self: center; width: 230px; border: 8px solid #1F1F1F; border-radius: 30px; background: #FFF; padding: 26px 16px 18px; display: grid; gap: 8px; text-align: center; font-size: 12px; position: relative; box-shadow: 0 24px 48px -24px rgba(0,0,0,.35); }
.ph-notch { position: absolute; top: 6px; left: 50%; width: 60px; height: 6px; margin-left: -30px; border-radius: 3px; background: #1F1F1F; }
.mock-phone b { font-size: 15px; font-weight: 600; }
.ph-field { border: 1px solid var(--win-line); border-bottom: 2px solid var(--win-accent); border-radius: 4px; padding: 6px; font-size: 18px; font-weight: 600; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.ph-btns span { padding: 7px 4px; border-radius: 4px; border: 1px solid var(--win-line); }
.ph-btns .solid { background: var(--win-accent); color: #FFF; border-color: var(--win-accent); }

.mock-mini { display: block; background: var(--win); border: 1px solid var(--win-line); border-radius: 8px; overflow: hidden; }

/* The control to use on each screen: bronze ring, the guide's own mark rather than Windows styling. */
.target { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--bronze); border-radius: 6px; position: relative; }
.js .is-current .target { animation: pulse 2.4s ease-in-out .6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--bronze); } 50% { box-shadow: 0 0 0 3px var(--card), 0 0 0 9px rgba(154,123,79,.35); } }
@media (prefers-reduced-motion: reduce) { .js .is-current .target { animation: none; } }

@media (max-width: 640px) {
  .top { flex-wrap: wrap; }
  .top-label { display: none; }
  .bar { width: 90px; }
  .mw-body { grid-template-columns: 1fr; }
  .mw-pane { border-right: 0; border-bottom: 1px solid var(--win-line); }
  .mw-list { display: none; }
  .md-split { grid-template-columns: 1fr; }
  .md-nav, .md-sub { border-right: 0; border-bottom: 1px solid var(--win-line); grid-auto-flow: column; justify-content: start; }
  .backstage { grid-template-columns: 1fr; }
  .bs-nav { grid-auto-flow: column; overflow-x: auto; }
  .actions .btn { flex: 1; }
}
@media print { .top .progress, .actions { display: none; } .js .slide { display: grid; } }

/* Film pages */
.thumb { display: block; width: 100%; height: auto; border-radius: var(--radius-ctl); border: 1px solid var(--hairline); }
.film { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.film .thumb { border: 0; border-radius: 0; }
.film:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-3); }
a.choice { align-content: start; }
