.portlift-hero-copy {
  max-width: 36rem;
  margin-top: 1rem;
  color: #eeeae5;
  font-size: clamp(.875rem, 1.55vw, 1.0625rem);
  line-height: 1.45;
  text-shadow: 0 1px 14px #000, 0 1px 6px #000;
}

[data-hero-actions] { display: flex; flex-wrap: wrap; gap: .625rem; }
.pl-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: .625rem;
  padding: .5rem .8125rem;
  font-size: .875rem;
  white-space: nowrap;
  line-height: 1.4;
}
.pl-primary { color: #121212; border-color: #fff; background: #fff; }
.pl-primary:hover { background: #e9e5e0; }
.pl-secondary { color: #fff; background: #1414149c; }
.pl-secondary:hover { background: #2b2724; }

.pl-section { position: relative; padding: clamp(4rem, 9vw, 8rem) 0; }
.pl-shell { width: min(100% - clamp(2rem, 9vw, 6rem), 72rem); margin-inline: auto; }
.pl-dark, .pl-footer { background: #0b0b0b; color: #f7f4f0; }
.pl-light { background: #fff; color: #1d1c1b; }
.pl-migration, .pl-download, .pl-faq .pl-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; gap: clamp(2.5rem, 8vw, 7rem); }
.pl-section h2 { font-family: var(--font-display); font-size: clamp(2.125rem, 4.5vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 400; text-wrap: balance; }
.pl-label {
  display: inline-block;
  width: fit-content;
  border: 1px solid currentColor;
  border-radius: .4rem;
  padding: .22rem .45rem;
  font-size: .69rem;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}
.pl-intro > .pl-label { margin-bottom: 1.125rem; }
.pl-intro > p { margin-top: 1rem; max-width: 28rem; color: #57534f; }
.pl-intro > .pl-text-link { display: inline-block; margin-top: 1.4rem; }
.pl-text-link, .pl-receipt a, .pl-questions a, .pl-files a { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .24em; }
.pl-dark .pl-text-link:hover, .pl-dark .pl-receipt a:hover { color: #f0a88f; }
.pl-steps { display: grid; gap: .95rem; margin-top: 1.5rem; padding-inline-start: 1.35rem; list-style: decimal; }
.pl-steps li::marker { color: #f0a88f; }
.pl-steps p, .pl-receipt p { color: #bdb5ae; margin-top: .2rem; line-height: 1.5; }

.pl-preview { min-width: 0; overflow: hidden; border: 1px solid #393330; border-radius: 1rem; background: #151312; }
.pl-preview-header, .pl-preview details, .pl-receipt { padding: 1.125rem clamp(1rem, 3vw, 1.5rem); }
.pl-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pl-preview-header h3 { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.2; }
.pl-muted { color: #bdb5ae; font-size: .8125rem; }
.pl-preview details, .pl-receipt { border-top: 1px solid #393330; }
.pl-preview ul { margin: .65rem 0 1rem; }
.pl-preview li { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding-block: .35rem; font-size: .8125rem; }
.pl-preview li code { overflow-wrap: anywhere; }
.pl-preview li span { color: #f3b19a; text-transform: capitalize; }
.pl-preview pre, .pl-os-panel pre { overflow-x: auto; padding: .8rem; border-radius: .5rem; font-size: .8125rem; line-height: 1.6; }
.pl-preview pre { margin-top: .4rem; color: #bce2b2; background: #0a0a0a; }
.pl-preview pre span { display: block; }
.pl-diff-title { font-size: .8125rem; }
.pl-receipt a { display: inline-block; margin-top: .65rem; font-size: .875rem; }

.pl-install { min-width: 0; margin: 0; padding: 1rem; border: 1px solid #ded9d4; border-radius: 1rem; background: #f8f7f6; color: #1d1c1b; }
.pl-os-input, .pl-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pl-os-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; border-radius: .6rem; background: #eeebe8; padding: .25rem; }
.pl-os-labels label { display: block; min-height: 2.5rem; padding: .55rem .25rem; text-align: center; border-radius: .4rem; font-size: .875rem; cursor: pointer; }
#pl-os-macos:checked ~ .pl-os-labels [for="pl-os-macos"],
#pl-os-windows:checked ~ .pl-os-labels [for="pl-os-windows"],
#pl-os-linux:checked ~ .pl-os-labels [for="pl-os-linux"] { color: #fff; background: #1d1c1b; }
#pl-os-macos:focus-visible ~ .pl-os-labels [for="pl-os-macos"],
#pl-os-windows:focus-visible ~ .pl-os-labels [for="pl-os-windows"],
#pl-os-linux:focus-visible ~ .pl-os-labels [for="pl-os-linux"] { outline: 2px solid #ad5339; outline-offset: 1px; }
.pl-os-panel { display: none; padding: 1.125rem .25rem .25rem; }
#pl-os-macos:checked ~ .pl-os-macos, #pl-os-windows:checked ~ .pl-os-windows, #pl-os-linux:checked ~ .pl-os-linux { display: block; }
.pl-files { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .9rem; font-size: .875rem; }
.pl-os-panel p { color: #57534f; font-size: .875rem; }
.pl-os-panel pre { margin-block: .625rem; background: #eae6e2; }

.pl-faq { border-top: 1px solid #e9e5e0; }
.pl-questions details { border-top: 1px solid #dad6d2; padding: 1rem 0; }
.pl-questions details:last-child { border-bottom: 1px solid #dad6d2; }
.pl-section summary { cursor: pointer; min-height: 1.5rem; font-weight: 600; }
.pl-questions p { margin: .65rem 0 0; color: #57534f; line-height: 1.55; }
.pl-footer { padding: 2rem 0; }
.pl-footer .pl-shell, .pl-footer nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 1.6rem; }
.pl-footer nav { font-size: .875rem; color: #d3ccc6; }
.pl-footer a:hover { color: #fff; }
.pl-wordmark { font-family: var(--font-display); font-size: 1.625rem; letter-spacing: -.05em; }

#models { position: relative; }
.pl-matrix { position: relative; margin-top: -1px; background: #fff; color: #1d1c1b; padding-bottom: clamp(2rem, 5vw, 4rem); text-align: center; }
.pl-matrix a { display: inline-flex; align-items: center; min-height: 2.75rem; }
#portlift-downloads, #use-cases, #faq { scroll-margin-top: 5rem; }

@media (max-width: 49rem) {
  .pl-migration, .pl-download, .pl-faq .pl-shell { grid-template-columns: minmax(0, 1fr); }
  .pl-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-section, .pl-footer { scroll-behavior: auto; }
}

/* Six destinations need a wider breakpoint than the original four-link menu. */
.pl-navigation { opacity: 1 !important; }
.pl-navigation a { white-space: nowrap; }
.pl-navigation button:focus-visible, .pl-navigation a:focus-visible { outline: 2px solid #d57d5c; outline-offset: 4px; }
@media (min-width: 768px) and (max-width: 1120px) {
  .pl-navigation .md\:block { display: none !important; }
  .pl-navigation button.md\:hidden { display: flex !important; }
  .pl-navigation div.md\:hidden { display: block !important; }
}
.pl-navigation nav { max-height: 100dvh; overflow-y: auto; padding-bottom: 2rem; }
@media (max-width: 1120px) { .pl-navigation nav { gap: .5rem; } }

/* Use Portlift's four-part mark in the navigation; preserve the hero scene. */
.pl-navigation a[href="/"] > svg { display: none; }
.pl-navigation a[href="/"]::before { content:""; display:block; width:34px; height:34px; margin-right:8px; flex-shrink:0; background:currentColor; -webkit-mask:url('/site-assets/brand/portlift-mark.png') center / 145% no-repeat; mask:url('/site-assets/brand/portlift-mark.png') center / 145% no-repeat; }
.pl-light, .pl-matrix { background: #eeece6; }

.pl-wordmark { display:inline-flex; align-items:center; gap:8px; }
.pl-wordmark::before { content:""; display:block; width:36px; height:36px; flex-shrink:0; background:currentColor; -webkit-mask:url('/site-assets/brand/portlift-mark.png') center / 145% no-repeat; mask:url('/site-assets/brand/portlift-mark.png') center / 145% no-repeat; }
/* Keep the animated Portlift card, replacing only its legacy badge artwork. */
[class~="size-[28.371px]"]:has(> svg[viewBox="0 0 34 24"]) > svg { display:none; }
[class~="size-[28.371px]"]:has(> svg[viewBox="0 0 34 24"])::after { content:""; width:22px; height:22px; background:#171615; -webkit-mask:url('/site-assets/brand/portlift-mark.png') center / 145% no-repeat; mask:url('/site-assets/brand/portlift-mark.png') center / 145% no-repeat; }
