/* Pythia public landing flow. Scoped so Blog, Architecture, and Build Notes retain their own surfaces. */
.public-landing {
  --pyl-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --pyl-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pyl-section-space: clamp(88px, 11vw, 156px);
  --pyl-radius: 8px;
  overflow-x: clip;
}

.public-landing .public-shell {
  width: min(1360px, calc(100vw - 48px));
}

.public-landing .public-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 82px;
  border-bottom: 1px solid transparent;
  transition: min-height 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.public-landing .public-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 8, 20, 0.74);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease;
}

.public-landing .public-nav.is-scrolled {
  min-height: 68px;
  border-color: var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.public-landing .public-nav.is-scrolled::before {
  opacity: 1;
}

.public-landing.theme-slate .public-nav::before,
html.theme-slate .public-landing .public-nav::before {
  background: rgba(16, 18, 22, 0.8);
}

.pyl-main {
  position: relative;
}

.pyl-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.pyl-arrow {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pyl-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 7vw, 104px) 0 clamp(84px, 9vw, 132px);
}

.pyl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: center;
}

.pyl-hero-copy {
  position: relative;
  z-index: 2;
}

.pyl-eyebrow,
.pyl-section-heading > p,
.pyl-final > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--pyl-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pyl-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pyl-live-dot,
.pyl-product-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(94, 230, 168, 0.1), 0 0 18px rgba(94, 230, 168, 0.68);
}

.pyl-hero h1,
.pyl-section-heading h2,
.pyl-final h2 {
  margin: 0;
  font-family: var(--pyl-display);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.pyl-hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 6.4vw, 7.4rem);
  line-height: 0.9;
}

.pyl-hero h1 em,
.pyl-section-heading h2 em,
.pyl-final h2 em {
  color: var(--green);
  font-style: normal;
  font-weight: 500;
}

.pyl-hero-lede {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.68;
}

.pyl-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pyl-button {
  min-height: 50px;
  gap: 9px;
  padding-inline: 19px;
  font-size: 0.9rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.pyl-button:hover,
.pyl-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.pyl-button.primary:hover,
.pyl-button.primary:focus-visible {
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.2);
}

.pyl-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.pyl-proof-strip > div {
  min-width: 0;
  padding: 17px 16px 0 0;
}

.pyl-proof-strip > div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.pyl-proof-strip strong,
.pyl-proof-strip span {
  display: block;
}

.pyl-proof-strip strong {
  color: var(--text);
  font-family: var(--pyl-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.pyl-proof-strip span {
  margin-top: 4px;
  color: var(--quiet);
  font-size: 0.78rem;
  line-height: 1.4;
}

.pyl-product-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 24px 0 0 28px;
  perspective: 1600px;
}

.pyl-product-stage::before {
  content: "";
  position: absolute;
  inset: 3% -7% -13% 5%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.13), rgba(94, 230, 168, 0.06) 38%, transparent 70%);
  filter: blur(28px);
}

.pyl-product-orbit {
  position: absolute;
  inset: -6% 0 -10% 3%;
  z-index: -1;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.pyl-product-orbit::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 8%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.7);
}

.pyl-product-window {
  position: relative;
  display: block;
  aspect-ratio: 1891 / 915;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--pyl-radius);
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transform: rotateY(-4deg) rotateX(1.2deg);
  transform-origin: center;
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms ease, box-shadow 380ms ease;
}

.pyl-product-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.05), transparent 28% 76%, rgba(34, 211, 238, 0.04));
  pointer-events: none;
}

.pyl-product-window:hover,
.pyl-product-window:focus-visible {
  transform: rotateY(0) rotateX(0) translateY(-7px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.pyl-product-window img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 7px;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pyl-product-window:hover img {
  transform: scale(1.012);
}

.pyl-product-status,
.pyl-product-cta {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(3, 8, 18, 0.82);
  backdrop-filter: blur(12px);
  font-family: var(--pyl-mono);
  font-size: 0.67rem;
  font-weight: 600;
}

.pyl-product-status {
  top: 17px;
  left: 17px;
  padding: 8px 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pyl-product-status i {
  width: 6px;
  height: 6px;
}

.pyl-product-cta {
  right: 17px;
  bottom: 17px;
  padding: 9px 11px;
  color: var(--text);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.pyl-product-window:hover .pyl-product-cta,
.pyl-product-window:focus-visible .pyl-product-cta {
  opacity: 1;
  transform: translateY(0);
}

.pyl-product-stage figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
  color: var(--quiet);
  font-family: var(--pyl-mono);
  font-size: 0.65rem;
  line-height: 1.45;
}

.pyl-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--quiet);
  font-family: var(--pyl-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.pyl-scroll-cue i {
  position: relative;
  width: 1px;
  height: 32px;
  overflow: hidden;
  background: var(--line-strong);
}

.pyl-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: translateY(-100%);
  animation: pyl-scroll-line 1.8s ease-in-out infinite;
}

@keyframes pyl-scroll-line {
  55%, 100% { transform: translateY(100%); }
}

.pyl-section {
  padding: var(--pyl-section-space) 0;
  scroll-margin-top: 76px;
}

.pyl-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr);
  column-gap: clamp(38px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.pyl-section-heading > p {
  grid-column: 1 / -1;
  margin-bottom: 18px;
  color: var(--green);
}

.pyl-section-heading h2 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.94;
}

.pyl-section-heading > div {
  max-width: 560px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.pyl-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.pyl-feature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--pyl-radius);
  background: linear-gradient(145deg, rgba(14, 26, 48, 0.88), rgba(7, 16, 29, 0.72));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pyl-feature::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -86px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 68%);
  pointer-events: none;
}

