@font-face {
  font-family: Gelasio;
  src: url("Gelasio-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --paper: #f6f2f7;
  --surface: #fffcff;
  --ink: #332d38;
  --muted: #625a68;
  --accent: #66516f;
  --line: #d8ccda;
  --soft: #eae0ed;
  --rose: #f2e1e7;
  --sand: #f5eddb;
  --serif: Gelasio, Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  overflow-wrap: anywhere;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.65 system-ui,
    sans-serif;
}
.wrap {
  width: min(1200px, 88%);
  margin-inline: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.3em;
}
a:hover {
  color: var(--accent);
}
:focus-visible,
input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.sr,
.skip:not(:focus),
.sampler input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  z-index: 3;
  background: white;
  padding: 0.7em;
}
.top,
nav,
.actions,
.eyebrow,
.foot,
.label {
  display: flex;
  align-items: center;
}
header {
  border-bottom: 1px solid var(--line);
}
.top {
  min-height: 76px;
  justify-content: space-between;
  gap: 1em;
}
.brand {
  font: 1.2rem var(--serif);
  text-decoration: none;
}
svg {
  width: 22px;
  height: 22px;
  flex: none;
}
nav {
  flex-wrap: wrap;
  gap: clamp(0.6rem, 3vw, 2.5rem);
}
nav a {
  padding-block: 0.75rem;
  font-size: 0.9rem;
  text-decoration: none;
}
nav [aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 5%;
  align-items: center;
  padding: clamp(42px, 5vw, 80px) 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(3.3rem, 6.5vw, 6.3rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}
h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}
h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
em {
  font-family: Georgia, serif;
  color: var(--accent);
  font-weight: 400;
}
p {
  color: var(--muted);
  margin: 0.8em 0 1.4em;
  max-width: 61ch;
}
.eyebrow,
.label {
  font-size: 0.71rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  gap: 0.65em;
}
.eyebrow {
  margin: 0 0 1.45rem;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86748e;
}
.lede {
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.4vw, 1.23rem);
  line-height: 1.65;
  margin: 1.3em 0 1.65em;
}
.actions {
  gap: 1.6rem;
  flex-wrap: wrap;
}
.button {
  background: var(--accent);
  color: white;
  border-radius: 28px;
  padding: 0.82em 1.4em;
  text-decoration: none;
  display: inline-flex;
  gap: 1.4em;
  align-items: center;
}
.button:hover {
  background: #523d5c;
  color: white;
}
.quiet {
  font-weight: 550;
  font-size: 0.94rem;
}
.cover {
  margin: 0;
  padding: 7px 7px 0;
}
.cover::after {
  content: "";
  display: block;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.print {
  position: relative;
  overflow: hidden;
  border-radius: 45% 45% 3px 3px / 38% 38% 3px 3px;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  outline: 1px solid var(--line);
  outline-offset: 5px;
  container-type: inline-size;
}
.print img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The illustration's moon is centered at (800, 211) on its 1200 × 900 canvas. */
.moon-orbit {
  position: absolute;
  left: 66.67%;
  top: 23.45%;
  width: 23%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(20deg);
  border: 1px solid #66516f80;
  border-radius: 59% 41% 53% 47% / 44% 57% 43% 56%;
  pointer-events: none;
}
.wordmark {
  position: absolute;
  top: 17%;
  left: 19%;
  font: 18cqi/1 var(--serif);
  letter-spacing: -0.085em;
  color: #493b51;
}
.section,
.guide,
.publisher {
  padding: clamp(40px, 4.5vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.sectionhead,
.publisher,
.guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
}
.sectionhead {
  align-items: end;
  margin-bottom: 1.8rem;
}
.sectionhead p:last-child {
  margin-bottom: 0;
  max-width: 46ch;
}
.sectionhead .eyebrow {
  margin-bottom: 0.8rem;
}
.sampler {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.sampler label {
  display: flex;
  align-items: center;
  gap: 0.65em;
  border-bottom: 2px solid var(--line);
  padding: 0.95rem 0.7em;
  color: var(--muted);
  cursor: pointer;
  justify-content: center;
}
.sampler input:checked + label {
  color: #523d5c;
  background: #eae0ed;
  border-color: var(--accent);
  border-radius: 12px 12px 0 0;
}
.example {
  display: none;
  grid-column: 1/-1;
  padding: clamp(24px, 4vw, 54px);
  background: var(--surface);
  border-radius: 0 0 18px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 8%;
}
#p-Today:checked ~ #example-Today,
#p-Journal:checked ~ #example-Journal,
#p-Ideas:checked ~ #example-Ideas,
#p-Goals:checked ~ #example-Goals {
  display: grid;
}
.example .label {
  margin-bottom: 1rem;
}
.example p {
  margin-bottom: 0;
}
.example aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px 38px 16px 16px;
  border: 1px solid var(--line);
  background: #f5eff6;
  padding: 1.75rem;
  padding-right: 26%;
}
.card-mark {
  position: absolute;
  right: -4%;
  top: -1.1rem;
  width: 29%;
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
}
.focus-mark {
  aspect-ratio: 111 / 128;
  top: 0.6rem;
  transform: rotate(-12deg);
  color: #66516f55;
}
.focus-mark,
.focus-mark::before,
.focus-mark::after {
  border: 1px solid currentColor;
  border-radius: 56% 44% 47% 53% / 48% 38% 62% 52%;
}
.focus-mark::before,
.focus-mark::after,
.entry-mark::before,
.entry-mark::after,
.idea-mark::before,
.idea-mark::after {
  content: "";
  position: absolute;
}
.focus-mark::before { inset: 9%; }
.focus-mark::after { inset: 19%; }
.entry-mark::before,
.idea-mark::before {
  inset: 0 0 13% 8%;
  border-radius: 55% 38% 59% 44%;
  background: var(--soft);
  transform: rotate(19deg);
}
.entry-mark::after,
.idea-mark::after {
  inset: 40% 43% 0 0;
  border-radius: 40% 60% 36% 58%;
  background: var(--rose);
  opacity: 0.85;
  transform: rotate(-15deg);
}
.entry-mark i {
  position: absolute;
  z-index: 1;
  inset: 12% 13% 25% 23%;
  border: 1px solid #66516f61;
  border-radius: 54% 45% 60% 47%;
  transform: rotate(-11deg);
}
.idea-mark {
  transform: rotate(12deg);
  top: -0.5rem;
}
.goal-mark {
  background: var(--sand);
  border-radius: 59% 39% 55% 42%;
  transform: rotate(21deg);
}
aside strong {
  font: 1.5rem/1.25 var(--serif);
}
.publisher p {
  margin-top: 0;
}
footer {
  border-top: 1px solid var(--line);
  background: #eae0ed;
}
.foot {
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.7rem;
  font-size: 0.85rem;
}
.foot b {
  font: 1rem var(--serif);
}
.foot span {
  margin-right: auto;
}
.intro {
  padding: clamp(48px, 6vw, 90px) 0;
}
.intro h1 {
  max-width: 16ch;
}
.intro .appmark {
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--accent);
}
.intro .lede {
  max-width: 52ch;
}
.app-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
  column-gap: 6%;
  align-items: center;
}
.app-intro > :not(.intro-mark) {
  grid-column: 1;
}
.app-intro .lede {
  margin-bottom: 0;
}
.intro-mark {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: center;
  width: min(100%, 17rem);
  aspect-ratio: 1;
  pointer-events: none;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font: 1.3rem var(--serif);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 0;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  margin-left: auto;
}
details[open] summary::after {
  content: "−";
}
details > div {
  padding: 1.3rem;
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 1rem;
}
details p {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .wrap {
    width: 90%;
  }
  .hero,
  .sectionhead,
  .publisher,
  .guide {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .cover {
    width: min(100%, 32rem);
  }
  .hero {
    padding-block: 38px;
  }
  .sectionhead p:last-child {
    margin-top: 0;
  }
  .example {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .foot span {
    flex-basis: 100%;
  }
}
@media (max-width: 480px) {
  .top {
    flex-wrap: wrap;
    gap: 0 0.5rem;
    padding-block: 0.85rem 0.25rem;
  }
  nav {
    gap: 1rem;
  }
  nav a {
    font-size: 0.85rem;
  }
  .sampler label {
    flex-direction: column;
    gap: 0.2em;
    padding: 0.6rem 0.15rem;
    font-size: 0.86rem;
  }
  .lede {
    font-size: 1rem;
  }
  .app-intro {
    grid-template-columns: minmax(0, 1fr) 26%;
  }
  .app-intro .eyebrow,
  .app-intro .lede {
    grid-column: 1 / -1;
  }
  .intro-mark {
    grid-row: 2;
  }
}

.notice {
  max-width: 70ch;
  padding-block: 3rem;
  overflow-wrap: anywhere;
}
.notice h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.section {
  container-type: inline-size;
}
@container (max-width: 17rem) {
  .sampler {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
