@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-800-normal.woff2") format("woff2");
}

:root {
  color: #151610;
  background: #f3efe6;
  font-family: "Manrope", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #151610;
  --paper: #f3efe6;
  --cream: #faf7ef;
  --coral: #ff5a36;
  --acid: #d8e941;
  --muted: #62635b;
  --motion: cubic-bezier(0.32, 0.72, 0, 1);
  --motion-out: cubic-bezier(0.32, 0, 0.67, 0);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 2%, rgb(255 90 54 / 22%), transparent 25rem),
    radial-gradient(circle at 0% 100%, rgb(216 233 65 / 24%), transparent 24rem),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 420ms var(--motion);
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: page-rise 760ms var(--motion) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.045em;
  text-decoration: none;
  transition: transform 520ms var(--motion);
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
}

.brand-lockup strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 55%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
  transform: translateY(0);
  transition:
    color 360ms var(--motion),
    background-color 360ms var(--motion),
    transform 520ms var(--motion);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgb(255 255 255 / 58%);
}

.site-nav a:hover {
  transform: translateY(-2px);
}

.page-hero {
  padding: clamp(70px, 10vw, 128px) 0 clamp(54px, 8vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(36px, 8vw, 120px);
  border-bottom: 1px solid rgb(21 22 16 / 12%);
}

.page-hero > div {
  animation: page-rise 840ms 90ms var(--motion) both;
}

.page-hero > p {
  animation: page-rise 840ms 170ms var(--motion) both;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #6b6c63;
  background: rgb(255 255 255 / 54%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 580;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.page-hero > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.content-layout {
  padding: clamp(54px, 8vw, 96px) 0 clamp(88px, 10vw, 136px);
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 8vw, 110px);
  animation: page-rise 900ms 240ms var(--motion) both;
}

.toc {
  position: sticky;
  top: 24px;
  isolation: isolate;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgb(21 22 16 / 6%);
  border-radius: 28px;
  background: rgb(21 22 16 / 6%);
  box-shadow:
    0 18px 48px rgb(60 50 32 / 5%),
    inset 0 1px 0 rgb(255 255 255 / 62%);
}

.toc::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 6px;
  border-radius: 21px;
  background: rgb(255 255 255 / 52%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%);
}

.toc > * {
  position: relative;
  z-index: 1;
}

.toc strong {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc a {
  padding: 8px 0;
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transform: translateX(0);
  transition:
    color 360ms var(--motion),
    transform 520ms var(--motion);
}

.toc a:hover {
  color: var(--ink);
  transform: translateX(4px);
}

.prose {
  max-width: 780px;
}

.prose section {
  scroll-margin-top: 28px;
  margin-bottom: 58px;
}

.prose section:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.055em;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.prose p,
.prose li {
  color: #55564f;
  font-size: 15px;
  line-height: 1.8;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 9px;
}

.prose a {
  color: #384000;
  font-weight: 700;
  text-decoration-color: rgb(56 64 0 / 32%);
  text-underline-offset: 3px;
  transition:
    color 360ms var(--motion),
    text-decoration-color 360ms var(--motion);
}

.prose a:hover {
  color: var(--ink);
  text-decoration-color: var(--coral);
}

.note,
.contact-card {
  position: relative;
  isolation: isolate;
  margin: 28px 0;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgb(21 22 16 / 6%);
  border-radius: 29px;
  background: rgb(21 22 16 / 7%);
  box-shadow:
    0 16px 42px rgb(60 50 32 / 5%),
    inset 0 1px 0 rgb(255 255 255 / 62%);
}

.note::before,
.contact-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 6px;
  border-radius: 22px;
  background: var(--acid);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 58%);
}

.note > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.note strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.note p,
.contact-card p {
  margin-bottom: 0;
  color: #41470d;
}

.contact-card a {
  word-break: break-word;
}

.steps {
  margin: 30px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(220px, 0.76fr);
  grid-template-areas:
    "first second"
    "first third";
  gap: 12px;
}

