/* Registration corners echo an analyst's focus, without moving the wordmark. */
.rs-identity a.nav-logo { position: relative; }
.rs-identity a.nav-logo::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  width: 34px;
  height: 34px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(.82);
  background:
    linear-gradient(#8A9481,#8A9481) left top / 8px 1px,
    linear-gradient(#8A9481,#8A9481) left top / 1px 8px,
    linear-gradient(#8A9481,#8A9481) right bottom / 8px 1px,
    linear-gradient(#8A9481,#8A9481) right bottom / 1px 8px;
  background-repeat: no-repeat;
}
/* A single contour-to-ink signature. No loop, no hover-induced layout shift. */
.rs-identity .rs-signature-host::before,
.rs-identity .rs-signature-host::after,
.rs-identity .rs-signature-host > .rs-brand-mark,
.rs-identity .rs-signature-host > svg { display: none !important; }
.rs-identity .rs-live-signature { display: inline-flex; width: 34px; height: 34px; flex: 0 0 34px; pointer-events: none; }
.rs-identity .nav-logo > .rs-live-signature { margin-right: 8px; }
.rs-identity .rs-live-signature svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rs-identity .rs-live-signature .signature-fill { fill: #293326 !important; stroke: none !important; }
.rs-identity .rs-live-signature .signature-trace { fill: none !important; stroke: #6D7B63 !important; stroke-width: .65; opacity: 0; }
.rs-identity .rs-live-signature .signature-guides { fill: none !important; stroke: #A6B09B !important; stroke-width: .7; opacity: 0; }
.rs-home .brand-signature-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.rs-home .brand-signature-row .badge { margin: 0 !important; padding: 0 !important; max-width: 280px; line-height: 1.8; }
.rs-home .brand-signature-row .badge::before { display: none !important; }
.rs-home .brand-signature-button { display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; background: transparent; border-radius: 2px; flex: 0 0 62px; cursor: pointer; }
.rs-home .brand-signature-button .rs-live-signature { width: 62px; height: 62px; flex-basis: 62px; }
.rs-home .brand-signature-button .signature-guides { opacity: .7; }
.rs-home .brand-signature-button:focus-visible { outline: 1px solid #5B6B50; outline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
 .rs-identity .rs-live-signature.is-drawing .signature-trace { animation: rs-signature-trace 1.2s cubic-bezier(.3,.1,.2,1) both; }
 .rs-identity .rs-live-signature.is-drawing .signature-fill { animation: rs-signature-fill 1.2s ease both; }
 .rs-identity .rs-live-signature.is-drawing .signature-guides { animation: rs-signature-guides 1.2s ease both; }
 @keyframes rs-signature-trace { 0% { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .8; } 60% { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .8; } 100% { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0; } }
 @keyframes rs-signature-fill { 0%,25% { opacity: .12; } 75%,100% { opacity: 1; } }
 @keyframes rs-signature-guides { 0%,100% { opacity: .25; } 45% { opacity: .9; } }
}
@media (max-width: 760px) {
 .rs-home .brand-signature-row { gap: 14px; margin-bottom: 24px; }
 .rs-home .brand-signature-button, .rs-home .brand-signature-button .rs-live-signature { width: 48px; height: 48px; flex-basis: 48px; }
}
@media (prefers-reduced-motion: reduce) {
 .rs-identity .rs-live-signature * { animation: none !important; }
}
.rs-identity a.nav-logo:focus-visible::after { opacity: 1; transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .rs-identity a.nav-logo::after { transition: opacity .22s ease, transform .35s cubic-bezier(.2,.75,.2,1); }
  .rs-identity a.nav-logo:hover::after { opacity: 1; transform: translateY(-50%); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .rs-home :is(.hero-form-col, .dossier-sheet) { position: relative; }
  .rs-home :is(.hero-form-col, .dossier-sheet)::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: 2;
    border: 1px solid transparent;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #819073, transparent 75%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    transition: opacity .25s ease;
  }
  .rs-home :is(.hero-form-col, .dossier-sheet)[data-pointer-active]::after { opacity: 1; }
  /* Inputs never move. Only the fictional paper preview has a slight relief. */
  .rs-home .dossier-sheet { transition: transform .3s ease, box-shadow .3s ease; transform: perspective(1600px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
  .rs-home .dossier-sheet[data-pointer-active] { box-shadow: 0 18px 40px -30px #29332670; }
  .rs-home .dossier-rows > div { transition: background-color .2s ease; }
  .rs-home .dossier-rows > div:hover { background: #F5F6F0; }
}
