/* Pay Rise Nan. Palette and faces from visual-prompts.md, served from this site only. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/AtkinsonHyperlegible-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/AtkinsonHyperlegible-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/AtkinsonHyperlegible-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Roman-VF.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --mustard: #C9A227;
  --tea: #6B4226;
  --biro: #C8202F;
  --mint: #CDE8D6;
  --cream: #F4EAD5;
  --ink: #2B1A0E;      /* darker tea brown, for text on mustard */
  --paper: #FFFDF8;
  --body: "Atkinson Hyperlegible", sans-serif;
  --head: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--tea);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
}
main, .site-header, .site-footer, .day-strip { max-width: 46rem; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
main { padding-bottom: 2rem; }
h1, h2, h3 { font-family: var(--head); font-weight: 650; line-height: 1.2; color: var(--tea); }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin: 1rem 0 0.75rem; }
h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.4rem; }
p { margin: 0 0 1rem; }
a { color: var(--biro); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--biro); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); padding: 0.5rem 1rem; }
.skip:focus { left: 16px; z-index: 10; }

.site-header { padding-top: 0.75rem; padding-bottom: 0.25rem; }
.brand { font-family: var(--head); font-weight: 650; color: var(--tea); text-decoration: none; font-size: 1.05rem; }

.disclosure { font-size: 1.125rem; }
.subhead { font-size: 1.25rem; }

.hero { display: grid; gap: 1rem; margin-top: 0.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.still { margin: 0; background: var(--mint); border-radius: 12px; overflow: hidden; position: relative; }
.still img { display: block; width: 100%; height: auto; }
.still--pending { min-height: 14rem; }
.still .tag { position: absolute; top: 14px; left: 14px; }
.tag { background: var(--cream); color: var(--tea); font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.95rem; }
@media (min-width: 52rem) {
  main, .site-header, .site-footer, .day-strip { max-width: 60rem; }
  .hero { grid-template-columns: 3fr 2fr; align-items: center; }
}

.btn {
  display: inline-block; background: var(--tea); color: var(--cream); font-weight: 700; text-decoration: none;
  padding: 0.75rem 1.25rem; border-radius: 10px; border: 2px solid var(--tea); font: inherit; font-weight: 700;
  cursor: pointer; min-height: 44px;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn--quiet { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.btn--quiet:hover { background: #B8931F; border-color: #B8931F; color: var(--ink); }
.btn--off { background: #E6DCC6; color: #5A4A3C; border-color: #CDBFA3; cursor: not-allowed; }
.not-on-sale { font-weight: 700; margin-top: 0.5rem; }

.day-strip { background: var(--mustard); color: var(--ink); font-weight: 700; padding-top: 0.5rem; padding-bottom: 0.5rem; margin-top: 1rem; margin-bottom: 1rem; border-radius: 8px; }
.day-strip--inline { padding: 0.5rem 0.75rem; }
[hidden] { display: none !important; }

.band { padding: 0.25rem 1rem 1rem; border-radius: 12px; margin: 1.5rem 0; }
.band--mint { background: var(--mint); }

.parts { padding-left: 1.2rem; }
.parts li { margin-bottom: 0.75rem; }

.editions { display: grid; gap: 1rem; }
.edition { background: var(--paper); border: 2px solid var(--mint); border-radius: 12px; padding: 0.25rem 1rem 0.5rem; }
.edition h2 { margin-top: 1rem; }
.price { font-weight: 700; font-size: 1.25rem; }
.notice-n1 { border-left: 4px solid var(--biro); padding-left: 0.75rem; }
.precontract { font-size: 1rem; }

.faq h3 { font-family: var(--body); font-weight: 700; }

.checker { display: grid; gap: 0.25rem; }
.field { margin-bottom: 0.75rem; }
label { display: block; font-weight: 700; margin-bottom: 0.25rem; }
input[type="text"], select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--tea);
  border-radius: 8px; padding: 0.6rem 0.7rem; min-height: 44px;
}
.hint { font-size: 1rem; margin: 0.25rem 0 0; }
.occ-list { list-style: none; margin: 0.25rem 0 0; padding: 0; max-height: 18rem; overflow-y: auto; background: var(--paper); border: 2px solid var(--tea); border-radius: 8px; }
.occ-list li { padding: 0.55rem 0.7rem; cursor: pointer; border-bottom: 1px solid var(--mint); }
.occ-list li[aria-selected="true"], .occ-list li:hover { background: var(--mint); }
.checker-result { margin-top: 1rem; }
.result { background: var(--paper); border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.result .source, .source { font-size: 0.95rem; }
.flag { font-size: 0.95rem; }
.flags { padding-left: 1.2rem; }

.steps li { margin-bottom: 0.5rem; }
.claim { margin: 0.5rem 0; padding-left: 0.75rem; border-left: 4px solid var(--mustard); }
.day-nav { margin-top: 1.5rem; }
.pay-index { margin-top: 2rem; }
.pay-index ul { columns: 1; padding-left: 1.2rem; }
@media (min-width: 40rem) { .pay-index ul { columns: 2; } }

.site-footer { border-top: 2px solid var(--mint); padding-top: 1rem; padding-bottom: 2rem; font-size: 1rem; }
