@font-face {
  font-family: "Sora";
  src: url("/assets/Sora-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/InstrumentSans-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
img {
  max-width: 100%;
}
pre {
  padding: 25px;
  background: #e9edfc;
  border: 1px solid #c2cdeb;
  border-radius: 12px;
  overflow: auto;
  font: 14px/1.8 monospace;
}
code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.pd-prose ul,
.pd-prose ol {
  padding-left: 25px;
}
.pd-prose li + li {
  margin-top: 14px;
}
.product-doc {
  --pd-ink: #233c1c;
  --pd-paper: #f6f7f2;
  --pd-surface: #e9eedf;
  --pd-accent: #c7fa75;
  --pd-muted: #53624b;
  --pd-line: #cad2c2;
  --pd-heading: var(--font-bricolage), sans-serif;
  background: var(--pd-paper);
  color: var(--pd-ink);
  font:
    16px/1.75 var(--font-geist, Arial),
    Arial,
    sans-serif;
  min-height: 100svh;
}
.product-doc * {
  box-sizing: border-box;
}
.product-doc :is(h1, h2, h3, p) {
  margin: 0;
}
.product-doc :is(h1, h2, h3) {
  font-family: var(--pd-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.product-doc a {
  color: inherit;
  text-underline-offset: 5px;
}
.product-doc a:focus-visible {
  outline: 3px solid var(--pd-ink);
  outline-offset: 5px;
  border-radius: 4px;
}
.product-doc ::selection {
  background: var(--pd-accent);
  color: var(--pd-ink);
}
.pd-container {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.pd-header {
  width: min(1320px, calc(100% - 48px));
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  background: var(--pd-paper);
}
.product-doc .pd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 650 27px/1.2 var(--pd-heading);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.pd-brand img {
  object-fit: contain;
}
.pd-header nav {
  display: flex;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.pd-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.pd-header nav a:hover,
.pd-header nav a[aria-current="page"] {
  text-decoration: underline;
}
.pd-header .pd-signin {
  background: var(--pd-ink);
  color: var(--pd-paper);
  padding: 0 17px;
  border-radius: 8px;
}
.pd-hero {
  padding: 55px 0 58px;
}
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 32px;
}
.pd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
}
.pd-breadcrumb a:hover {
  text-decoration: underline;
}
.product-doc h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.08;
  max-width: 1000px;
}
.product-doc .pd-intro {
  font-size: 19px;
  line-height: 1.8;
  max-width: 720px;
  margin-top: 28px;
  color: var(--pd-muted);
}
.pd-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 45px;
  font-size: 14px;
}
.pd-hero-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.pd-hero-bottom > a:hover {
  text-decoration: underline;
}
.pd-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14px;
  margin-top: 32px;
  color: var(--pd-muted);
}
.pd-library {
  padding-block: 38px 90px;
}
.pd-library-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
}
.product-doc .pd-library-heading h2 {
  font-size: 30px;
  line-height: 1.25;
}
.pd-library-heading p {
  font-size: 14px;
  color: var(--pd-muted);
}
.pd-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pd-story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  background: var(--pd-surface);
  min-width: 0;
}
.pd-story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--pd-muted);
  margin-bottom: 30px;
}
.pd-story-meta > span:last-child {
  margin-left: 10px;
}
.product-doc .pd-story h3 {
  font-size: 32px;
  line-height: 1.2;
  max-width: 540px;
}
.pd-story h3 a {
  text-decoration: none;
}
.pd-story h3 a:hover {
  text-decoration: underline;
}
.pd-story p {
  margin-top: 22px;
  color: var(--pd-muted);
}
.pd-read {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.pd-read:hover {
  text-decoration: underline;
}
.pd-reading {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 65px;
  padding-block: 55px 90px;
  align-items: start;
}
.pd-contents {
  position: sticky;
  top: 32px;
}
.pd-contents nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
}
.product-doc .pd-contents h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pd-contents a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}
.pd-contents a:hover {
  text-decoration: underline;
}
.pd-back {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
}
.pd-contents .pd-back {
  margin-top: 16px;
}
.pd-prose {
  min-width: 0;
  max-width: 72ch;
}
.pd-prose section {
  scroll-margin-top: 35px;
}
.pd-prose section + section {
  margin-top: 48px;
}
.product-doc .pd-prose h2 {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 22px;
}
.pd-prose p {
  font-size: 17px;
  line-height: 1.95;
}
.pd-prose p + p {
  margin-top: 22px;
}
.pd-prose > .pd-back {
  margin-top: 36px;
}
.pd-related {
  padding-bottom: 70px;
}
.product-doc .pd-related > h2 {
  font-size: 32px;
  margin-bottom: 28px;
}
.pd-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pd-related a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  text-decoration: none;
}
.pd-related a > span {
  grid-column: 1/-1;
  font-size: 14px;
  color: var(--pd-muted);
}
.product-doc .pd-related h3 {
  font-size: 25px;
  line-height: 1.35;
}
.pd-related a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.pd-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  margin-bottom: 70px;
  border-radius: 14px;
  background: var(--pd-ink);
  color: var(--pd-paper);
}
.product-doc .pd-invitation h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  max-width: 650px;
}
.pd-invitation p {
  margin-top: 20px;
  color: var(--pd-paper);
  max-width: 550px;
}
.pd-invitation > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  flex-shrink: 0;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--pd-accent);
  color: var(--pd-ink);
  font-weight: 600;
  text-decoration: none;
}
.pd-invitation > a:focus-visible {
  outline-color: var(--pd-paper);
}
.pd-invitation > a:hover {
  text-decoration: underline;
}
.pd-footer {
  padding-block: 50px;
  background: var(--pd-surface);
}
.pd-footer > .pd-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  align-items: start;
}
.pd-footer p {
  font-size: 14px;
  margin-top: 18px;
}
.pd-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.pd-footer nav a,
.pd-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
}
.pd-footer nav a:hover,
.pd-top:hover {
  text-decoration: underline;
}
.pd-top {
  justify-self: start;
}
.pd-skip {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  background: var(--pd-ink);
  color: var(--pd-paper) !important;
  z-index: 100;
}
.pd-skip:focus {
  top: 16px;
}
@media (max-width: 1000px) {
  .pd-reading {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 35px;
  }
  .pd-story {
    padding: 28px;
  }
  .product-doc .pd-story h3 {
    font-size: 29px;
  }
  .pd-header nav {
    gap: 8px 16px;
  }
  .pd-invitation {
    padding: 35px;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .pd-container {
    width: calc(100% - 44px);
  }
  .pd-header {
    width: calc(100% - 28px);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .pd-header nav {
    width: 100%;
    gap: 4px 18px;
  }
  .pd-header .pd-signin {
    padding: 0 12px;
  }
  .pd-hero {
    padding: 28px 0 38px;
  }
  .pd-breadcrumb {
    margin-bottom: 25px;
  }
  .product-doc h1 {
    font-size: 40px;
    line-height: 1.12;
  }
  .product-doc .pd-intro {
    font-size: 17px;
    margin-top: 24px;
  }
  .pd-hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }
  .pd-library {
    padding-block: 30px 55px;
  }
  .pd-library-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .pd-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pd-story {
    padding: 27px 24px;
  }
  .pd-story-meta {
    margin-bottom: 24px;
  }
  .product-doc .pd-story h3 {
    font-size: 28px;
  }
  .pd-reading {
    display: flex;
    flex-direction: column;
    gap: 38px;
    padding-block: 30px 55px;
  }
  .pd-contents {
    position: static;
    width: 100%;
  }
  .pd-contents nav {
    padding: 22px;
  }
  .product-doc .pd-prose h2 {
    font-size: 27px;
  }
  .pd-prose p {
    font-size: 16px;
  }
  .pd-related > div {
    grid-template-columns: 1fr;
  }
  .pd-related {
    padding-bottom: 45px;
  }
  .pd-invitation {
    width: calc(100% - 28px);
    padding: 30px 24px;
    margin-bottom: 40px;
    gap: 26px;
  }
  .pd-invitation > a {
    width: 100%;
  }
  .pd-footer {
    padding-block: 35px;
  }
  .pd-footer > .pd-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pd-byline {
    gap: 8px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-doc {
    scroll-behavior: auto;
  }
}

/* Porchlight: the homepage's warm canvas, cobalt, coral and conversation geometry. */
.pd-porchlight {
  --pd-ink: #242d51;
  --pd-paper: #fffaf4;
  --pd-surface: #e9edfc;
  --pd-accent: #ffc4ae;
  --pd-muted: #505d7d;
  --pd-line: #c5cde3;
  --pd-heading: "Sora", sans-serif;
  font-family: "Instrument Sans", Arial, sans-serif;
}
.pd-porchlight .pd-brand {
  font-family: "Sora", sans-serif;
  text-transform: lowercase;
  font-weight: 600;
}
.pd-porchlight .pd-header .pd-signin {
  background: #415ed8;
  color: #fff;
}
.pd-porchlight .pd-hero {
  background: #e9edfc;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.pd-porchlight .pd-hero:after {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  right: -170px;
  bottom: -220px;
  border: 45px solid #415ed812;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.pd-porchlight h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.15;
}
.pd-porchlight .pd-story {
  background: transparent;
}
.pd-porchlight .pd-story:first-child {
  background: #415ed8;
  color: #fffaf4;
  --pd-muted: #edf0ff;
  border-color: #415ed8;
}
.pd-porchlight .pd-story:first-child a:focus-visible {
  outline-color: #ffc4ae;
}
.pd-porchlight .pd-invitation {
  background: #415ed8;
  color: #fffaf4;
}
.pd-porchlight .pd-invitation > a {
  color: #242d51;
}
.pd-porchlight .pd-related a:hover {
  background: #e9edfc;
}
.pd-porchlight .pd-prose a {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .pd-porchlight h1 {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
