@font-face {
  font-family: "Patrick Hand";
  src: url("/assets/fonts/patrick-hand-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-variable.woff2") format("woff2-variations");
  font-display: swap;
  font-style: normal;
  font-weight: 200 1000;
}

:root {
  --paper: #ffffff;
  --ink: #121212;
  --ink-soft: #4d4a46;
  --yellow: #f6cd55;
  --yellow-soft: #fff3bd;
  --blue: #70b7e6;
  --blue-soft: #dff2ff;
  --coral: #e97865;
  --coral-soft: #ffe4df;
  --line: #d9d4ca;
  --display: "Patrick Hand", "Comic Sans MS", cursive;
  --body: "Nunito Sans", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(92vw, 88rem);
  --measure: 70ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color-scheme: light;
  scroll-padding-top: 7rem;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 480;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--blue);
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 0.2rem solid var(--blue);
  outline-offset: 0.28rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border: 0.15rem solid var(--ink);
  border-radius: 0.55rem 0.7rem 0.5rem 0.8rem;
  background: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: 1.5rem 0 0.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  line-height: 1;
  text-decoration: none;
}

.wordmark::before {
  width: 1.35rem;
  height: 0.85rem;
  content: "";
  border-top: 0.22rem solid var(--yellow);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.1rem;
  font-weight: 760;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.27rem;
  left: 0;
  height: 0.19rem;
  content: "";
  border-radius: 60% 40% 55% 45%;
  background: var(--coral);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1) rotate(-1deg);
}

main:focus {
  outline: none;
}

.folio-hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: min(50rem, calc(100vh - 5rem));
  grid-template-columns: minmax(0, 0.88fr) minmax(30rem, 1.12fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 5rem);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(4rem, 7vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: start;
  padding-top: clamp(2rem, 5vh, 6rem);
}

.hero-copy h1,
.legal-heading h1,
.not-found h1 {
  max-width: 8ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero-copy h1 span {
  position: relative;
  display: inline-block;
}

.hero-copy h1 span::after {
  position: absolute;
  right: -0.08em;
  bottom: -0.02em;
  left: -0.02em;
  height: 0.1em;
  content: "";
  border-radius: 60% 40% 50% 48%;
  background: var(--yellow);
  transform: rotate(-2deg);
}

.hero-lede {
  max-width: 31rem;
  margin: 2rem 0 0;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 650;
  line-height: 1.48;
}

.operator-note {
  display: inline-block;
  margin: 2.2rem 0 0 1rem;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.2;
  transform: rotate(-2deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  align-items: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-actions a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0.05rem;
  text-decoration: none;
}

.hero-actions .hero-primary {
  font-size: 1.08rem;
}

.hero-actions .hero-primary::after {
  position: absolute;
  right: -0.12rem;
  bottom: 0.25rem;
  left: -0.12rem;
  z-index: -1;
  height: 0.48rem;
  content: "";
  border-radius: 55% 45% 58% 42%;
  background: var(--coral-soft);
  transform: rotate(-2deg);
}

.hero-scene {
  position: relative;
  min-height: 43rem;
  align-self: stretch;
}

.hero-scene::before {
  position: absolute;
  z-index: 0;
  top: 7%;
  right: -2%;
  width: 88%;
  height: 78%;
  content: "";
  border-radius: 47% 53% 44% 56% / 53% 44% 56% 47%;
  background: var(--blue-soft);
  transform: rotate(5deg);
}

.courier {
  position: absolute;
  z-index: 5;
  bottom: -1%;
  left: -13%;
  width: min(34rem, 60%);
  filter: drop-shadow(0.7rem 1rem 1.2rem rgb(43 39 31 / 8%));
  transform: rotate(-2deg);
}

.hero-sheet {
  position: absolute;
  padding: clamp(1.3rem, 2.2vw, 2rem);
  border: 0.1rem solid rgb(18 18 18 / 15%);
  border-radius: 0.4rem 0.75rem 0.5rem 0.65rem;
  background: var(--paper);
  box-shadow: 0.8rem 1.2rem 2.3rem rgb(56 48 35 / 12%);
}

.hero-access-sheet {
  z-index: 2;
  top: 2%;
  left: 20%;
  width: 58%;
  transform: rotate(-3deg);
}

.hero-flow-sheet {
  z-index: 3;
  top: 38%;
  right: -2%;
  width: 49%;
  transform: rotate(4deg);
}

.hero-sheet h2,
.sheet h2,
.closing h2,
.legal-copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  text-wrap: balance;
}

.hero-sheet h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
}

