@font-face {
  font-family: Young;
  src: url(/young-serif.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(/dm-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #1e3040;
  --paper: #fbf2dc;
  --red: #a83422;
  --sky: #b9d7d5;
  --serif: Young, Georgia, serif;
  --sans: DM, "Trebuchet MS", sans-serif;
}
* {
  box-sizing: border-box;
}
.puppy-home,
.p-account,
.p-desk {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.45 var(--sans);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid #1157af;
  outline-offset: 4px;
}
.p-mast,
.p-foot {
  max-width: 1380px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 5.2vw, 80px);
  min-height: 78px;
}
.p-mast {
  border-bottom: 2px solid var(--ink);
}
.p-mast nav {
  display: flex;
  gap: clamp(12px, 3vw, 38px);
  align-items: center;
  font-size: 15px;
  font-weight: 650;
  flex-wrap: wrap;
}
.p-mast nav a,
.p-foot a {
  text-decoration: none;
}
.p-mast nav a:hover,
.p-foot a:hover {
  text-decoration: underline;
}
.p-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  color: var(--ink);
  font: 26px/0.95 var(--serif);
  letter-spacing: -1.6px;
  text-decoration: none;
}
.tag {
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff9ea;
  height: 30px;
  width: 25px;
  border-radius: 35% 35% 52% 52%;
  transform: rotate(-12deg);
  font:
    italic 18px Georgia,
    serif;
  letter-spacing: 0;
}
.nav-sign {
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 6px 16px;
}
.poster {
  max-width: 1380px;
  margin: auto;
  padding: clamp(26px, 4.4vw, 68px) clamp(20px, 5.2vw, 80px)
    clamp(28px, 3.5vw, 60px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2vw;
  overflow: hidden;
}
.overline {
  text-transform: uppercase;
  font: 700 12px/1.5 var(--sans);
  letter-spacing: 0.16em;
  color: var(--red);
  margin: 0 0 14px;
}
.poster h1,
.account-paper h1,
.p-desk h1,
.field-films h2 {
  font: 400 clamp(78px, 9.2vw, 142px) / 0.91 var(--serif);
  letter-spacing: -0.055em;
  margin: 0;
}
.poster h1 em {
  color: var(--red);
  font-style: normal;
}
.deck {
  max-width: 28ch;
  font: 500 clamp(17px, 1.65vw, 23px) / 1.32 var(--sans);
  margin: 22px 0;
}
.p-button,
.p-desk button:not(.nav-plain) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--ink);
  color: #fff8e8;
  font: 650 16px/1.2 var(--sans);
  padding: 14px 21px;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
