.yp-page {
  --yp-ink: var(--ink, #10151d);
  --yp-paper: var(--paper, #f7f7f3);
  --yp-muted: #535860;
  --yp-line: #d8d7d2;
  --yp-dark: var(--ink, #10151d);
  --yp-accent: #ff9c59;
  --yp-focus: #82e9f0;
  background: var(--yp-paper);
  color: var(--yp-ink);
  font-family: "DM Sans", Arial, sans-serif;
}

.yp-page *, .yp-page *::before, .yp-page *::after { box-sizing: border-box; }
.yp-page [hidden] { display: none !important; }
.yp-page h1, .yp-page h2, .yp-page h3, .yp-page figure, .yp-page blockquote, .yp-page p,
.yp-page dl, .yp-page dd, .yp-page ol, .yp-page ul { margin: 0; }
.yp-page h1, .yp-page h2, .yp-page h3 { font-family: Manrope, Arial, sans-serif; font-weight: 800; }
.yp-page a { color: inherit; }
.yp-page a:focus-visible, .yp-page button:focus-visible, .yp-page input:focus-visible,
.yp-page textarea:focus-visible { outline: 3px solid #157383; outline-offset: 4px; }
.yp-hero a:focus-visible, .yp-contact-intro a:focus-visible, .yp-contact .yp-crumb a:focus-visible { outline-color: var(--yp-focus); }
.yp-page svg { width: 20px; height: 20px; flex: 0 0 auto; }
.yp-wrap { width: min(100%, 1560px); padding-inline: var(--gutter, clamp(22px, 5.05vw, 84px)); margin-inline: auto; }
.yp-hero, .yp-contact { color: #f6f7fc; background: var(--yp-dark); }
.yp-crumb {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem;
  padding-block: 1.65rem; color: #c2c2c6; font-size: .89rem;
}
.yp-crumb a { text-decoration: none; }
.yp-crumb a:hover { text-decoration: underline; text-underline-offset: .25em; }
.yp-crumb span[aria-current] { color: #f6f7fc; }
.yp-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center; gap: clamp(2.8rem, 6.5vw, 7rem);
  padding-block: clamp(2.8rem, 5vw, 5.5rem) clamp(4.1rem, 7.5vw, 7rem);
}
.yp-intro h1, .yp-contact-intro h1 {
  font-size: clamp(2.9rem, 5.1vw, 5.4rem); line-height: 1.03; letter-spacing: -.061em;
  overflow-wrap: break-word; text-wrap: balance;
}
.yp-intro p, .yp-contact-intro > p {
  color: #c4c6ce; font-size: clamp(1.05rem, 1.32vw, 1.24rem); line-height: 1.58;
  max-width: 51ch; margin: 1.55rem 0 0;
}
.yp-hero-link, .yp-text-link {
  display: inline-flex; align-items: center; gap: .8rem; text-decoration: none;
  font-weight: 700; min-height: 44px; margin-top: 1.35rem;
}
.yp-hero .yp-hero-link { color: var(--yp-accent); }
.yp-hero-link:hover, .yp-text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.yp-page .yp-text-link { color: #813c0b; }
.yp-figure {
  position: relative; border: 1px solid #48474b; overflow: hidden;
  background: #191b21; border-radius: 6px; box-shadow: 0 18px 42px #0003;
  color: #f1f1f3;
}
.yp-figure figcaption {
  padding: 1.15rem clamp(1.25rem, 2.2vw, 2.1rem);
  border-bottom: 1px solid #414047; display: flex; align-items: center; gap: .65rem;
  color: #e0dfe1; font-size: .87rem; font-weight: 600;
}
.yp-figure figcaption svg { width: 16px; height: 16px; color: var(--yp-accent); }
.yp-figure-body {
  padding: clamp(1.3rem, 2.6vw, 2.6rem);
  background-image: radial-gradient(circle, #b2a39427 .8px, transparent .9px);
  background-size: 16px 16px;
}
.yp-figure small, .yp-eyeline {
  display: block; font: 500 .72rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .075em; text-transform: uppercase;
}
.yp-model-root, .yp-policy, .yp-endpoint { display: flex; align-items: center; gap: 1rem; }
.yp-model-root i, .yp-policy i, .yp-endpoint > svg {
  display: grid; place-items: center; height: 43px; width: 43px; flex: 0 0 auto;
  background: #292521; border: 1px solid #745439; border-radius: 6px; color: var(--yp-accent);
}
.yp-model-root small, .yp-policy small, .yp-tool small, .yp-zone small { color: var(--yp-accent); }
.yp-model-root strong, .yp-policy strong, .yp-zone strong {
  display: block; font: 800 clamp(1.15rem, 2.2vw, 1.6rem)/1.25 Manrope, Arial, sans-serif;
  letter-spacing: -.04em; margin-top: .24rem;
}
.yp-branches { padding: 0 0 0 20px; list-style: none; }
.yp-branches li {
  position: relative; padding: .85rem 0 .42rem 1.6rem; margin-left: 1px;
  border-left: 1px solid #85654d; display: flex; align-items: baseline; gap: .7rem;
}
.yp-branches li:last-child { border-color: transparent; }
.yp-branches li:last-child::after {
  content: ''; position: absolute; top: 0; left: -1px; height: 58%; width: 1px; background: #85654d;
}
.yp-branches li::before { content: ''; position: absolute; left: 0; top: 58%; height: 1px; width: 1.2rem; background: #85654d; }
.yp-branches span { color: #c0bbc0; font-size: .86rem; }
.yp-branches b { font-size: 1.02rem; }
.yp-rule {
  display: flex; align-items: flex-start; gap: .65rem; border-top: 1px solid #414047;
  margin-top: 1.2rem; padding-top: .95rem; color: #cdcbd0; font-size: .85rem; line-height: 1.5;
}
.yp-rule svg { color: var(--yp-accent); width: 17px; height: 17px; }
.yp-query { padding-left: 1rem; border-left: 2px solid var(--yp-accent); font-size: clamp(1.05rem, 1.85vw, 1.42rem); line-height: 1.38; }
.yp-sequence { list-style: none; padding: 1.3rem 0 0; }
.yp-sequence li { position: relative; display: grid; gap: .28rem; padding: .56rem 0 .56rem 1.4rem; border-left: 1px solid #785a47; }
.yp-sequence li::before { content: ''; width: 7px; height: 7px; position: absolute; left: -4px; top: 1.02rem; background: var(--yp-accent); border-radius: 50%; }
.yp-sequence b, .yp-endpoint b { font-size: 1rem; }
.yp-sequence span, .yp-zone span, .yp-tool span, .yp-endpoint small { color: #c4c2c7; font-size: .86rem; line-height: 1.45; }
.yp-tool, .yp-zone { border: 1px solid #795b46; border-radius: 4px; background: #262220; padding: 1.1rem 1.2rem; }
.yp-tool code { display: block; color: #fff0e5; overflow-wrap: anywhere; font: 500 clamp(1.04rem, 1.8vw, 1.45rem)/1.5 ui-monospace, monospace; margin: .2rem 0; }
.yp-channel { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: 1.15rem 0; color: var(--yp-accent); font: .78rem/1.4 ui-monospace, monospace; }
.yp-channel span { height: 1px; width: 26px; background: #8e6850; }
.yp-endpoint, .yp-zone-external { padding: 1rem; border: 1px solid #525057; background: #202126; border-radius: 4px; }
.yp-endpoint > svg { width: 36px; height: 36px; padding: 7px; }
.yp-endpoint small { text-transform: none; letter-spacing: normal; font-family: inherit; margin-top: .16rem; }
.yp-zone span { display: block; margin-top: .45rem; }
.yp-zone-external small { color: #ccc4c2; }
.yp-page .yp-records { margin-top: 1.5rem; }
.yp-records > div { display: flex; justify-content: space-between; gap: .85rem; padding: .85rem 0; border-top: 1px solid #414047; }
.yp-records dt { color: #bfbec4; font-size: .86rem; }
.yp-records dd { text-align: right; font-size: .92rem; }

.yp-explain {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(3rem, 9vw, 10rem);
  padding-block: clamp(3.8rem, 8vw, 7.2rem);
}
.yp-question h2, .yp-pilot h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
.yp-explain p, .yp-pilot p { color: var(--yp-muted); line-height: 1.65; font-size: 1.02rem; }
.yp-question p { margin-top: 1.4rem; max-width: 51ch; }
.yp-topics section { padding: 1.22rem 0 1.42rem; border-top: 1px solid var(--yp-line); }
.yp-topics h3 { font-size: 1.23rem; letter-spacing: -.025em; line-height: 1.3; margin-bottom: .5rem; }
.yp-pilot { background: #eeede7; border-block: 1px solid var(--yp-line); }
.yp-pilot-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: end; gap: clamp(3rem, 9vw, 10rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.yp-eyeline { color: #813c0b; margin: 0 0 .9rem; }
.yp-text-link { margin: .65rem 0 0; }
.yp-references { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 3rem; padding-block: 2.5rem; }
.yp-references h2 { font-size: 1rem; letter-spacing: -.015em; }
.yp-references div { display: flex; flex-wrap: wrap; gap: .7rem 2rem; }
.yp-references a { display: inline-flex; align-items: center; gap: .4rem; text-underline-offset: .22em; font-size: .92rem; }
.yp-references a:hover, .yp-check a:hover { color: #813c0b; }
.yp-references svg, .yp-contact-channel svg { width: 13px; height: 13px; }

.yp-contact-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(3rem, 7vw, 8rem); padding: clamp(2.2rem, 3.5vw, 4rem) 0 clamp(4rem, 8vw, 8rem); align-items: start; }
.yp-contact-intro { padding-top: 1.4rem; }
.yp-contact-channel { margin-top: clamp(2.3rem, 5vw, 5rem); padding-top: 1.35rem; border-top: 1px solid #45444b; display: grid; justify-items: start; gap: .55rem; }
.yp-contact-channel h2 { font-size: .96rem; margin-bottom: .35rem; letter-spacing: -.015em; }
.yp-contact-channel a { display: inline-flex; align-items: center; gap: .45rem; font-size: .97rem; text-underline-offset: .26em; color: #dedde2; }
.yp-contact-channel a:hover { color: var(--yp-accent); }
.yp-form-panel { padding: clamp(1.35rem, 3.3vw, 3rem); border-radius: 8px; background: var(--yp-paper); color: var(--yp-ink); }
.yp-form-panel h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); letter-spacing: -.05em; line-height: 1.15; }
.yp-form-panel > p, .yp-form-panel noscript p { margin-top: .7rem; color: var(--yp-muted); font-size: .97rem; line-height: 1.5; }
.yp-form { display: grid; gap: 1.12rem; margin: 1.55rem 0 0; }
.yp-form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.yp-form label { display: block; font-weight: 600; font-size: .91rem; line-height: 1.45; margin-bottom: .38rem; }
.yp-form label span { font-weight: 400; }
.yp-form input:not([type=checkbox]), .yp-form textarea {
  width: 100%; border: 1px solid #aaa8a3; border-radius: 3px; background: #fff; min-height: 44px;
  color: #18191e; padding: .62rem .75rem; font: inherit; font-size: 1rem;
}
.yp-form textarea { resize: vertical; min-height: 85px; display: block; }
.yp-form ::placeholder { color: #696a70; opacity: 1; }
.yp-form .yp-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .85rem; margin: 0; color: var(--yp-muted); }
.yp-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: .14rem 0; accent-color: #8c430e; }
.yp-check a { text-decoration: underline; text-underline-offset: .2em; }
.yp-form button, .yp-review-actions a, .yp-review-actions button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; padding: .8rem 1.1rem;
  min-height: 46px; border: 1px solid var(--yp-ink); border-radius: 4px; font: 600 .96rem/1.3 "DM Sans", Arial, sans-serif;
  color: white; background: var(--yp-ink); cursor: pointer; text-decoration: none;
}
.yp-form button { justify-self: start; }
.yp-form button:hover, .yp-review-actions a:hover { background: #39393e; }
.yp-review { border-top: 1px solid var(--yp-line); margin-top: 1.4rem; padding-top: 1.4rem; }
.yp-review h3 { font-size: 1.22rem; letter-spacing: -.03em; }
.yp-review h3:focus-visible { outline: 2px solid #157383; outline-offset: 4px; }
.yp-review p { margin: .9rem 0; line-height: 1.6; font-size: .95rem; color: var(--yp-muted); }
.yp-review [data-contact-text] { color: var(--yp-ink); white-space: pre-wrap; overflow-wrap: anywhere; background: #eeede8; padding: 1rem; border-radius: 4px; }
.yp-review-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.yp-review-actions button { background: transparent; border-color: #a3a19a; color: var(--yp-ink); }
.yp-review-actions button:hover { background: #e9e8e2; }
@media(max-width: 850px) {
  .yp-hero-grid, .yp-contact-grid { grid-template-columns: minmax(0,1fr); gap: 2.75rem; }
  .yp-hero-grid { padding-top: 2rem; }
  .yp-figure { max-width: 570px; }
  .yp-explain, .yp-pilot-grid { gap: 2.5rem; }
  .yp-contact-intro { padding-top: 0; }
  .yp-contact-channel { margin-top: 1.65rem; max-width: 480px; }
  .yp-form-panel { max-width: 650px; }
}
@media(max-width: 620px) {
  .yp-explain, .yp-pilot-grid { grid-template-columns: minmax(0,1fr); gap: 1.7rem; }
  .yp-crumb { padding-block: 1.25rem; }
  .yp-intro h1, .yp-contact-intro h1 { font-size: clamp(2.65rem, 9.7vw, 3.75rem); }
  .yp-hero-grid { padding-block: 1.65rem 3.25rem; gap: 2rem; }
  .yp-form-pair { grid-template-columns: minmax(0,1fr); gap: 1.12rem; }
  .yp-contact-grid { padding-top: 1.65rem; }
  .yp-references { flex-direction: column; }
}
