/* Thyme Capsule site. Same cream, tomato and fonts as the app, laid out like a recipe card pinned to a kitchen wall. */
:root {
  --bg: #FFF8EF;
  --card: #FFFFFF;
  --ink: #2A1A12;
  --muted: #7A6553;
  --rule: #F1E3D1;
  --margin: #F2B8A2;
  --tomato: #D94E26;
  --turmeric: #E9A21B;
  --leaf: #1F8A57;
  --shadow: 0 1px 0 #E9D9C4, 0 18px 40px -24px rgba(122, 74, 30, .45);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1410; --card: #2A1D17; --ink: #F6EADB; --muted: #BFA996;
    --rule: #3A2A21; --margin: #6E3422; --tomato: #FF7A52; --turmeric: #F2B53C; --leaf: #4CC48A;
    --shadow: 0 1px 0 #3A2A21, 0 18px 40px -24px rgba(0,0,0,.7);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 17px/1.6 "Nunito", system-ui, sans-serif;
}
a { color: var(--tomato); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.top {
  max-width: 760px; margin: 0 auto; padding: 28px 20px 0;
  display: flex; align-items: center; gap: 12px;
}
.top img { width: 44px; height: 44px; border-radius: 11px; }
.top .name { font: 800 22px/1 "Fraunces", Georgia, serif; color: var(--ink); text-decoration: none; }
.top nav { margin-left: auto; display: flex; gap: 18px; font-weight: 800; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--turmeric); }

/* The card: ruled lines and a red margin rule, like an index card. */
.card {
  position: relative; max-width: 760px; margin: 22px auto 56px;
  background-color: var(--card);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 1.6em; background-position: 0 2.3em;
  border-radius: 6px; box-shadow: var(--shadow);
  padding: 34px 28px 40px 64px;
}
.card::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 44px;
  width: 2px; background: var(--margin);
}
.card::after { /* a strip of masking tape holding it up */
  content: ""; position: absolute; top: -12px; left: 50%; width: 112px; height: 26px;
  transform: translateX(-50%) rotate(-2deg);
  background: color-mix(in srgb, var(--turmeric) 38%, transparent);
}
h1 { font: 800 clamp(30px, 6vw, 42px)/1.1 "Fraunces", Georgia, serif; margin: 0 0 6px; letter-spacing: -.5px; }
h2 { font: 700 22px/1.25 "Fraunces", Georgia, serif; margin: 1.6em 0 .3em; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 1.2em; }
.stamp {
  display: inline-block; font: 800 12px/1 "Nunito", sans-serif; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--leaf); border: 2px solid currentColor; border-radius: 4px; padding: 6px 8px; transform: rotate(-3deg);
  margin-bottom: 18px;
}
p, li { margin: 0 0 .8em; }
ul { padding-left: 1.1em; }
li::marker { color: var(--tomato); }
dl { margin: 0; }
dt { font-weight: 800; margin-top: 1.1em; }
dd { margin: 0 0 .4em; }
table { border-collapse: collapse; width: 100%; font-size: 16px; margin: .4em 0 1em; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px dashed var(--margin); }
th { font-weight: 800; white-space: nowrap; }
.note { border-left: 4px solid var(--turmeric); padding: 4px 0 4px 14px; margin: 1em 0; }
.foot { max-width: 760px; margin: 0 auto 40px; padding: 0 20px; color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav { gap: 12px; }
  .card { margin: 18px 12px 40px; padding: 28px 18px 32px 36px; }
  .card::before { left: 22px; }
  table, tbody, tr, th, td { display: block; }
  tr { padding: 8px 0; border-bottom: 1px dashed var(--margin); }
  th, td { border: 0; padding: 0; white-space: normal; }
}
