@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("type/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("type/bricolage-grotesque-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("type/ibm-plex-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("type/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("type/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Desk Ritual: espresso, cream and ember orange; grotesque display, mono data labels */
:root {
  --ink: #2b1e17;
  --ink-soft: #5e5047;
  --paper: #f6efe4;
  --card: #fffaf2;
  --line: #e2d3bf;
  --ember: #c2512b;
  --ember-deep: #983a1d;
  --amber: #e9a23b;
  --teal: #2d6a65;
  --night: #241913;
  --night-text: #efe4d3;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
  --data: "IBM Plex Mono", monospace;
  --col: min(46rem, 100% - 2.5rem);
  --wide: min(68rem, 100% - 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
body > main { flex: 1 0 auto; }
a { color: var(--ember-deep); text-underline-offset: 0.18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
strong { font-weight: 600; }

/* Advertising strip */
.adflag {
  margin: 0;
  padding: 0.45rem 1rem;
  background: var(--night);
  color: var(--night-text);
  font-family: var(--data);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* Masthead */
.deskhead {
  width: var(--wide);
  margin: 0 auto;
  padding: 1.3rem 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}
.deskmark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.cupring {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 0.3rem solid var(--ember);
  background: radial-gradient(circle, var(--amber) 0 38%, var(--paper) 40%);
}
.deskname { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.1; }
.deskline { margin: 0; font-family: var(--data); font-weight: 500; font-size: 0.8125rem; color: var(--ink-soft); }

/* Paid link notice */
.earnbox {
  width: var(--col);
  margin: 1rem auto 0;
  padding: 0.85rem 1.1rem 0.95rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px dashed var(--ember);
  border-radius: 0 0 14px 14px;
  font-size: 0.9375rem;
}
.earnbox p { margin: 0; }
.earnbox .earnbox-label {
  margin-bottom: 0.3rem;
  font-family: var(--data);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

/* Article */
.sheet { display: block; padding-bottom: 1rem; }
.opener, .chapter, .ctabox { width: var(--col); margin-left: auto; margin-right: auto; }
.opener { padding-top: 2.1rem; }
.topic {
  margin: 0 0 0.8rem;
  font-family: var(--data);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember-deep);
}
h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.lede { margin: 0 0 1rem; font-size: 1.2rem; line-height: 1.55; }
.stamp { margin: 0; font-family: var(--data); font-weight: 500; font-size: 0.8125rem; color: var(--ink-soft); }

h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h3 { margin: 1.6rem 0 0.5rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; }

.chapter { margin-top: 2.7rem; }
.chapter p { margin: 0 0 1rem; }

/* Illustrations */
.plate { width: var(--col); margin: 2rem auto; }
.plate-wide { width: var(--wide); }
.chapter .plate { width: auto; margin: 1.6rem 0; }
.plate img { border-radius: 18px; }
.plate figcaption { margin-top: 0.55rem; font-family: var(--data); font-weight: 500; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }

/* Five figures band */
.figures { margin: 2.6rem 0 0; padding: 2.4rem 1.25rem 2.2rem; background: var(--night); color: var(--night-text); }
.figures h2 { width: min(68rem, 100%); margin: 0 auto 1.2rem; color: #fff6ea; }
.numband-list {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1px;
  background: #4a372c;
  border: 1px solid #4a372c;
  border-radius: 14px;
  overflow: hidden;
}
.numtile { padding: 1.1rem 1rem 1.2rem; background: var(--night); font-size: 0.9375rem; }
.numval { display: block; font-family: var(--data); font-weight: 500; font-size: 1.55rem; line-height: 1.2; color: var(--amber); }
.numnote { display: block; margin-top: 0.35rem; color: #d9cbb8; line-height: 1.45; }
.figures .numfoot { width: min(68rem, 100%); margin: 1rem auto 0; font-size: 0.875rem; color: #d9cbb8; }

/* Preset scale */
.heatscale { margin: 1.4rem 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.heatscale li {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  align-items: baseline;
  gap: 0.25rem 0.9rem;
  padding: 0.65rem 0.9rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--data);
  font-weight: 500;
  font-size: 0.875rem;
}
.heat-count { color: var(--ink-soft); }
.heat-temp { font-size: 1.05rem; color: var(--ink); }
.heat-c { margin-left: 0.35rem; font-size: 0.875rem; color: var(--ink-soft); }
.nobr { white-space: nowrap; }
.heat-default {
  grid-column: 2;
  justify-self: start;
  padding: 0.05rem 0.45rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--night-text);
  font-size: 0.8125rem;
}
.heat-bar { grid-column: 1 / -1; height: 0.45rem; border-radius: 99px; background: linear-gradient(90deg, #f0c56b, var(--ember)); }
.lvl1 .heat-bar { width: 20%; }
.lvl2 .heat-bar { width: 40%; }
.lvl3 .heat-bar { width: 60%; }
.lvl4 .heat-bar { width: 80%; }
.lvl5 .heat-bar { width: 100%; }
.heatscale .lvl3 { border-color: var(--ember); }

/* Button map */
.pressmap { margin: 0.6rem 0 1.2rem; }
.pressmap div { display: grid; grid-template-columns: 10rem 1fr; gap: 0.15rem 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.pressmap dt { font-family: var(--data); font-weight: 500; font-size: 0.875rem; color: var(--ember-deep); }
.pressmap dd { margin: 0; }

/* Light key */
.lightkey {
  width: 100%;
  margin: 1rem 0 1.2rem;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9375rem;
}
.lightkey th, .lightkey td { padding: 0.6rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lightkey tr:last-child th, .lightkey tr:last-child td { border-bottom: 0; }
.lightkey thead th { font-family: var(--data); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.lightkey tbody th { font-weight: 600; }
.swatch { display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.5rem; border-radius: 50%; border: 1px solid #b9a893; vertical-align: -0.05em; }
.sw-white { background: #fdfbf6; }
.sw-white-ring { background: #fdfbf6; box-shadow: 0 0 0 3px #eadcc8; }
.sw-green { background: #3f8f5a; }
.sw-red { background: #c23b32; }
.sw-blue { background: #3a6fc4; box-shadow: 0 0 0 3px #d5e0f3; }
.sw-yellow { background: #e0b62f; box-shadow: 0 0 0 3px #f4e7bd; }

/* Care tiles */
.careset { display: grid; gap: 0.9rem; margin: 1.2rem 0 1.4rem; }
.caretile { padding: 1rem 1.05rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.caretile-dry { background: #eef5f2; border-color: var(--teal); }
.caretag { margin: 0 0 0.3rem; font-family: var(--data); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember-deep); }
.caretile-dry .caretag { color: var(--teal); }
.caretile h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.caretile ul { margin: 0; padding-left: 1.1rem; font-size: 0.9375rem; }
.caretile li + li { margin-top: 0.35rem; }

/* Limits */
.caution-list { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: caution; display: grid; gap: 0.7rem; }
.caution-list li {
  position: relative;
  counter-increment: caution;
  padding: 0.8rem 1rem 0.85rem 3.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.caution-list li::before {
  content: counter(caution, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 0.82rem;
  font-family: var(--data);
  font-weight: 500;
  color: var(--ember);
}

.plainlist { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.plainlist li + li { margin-top: 0.5rem; }

/* Box contents */
.boxlist { margin: 1rem 0 0; border-top: 2px solid var(--ink); }
.boxlist div { display: grid; grid-template-columns: 10rem 1fr; gap: 0.15rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.boxlist dt { font-family: var(--data); font-weight: 500; font-size: 0.875rem; color: var(--ink-soft); }
.boxlist dd { margin: 0; }

/* Calls to action */
.ctabox {
  margin-top: 2.8rem;
  padding: 1.3rem 1.3rem 1.45rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--amber);
}
.ctabox-alt { box-shadow: 6px 6px 0 var(--teal); }
.ctabox-end { background: #fbe9dc; }
.ctabox h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.ctatag {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--night-text);
  font-family: var(--data);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ctacost { margin: 0 0 1rem; font-size: 0.9375rem; color: var(--ink-soft); }
.ctago {
  display: inline-block;
  max-width: 100%;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: var(--ember);
  color: #fffaf2;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.ctago:hover { background: var(--ember-deep); }

/* Questions */
.askset { display: grid; gap: 0.6rem; }
.ask { padding: 0.15rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.ask summary { padding: 0.7rem 0; font-weight: 600; cursor: pointer; }
.ask p { margin: 0 0 0.9rem; }

/* Sources */
.citelist { margin: 0; padding-left: 1.5rem; font-size: 0.9375rem; }
.citelist li { margin-bottom: 0.65rem; }
.citehost { font-family: var(--data); font-weight: 500; font-size: 0.8125rem; color: var(--ink-soft); }

/* Footer */
.basefoot { margin-top: 3.2rem; padding: 2.2rem 1.25rem 2.6rem; background: var(--night); color: var(--night-text); }
.basefoot-in { width: min(68rem, 100%); margin: 0 auto; display: grid; gap: 0.55rem; font-size: 0.9375rem; }
.basefoot p { margin: 0; }
.basefoot a { color: #f3c58b; }
.basefoot .basefoot-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.basefoot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 0.3rem; }
.basefoot .basefoot-copy { font-family: var(--data); font-weight: 500; font-size: 0.8125rem; color: #bfae98; }

/* Floating bar (hidden until the first call to action is passed) */
.pinbar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 20;
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--night);
  color: var(--night-text);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(36, 25, 19, 0.35);
  line-height: 1.3;
}
.pinbar[hidden] { display: none; }
.pinbar-copy { flex: 1 1 13rem; margin: 0; font-size: 0.875rem; }
.pinbar-name { display: block; font-family: var(--data); font-weight: 500; font-size: 0.8125rem; color: var(--amber); }
.pinbar-go {
  flex: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--ember);
  color: #fffaf2;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

/* Brand home and policy pages */
.homeintro, .homelist, .legaltext, .return-link { width: var(--col); margin-left: auto; margin-right: auto; }
.homeintro { padding-top: 2.1rem; }
.homeintro p { margin: 0 0 1rem; }
.homelist { margin-top: 1.6rem; padding: 0; list-style: none; }
.homecard { padding: 1.2rem 1.3rem 1.3rem; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--amber); }
.homecard h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.homecard p { margin: 0 0 0.6rem; }
.return-link { margin-top: 1.6rem; margin-bottom: 0; font-family: var(--data); font-weight: 500; font-size: 0.875rem; }
.legaltext { padding-top: 1.2rem; }
.legaltext h2 { margin-top: 2rem; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
.legaltext p, .legaltext ul { margin: 0 0 1rem; }
.legaltext li + li { margin-top: 0.4rem; }

@media (min-width: 760px) {
  .heatscale { grid-template-columns: repeat(5, 1fr); }
  .heatscale li { grid-template-columns: 1fr; align-content: start; }
  .heat-default { grid-column: 1; }
  .heat-c { display: block; margin-left: 0; }
  .careset { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .pressmap div, .boxlist div { grid-template-columns: 1fr; }
  .ctabox { padding: 1.1rem 1rem 1.25rem; }
  .lightkey th, .lightkey td { padding: 0.55rem 0.6rem; }
}
