@layer reset, base, components, pages, responsive;

@layer reset {
  .Yv4Page,
  .Yv4Page *,
  .Yv4Page *::before,
  .Yv4Page *::after {
    box-sizing: border-box;
  }

  .Yv4Page {
    margin: 0;
  }

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

  .Yv4Page a {
    color: inherit;
  }

  .Yv4Page button,
  .Yv4Page summary {
    font: inherit;
  }
}

@layer base {
  :root {
    --yv4-paper: #f4f6f2;
    --yv4-paper-strong: #e6ebe5;
    --yv4-ink: #101412;
    --yv4-muted: #52605a;
    --yv4-rule: #b8c1bb;
    --yv4-teal: #0f766e;
    --yv4-teal-deep: #07554f;
    --yv4-on-teal: #f5f8f4;
    --yv4-blue: #0b3a5b;
    --yv4-coral: #ce5a3e;
    --yv4-yellow: #e3b93f;
    --yv4-focus: #f36b45;
    --yv4-header-bg: #f4f6f2;
    --yv4-max: 1600px;
    --yv4-gutter: clamp(20px, 4.1vw, 80px);
    --yv4-sans: "Bahnschrift", "Aptos Display", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
    --yv4-body: "Aptos", "BIZ UDPGothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
    --yv4-mono: "Cascadia Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  }

  :root[data-theme="dark"] {
    --yv4-paper: #0b0e0d;
    --yv4-paper-strong: #171c19;
    --yv4-ink: #f1f4ef;
    --yv4-muted: #a7b3ac;
    --yv4-rule: #3a453f;
    --yv4-teal: #4fc7b8;
    --yv4-teal-deep: #72d9cb;
    --yv4-on-teal: #0b0e0d;
    --yv4-blue: #082c45;
    --yv4-coral: #e36b4e;
    --yv4-yellow: #f1c84f;
    --yv4-focus: #ff805f;
    --yv4-header-bg: #0b0e0d;
  }

  .Yv4Page {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--yv4-paper);
    color: var(--yv4-ink);
    font-family: var(--yv4-body);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  .Yv4Page :focus-visible {
    outline: 3px solid var(--yv4-focus);
    outline-offset: 4px;
  }

  .Yv4Skip {
    position: fixed;
    z-index: 100;
    top: 8px;
    left: 8px;
    transform: translateY(-150%);
    padding: 12px 18px;
    background: var(--yv4-ink);
    color: var(--yv4-paper);
    text-decoration: none;
  }

  .Yv4Skip:focus {
    transform: translateY(0);
  }

  .Yv4Kicker {
    margin: 0;
    font-family: var(--yv4-mono);
    font-size: clamp(0.66rem, 0.72vw, 0.78rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .Yv4Lead {
    max-width: 42em;
    margin: 0;
    color: var(--yv4-muted);
    font-size: clamp(1rem, 1.28vw, 1.28rem);
    line-height: 1.75;
  }

  .Yv4TextLink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 14px;
    margin-top: 36px;
    font-weight: 750;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
  }
}

@layer components {
  .Yv4Header {
    position: sticky;
    z-index: 40;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--yv4-rule);
    background: var(--yv4-header-bg);
  }

  .Yv4Header-inner {
    width: min(var(--yv4-max), 100%);
    min-height: 78px;
    margin: 0 auto;
    padding: 0 var(--yv4-gutter);
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 28px;
  }

  .Yv4Brand {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--yv4-ink);
    font-family: var(--yv4-sans);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-decoration: none;
  }

  .Yv4Brand img {
    width: 31px;
    height: 31px;
    object-fit: contain;
    filter: none;
  }

  :root[data-theme="dark"] .Yv4Brand img,
  :root[data-theme="dark"] .Yv4Footer-mark img {
    filter: invert(1);
  }

  .Yv4Nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 32px);
  }

  .Yv4Nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    position: relative;
    color: var(--yv4-muted);
    font-size: 0.78rem;
    font-weight: 680;
    text-decoration: none;
  }

  .Yv4Nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--yv4-teal);
    transition: transform 180ms ease;
  }

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

  .Yv4Nav a[aria-current="page"] {
    color: var(--yv4-ink);
  }

  .Yv4Header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .Yv4Language,
  .Yv4Theme {
    width: 44px;
    height: 44px;
    border: 1px solid var(--yv4-rule);
    background: transparent;
    color: var(--yv4-ink);
  }

  .Yv4Language {
    display: grid;
    place-items: center;
    font-family: var(--yv4-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
  }

  .Yv4Theme {
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
  }

  .Yv4Theme svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.6;
    transition: transform 260ms ease;
  }

  :root[data-theme="dark"] .Yv4Theme svg {
    transform: rotate(45deg);
  }

  .Yv4Language:hover,
  .Yv4Theme:hover {
    border-color: var(--yv4-ink);
    background: var(--yv4-paper-strong);
  }

  .Yv4Menu {
    display: none;
  }

  .Yv4Actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
  }

  .Yv4Button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yv4-ink);
    padding: 0 20px;
    color: var(--yv4-ink);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  }

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

  .Yv4Button-primary {
    background: var(--yv4-ink);
    color: var(--yv4-paper);
  }

  .Yv4Button-invert {
    border-color: var(--yv4-on-teal);
    color: var(--yv4-on-teal);
  }

  .Yv4Section {
    width: min(var(--yv4-max), 100%);
    margin: 0 auto;
    padding: clamp(84px, 11vw, 180px) var(--yv4-gutter);
  }

  .Yv4Section-head {
    display: grid;
    grid-template-columns: minmax(110px, 2fr) minmax(0, 6fr) minmax(220px, 3fr);
    align-items: start;
    gap: clamp(24px, 4vw, 68px);
  }

  .Yv4Section-head h2 {
    margin: -0.12em 0 0;
    font-family: var(--yv4-sans);
    font-size: clamp(2.5rem, 5.3vw, 5.8rem);
    font-weight: 590;
    line-height: 0.98;
    letter-spacing: -0.065em;
  }

  .Yv4Section-head > p:last-child {
    margin: 0;
    color: var(--yv4-muted);
    font-size: clamp(0.98rem, 1.15vw, 1.16rem);
    line-height: 1.75;
  }
}