.p-button:hover,
.p-desk button:not(.nav-plain):hover {
  background: #354c5b;
}
.fetch-scene {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.39;
  min-width: 0;
}
.blueprint {
  position: absolute;
  inset: 11% 0 7% 8%;
  z-index: -1;
  transform: rotate(-3deg);
  border-radius: 49% 36% 43% 38%;
  overflow: hidden;
  background-color: #c5dcd6;
  background-image:
    linear-gradient(0deg, transparent 96%, #829f9b55 96%),
    linear-gradient(90deg, transparent 96%, #829f9b55 96%);
  background-size: 23px 23px;
}
.dog-run {
  position: absolute;
  left: 12%;
  right: 5%;
  top: 0;
  bottom: 1%;
}
.hero-dog {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transform-origin: 54% 82%;
}
.basket {
  position: absolute;
  width: 20%;
  height: 14%;
  bottom: 5%;
  left: 0;
  transform: rotate(-5deg);
}
.tray {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 55%;
  display: grid;
  place-items: center;
  background: #c77847;
  border: 2px solid var(--ink);
  box-shadow: 2px 3px var(--ink);
  border-radius: 2px 2px 6px 6px;
  color: #212e35;
  font: 700 clamp(8px, 0.85vw, 12px) monospace;
  letter-spacing: 0.12em;
}
.paper-drop {
  position: absolute;
  width: 65%;
  height: 84%;
  bottom: 14%;
  left: 18%;
  background: repeating-linear-gradient(
    to bottom,
    #fff4d6 0 7px,
    #84a3ae 7px 8px
  );
  border: 1.5px solid var(--ink);
  transform: rotate(8deg);
}
.again {
  position: absolute;
  bottom: -3%;
  right: 2%;
  border: 0;
  border-bottom: 1px dashed var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 12px/1.6 var(--sans);
  cursor: pointer;
}
.again[hidden] {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-dog {
    cursor: pointer;
  }
}
@keyframes run-home {
  0% {
    transform: translate(46%, -4%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  76% {
    transform: translate(-2%, 2%);
  }
  100% {
    transform: none;
  }
}
@keyframes trot {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-5%) rotate(2deg);
  }
}
@keyframes deliver {
  0%,
  55% {
    opacity: 0;
    transform: translate(95%, -140%) rotate(-15deg);
  }
  58% {
    opacity: 1;
  }
  86% {
    transform: translate(0, 3%) rotate(11deg);
  }
  100% {
    transform: rotate(8deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .playing .dog-run {
    animation: run-home 2.7s cubic-bezier(0.16, 0.77, 0.44, 1) both;
  }
  .playing .hero-dog {
    animation: trot 0.38s ease-in-out 6;
  }
  .playing .paper-drop {
    animation: deliver 2.7s ease-in-out both;
  }
}
.commands-home,
.command-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.commands-home {
  border-block: 2px solid var(--ink);
  max-width: 1380px;
  margin: auto;
  background: #f3dfae;
}
.commands-home a,
.command-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
  min-width: 0;
  padding: clamp(16px, 2.2vw, 34px) clamp(12px, 2vw, 32px);
  text-decoration: none;
  border-right: 1px dashed #637379;
}
.commands-home a:last-child,
.command-menu a:last-child {
  border: 0;
}
.commands-home a:nth-child(2) {
  background: #dce7d8;
}
.commands-home a:nth-child(3) {
  background: #ecd0b9;
}
.commands-home a:nth-child(4) {
  background: #cbdfe1;
}
.commands-home a:hover,
.command-menu a:hover {
  box-shadow: inset 0 -4px var(--red);
}
.spot {
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(46px, 5.5vw, 84px);
  aspect-ratio: 1;
  background: url(/commands.webp) 0 0/200% 200% no-repeat;
}
.spot.search {
  background-position: 100% 0;
}
.spot.email {
  background-position: 0 100%;
}
.spot.form {
  background-position: 100% 100%;
}
.commands-home a span {
  font: 400 clamp(16px, 1.55vw, 25px) / 1.13 var(--serif);
  letter-spacing: -0.045em;
}
.commands-home b {
  font-weight: 400;
}
.arrow {
  margin-left: auto;
  font: 16px var(--sans);
}
.field-films {
  max-width: 1380px;
  margin: auto;
  padding: 54px clamp(20px, 5.2vw, 80px) 52px;
}
.field-films h2,
.account-paper h1,
.p-desk h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
}
.field-films h2 span,
.account-paper h1 span {
  color: var(--red);
}
.reels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.reels figure {
  margin: 0;
}
.reels video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.reels figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font: 22px/1.5 var(--serif);
  padding: 8px 0;
}
.reels small {
  font: 600 12px monospace;
}
.p-foot {
  border-top: 2px solid var(--ink);
  font-size: 14px;
}
.account-layout {
  min-height: 68vh;
  max-width: 1000px;
  padding: 60px 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(25px, 6vw, 90px);
  margin: auto;
  align-items: center;
}
.p-aside {
  position: relative;
  isolation: isolate;
}
.p-aside:before {
  content: "";
  position: absolute;
  inset: 8% -3% 4% 2%;
  background: var(--sky);
  border-radius: 40% 58% 42% 47%;
  transform: rotate(-8deg);
  z-index: -1;
}
.p-aside img {
  display: block;
  width: 100%;
  height: auto;
}
.account-paper h1 {
  font-size: clamp(45px, 5.1vw, 76px);
}
.account-paper > p:not(.overline) {
  max-width: 42ch;
}
.account-paper label {
  display: block;
  font-weight: 650;
  margin-top: 24px;
}
.account-paper input:not([type="hidden"]),
.new-token {
  display: block;
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 13px;
  margin: 5px 0 16px;
  background: #fffaf0;
  color: var(--ink);
  font: inherit;
}
#code {
  letter-spacing: 0.18em;
}
.textlink,
.quiet-button {
  display: inline-block;
  margin-top: 16px;
  color: var(--ink);
  font: 600 14px var(--sans);
}
.quiet-button,
.nav-plain {
  border: 0;
  padding: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}
