@font-face {
  font-family: Source Serif;
  src: url(source-serif.woff2) format("woff2");
  font-display: swap;
}
:root {
  --ink: #35242e;
  --muted: #715d64;
  --canvas: #fcf8f2;
  --plum: #612c45;
  --accent: #823856;
  --line: #ddcfc9;
  --serif: "Source Serif", Georgia, serif;
  color: var(--ink);
  background: var(--canvas);
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body,
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #a34b70;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -110px;
  z-index: 3;
  padding: 10px;
  background: white;
}
.skip:focus {
  top: 10px;
}
.shell {
  width: min(1220px, calc(100% - 112px));
  margin-inline: auto;
}
.bar,
footer,
.bar nav,
footer nav,
.family-inner {
  display: flex;
  align-items: center;
}
.bar {
  height: 88px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}
.wordmark {
  font: normal 45px/0.95 var(--serif);
  letter-spacing: -0.085em;
  text-decoration: none;
  color: var(--plum);
}
.bar nav,
footer nav {
  gap: 28px;
}
.bar nav a,
footer nav a,
.back {
  font-size: 14px;
  text-decoration: none;
  font-weight: 550;
}
.bar nav a,
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.bar a:hover,
footer a:hover,
.back:hover {
  text-decoration: underline;
}
.bar nav a[aria-current] {
  text-decoration: underline;
}
.navjoin {
  padding-left: 24px;
  border-left: 1px solid var(--line);
  gap: 8px;
  color: var(--plum);
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 5%;
  padding-block: 52px 64px;
}
.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker i {
  display: block;
  width: 23px;
  height: 2px;
  background: currentColor;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--plum);
}
h1 {
  font-size: clamp(55px, 6.3vw, 96px);
  letter-spacing: -0.069em;
  line-height: 0.99;
}
.intro h1 {
  margin: 28px 0 23px;
}
.lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 445px;
}
.button {
  appearance: none;
  border: 0;
  background: var(--plum);
  color: #fff9f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 21px;
  min-height: 46px;
  border-radius: 8px;
  font:
    600 15px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: #803c59;
}
.intro .button {
  margin: 30px 0 13px;
}
.availability {
  color: var(--muted);
  font-size: 13px;
}
.hero-art {
  position: relative;
  aspect-ratio: 1.12;
  isolation: isolate;
  overflow: hidden;
  background: #ebcfc9;
  border-radius: 3px;
}
.paper {
  position: absolute;
  inset: -15% -8%;
  transform: rotate(-11deg);
  background: repeating-linear-gradient(
    0deg,
    transparent 0 26px,
    #935e5b20 26px 27px
  );
  border-left: 1px solid #a16a6a26;
}
.phone {
  position: absolute;
  width: 46%;
  height: auto;
  top: 6%;
  right: 10%;
  transform: rotate(7deg);
  border: 4px solid #4d3b42;
  border-radius: 14% / 6.5%;
  box-shadow:
    1px 2px 0 2px #a59693,
    8px 17px 24px #55343d38;
}
.clipping {
  position: absolute;
  width: 48%;
  left: 6%;
  bottom: 15%;
  transform: rotate(-6deg);
  background: var(--canvas);
  padding: 8px;
  border-radius: 20px;
  box-shadow: 1px 9px 18px #56354030;
}
.clipping img {
  border-radius: 12px;
}
.hero-art figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--plum);
  color: var(--canvas);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 11px 14px;
}
.hero-art figcaption span {
  margin-left: 8px;
  color: #f6d9db;
}
.journal {
  border-top: 1px solid var(--line);
  padding: 48px 0 74px;
  scroll-margin-top: 15px;
}
.chapter {
  margin-bottom: 30px;
}
.chapter h2,
.family h2 {
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.058em;
  margin-top: 14px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sample {
  position: relative;
  height: clamp(205px, 20vw, 280px);
  overflow: hidden;
  background: #eed9d5;
  border-radius: 3px;
}
.sample img {
  position: absolute;
  width: 72%;
  height: auto;
  left: 14%;
  top: 24px;
  box-shadow: 0 8px 22px #39233220;
  border: 1px solid #c5b5ad;
  border-radius: 16px 16px 0 0;
}
.sample:first-child img {
  transform: translateY(-3%);
}
.pattern {
  background: #efe6df;
}
.care {
  background: #e9dce2;
}
.features h3 {
  font-size: clamp(26px, 2.25vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.048em;
  margin: 18px 0 7px;
}
.features p,
.family p:not(.kicker) {
  color: var(--muted);
  max-width: 42ch;
}
.family {
  background: var(--plum);
  color: var(--canvas);
}
.family-inner {
  justify-content: space-between;
  gap: 30px;
  padding-block: 50px;
}
.family h2,
.family .kicker,
.family p:not(.kicker) {
  color: var(--canvas);
}
.family p:not(.kicker) {
  margin-top: 14px;
  max-width: 56ch;
}
.button.reverse {
  background: var(--canvas);
  color: var(--plum);
  white-space: nowrap;
}
.button.reverse:hover {
  background: #f5e0dc;
}
footer {
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
footer .wordmark {
  font-size: 31px;
}
footer > span {
  font-size: 13px;
  color: var(--muted);
}
footer nav {
  margin-left: auto;
}
.doc {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: 9%;
  padding-block: 70px 90px;
}
.doc-head h1 {
  font-size: clamp(52px, 5vw, 78px);
  margin: 29px 0 22px;
}
.back,
.date {
  color: var(--muted);
}
.prose {
  max-width: 660px;
  min-width: 0;
}
.prose h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin: 34px 0 12px;
}
.prose > h2:first-child,
.invite h2 {
  margin-top: 0;
}
.prose p,
.prose li {
  line-height: 1.65;
}
.prose p + p {
  margin-top: 12px;
}
.prose a,
.back {
  color: var(--accent);
}
.prose ol {
  padding-left: 24px;
}
.prose li {
  margin: 14px 0;
  padding-left: 5px;
}
.date {
  font-size: 14px;
}
.invite {
  padding: 26px;
  background: #f5e0dc;
  border-radius: 12px;
}
.invite label {
  display: block;
  font-weight: 600;
  margin: 16px 0 5px;
}
.invite input {
  width: 100%;
  background: var(--canvas);
  border: 1px solid #bfa7ad;
  border-radius: 5px;
  padding: 10px;
  font:
    clamp(12px, 1.4vw, 16px) / 1.6 ui-monospace,
    monospace;
  color: var(--ink);
}
.invite button {
  margin-top: 12px;
}
.invite [role="status"]:not(:empty) {
  margin-top: 9px;
}
.prose strong {
  font-weight: 650;
}
@media (max-width: 820px) {
  .shell {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 4%;
  }
  .hero-art {
    aspect-ratio: 0.9;
  }
  .phone {
    width: 57%;
    right: 8%;
  }
  .features {
    gap: 16px;
  }
  .doc {
    gap: 6%;
  }
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 40px);
  }
  .bar {
    height: 69px;
  }
  .wordmark {
    font-size: 38px;
  }
  .bar nav,
  footer nav {
    gap: 16px;
  }
  .bar nav a {
    font-size: 13px;
  }
  .navjoin {
    padding-left: 13px;
    gap: 4px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0;
  }
  .intro h1 {
    margin: 18px 0 16px;
    font-size: clamp(52px, 10vw, 66px);
  }
  .intro .button {
    margin: 20px 0 8px;
  }
  .hero-art {
    aspect-ratio: 1.3;
  }
  .phone {
    width: 43%;
    right: 11%;
  }
  .clipping {
    width: 45%;
  }
  .journal {
    padding: 32px 0 40px;
  }
  .chapter {
    margin-bottom: 24px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sample {
    height: clamp(188px, 50vw, 260px);
  }
  .sample img {
    width: 65%;
    left: 17.5%;
  }
  .family-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 35px;
    gap: 20px;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
  }
  footer > span {
    font-size: 12px;
  }
  footer nav {
    gap: 14px;
  }
  .doc {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 28px 50px;
  }
  .doc-head h1 {
    margin: 16px 0;
  }
  .invite {
    padding: 20px;
  }
  .prose h2 {
    font-size: 27px;
  }
}
@media (max-width: 360px) {
  .shell {
    width: calc(100% - 28px);
  }
  .bar nav {
    gap: 11px;
  }
  .navjoin {
    padding-left: 9px;
  }
  footer > span {
    max-width: 120px;
  }
}
