/* The Offer Desk theme (FINAN IV Unit 4), 2026-11-18. Loaded after desk.css; changes the look only.
   An offer letter on good paper: cobalt letterhead ink, a peach sunrise accent, a tall modern serif for the title
   with a clean sans for the work, the memo as a letter with a folded corner and a signature rule, quiet tables with
   hairlines. Dark mode is the late night spent deciding. */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Mono:wght@400;500&display=swap');
:root{
  --bg:#F3F5FA;--surface:#FFFFFF;--panel:#E8ECF6;--line:#D3D9E9;--line-strong:#65708F;
  --ink:#161B2E;--muted:#4A5270;--brand:#3341C9;--brand-ink:#FFFFFF;--brand-tint:#E6E8FB;
  --ok:#1D6B45;--ok-tint:#DFF1E7;--bad:#AE2A1F;--bad-tint:#FBE6E3;--hint:#38507E;--hint-tint:#E5ECF7;--focus:#161B2E;--hl:#FFE6D3;
  --peach:#F5A983;--sky:#B9CFF3;
  --receipt-frame:#3341C9;--receipt-paper:#F8F9FD;
  --serif:'Instrument Sans','Helvetica Neue',Arial,sans-serif;--display:'Instrument Serif','Iowan Old Style',Georgia,serif;
  --mono:'DM Mono',ui-monospace,Menlo,monospace;}
:root[data-theme="dark"]{
  --bg:#0F1226;--surface:#171B34;--panel:#1F2442;--line:#2F365A;--line-strong:#8890B8;
  --ink:#ECEFFA;--muted:#B4BAD6;--brand:#A8B1FF;--brand-ink:#12153A;--brand-tint:#232A55;
  --ok:#7DD49A;--ok-tint:#15301F;--bad:#FF8D84;--bad-tint:#42201E;--hint:#AFC2E6;--hint-tint:#1B2440;--focus:#A8B1FF;--hl:#4A3424;
  --peach:#F5A983;--sky:#3A4C86;}

body{font-size:17.5px;background:var(--bg);display:flex;flex-direction:column;min-height:100vh}
header.bar{order:-2;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 1px 0 var(--bg),0 3px 0 var(--peach)}
.brand{font-style:normal}
.brand b{font:400 22px var(--display);letter-spacing:0}

/* header art: only on the first screen */
.desk-art{order:-1;display:none;width:calc(100% - 2.2rem);max-width:calc(820px - 2.2rem);height:auto;margin:1.8rem auto 0;border-radius:14px}
body:has(#startBox) .desk-art{display:block}
:root[data-theme="dark"] .desk-art{filter:brightness(.86)}
@media (max-width:600px){.desk-art{aspect-ratio:2.2/1;object-fit:cover;object-position:24% 100%;border-radius:10px}}

/* steps as tabs in a planner */
nav.steps{padding-top:.6rem}
nav.steps button{border-radius:8px;font:500 14px var(--serif);border:1px solid var(--line-strong);padding:.24rem .75rem}
nav.steps button.done::before{content:"\2713\00a0";content:"\2713\00a0" / "done: "}
nav.steps button[aria-current="step"]{outline:2px solid var(--brand);outline-offset:2px}

/* type: a tall serif for the title, the sans does the work */
h1{font:400 clamp(46px,7.4vw,74px)/.98 var(--display);color:var(--ink);letter-spacing:-.015em}
h1::after{content:"";display:block;width:3.2rem;height:4px;border-radius:2px;margin-top:.9rem;background:var(--peach)}
h2{font:400 34px/1.1 var(--display);letter-spacing:-.005em}
h3{font-family:var(--serif);font-weight:600}
.kicker{font-style:normal;font-weight:500;font-size:16px;color:var(--brand)}
.dek{font-size:19.5px;font-style:normal;color:var(--ink);max-width:34em;line-height:1.5}
.points{font:400 58px/1 var(--display);color:var(--brand)}

/* cards: the box is a planner page, the memo is the letter itself */
.box{border-radius:12px;background:var(--panel)}
.memo{border-radius:3px 0 3px 3px;border:0;box-shadow:0 1px 3px rgba(22,27,46,.1),0 22px 34px -28px rgba(22,27,46,.5);
  background:linear-gradient(225deg,var(--bg) 0 50%,var(--line-strong) 50% calc(50% + 1px),var(--panel) calc(50% + 1px)) right top/30px 30px no-repeat,var(--surface)}
:root[data-theme="dark"] .memo{box-shadow:0 22px 34px -28px rgba(0,0,0,.7)}
.memo-head{border-bottom:2px solid var(--brand)}
.stamp{border-radius:999px;color:var(--brand)}
.btn,.btn-calc{border-radius:999px}
.btn{font-weight:600;padding:.65rem 1.45rem}
.btn-quiet{border-radius:999px}
.choice span{border-radius:999px}
.choices.stack .choice span{border-radius:10px}
input[type=text],input[type=email],textarea,input.money{border-radius:8px}

/* tables: a clean comparison sheet */
table.cf{font-family:var(--mono)}
table.cf th{font:600 13.5px var(--serif);color:var(--muted);border-bottom:1.5px solid var(--ink);padding-bottom:.45rem}
table.cf caption{font-style:normal;font-weight:500}
table.cf td.lbl{font-family:var(--serif)}
table.cf tfoot tr.total td{border-top:1.5px solid var(--ink)}
table.cf input{border-radius:6px}
.formula{border-radius:10px;border-left:4px solid var(--peach)}
.calc-strip{border-left-color:var(--peach);border-radius:0 10px 10px 0}
details.example{border-left-color:var(--brand);border-radius:0 10px 10px 0}