.notice {
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: #f8dec5;
}
.token-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.walk {
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.walk li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  margin: 16px 0;
}
.walk li:before {
  content: counter(step);
  grid-row: span 2;
  font: 22px var(--serif);
  color: var(--red);
}
.walk b {
  font: 20px var(--serif);
}
.walk span {
  font-size: 15px;
}
.p-desk .desk {
  max-width: 1180px;
}
.p-desk .desk h2,
.p-desk .desk h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.p-desk .mast {
  border: 0;
}
.p-desk .desk h1 {
  font-size: clamp(38px, 5vw, 68px);
}
.p-desk .caseitem,
.p-desk .panel,
.p-desk .entry,
.p-desk .task {
  background: #fffaf0;
  border-color: #c8bc9e;
}
.p-desk .entry {
  border-left-color: #a85c39;
}
.p-desk .desk .tools a {
  color: var(--ink);
}
.p-desk .p-mast nav a,
.nav-plain {
  font: 600 14px var(--sans);
  color: var(--ink);
}
.p-desk .nav-plain {
  margin: 0;
}
.p-desk .p-mast nav {
  gap: 16px;
}
.command-menu {
  margin: 18px 0 24px;
  border-block: 1px solid var(--ink);
}
.command-menu a {
  padding: 12px 8px;
  font: 16px/1.1 var(--serif);
}
.command-menu .spot {
  width: 38px;
}
@media (max-width: 760px) {
  .poster {
    grid-template-columns: 1fr 1fr;
  }
  .commands-home,
  .command-menu {
    grid-template-columns: 1fr 1fr;
  }
  .commands-home a:nth-child(2),
  .command-menu a:nth-child(2) {
    border-right: 0;
  }
  .commands-home a:nth-child(-n + 2),
  .command-menu a:nth-child(-n + 2) {
    border-bottom: 1px dashed #637379;
  }
  .commands-home a {
    padding: 16px;
  }
  .poster h1 {
    font-size: clamp(66px, 11vw, 90px);
  }
  .reels figcaption {
    font-size: 18px;
  }
  .p-mast nav {
    gap: 12px;
  }
  .p-desk .p-mast {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .deck {
    font-size: 17px;
  }
}
@media (max-width: 520px) {
  .p-mast,
  .p-foot {
    padding: 14px 17px;
    min-height: 62px;
  }
  .p-brand {
    font-size: 23px;
  }
  .p-mast nav {
    font-size: 13px;
  }
  .poster {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 20px 22px;
  }
  .poster h1 {
    font-size: clamp(72px, 17vw, 88px);
  }
  .poster h1 br {
    display: none;
  }
  .poster h1 em:before {
    content: " ";
  }
  .deck {
    margin: 12px 0 16px;
    max-width: 30ch;
  }
  .overline {
    margin-bottom: 10px;
  }
  .fetch-scene {
    width: 85%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 1.65;
  }
  .commands-home a {
    gap: 8px;
    padding: 12px 10px;
  }
  .commands-home a span {
    font-size: 16px;
  }
  .spot {
    width: 44px;
  }
  .field-films {
    padding: 35px 18px;
  }
  .reels {
    grid-template-columns: 1fr;
  }
  .account-layout {
    display: flex;
    flex-direction: column;
    padding: 22px 23px 48px;
    gap: 15px;
    align-items: stretch;
  }
  .p-aside {
    width: 125px;
    align-self: flex-end;
    margin-bottom: -38px;
    z-index: -1;
  }
  .account-paper h1 {
    max-width: 8ch;
  }
  .account-paper .overline {
    max-width: 14ch;
  }
  .p-desk .desk {
    padding: 0 14px;
  }
  .p-desk .p-mast nav {
    gap: 10px;
  }
  .command-menu .spot {
    width: 29px;
  }
  .p-foot .p-brand {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .again {
    display: none;
  }
}

.connections-layout {
  max-width: 980px;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 4vw, 55px);
}
.connections-layout .p-aside {
  margin-top: 80px;
}
.connections-layout .account-paper {
  min-width: 0;
}
.connect-step {
  border-top: 1px dashed var(--ink);
  margin-top: 24px;
  padding-top: 16px;
}
.connect-step h2 {
  font: 26px/1.2 var(--serif);
  margin: 0 0 10px;
}
.connect-step h2 small {
  color: var(--red);
  margin-right: 6px;
}
.connect-step details {
  margin-top: 12px;
}
.connect-step summary {
  font-weight: 650;
  cursor: pointer;
  padding: 6px 0;
}
.copy-block {
  padding: 12px 14px;
  background: #fffaf0;
  border-left: 3px solid var(--sky);
  margin: 10px 0;
}
.copy-block p,
.copy-block pre,
.copy-block .new-token {
  margin: 0;
}
.copy-block pre,
.copy-block code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.copy-block button {
  margin-top: 8px;
  font: 600 13px var(--sans);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--ink);
  padding: 4px 8px;
  cursor: pointer;
}
@media (max-width: 520px) {
  .connections-layout .p-aside {
    margin-top: 0;
    width: 80px;
    margin-bottom: -12px;
  }
  .connections-layout .account-paper h1 {
    max-width: none;
  }
}
.p-desk .practice-card {
  margin: 20px 0;
  border-left: 4px solid var(--red);
}
.p-desk .practice-card h2 {
  margin: 4px 0;
}
.practice-links {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 15px;
}
.connections-layout .account-paper .overline {
  max-width: none;
}
