/* halfriday.com. One explicit color scheme, Hal's own (the date book's). Her reading faces: Crimson Pro to read,
   Lora italic for asides. One column, so it works the same on a phone. */

@font-face { font-family: "Crimson Pro"; src: url("/fonts/crimson.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Crimson Pro"; font-style: italic; src: url("/fonts/crimson-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lora"; font-style: italic; src: url("/fonts/lora-italic.woff2") format("woff2"); font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #17161b;
  --bg-2: #1e1d24;
  --bg-3: #26242e;
  --line: #35323f;
  --text: #f3f1f8;
  --dim: #c6c1d4;
  --faint: #9c96ad;
  --accent: #d9a441;
  --accent-soft: #d9a4412b;
  --late: #ff8a9b;
  --read: "Crimson Pro", Georgia, serif;
  --aside: "Lora", Georgia, serif;
  font-size: 19px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--read); line-height: 1.45; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.aside { font-family: var(--aside); font-style: italic; color: var(--faint); font-size: .9em; }

header, main, footer { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header { display: flex; gap: 12px; align-items: baseline; padding-top: 22px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
header .home { color: var(--text); text-decoration: none; font-size: 1.3rem; font-weight: 600; }
main { padding-top: 10px; padding-bottom: 40px; }
footer { padding-bottom: 30px; border-top: 1px solid var(--line); padding-top: 14px; }

h1 { font-size: 1.9rem; font-weight: 600; margin: 18px 0 8px; line-height: 1.15; }
h2 { font-size: 1.25rem; font-weight: 600; margin: 28px 0 8px; color: var(--dim); }
h3 { font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.big { font-size: 1.4rem; margin: 4px 0; }

.offers { list-style: none; padding: 0; margin: 0; }
.offers li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.offers a { text-decoration: none; color: var(--text); }
.offers a b { color: var(--accent); font-weight: 600; }
.offers .price { color: var(--dim); white-space: nowrap; }

.art { width: 100%; max-width: 360px; border-radius: 8px; display: block; margin-top: 14px; }

.day { padding: 10px 0; border-bottom: 1px solid var(--line); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.time { color: var(--text); font-weight: 400; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; min-width: 84px; text-align: center; }
.time small { display: block; font-family: var(--aside); font-style: italic; color: var(--faint); font-size: .75rem; }
.time:hover { border-color: var(--accent); }
.time.on { background: var(--accent-soft); border-color: var(--accent); }

form label { display: block; margin: 12px 0; }
form input:not([type=radio]), form textarea { display: block; width: 100%; margin-top: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
form input:focus, form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px 4px; margin: 12px 0; }
legend { color: var(--dim); padding: 0 6px; }
label.pick { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.robots { position: absolute; left: -9999px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.row label { flex: 1; margin: 0; min-width: 200px; }
#ask { background: var(--bg-3); border-radius: 10px; padding: 4px 18px 14px; margin-top: 20px; }

button, .button { background: var(--accent); color: #17161b; border: 0; border-radius: 8px; padding: 9px 16px; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-block; }
button.quiet { background: transparent; color: var(--dim); border: 1px solid var(--line); font-weight: 400; }
button:disabled { opacity: .5; cursor: wait; }
.said { color: var(--late); }