.hero-mini-list,
.hero-flow-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-mini-list li {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.42rem 0;
  border-bottom: 0.06rem solid var(--line);
  font-size: 0.83rem;
  line-height: 1.35;
}

.hero-mini-list li:last-child {
  border-bottom: 0;
}

.hero-mini-list strong {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 400;
}

.hero-mini-list span {
  align-self: center;
}

.hero-flow-list {
  counter-reset: hero-flow;
}

.hero-flow-list li {
  position: relative;
  min-height: 2.35rem;
  padding: 0.22rem 0 0.52rem 2rem;
  counter-increment: hero-flow;
  font-size: 0.79rem;
  line-height: 1.35;
}

.hero-flow-list li::before {
  position: absolute;
  top: 0.08rem;
  left: 0;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  content: counter(hero-flow);
  border: 0.1rem solid var(--ink);
  border-radius: 52% 48% 45% 55%;
  background: var(--yellow-soft);
  font-family: var(--display);
  font-size: 0.92rem;
}

.hero-flow-list li + li::after {
  position: absolute;
  top: -0.44rem;
  left: 0.73rem;
  width: 0.08rem;
  height: 0.7rem;
  content: "";
  background: var(--blue);
}

.hero-sheet-note {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.2;
  transform: rotate(-1deg);
}

.paper-clip {
  position: absolute;
  top: -1.25rem;
  right: 2.5rem;
  width: 1.15rem;
  height: 3.2rem;
  border: 0.18rem solid var(--ink);
  border-radius: 1rem;
  transform: rotate(10deg);
}

.route-stroke {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: -0.7rem;
  width: 112%;
  color: var(--ink);
  pointer-events: none;
}