@layer pages {
  .Yv4Hero {
    width: min(var(--yv4-max), 100%);
    min-height: calc(100svh - 78px);
    margin: 0 auto;
    padding: clamp(54px, 7.4vw, 126px) var(--yv4-gutter) 28px;
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(300px, 7fr);
    grid-template-rows: minmax(520px, 1fr) auto;
    column-gap: clamp(50px, 7vw, 128px);
    row-gap: 42px;
  }

  .Yv4Hero-copy h1 {
    max-width: 10em;
    margin: 18px 0 32px;
    font-family: var(--yv4-sans);
    font-size: clamp(4.6rem, 8.4vw, 9.6rem);
    font-weight: 600;
    line-height: 0.88;
    letter-spacing: -0.08em;
  }

  :lang(en) .Yv4Hero-copy h1 {
    max-width: 8.7em;
    font-size: clamp(4.4rem, 8.1vw, 9rem);
  }

  .Yv4Hero-copy h1 em {
    color: var(--yv4-teal);
    font-style: normal;
  }

  .Yv4Continuity {
    position: relative;
    min-height: 530px;
    align-self: stretch;
    border-left: 1px solid var(--yv4-ink);
    overflow: hidden;
  }

  .Yv4Continuity ol {
    height: 100%;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .Yv4Continuity li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--yv4-mono);
    font-size: clamp(0.74rem, 0.9vw, 0.92rem);
    font-weight: 700;
    transition: transform 300ms ease;
  }

  .Yv4Continuity li:nth-child(1) { --index: 1; }
  .Yv4Continuity li:nth-child(2) { --index: 2; }
  .Yv4Continuity li:nth-child(3) { --index: 3; }
  .Yv4Continuity li:nth-child(4) { --index: 4; }
  .Yv4Continuity li:nth-child(5) { --index: 5; }
  .Yv4Continuity li:nth-child(6) { --index: 6; }

  .Yv4Continuity li::before {
    content: "";
    width: clamp(36px, 5vw, 94px);
    height: 1px;
    background: var(--yv4-ink);
  }

  .Yv4Continuity li small {
    color: var(--yv4-muted);
    font-size: 0.62rem;
    font-weight: 500;
  }

  .Yv4Seam {
    position: absolute;
    top: 58%;
    right: -6px;
    left: -6px;
    height: 15px;
    border: 2px solid var(--yv4-ink);
    background: var(--yv4-teal);
    transform: skewX(-20deg);
    transform-origin: left;
  }

  .Yv4Manifest {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--yv4-ink);
    list-style: none;
    font-family: var(--yv4-sans);
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    font-weight: 650;
    line-height: 1.25;
  }

  .Yv4Manifest small {
    display: block;
    margin-bottom: 8px;
    color: var(--yv4-teal);
    font-family: var(--yv4-mono);
    font-size: 0.62rem;
  }

  .Yv4Editorial {
    display: grid;
    grid-template-columns: 2fr 6fr 3fr;
    gap: clamp(24px, 4vw, 68px);
    border-top: 1px solid var(--yv4-rule);
  }

  .Yv4Editorial h2 {
    max-width: 12em;
    margin: -0.12em 0 0;
    font-family: var(--yv4-sans);
    font-size: clamp(3.2rem, 6.5vw, 7.6rem);
    font-weight: 580;
    line-height: 0.9;
    letter-spacing: -0.075em;
  }

  .Yv4Editorial > p:last-child {
    margin: 0;
    color: var(--yv4-muted);
    font-size: clamp(1rem, 1.18vw, 1.2rem);
  }

  .Yv4WorldPreview {
    width: 100%;
    max-width: none;
    background: var(--yv4-blue);
    color: #f4f8f5;
  }

  .Yv4WorldPreview > * {
    width: min(var(--yv4-max), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .Yv4WorldPreview .Yv4Section-head > p:last-child {
    color: #bfd0d8;
  }

  .Yv4WorldRibbon {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: 78px;
    padding: 0;
    border-top: 9px solid #f4f8f5;
    list-style: none;
  }

  .Yv4WorldRibbon li {
    min-height: 210px;
    padding: 24px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
  }

  .Yv4WorldRibbon li:last-child {
    border-right: 0;
  }

  .Yv4WorldRibbon b,
  .Yv4WorldRibbon span {
    display: block;
  }

  .Yv4WorldRibbon b {
    font-family: var(--yv4-sans);
    font-size: clamp(0.98rem, 1.25vw, 1.35rem);
    line-height: 1.08;
  }

  .Yv4WorldRibbon span {
    margin-top: 16px;
    color: #bfd0d8;
    font-family: var(--yv4-mono);
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .Yv4WorldLegend {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 0;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    list-style: none;
    font-family: var(--yv4-mono);
    font-size: 0.63rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .Yv4Formula {
    width: 100%;
    max-width: none;
    background: var(--yv4-coral);
    color: #0f1210;
  }

  .Yv4Formula > * {
    width: min(var(--yv4-max), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .Yv4Formula h2 {
    display: grid;
    margin-top: 30px;
    font-family: var(--yv4-sans);
    font-size: clamp(3.7rem, 8vw, 9.6rem);
    font-weight: 590;
    line-height: 0.85;
    letter-spacing: -0.075em;
  }

  .Yv4Formula h2 i {
    margin-left: 0.7em;
    font-weight: 280;
    font-style: normal;
  }

  .Yv4Formula > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 82px;
    padding-top: 24px;
    border-top: 1px solid currentColor;
  }

  .Yv4Formula strong {
    font-family: var(--yv4-mono);
    font-size: clamp(0.9rem, 1.3vw, 1.25rem);
  }

  .Yv4Formula > div p {
    max-width: 44em;
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
  }

  .Yv4Modes {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: clamp(42px, 7vw, 120px);
  }

  .Yv4Modes header h2 {
    margin: 22px 0 0;
    font-family: var(--yv4-sans);
    font-size: clamp(3rem, 5.8vw, 6.8rem);
    font-weight: 580;
    line-height: 0.92;
    letter-spacing: -0.07em;
  }

  .Yv4Modes > div {
    border-top: 1px solid var(--yv4-ink);
  }

  .Yv4Modes article {
    display: grid;
    grid-template-columns: 54px minmax(180px, 1fr) minmax(220px, 1.4fr);
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--yv4-rule);
  }

  .Yv4Modes article small {
    font-family: var(--yv4-mono);
  }

  .Yv4Modes article h3,
  .Yv4Modes article p {
    margin: 0;
  }

  .Yv4Modes article h3 {
    font-family: var(--yv4-sans);
    font-size: 1.22rem;
  }

  .Yv4Modes article p {
    color: var(--yv4-muted);
  }

  .Yv4Truth {
    border-top: 1px solid var(--yv4-rule);
  }

  .Yv4Truth > ol {
    margin: 72px 0 0;
    padding: 0;
    border-top: 2px solid var(--yv4-ink);
    list-style: none;
  }

  .Yv4Truth > ol li {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(240px, 2fr) minmax(260px, 3fr);
    gap: 28px;
    padding: 25px 0;
    border-bottom: 1px solid var(--yv4-rule);
  }

  .Yv4Truth li > span {
    width: max-content;
    height: max-content;
    border: 1px solid var(--yv4-rule);
    padding: 4px 7px;
    font-family: var(--yv4-mono);
    font-size: 0.61rem;
    text-transform: uppercase;
  }

  .Yv4Truth li h3,
  .Yv4Truth li p {
    margin: 0;
  }

  .Yv4Truth li h3 {
    font-family: var(--yv4-sans);
    font-size: 1.25rem;
  }

  .Yv4Truth li p {
    color: var(--yv4-muted);
  }

  .Yv4Closing {
    width: 100%;
    padding: clamp(100px, 13vw, 210px) var(--yv4-gutter);
    background: var(--yv4-teal-deep);
    color: var(--yv4-on-teal);
  }

  .Yv4Closing > * {
    width: min(var(--yv4-max), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .Yv4Closing h2 {
    max-width: 11em;
    margin-top: 32px;
    margin-bottom: 34px;
    font-family: var(--yv4-sans);
    font-size: clamp(4rem, 8.7vw, 10rem);
    font-weight: 590;
    line-height: 0.86;
    letter-spacing: -0.08em;
  }

  .Yv4Closing > p:not(.Yv4Kicker) {
    max-width: 46em;
    margin-bottom: 34px;
    font-size: clamp(1rem, 1.25vw, 1.24rem);
  }

  .Yv4PageHero {
    width: min(var(--yv4-max), 100%);
    min-height: 70svh;
    margin: 0 auto;
    padding: clamp(70px, 10vw, 165px) var(--yv4-gutter) clamp(72px, 9vw, 150px);
    display: grid;
    grid-template-columns: 2fr 1fr 8fr;
    align-content: end;
    gap: 22px 38px;
    border-bottom: 1px solid var(--yv4-ink);
  }

  .Yv4PageHero > span {
    justify-self: end;
    font-family: var(--yv4-mono);
    font-size: 0.7rem;
  }

  .Yv4PageHero h1 {
    grid-column: 1 / -1;
    max-width: 12em;
    margin: 24px 0 0;
    font-family: var(--yv4-sans);
    font-size: clamp(4rem, 8.5vw, 10rem);
    font-weight: 590;
    line-height: 0.87;
    letter-spacing: -0.08em;
  }

  .Yv4PageHero > p:last-child {
    grid-column: 3;
    max-width: 48em;
    margin: 12px 0 0;
    color: var(--yv4-muted);
    font-size: clamp(1.04rem, 1.35vw, 1.35rem);
    line-height: 1.72;
  }

  .Yv4FeatureRows {
    width: min(var(--yv4-max), 100%);
    margin: 0 auto;
    padding: clamp(70px, 9vw, 150px) var(--yv4-gutter);
  }

  .Yv4FeatureRows article {
    display: grid;
    grid-template-columns: minmax(120px, 1.4fr) minmax(260px, 3fr) minmax(280px, 4fr);
    gap: clamp(20px, 4vw, 66px);
    padding: clamp(26px, 3.2vw, 52px) 0;
    border-top: 1px solid var(--yv4-rule);
  }

  .Yv4FeatureRows article:last-child {
    border-bottom: 1px solid var(--yv4-rule);
  }

  .Yv4FeatureRows small {
    font-family: var(--yv4-mono);
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .Yv4FeatureRows h2,
  .Yv4FeatureRows p {
    margin: 0;
  }

  .Yv4FeatureRows h2 {
    font-family: var(--yv4-sans);
    font-size: clamp(1.8rem, 3.4vw, 4.2rem);
    font-weight: 570;
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .Yv4FeatureRows p {
    color: var(--yv4-muted);
    font-size: clamp(0.98rem, 1.12vw, 1.14rem);
  }

  .Yv4Principles {
    display: grid;
    grid-template-columns: 2fr 5fr 4fr;
    gap: 32px 64px;
    background: var(--yv4-paper-strong);
  }

  .Yv4Principles h2 {
    margin: 0;
    font-family: var(--yv4-sans);
    font-size: clamp(3rem, 5.5vw, 6.5rem);
    font-weight: 580;
    line-height: 0.94;
    letter-spacing: -0.07em;
  }

  .Yv4Principles ul,
  .Yv4Dimensions ul,
  .Yv4Runtime ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .Yv4Principles li,
  .Yv4Dimensions li,
  .Yv4Runtime li {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.7fr);
    gap: 22px;
    padding: 20px 0;
    border-top: 1px solid var(--yv4-rule);
  }

  .Yv4Principles li span,
  .Yv4Dimensions li span,
  .Yv4Runtime li span {
    color: var(--yv4-muted);
  }

  .Yv4WorldDefinition .Yv4FeatureRows {
    padding-top: 60px;
  }

  .Yv4Dimensions ul,
  .Yv4Runtime ul {
    margin-top: 70px;
    margin-left: calc(20% + 2rem);
  }

  .Yv4Simulation {
    width: 100%;
    padding: clamp(90px, 11vw, 180px) var(--yv4-gutter);
    background: var(--yv4-blue);
    color: #f4f8f5;
  }

  .Yv4Simulation > * {
    width: min(var(--yv4-max), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .Yv4Simulation h2 {
    max-width: 11em;
    margin: 28px 0 0;
    font-family: var(--yv4-sans);
    font-size: clamp(3.3rem, 7vw, 8.5rem);
    font-weight: 580;
    line-height: 0.9;
    letter-spacing: -0.075em;
  }

  .Yv4Simulation ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 84px;
    padding: 0;
    border-top: 8px solid #f4f8f5;
    list-style: none;
  }

  .Yv4Simulation li {
    min-height: 160px;
    padding: 20px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
  }

  .Yv4Simulation li small,
  .Yv4Simulation li b {
    display: block;
  }

  .Yv4Simulation li small {
    color: #bfd0d8;
    font-family: var(--yv4-mono);
    font-size: 0.66rem;
  }

  .Yv4Simulation li b {
    margin-top: 18px;
    font-family: var(--yv4-sans);
    font-size: 1.08rem;
  }

  .Yv4Runtime {
    background: var(--yv4-paper-strong);
  }

  .Yv4DeveloperLinks {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(280px, 4fr);
    gap: clamp(40px, 8vw, 140px);
    background: var(--yv4-blue);
    color: #f4f8f5;
  }

  .Yv4DeveloperLinks h2 {
    margin: 26px 0 36px;
    font-family: var(--yv4-sans);
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 580;
    line-height: 0.92;
    letter-spacing: -0.07em;
  }

  .Yv4Code {
    margin: 0;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding: 22px 0;
    color: #d9e6e8;
    font-family: var(--yv4-mono);
    font-size: 0.78rem;
    line-height: 1.8;
  }

  .Yv4DeveloperLinks nav {
    border-top: 1px solid rgba(255, 255, 255, 0.7);
  }

  .Yv4DeveloperLinks nav a {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-weight: 700;
  }

  .Yv4NonClaims,
  .Yv4EssayLink,
  .Yv4Contact {
    width: 100%;
    padding: clamp(90px, 12vw, 190px) var(--yv4-gutter);
    background: var(--yv4-coral);
    color: #111411;
  }

  .Yv4NonClaims > *,
  .Yv4EssayLink > *,
  .Yv4Contact > * {
    width: min(var(--yv4-max), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .Yv4NonClaims h2,
  .Yv4EssayLink h2 {
    max-width: 11em;
    margin-top: 30px;
    font-family: var(--yv4-sans);
    font-size: clamp(3.6rem, 7.8vw, 9rem);
    font-weight: 590;
    line-height: 0.87;
    letter-spacing: -0.08em;
  }

  .Yv4NonClaims > p:not(.Yv4Kicker),
  .Yv4EssayLink > p:not(.Yv4Kicker) {
    max-width: 52em;
    margin-top: 34px;
    font-size: clamp(1rem, 1.25vw, 1.22rem);
  }

  .Yv4ReleaseActions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 0;
  }

  .Yv4Contact {
    min-height: 55svh;
    background: var(--yv4-teal-deep);
    color: var(--yv4-on-teal);
  }

  .Yv4Contact > a {
    display: block;
    margin-top: 40px;
    font-family: var(--yv4-sans);
    font-size: clamp(2.4rem, 6vw, 7rem);
    font-weight: 580;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.12em;
  }

  .Yv4Contact > p:last-child {
    max-width: 48em;
    margin-top: 40px;
  }

  .Yv4Footer {
    width: 100%;
    padding: clamp(60px, 8vw, 120px) var(--yv4-gutter) 24px;
    background: #090c0b;
    color: #edf2ed;
  }

  .Yv4Footer > * {
    width: min(var(--yv4-max), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .Yv4Footer-mark {
    display: grid;
    grid-template-columns: 70px minmax(0, 8fr);
    gap: 26px;
    align-items: start;
  }

  .Yv4Footer-mark img {
    filter: invert(1);
  }

  .Yv4Footer-mark p {
    max-width: 13em;
    margin: -0.12em 0 0;
    font-family: var(--yv4-sans);
    font-size: clamp(2.7rem, 6vw, 7rem);
    font-weight: 570;
    line-height: 0.9;
    letter-spacing: -0.07em;
  }

  .Yv4Footer > nav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-top: clamp(70px, 10vw, 150px);
    padding-top: 18px;
    border-top: 1px solid #69736d;
  }

  .Yv4Footer > nav a {
    min-height: 44px;
    color: #b6c0ba;
    font-size: 0.76rem;
    text-decoration: none;
  }

  .Yv4Footer-base {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    padding-top: 16px;
    border-top: 1px solid #303632;
    color: #89938d;
    font-family: var(--yv4-mono);
    font-size: 0.62rem;
  }
}

@layer responsive {
  @media (max-width: 1100px) {
    .Yv4Header-inner {
      grid-template-columns: 1fr auto;
    }

    .Yv4Nav {
      display: none;
    }

    .Yv4Menu {
      display: block;
      position: relative;
    }

    .Yv4Menu summary {
      min-width: 66px;
      min-height: 44px;
      display: grid;
      place-items: center;
      border: 1px solid var(--yv4-rule);
      cursor: pointer;
      font-size: 0.72rem;
      font-weight: 700;
      list-style: none;
    }

    .Yv4Menu summary::-webkit-details-marker {
      display: none;
    }

    .Yv4Menu nav {
      position: absolute;
      top: 52px;
      right: 0;
      width: min(310px, calc(100vw - 32px));
      display: grid;
      border: 1px solid var(--yv4-rule);
      background: var(--yv4-paper);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    }

    .Yv4Menu nav a {
      min-height: 50px;
      display: flex;
      align-items: center;
      padding: 0 16px;
      border-bottom: 1px solid var(--yv4-rule);
      text-decoration: none;
      font-size: 0.84rem;
    }

    .Yv4Hero {
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    }

    .Yv4Modes {
      grid-template-columns: 1fr;
    }

    .Yv4Principles {
      grid-template-columns: 1fr 2fr;
    }

    .Yv4Principles ul {
      grid-column: 2;
    }

    .Yv4Footer > nav {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (max-width: 800px) {
    .Yv4Header-inner {
      min-height: 68px;
    }

    .Yv4Brand img {
      width: 28px;
      height: 28px;
    }

    .Yv4Hero {
      min-height: auto;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      padding-top: 60px;
    }

    .Yv4Hero-copy h1,
    :lang(en) .Yv4Hero-copy h1 {
      max-width: none;
      font-size: clamp(3.5rem, 16.7vw, 6rem);
      line-height: 0.9;
    }

    .Yv4Continuity {
      min-height: 410px;
      margin-top: 24px;
    }

    .Yv4Continuity li::before {
      width: 48px;
    }

    .Yv4Seam {
      top: -6px;
      right: auto;
      bottom: -6px;
      left: 47%;
      width: 12px;
      height: auto;
      transform: skewY(-18deg);
    }

    .Yv4Manifest {
      grid-template-columns: 1fr 1fr;
      gap: 24px 14px;
    }

    .Yv4Editorial,
    .Yv4Section-head,
    .Yv4Formula > div,
    .Yv4DeveloperLinks,
    .Yv4Principles,
    .Yv4PageHero,
    .Yv4FeatureRows article {
      grid-template-columns: 1fr;
    }

    .Yv4Editorial h2 {
      font-size: clamp(3.2rem, 15vw, 6rem);
    }

    .Yv4WorldRibbon {
      grid-template-columns: 1fr;
      border-top: 0;
      border-left: 8px solid #f4f8f5;
    }

    .Yv4WorldRibbon li {
      min-height: auto;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.35);
      padding: 18px 20px;
    }

    .Yv4WorldLegend {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .Yv4Formula h2 {
      font-size: clamp(3.2rem, 15vw, 6.8rem);
    }

    .Yv4Formula h2 i {
      margin: 0.1em 0;
    }

    .Yv4Modes article,
    .Yv4Truth > ol li {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .Yv4PageHero {
      min-height: 64svh;
      align-content: end;
    }

    .Yv4PageHero > span {
      position: absolute;
      right: var(--yv4-gutter);
    }

    .Yv4PageHero h1 {
      grid-column: 1;
      font-size: clamp(3.7rem, 17vw, 6.8rem);
    }

    .Yv4PageHero > p:last-child {
      grid-column: 1;
    }

    .Yv4FeatureRows article {
      gap: 16px;
    }

    .Yv4FeatureRows h2 {
      font-size: clamp(2.2rem, 10vw, 4rem);
    }

    .Yv4Principles ul,
    .Yv4Dimensions ul,
    .Yv4Runtime ul {
      grid-column: 1;
      margin-top: 44px;
      margin-left: 0;
    }

    .Yv4Principles li,
    .Yv4Dimensions li,
    .Yv4Runtime li {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .Yv4Simulation ol {
      grid-template-columns: 1fr;
      border-top: 0;
      border-left: 8px solid #f4f8f5;
    }

    .Yv4Simulation li {
      min-height: auto;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    }

    .Yv4Footer-mark {
      grid-template-columns: 50px 1fr;
    }

    .Yv4Footer > nav {
      grid-template-columns: 1fr 1fr;
    }

    .Yv4Footer-base {
      flex-direction: column;
    }
  }

  @media (max-width: 480px) {
    .Yv4Header-actions {
      gap: 6px;
    }

    .Yv4Language,
    .Yv4Theme {
      width: 42px;
      height: 42px;
    }

    .Yv4Menu summary {
      min-width: 58px;
    }

    .Yv4Actions {
      display: grid;
    }

    .Yv4Button {
      width: 100%;
    }

    .Yv4Hero-copy h1,
    :lang(en) .Yv4Hero-copy h1 {
      font-size: clamp(3.3rem, 16vw, 4.7rem);
    }

    .Yv4Manifest {
      grid-template-columns: 1fr;
    }

    .Yv4Formula h2 {
      font-size: clamp(3.1rem, 14.5vw, 5rem);
    }
  }

  @media (min-width: 1900px) {
    .Yv4Hero,
    .Yv4PageHero {
      min-height: 76svh;
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .Yv4Seam {
      animation: yv4-seam-in 850ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
    }

    .Yv4Continuity li {
      animation: yv4-align-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
      animation-delay: calc(var(--index) * 54ms);
    }

    @keyframes yv4-seam-in {
      from {
        clip-path: inset(0 100% 0 0);
      }
      to {
        clip-path: inset(0);
      }
    }

    @keyframes yv4-align-in {
      from {
        transform: translateX(14px);
      }
      to {
        transform: translateX(0);
      }
    }
  }

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

  @media (prefers-contrast: more) {
    :root {
      --yv4-rule: currentColor;
    }

    .Yv4Page {
      text-decoration-thickness: 2px;
    }
  }

  @media print {
    .Yv4Header,
    .Yv4Theme,
    .Yv4Menu,
    .Yv4Actions {
      display: none !important;
    }

    .Yv4Page {
      background: #fff !important;
      color: #000 !important;
    }

    .Yv4Section,
    .Yv4PageHero,
    .Yv4FeatureRows {
      break-inside: avoid;
    }
  }
}
