@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --paper: #faf6ee;
  --paper-deep: #f2ecdd;
  --ink: #262320;
  --ink-soft: #5a5449;
  --forest: #33473a;
  --forest-deep: #23332a;
  --gold: #b8923f;
  --line: #ddd4bf;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--forest); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--forest-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}
nav.site a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
nav.site a:hover, nav.site a[aria-current="page"] {
  color: var(--forest-deep);
  border-bottom-color: var(--gold);
}

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* Sections */
main { padding-bottom: 70px; }
section.block {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
section.block h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--forest-deep);
  margin: 0 0 14px;
}

/* Notebook card - the signature element: a page that visibly still has ruled/empty lines,
   like a notebook waiting to be filled in */
.notebook {
  background: linear-gradient(var(--paper) 0px, var(--paper) 34px, var(--line) 35px);
  background-size: 100% 35px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 26px 26px;
  position: relative;
}
.notebook::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d8b9a9;
  opacity: 0.55;
}
.notebook-inner { padding-left: 26px; }
.notebook p { margin: 0 0 8px; color: var(--ink-soft); font-style: italic; }
.notebook .placeholder-label {
  font-style: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 600;
}

.todo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.todo-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--ink-soft);
}
.todo-list li:first-child { border-top: none; }
.todo-list li::before {
  content: "○";
  color: var(--gold);
  flex-shrink: 0;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