.route-stroke path {
  stroke-dasharray: 11 9;
  animation: draw-route 950ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes draw-route {
  from {
    stroke-dashoffset: 180;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.folio-spread {
  position: relative;
  display: grid;
  width: var(--page);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.folio-spread::before {
  position: absolute;
  top: 13%;
  left: 43%;
  width: 7rem;
  height: 1.4rem;
  content: "";
  border-radius: 55% 45% 50% 48%;
  background: var(--coral);
  opacity: 0.82;
  transform: rotate(-8deg);
}

.sheet {
  position: relative;
  padding: clamp(2rem, 4vw, 4.2rem);
  background: var(--paper);
}

.sheet:first-child {
  border: 0.1rem solid rgb(18 18 18 / 15%);
  border-radius: 0.6rem 0.45rem 0.8rem 0.5rem;
  box-shadow: 0.9rem 1.3rem 2.5rem rgb(56 48 35 / 10%);
  transform: rotate(-1.3deg);
}

.sheet:last-child {
  margin-top: 4.5rem;
  border: 0.1rem solid rgb(18 18 18 / 14%);
  border-radius: 0.45rem 0.7rem 0.5rem 0.8rem;
  box-shadow: 0.7rem 1.1rem 2.2rem rgb(56 48 35 / 9%);
  transform: rotate(1.6deg);
}

.scope-list,
.data-path {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 0.08rem solid var(--line);
}

.scope-list li:last-child {
  border-bottom: 0;
}

.scope-name {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.scope-list p,
.data-path p {
  margin: 0;
}

.data-path {
  counter-reset: path;
}

.data-path li {
  position: relative;
  display: grid;
  min-height: 6rem;
  grid-template-columns: 3.3rem minmax(0, 1fr);
  gap: 1rem;
  counter-increment: path;
}

.data-path li::before {
  position: relative;
  z-index: 2;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  content: counter(path);
  border: 0.14rem solid var(--ink);
  border-radius: 52% 48% 47% 53%;
  background: var(--yellow-soft);
  font-family: var(--display);
  font-size: 1.35rem;
}

.data-path li::after {
  position: absolute;
  top: 2.65rem;
  bottom: -0.2rem;
  left: 1.28rem;
  width: 0.15rem;
  content: "";
  background: var(--blue);
  transform: rotate(1deg);
}

.data-path li:last-child::after {
  display: none;
}

.data-path strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 850;
}

.truth-note {
  margin: 2rem 0 0;
  padding: 1.15rem 1.3rem;
  border: 0.12rem solid var(--ink);
  border-radius: 0.65rem 0.45rem 0.7rem 0.5rem;
  background: var(--coral-soft);
  transform: rotate(-0.6deg);
}

.closing {
  width: min(90vw, 59rem);
  margin: clamp(3rem, 8vw, 7rem) auto;
  padding: clamp(2.5rem, 5vw, 5rem);
  text-align: center;
}

.closing p {
  max-width: 48rem;
  margin: 1rem auto 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2rem;
  font-size: 1.08rem;
  font-weight: 850;
}

.legal-link {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.2rem;
  text-decoration: none;
}

.legal-link::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  z-index: -1;
  height: 0.55rem;
  content: "";
  border-radius: 60% 40% 55% 45%;
  background: var(--coral-soft);
  transform: rotate(-1deg);
}

.site-footer {
  display: flex;
  width: var(--page);
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 0.08rem solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: flex-end;
}

.legal-shell {
  width: min(92vw, 78rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.legal-heading {
  position: relative;
  max-width: 54rem;
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.legal-heading h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 7vw, 6rem);
}

.legal-heading::after {
  position: absolute;
  right: 4%;
  bottom: -2rem;
  width: 8rem;
  height: 1rem;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-4deg);
}

.effective-date {
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.legal-copy {
  max-width: var(--measure);
  margin: 0 auto;
}

.legal-copy h2 {
  margin-top: 3.8rem;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.legal-copy h3 {
  margin-top: 2.2rem;
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

.legal-copy p,
.legal-copy ul,
.legal-copy ol {
  margin-top: 0.8rem;
  margin-bottom: 1.15rem;
}

.legal-copy li + li {
  margin-top: 0.55rem;
}

.policy-callout {
  position: relative;
  margin: 2.8rem -1.5rem;
  padding: 1.6rem 1.8rem;
  border: 0.13rem solid var(--ink);
  border-radius: 0.65rem 0.45rem 0.75rem 0.55rem;
  background: var(--yellow-soft);
  font-weight: 720;
  transform: rotate(-0.35deg);
}

.data-flow {
  display: grid;
  gap: 0;
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-flow;
}

.data-flow li {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  counter-increment: legal-flow;
}

.data-flow li::before {
  position: absolute;
  top: 0.8rem;
  left: 0;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  content: counter(legal-flow);
  border: 0.13rem solid var(--ink);
  border-radius: 50% 45% 55% 48%;
  background: var(--blue-soft);
  font-family: var(--display);
  font-size: 1.25rem;
}

.data-flow li + li::after {
  position: absolute;
  top: -0.55rem;
  left: 1.18rem;
  width: 0.13rem;
  height: 1.35rem;
  content: "";
  background: var(--coral);
}

.legal-toc {
  max-width: var(--measure);
  margin: 0 auto 3rem;
  padding: 1.35rem 1.5rem;
  border: 0.09rem solid var(--line);
  border-radius: 0.55rem 0.7rem 0.5rem 0.65rem;
}

.legal-toc strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
}

.legal-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-found {
  display: grid;
  width: min(90vw, 62rem);
  min-height: calc(100vh - 10rem);
  place-content: center;
  margin: 0 auto;
  text-align: center;
}

.not-found h1 {
  max-width: none;
  font-size: clamp(5rem, 15vw, 11rem);
}

.not-found p {
  max-width: 34rem;
  margin: 1.5rem auto;
  font-size: 1.2rem;
}

@media (max-width: 62rem) {
  .folio-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  }

  .hero-scene {
    min-height: 38rem;
  }

  .hero-access-sheet {
    left: 12%;
    width: 63%;
  }

  .hero-flow-sheet {
    top: 38%;
    width: 54%;
  }

  .courier {
    left: -17%;
    width: 62%;
  }

  .scope-list li {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }
}

@media (max-width: 48rem) {
  .site-header {
    align-items: flex-start;
    padding-top: 1.1rem;
  }

  .site-nav ul {
    justify-content: flex-end;
    gap: 0.2rem 1rem;
  }

  .folio-hero {
    display: block;
    padding-top: 2.8rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    max-width: 7ch;
    font-size: clamp(4.2rem, 18vw, 6rem);
  }

  .hero-scene {
    min-height: 44rem;
    margin-top: 1.5rem;
  }

  .hero-scene::before {
    top: 8%;
    right: -4%;
    width: 91%;
    height: 78%;
  }

  .courier {
    bottom: -1%;
    left: -9%;
    width: 55%;
  }

  .hero-access-sheet {
    top: 0;
    left: 12%;
    width: 59%;
  }

  .hero-flow-sheet {
    top: 36%;
    right: 0;
    width: 51%;
  }

  .folio-spread {
    display: block;
    padding-top: 2rem;
  }

  .folio-spread::before {
    top: 49%;
    left: 70%;
  }

  .sheet:last-child {
    margin-top: 3rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 35rem) {
  body {
    font-size: 1rem;
  }

  .site-header {
    display: block;
  }

  .site-nav {
    margin-top: 0.7rem;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .folio-hero {
    padding-top: 2rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .operator-note {
    margin-left: 0;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 0.3rem 1rem;
    margin-top: 1.35rem;
  }

  .hero-scene {
    min-height: 47rem;
    margin-top: 0.8rem;
  }

  .courier {
    top: -2.2rem;
    bottom: auto;
    left: -30%;
    width: 66%;
  }

  .hero-access-sheet {
    top: 1rem;
    right: -2%;
    left: auto;
    width: 76%;
    padding: 1.15rem;
  }

  .hero-flow-sheet {
    top: 25rem;
    right: 0;
    width: 78%;
    padding: 1.15rem;
  }

  .hero-sheet h2 {
    font-size: 1.75rem;
  }

  .hero-mini-list li {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    font-size: 0.875rem;
  }

  .hero-mini-list strong {
    font-size: 1rem;
  }

  .hero-flow-list li {
    min-height: 2.6rem;
    font-size: 0.875rem;
  }

  .route-stroke {
    right: -8%;
    bottom: 0;
    width: 125%;
  }

  .sheet {
    padding: 1.8rem 1.35rem;
  }

  .sheet:first-child,
  .sheet:last-child {
    transform: none;
  }

  .scope-list li {
    display: block;
  }

  .scope-name {
    display: block;
    margin-bottom: 0.25rem;
  }

  .policy-callout {
    margin-right: 0;
    margin-left: 0;
  }

  .legal-toc ul {
    display: block;
  }

  .legal-toc li + li {
    margin-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    --ink: #000000;
    --ink-soft: #222222;
  }

  .site-header,
  .site-footer,
  .legal-toc,
  .legal-heading::after {
    display: none;
  }

  body {
    font-size: 11pt;
  }

  .legal-shell {
    width: 100%;
    padding: 0;
  }

  .legal-heading,
  .legal-copy {
    max-width: none;
  }

  .policy-callout,
  .truth-note {
    border: 1px solid #000000;
    background: transparent;
    transform: none;
  }

  a {
    text-decoration: underline;
  }
}