.pyl-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 230, 168, 0.32);
  background: linear-gradient(145deg, rgba(17, 31, 56, 0.94), rgba(8, 18, 33, 0.82));
}

.pyl-feature-wide { grid-column: span 7; min-height: 420px; }
.pyl-feature-tall { grid-column: span 5; min-height: 420px; }
.pyl-feature-third { grid-column: span 4; min-height: 330px; }

.pyl-feature-number {
  color: var(--green);
  font-family: var(--pyl-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pyl-feature h3 {
  max-width: 630px;
  margin: 20px 0 12px;
  font-family: var(--pyl-display);
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.pyl-feature-third h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
}

.pyl-feature p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.pyl-mini-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
}

.pyl-mini-flow span,
.pyl-boundary span {
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 9px 10px;
  color: var(--muted);
  font-family: var(--pyl-mono);
  font-size: 0.66rem;
  text-align: center;
}

.pyl-mini-flow i {
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--green));
}

.pyl-state-stack {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 30px;
}

.pyl-state-stack > div {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(3, 8, 18, 0.34);
  color: var(--muted);
  font-size: 0.75rem;
}

.pyl-state-stack i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.pyl-state-stack b {
  color: var(--green);
  font-family: var(--pyl-mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
}

.pyl-bar-field {
  height: 82px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.pyl-bar-field i {
  width: 100%;
  height: 54%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(94, 230, 168, 0.22));
}

.pyl-bar-field i:nth-child(2) { height: 82%; }
.pyl-bar-field i:nth-child(3) { height: 64%; }
.pyl-bar-field i:nth-child(4) { height: 100%; }
.pyl-bar-field i:nth-child(6) { height: 70%; }
.pyl-bar-field i:nth-child(7) { height: 90%; }
.pyl-bar-field i.is-loss { height: 38%; background: linear-gradient(180deg, var(--rose), rgba(251, 113, 133, 0.18)); }

.pyl-boundary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.pyl-boundary .pyl-arrow {
  color: var(--green);
}

.pyl-text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.pyl-text-link:hover .pyl-arrow {
  transform: translateX(3px);
}

.pyl-surface-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pyl-surface-links a {
  min-width: 0;
  padding: 25px 20px;
  color: var(--text);
  text-decoration: none;
  transition: background 160ms ease;
}

.pyl-surface-links a + a {
  border-left: 1px solid var(--line);
}

.pyl-surface-links a:hover,
.pyl-surface-links a:focus-visible {
  background: rgba(34, 211, 238, 0.05);
}

.pyl-surface-links span,
.pyl-surface-links strong {
  display: block;
}

.pyl-surface-links span {
  color: var(--quiet);
  font-family: var(--pyl-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pyl-surface-links strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  font-family: var(--pyl-display);
  font-size: 1.05rem;
  font-weight: 550;
}

.pyl-proof-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
}

.pyl-proof-media {
  position: relative;
  display: block;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pyl-radius);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  transition: transform 220ms ease, border-color 220ms ease;
}

.pyl-proof-media:hover,
.pyl-proof-media:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(94, 230, 168, 0.4);
}

.pyl-proof-media img {
  width: 100%;
  max-height: 660px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  background: rgba(2, 6, 23, 0.52);
}