.step {
  position: relative;
  isolation: isolate;
  min-height: 196px;
  padding: 31px;
  overflow: hidden;
  border: 1px solid rgb(21 22 16 / 5%);
  border-radius: 28px;
  background: rgb(21 22 16 / 6%);
  box-shadow:
    0 18px 48px rgb(60 50 32 / 5%),
    inset 0 1px 0 rgb(255 255 255 / 66%);
  transition: transform 700ms var(--motion);
}

.step::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 6px;
  border-radius: 21px;
  background: var(--cream);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 84%);
}

.step > * {
  position: relative;
  z-index: 1;
}

.step:nth-child(1) {
  grid-area: first;
  min-height: 404px;
  display: flex;
  flex-direction: column;
}

.step:nth-child(1) h3 {
  margin-top: auto;
}

.step:nth-child(2) {
  grid-area: second;
  transform: translateX(7px);
}

.step:nth-child(3) {
  grid-area: third;
  transform: translateX(-5px);
}

.step:hover {
  transform: translateY(-4px);
}

.step:nth-child(2):hover,
.step:nth-child(3):hover {
  transform: translate(0, -4px);
}

.step span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step h3 {
  margin-top: 25px;
}

.step p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.65;
}

.page-cta {
  position: relative;
  isolation: isolate;
  margin-top: 48px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgb(21 22 16 / 6%);
  border-radius: 30px;
  background: rgb(21 22 16 / 7%);
  box-shadow:
    0 24px 60px rgb(60 50 32 / 7%),
    inset 0 1px 0 rgb(255 255 255 / 66%);
}

.page-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 7px;
  border-radius: 22px;
  background: rgb(255 255 255 / 52%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 84%);
}

.page-cta > * {
  position: relative;
  z-index: 1;
}

.page-cta div {
  padding: 24px 28px;
}

.page-cta h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.page-cta p {
  margin-bottom: 0;
  font-size: 13px;
}

.button-link {
  min-height: 54px;
  margin-right: 7px;
  padding: 6px 7px 6px 22px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  color: var(--cream) !important;
  background: var(--ink);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform 600ms var(--motion),
    background-color 420ms var(--motion);
}

.button-link-icon {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  transition: transform 600ms var(--motion);
}

.button-link-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-link:hover {
  background: #282921;
  transform: translateY(-2px);
}

.button-link:hover .button-link-icon {
  transform: translate(2px, -1px) scale(1.05);
}

.button-link:active {
  transform: scale(0.98);
}

.site-footer {
  padding: 36px 0 42px;
  border-top: 1px solid rgb(21 22 16 / 12%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
  text-decoration: none;
  transition:
    color 360ms var(--motion),
    transform 520ms var(--motion);
}

.footer-links a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-rise {
  from {
    opacity: 0.22;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .prose > section,
  .page-cta,
  .site-footer {
    animation-name: section-rise;
    animation-fill-mode: both;
    animation-timing-function: var(--motion);
    animation-timeline: view();
    animation-range: entry 5% cover 24%;
  }
}

@media (max-width: 800px) {
  .site-header {
    min-height: 78px;
    align-items: flex-start;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    order: 2;
  }

  .site-nav a {
    padding: 5px 7px;
  }

  .page-hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 64px;
  }

  .toc {
    position: static;
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .step:nth-child(n) {
    grid-area: auto;
    min-height: 0;
    transform: none;
  }

  .step:nth-child(1) h3 {
    margin-top: 25px;
  }

  .step:nth-child(n):hover {
    transform: translateY(-3px);
  }

  .page-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button-link {
    margin: 0 7px 7px;
  }

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

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

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 17px;
  }

  .brand-lockup strong {
    font-size: 18px;
  }

  .brand-lockup small {
    font-size: 9px;
  }

  h1 {
    font-size: clamp(45px, 15vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .site-header,
  .page-hero > div,
  .page-hero > p,
  .content-layout,
  .prose > section,
  .page-cta,
  .site-footer {
    opacity: 1;
    transform: none;
  }

  .brand:hover,
  .site-nav a:hover,
  .toc a:hover,
  .step:nth-child(n),
  .step:nth-child(n):hover,
  .button-link:hover,
  .button-link:active,
  .button-link:hover .button-link-icon,
  .footer-links a:hover {
    transform: none;
  }
}
