:root {
  --bg: #f7f3ea;
  --ink: #241f18;
  --muted: #5e584e;
  --paper: #fffcf6;
  --line: #e0d8c8;
  --rule: #c9d4dc;
  --accent: #3b5a4a;
  --accent-dark: #2a4236;
  --input: #fffdf8;
  --warn: #8b2e1f;
  --shadow: 0 1px 2px rgba(36, 31, 24, 0.05), 0 8px 24px rgba(36, 31, 24, 0.06);
  --sans: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --max: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: 0.75rem; top: -3rem; background: var(--ink); color: #fff; padding: 0.5rem 0.75rem; z-index: 20; }
.skip:focus { top: 0.75rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo span { font-weight: 500; color: var(--accent); }
nav.links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
nav.links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
main { flex: 1; padding: 2rem 0 3.5rem; }
.legal-banner { background: #efe8d6; border: 1px solid #ddd2b8; border-radius: 0.65rem; padding: 0.75rem 1rem; margin: 0 0 1.5rem; }
.legal-banner p { margin: 0; font-size: 0.95rem; font-weight: 650; line-height: 1.45; }
.hero { margin-bottom: 2rem; max-width: 42rem; }
.hero h1, .legal h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 0.75rem; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.25rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--accent); margin: 0 0 0.5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.card, .panel, .legal, .notify, .prose, .sheet {
  background: var(--paper); border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: var(--shadow);
}
.card { padding: 1.25rem 1.3rem 1.4rem; text-decoration: none; color: inherit; display: block; }
.card:hover { border-color: var(--accent); }
.card h2 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 0.4rem; }
.card p { margin: 0; color: var(--muted); }
.panel, .notify, .legal, .prose, .sheet { padding: 1.25rem 1.3rem 1.5rem; }
.legal, .prose { max-width: 46rem; }
.prose h2, .panel h2, .notify h2, .sheet h2 { font-family: var(--serif); margin: 0 0 0.85rem; font-size: 1.45rem; }
.prose p, .legal p { margin: 0 0 1rem; }
.prose ul, .legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.fields { display: grid; gap: 0.75rem; }
.fields.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .fields.two { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.92rem; }
input, textarea { font: inherit; color: var(--ink); background: var(--input); border: 1px solid var(--line); border-radius: 0.4rem; padding: 0.5rem 0.7rem; width: 100%; }
textarea { min-height: 4.5rem; resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
button, .btn { font: inherit; font-weight: 650; border-radius: 0.45rem; padding: 0.6rem 0.95rem; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary { background: transparent; color: var(--accent-dark); }
button:hover, .btn:hover { background: var(--accent-dark); color: #fff; }
.planner { width: 100%; }
.planner-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.4rem; margin-bottom: 1rem; }
.planner-head h2 { margin: 0; font-family: var(--serif); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4rem; }
@media (max-width: 800px) { .days { grid-template-columns: 1fr 1fr; } }
.day { border: 1px solid var(--rule); background: #fff; min-height: 11rem; padding: 0.4rem; border-radius: 0.25rem; }
.day h3 { margin: 0 0 0.35rem; font-size: 0.85rem; font-family: var(--serif); border-bottom: 1px solid var(--rule); padding-bottom: 0.2rem; }
.day textarea { border: 0; background: repeating-linear-gradient(to bottom, transparent 0 1.4rem, var(--rule) 1.4rem 1.45rem); min-height: 8.5rem; padding: 0.1rem 0.2rem; border-radius: 0; }
.priorities { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.75rem; }
.disclaimer, .note { font-size: 0.88rem; color: var(--muted); margin: 1rem 0 0; }
.notify { margin: 2rem 0; }
.notify form, .contact-form { display: grid; gap: 0.75rem; max-width: 28rem; }
.soon { display: inline-block; background: #efe8d6; color: var(--accent-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 999px; margin-left: 0.35rem; }
footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; color: var(--muted); font-size: 0.9rem; background: var(--paper); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent); text-decoration: underline; }
@media print {
  header.site, footer.site, .legal-banner, .actions, .no-print, .notify { display: none !important; }
  body, main { background: #fff; padding: 0; }
  .sheet { box-shadow: none; border: 0; padding: 0; }
  .days { grid-template-columns: repeat(7, 1fr); }
  .day { break-inside: avoid; }
}