.pyl-proof-media > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 4px 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.pyl-proof-media b {
  color: var(--green);
  font-family: var(--pyl-mono);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pyl-proof-media .pyl-arrow {
  margin-left: auto;
}

.pyl-principles {
  border-top: 1px solid var(--line);
}

.pyl-principles article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.pyl-principles article > span {
  color: var(--green);
  font-family: var(--pyl-mono);
  font-size: 0.7rem;
}

.pyl-principles h3 {
  margin: 0 0 7px;
  font-family: var(--pyl-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 550;
  letter-spacing: -0.03em;
}

.pyl-principles p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pyl-story-section {
  border-top: 1px solid var(--line);
}

.pyl-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(50px, 9vw, 136px);
}

.pyl-story-lede {
  max-width: 840px;
  margin: 0;
  font-family: var(--pyl-display);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.pyl-story-grid blockquote {
  margin: 46px 0 0;
  padding: 24px 0 0 28px;
  border-top: 1px solid var(--line-strong);
  border-left: 2px solid var(--green);
  color: var(--muted);
  font-family: var(--pyl-display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
}

.pyl-story-grid blockquote small {
  display: block;
  margin-top: 12px;
  color: var(--quiet);
  font-family: var(--pyl-mono);
  font-size: 0.64rem;
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pyl-story-grid dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.pyl-story-grid dl > div {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.pyl-story-grid dt {
  color: var(--green);
  font-family: var(--pyl-mono);
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pyl-story-grid dd {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.pyl-final {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 164px) clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.pyl-final::before {
  content: "";
  position: absolute;
  inset: 10% 8% auto;
  height: 300px;
  z-index: -1;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), rgba(94, 230, 168, 0.04) 38%, transparent 72%);
  filter: blur(38px);
}

.pyl-final > p {
  color: var(--green);
}

.pyl-final h2 {
  max-width: 1050px;
  margin: 18px auto 0;
  font-size: clamp(3.2rem, 7vw, 7.6rem);
  line-height: 0.92;
}

.pyl-final-copy {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.pyl-final .pyl-actions {
  justify-content: center;
}

.public-landing .public-footer {
  margin-top: 0;
}

.pyl-motion [data-pyl-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pyl-motion [data-pyl-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .pyl-hero-grid {
    grid-template-columns: 1fr;
  }

  .pyl-hero-copy {
    max-width: 880px;
  }

  .pyl-product-stage {
    width: min(100%, 900px);
  }

  .pyl-feature-wide,
  .pyl-feature-tall,
  .pyl-feature-third {
    grid-column: span 6;
  }

  .pyl-feature-third:last-child {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 980px) {
  .pyl-section-heading,
  .pyl-proof-layout,
  .pyl-story-grid {
    grid-template-columns: 1fr;
  }

  .pyl-section-heading > div {
    margin-top: 24px;
  }

  .pyl-surface-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pyl-surface-links a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pyl-surface-links a:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .pyl-proof-media {
    width: min(100%, 620px);
  }
}

@media (max-width: 720px) {
  .public-landing .public-shell {
    width: min(100% - 28px, 1360px);
  }

  .pyl-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .pyl-hero h1 {
    font-size: clamp(3.35rem, 16vw, 5.4rem);
  }

  .pyl-proof-strip {
    grid-template-columns: 1fr;
  }

  .pyl-proof-strip > div {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .pyl-proof-strip > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .pyl-proof-strip span {
    margin-top: 0;
  }

  .pyl-product-stage {
    padding-left: 0;
  }

  .pyl-product-window {
    transform: none;
  }

  .pyl-product-stage figcaption {
    display: grid;
    gap: 3px;
  }

  .pyl-scroll-cue {
    display: none;
  }

  .pyl-feature-wide,
  .pyl-feature-tall,
  .pyl-feature-third,
  .pyl-feature-third:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .pyl-feature {
    padding: 26px;
  }

  .pyl-mini-flow {
    grid-template-columns: 1fr 1fr;
  }

  .pyl-mini-flow i {
    display: none;
  }

  .pyl-mini-flow span {
    text-align: left;
  }

  .pyl-surface-links {
    grid-template-columns: 1fr;
  }

  .pyl-surface-links a + a,
  .pyl-surface-links a:nth-child(3),
  .pyl-surface-links a:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pyl-proof-media > span {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .pyl-proof-media b {
    width: 100%;
  }

  .pyl-principles article {
    grid-template-columns: 40px 1fr;
  }
}

@media (max-width: 480px) {
  .pyl-actions {
    align-items: stretch;
  }

  .pyl-actions .pyl-button {
    width: 100%;
  }

  .pyl-product-status {
    top: 10px;
    left: 10px;
    padding: 6px 8px;
  }

  .pyl-product-cta {
    display: none;
  }

  .pyl-section-heading h2,
  .pyl-final h2 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .pyl-boundary {
    grid-template-columns: 1fr;
  }

  .pyl-boundary .pyl-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (hover: none), (pointer: coarse) {
  .pyl-product-window {
    transform: none;
  }

  .pyl-product-cta {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pyl-scroll-cue i::after {
    animation: none;
    transform: none;
  }

  .pyl-motion [data-pyl-reveal],
  .pyl-product-window,
  .pyl-button,
  .pyl-feature,
  .pyl-proof-media {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
