:root {
  --paper: #f4f2eb;
  --ink: #1c1d19;
  --line: #cfcec4;
  --lime: #a8bd2f;
  --purple: #9988ce;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
header,
footer {
  max-width: 1440px;
  margin: auto;
  padding: 30px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 3px;
}
.wordmark span {
  font-size: 30px;
  vertical-align: middle;
  margin-right: 10px;
}
nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
nav a {
  text-decoration: none;
}
main {
  max-width: 1440px;
  margin: auto;
}
section {
  padding: 90px 5%;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
  padding-top: 90px;
  align-items: center;
}
.eyebrow,
.number {
  font:
    11px/1.6 ui-monospace,
    monospace;
  letter-spacing: 2px;
}
h1 {
  font-size: clamp(52px, 5.8vw, 90px);
  line-height: 1.04;
  font-weight: 450;
  letter-spacing: -4px;
  margin: 26px 0 32px;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.15;
  font-weight: 450;
  letter-spacing: -2px;
  margin: 22px 0;
}
h3 {
  font:
    28px/1.2 Georgia,
    serif;
}
.intro {
  font-size: 18px;
  color: #5d6055;
  max-width: 520px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  min-height: 48px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--ink);
}
.primary {
  background: var(--ink);
  color: var(--paper);
}
.primary:hover {
  background: #3d4430;
}
.secondary:hover {
  background: #e7e8db;
}
.small {
  font-size: 12px;
  color: #62655a;
}
.life-art {
  border: 1px solid var(--line);
  padding: 28px;
  background: #ebe9e0;
  transform: rotate(1deg);
}
.illustration-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 5px;
  margin: 26px 0;
}
.illustration-grid i {
  aspect-ratio: 1;
  border: 1px solid #cfcdc1;
}
.illustration-grid .past {
  background: var(--ink);
  border-color: var(--ink);
}
.illustration-grid .memory {
  background: var(--purple);
  border-color: var(--purple);
}
.illustration-grid .now {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime);
}
.art-caption {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font:
    10px ui-monospace,
    monospace;
  color: #616455;
}
.how {
  border-top: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
}
.steps article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.steps p {
  color: #606357;
}
.number {
  color: #61694b;
}
.journal-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  background: #e8eadc;
  align-items: center;
}
.journal-example > div p {
  max-width: 380px;
}
.sample {
  padding: 32px;
  background: var(--paper);
  box-shadow: 10px 10px 0 #d5d9c0;
}
.sample blockquote {
  margin: 20px 0;
  border-left: 3px solid var(--lime);
  padding-left: 18px;
  font:
    20px/1.5 Georgia,
    serif;
}
.ios {
  text-align: center;
}
.ios > p:not(.eyebrow) {
  max-width: 570px;
  margin: 20px auto;
}
.ios-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.ios-action .primary {
  justify-content: center;
  min-width: 210px;
  padding: 16px 28px;
  font-size: 16px;
}
.ios-action .ios-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: #62655a;
}
.faq {
  border-top: 1px solid var(--line);
  max-width: 1000px;
  margin: auto;
  padding-top: 30px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 550;
}
details p {
  color: #5d6055;
}
footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  font-size: 12px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
@media (max-width: 800px) {
  header {
    padding: 20px 6%;
    flex-wrap: wrap;
  }
  nav {
    gap: 18px;
  }
  .hero,
  .journal-example {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero {
    padding-top: 44px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .life-art {
    max-width: 500px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps h3 {
    margin: 16px 0;
  }
  .steps p {
    max-width: 560px;
  }
  section {
    padding: 54px 6%;
  }
  footer {
    flex-wrap: wrap;
  }
  .art-caption {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.wordmark img {
  vertical-align: middle;
  margin-right: 10px;
}

/* One-shot entrances and deliberate hover responses keep the page calm. */
.primary,
.secondary,
nav a,
.steps article,
.sample,
.life-art {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 220ms ease;
}
.primary > span,
.secondary > span {
  transition: transform 180ms ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .primary:hover,
  .secondary:hover {
    transform: translateY(-2px);
  }
  .primary:hover > span,
  .secondary:hover > span {
    transform: translateX(4px);
  }
  .life-art:hover {
    transform: rotate(0);
    border-color: #9ea48a;
  }
  .steps article:hover {
    transform: translateY(-4px);
    border-color: var(--lime);
  }
  .sample:hover {
    transform: translateY(-3px);
  }
}
nav a:hover {
  color: #596620;
  text-decoration: underline;
}
.landing-footer {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-top: 56px;
  padding-bottom: 48px;
}
.landing-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 25%, #1c1d19dd 50%, #1c1d1933 100%),
    url("/assets/footer-pattern.svg") right top / 224px 224px repeat;
}
.footer-invitation {
  max-width: 520px;
}
.footer-invitation .eyebrow {
  color: #c1c7ad;
}
.landing-footer .secondary {
  color: var(--paper);
  border-color: #9b9e8f;
}
.landing-footer .secondary:hover {
  background: var(--paper);
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #55594b;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: #d0d1c8;
}
@media (prefers-reduced-motion: reduce) {
  .primary,
  .secondary,
  nav a,
  .steps article,
  .sample,
  .life-art,
  .primary > span,
  .secondary > span {
    transition: none;
  }
}
.footer-bottom {
  background: #1c1d19e8;
  padding: 20px 12px;
}

.ios-unavailable:disabled {
  color: #626359;
  background: #eae9e1;
  border-color: var(--line);
  cursor: default;
  font: inherit;
  transform: none;
}
.ios-unavailable:disabled > span {
  transform: none;
}
.coming-soon {
  display: inline-block;
  padding: 3px 7px;
  background: #dcdfca;
  color: #41492b;
  font:
    10px/1.4 ui-monospace,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.agent-library {
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.agent-library-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
.agent-library-heading > p {
  max-width: 48ch;
}
.agent-library-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}
.agent-library-feature {
  padding: 32px;
  background: #e8e3ef;
  border: 1px solid #b7abc9;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.agent-library-feature h3 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin: 24px 0 10px;
}
.library-link {
  margin-top: auto;
  padding-top: 24px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.agent-library-index > .eyebrow {
  margin-top: 0;
}
.agent-library-index > a {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.agent-library-index strong,
.agent-library-index small {
  display: block;
}
.agent-library-index small {
  margin-top: 5px;
  color: #5b5e54;
}
.agent-library-index code {
  font-size: 12px;
  white-space: nowrap;
}
.agent-library-feature:hover,
.agent-library-feature:focus-visible {
  background: #dfd6ea;
}
.agent-library-index a:hover strong,
.agent-library-index a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 760px) {
  .agent-library-heading,
  .agent-library-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .agent-library-feature {
    min-height: 300px;
  }
  .weekkeep-header nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}
.demo-landing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  border-top: 1px solid var(--line, #ccc9bd);
}
.demo-landing-stories {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.demo-landing-stories a {
  display: grid;
  gap: 10px;
  padding: 24px 0;
  border-bottom: 1px solid #ccc9bd;
  text-decoration: none;
  font:
    26px/1.2 Georgia,
    serif;
}
.demo-landing-stories a span {
  font:
    12px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0.12em;
}
.demo-landing-stories a:hover {
  color: #636c32;
}
@media (max-width: 720px) {
  .demo-landing {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
.demo-landing-stories a {
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.demo-landing-stories .demo-portrait {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: #e7e3d9;
}
.demo-landing-stories a div {
  display: grid;
  gap: 10px;
}
.demo-landing-stories a strong {
  font-weight: 400;
}
.demo-landing .demo-source-note {
  margin-top: 18px;
  font-size: 12px;
  color: #62655a;
}
@media (max-width: 420px) {
  .demo-landing-stories a {
    gap: 16px;
    font-size: 23px;
  }
}

.weekkeep-header nav {
  align-items: center;
  gap: 20px;
}
.weekkeep-header .header-cta {
  white-space: nowrap;
  gap: 12px;
  padding: 12px 16px;
}
.weekkeep-header .header-cta:hover {
  color: var(--paper);
  text-decoration: none;
}
@media (max-width: 1000px) and (min-width: 801px) {
  .weekkeep-header nav {
    gap: 14px;
    font-size: 13px;
  }
  .weekkeep-header .header-cta {
    font-size: 13px;
  }
}
