@font-face {
  font-family: Archivo;
  src: url('./assets/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('./assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --access-ink: var(--text-v3-primary);
  --access-body: var(--text-v3-muted);
  --access-deep: var(--petroleum-deep);
  --access-brand: var(--petroleum-primary);
  --access-gold: var(--grain-primary);
  --access-paper: var(--surface-v3-card);
  --access-page: var(--surface-v3-page);
  --access-line: var(--surface-v3-border);
  --access-motion: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--access-page);
  color: var(--access-ink);
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
button,
input,
a {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
input,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
::selection {
  background: var(--access-gold);
  color: var(--access-deep);
}
:focus-visible {
  outline: 3px solid var(--semantic-status-info);
  outline-offset: 4px;
}
input {
  caret-color: var(--access-brand);
}
.access-sr {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.access-skip {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--access-paper);
  border-radius: 8px;
}
.access-skip:focus {
  transform: none;
}
.access-root {
  /* Entry screens fit the viewport height without a scrollbar (founder rule, 24/10/2026): the
     vertical rhythm scales with the height and only long forms (cadastro) may scroll. */
  --access-top-pad: clamp(16px, 3.6vh, 36px);
  --access-top-bar: clamp(48px, 6.4vh, 60px);
  --access-lockup-height: clamp(34px, 4.6vh, 40px);
  /* The symbol on the photo is the golden ratio of the B inside the lockup (0.6896 of its height). */
  --brand-reveal-height: calc(var(--access-lockup-height) * 1.116);
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 100svh;
}
.access-visual {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  background: var(--access-deep);
  color: var(--petroleum-on-deep);
  overflow: hidden;
}
.access-slides,
.access-slide,
.access-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.access-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 900ms ease,
    visibility 900ms;
}
.access-slide.is-current {
  opacity: 1;
  visibility: visible;
}
.access-slide img {
  object-fit: cover;
  object-position: 95% center;
}
.access-slide:nth-child(2) img {
  object-position: 48% center;
}
.access-slide:nth-child(3) img {
  object-position: center;
}
.access-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--access-deep) 55%, transparent),
    transparent 32%,
    color-mix(in srgb, var(--access-deep) 44%, transparent) 52%,
    var(--access-deep) 100%
  );
}
.access-brand {
  position: absolute;
  z-index: 1;
  /* Same horizontal axis as the B inside the lockup of the form header. */
  top: calc(
    var(--access-top-pad) + var(--access-top-bar) / 2 - var(--access-lockup-height) * 0.1432 -
      var(--brand-reveal-height) * 0.5014
  );
  left: clamp(28px, 4vw, 68px);
  display: block;
  border-radius: 6px;
}
/* Brand reveal of the symbol over photography (Símbolo-Branco). One orchestrated entrance on load:
   the B rises out of a mask (0–720 ms), the corner folds in on its hinge (430–1130 ms) and one gold
   glint crosses the mark (1020–1840 ms). Geometry from the master viewBox 233.78 × 291.56: the fold
   is the triangle (73.49, 143.54) (227.5, 234.2) (72.61, 287.48). Every layer is the same SVG,
   only clipped; at the end the still image is the only layer left. Reduced motion: still image. */
.brand-reveal {
  --brand-reveal-glint: var(--access-gold);
  position: relative;
  display: block;
  height: var(--brand-reveal-height);
  aspect-ratio: 233.78 / 291.56;
  perspective: calc(var(--brand-reveal-height) * 7);
}
.brand-reveal img,
.brand-reveal > span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.brand-reveal img {
  display: block;
  object-fit: contain;
}
.brand-reveal__body img {
  clip-path: polygon(0 0, 100% 0, 100% 81.596%, 31.435% 49.232%, 31.048% 100%, 0 100%);
}
.brand-reveal__fold {
  transform-origin: 31.435% 49.232%;
  backface-visibility: hidden;
}
.brand-reveal__fold img {
  clip-path: polygon(31.435% 49.232%, 100% 81.596%, 100% 100%, 31.048% 100%);
}
.brand-reveal__glint {
  -webkit-mask: var(--brand-reveal-mask) center / 100% 100% no-repeat;
  mask: var(--brand-reveal-mask) center / 100% 100% no-repeat;
  background: linear-gradient(
      112deg,
      transparent 42%,
      color-mix(in srgb, var(--brand-reveal-glint) 64%, transparent) 50%,
      transparent 58%
    )
    130% 0 / 280% 100% no-repeat;
  opacity: 0;
}
.brand-reveal[data-reveal='pending'] > * {
  opacity: 0;
}
/* Without the script the still image appears on its own, never a blank corner. */
.brand-reveal[data-reveal='pending'] > .brand-reveal__still {
  animation: brand-reveal-safety 1ms linear 2.4s forwards;
}
.brand-reveal[data-reveal='play'] > .brand-reveal__still {
  opacity: 0;
}
.brand-reveal[data-reveal='done'] > :not(.brand-reveal__still) {
  display: none;
}
.brand-reveal[data-reveal='play'] > .brand-reveal__body {
  animation:
    brand-reveal-wipe 720ms cubic-bezier(0.77, 0, 0.175, 1) both,
    brand-reveal-lift 980ms cubic-bezier(0.05, 0.7, 0.1, 1) both,
    brand-reveal-focus 560ms ease-out both;
}
.brand-reveal[data-reveal='play'] > .brand-reveal__fold {
  animation: brand-reveal-fold 700ms cubic-bezier(0.2, 0, 0, 1) 430ms both;
}
.brand-reveal[data-reveal='play'] > .brand-reveal__glint {
  animation: brand-reveal-glint 820ms cubic-bezier(0.77, 0, 0.175, 1) 1020ms both;
}
@keyframes brand-reveal-safety {
  to {
    opacity: 1;
  }
}
@keyframes brand-reveal-wipe {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes brand-reveal-lift {
  from {
    transform: translateY(14%);
  }
  to {
    transform: none;
  }
}
@keyframes brand-reveal-focus {
  from {
    filter: blur(4px);
  }
  to {
    filter: none;
  }
}
@keyframes brand-reveal-fold {
  0% {
    transform: rotate3d(0.8618, 0.5073, 0, -100deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: rotate3d(0.8618, 0.5073, 0, 0deg);
    opacity: 1;
  }
}
@keyframes brand-reveal-glint {
  from {
    opacity: 1;
    background-position: 130% 0;
  }
  to {
    opacity: 1;
    background-position: -30% 0;
  }
}
.access-story {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 4vw, 68px);
  right: 40px;
  bottom: clamp(132px, 21vh, 190px);
  max-width: 540px;
}
.access-story h2 {
  font-family: Archivo, sans-serif;
  font-size: clamp(34px, min(4.4vw, 7.4vh), 68px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.access-story p {
  max-width: 350px;
  margin-top: clamp(12px, 2.4vh, 22px);
  color: color-mix(in srgb, var(--petroleum-on-deep) 90%, var(--access-deep));
  font-size: 16px;
  line-height: 1.65;
}
.access-visual-footer {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 4vw, 68px);
  right: 40px;
  bottom: clamp(18px, 4.4vh, 40px);
  border-top: 1px solid color-mix(in srgb, var(--petroleum-on-deep) 25%, transparent);
  padding-top: clamp(10px, 2.6vh, 24px);
}
.access-slide-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}
.access-slide-controls button {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border-radius: 8px;
}
.access-slide-controls button:hover {
  background: color-mix(in srgb, var(--petroleum-on-deep) 10%, transparent);
}
.access-slide-dot span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--petroleum-on-deep) 50%, transparent);
  transition:
    width var(--access-motion),
    background var(--access-motion);
}
.access-slide-dot[aria-pressed='true'] span {
  width: 22px;
  border-radius: 4px;
  background: var(--access-gold);
}
.access-pause {
  margin-left: auto;
}
.access-visual-footer small {
  display: block;
  font-size: 11px;
  margin-top: clamp(6px, 1.5vh, 14px);
  color: color-mix(in srgb, var(--petroleum-on-deep) 75%, var(--access-deep));
}
.access-form-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--access-top-pad) clamp(28px, 5vw, 84px) clamp(12px, 2.6vh, 24px);
  position: relative;
}
.access-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--access-top-bar);
}
/* Header, notices and footer share the form column: the lockup, the back link, the heading and the
   fields stand on one left edge, and the help link closes the same column on the right. */
.access-top,
.access-preview,
#access-network,
.access-footer {
  width: 100%;
  max-width: var(--access-column, 480px);
  margin-inline: auto;
}
/* Product lockup: sized by height (never by width), the B aligned to the column edge. */
.access-wordmark {
  display: inline-flex;
  flex: none;
  border-radius: 6px;
  line-height: 0;
}
.access-wordmark .brand-lockup {
  display: block;
  height: var(--access-lockup-height);
  width: auto;
}
.access-help {
  font-size: 12px;
  color: var(--access-body);
}
.access-help summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.access-help summary::after {
  content: '?';
  display: grid;
  place-items: center;
  font-size: 12px;
  border: 1px solid var(--access-line);
  border-radius: 50%;
  width: 20px;
  height: 20px;
}
.access-help summary::-webkit-details-marker {
  display: none;
}
.access-help > div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  max-width: 300px;
  padding: 24px;
  border: 1px solid var(--access-line);
  border-radius: 12px;
  background: var(--access-paper);
  box-shadow: 0 12px 28px -16px var(--access-deep);
}
.access-help p {
  margin: 8px 0 16px;
}
.access-help a {
  text-decoration: underline;
  color: var(--access-brand);
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.access-preview {
  font-size: 12px;
  color: var(--semantic-status-warning);
  background: var(--status-warning-bg);
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 20px;
}
#access-content {
  width: 100%;
  max-width: var(--access-column, 480px);
  margin: auto;
  outline: none;
  padding: clamp(8px, 2.6vh, 40px) 0;
  scroll-margin-top: 24px;
}
#access-content h1 {
  font-family: Archivo, sans-serif;
  font-size: clamp(28px, min(3.1vw, 5.1vh), 46px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  outline: none;
  text-wrap: balance;
}
.access-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--access-body);
  margin-top: clamp(8px, 1.9vh, 18px);
  max-width: 425px;
}
.access-welcome .access-intro {
  max-width: 390px;
}
.access-benefits {
  padding: 0;
  margin: clamp(16px, 3.6vh, 34px) 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.9vh, 18px);
}
.access-benefits li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}
.access-benefits svg {
  color: var(--access-brand);
  width: 24px;
  height: 24px;
}
.access-primary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 16px 24px;
  background: var(--access-deep);
  color: var(--petroleum-on-deep);
  border: 1px solid var(--access-deep);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition:
    background var(--access-motion),
    transform var(--access-motion);
  text-align: center;
}
.access-primary:not(:disabled):hover {
  background: var(--access-brand);
}
.access-primary:not(:disabled):active {
  transform: translateY(1px);
}
.access-primary svg {
  width: 20px;
  height: 20px;
}
.access-welcome .access-primary {
  background: var(--access-gold);
  border-color: var(--access-gold);
  color: var(--grain-on-grain);
}
.access-welcome .access-primary:hover {
  background: var(--grain-grad-top);
}
.access-text-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--access-brand);
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--access-brand) 35%, transparent);
  text-underline-offset: 4px;
}
.access-text-button:hover {
  text-decoration-color: var(--access-brand);
}
.access-text-button svg {
  width: 16px;
  height: 16px;
}
.access-alternative {
  font-size: 13px;
  color: var(--access-body);
  text-align: center;
  margin: clamp(2px, 1.1vh, 12px) 0 clamp(4px, 1.4vh, 16px);
}
.access-note {
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--access-body);
  margin-top: clamp(8px, 2vh, 22px);
}
.access-note svg {
  color: var(--access-brand);
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.access-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: clamp(10px, 2.2vh, 20px);
  border-top: 1px solid var(--access-line);
  font-size: 11px;
  color: var(--access-body);
}
.access-progress {
  margin-bottom: 36px;
}
.access-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--access-body);
}
.access-back {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--access-body);
  padding: 0 4px;
}
.access-back:hover {
  color: var(--access-brand);
}
.access-back svg {
  width: 17px;
  height: 17px;
}
.access-progress-track {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.access-progress-track span {
  height: 3px;
  flex: 1;
  background: var(--access-line);
  border-radius: 2px;
}
.access-progress-track .complete {
  background: var(--access-brand);
}
.access-progress-track .current {
  background: var(--access-gold);
}
.access-login-back {
  margin-bottom: clamp(2px, 1.6vh, 20px);
}
.access-field {
  margin-top: clamp(12px, 2.3vh, 24px);
  min-width: 0;
}
.access-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 9px;
}
.access-field label > span {
  font-size: 12px;
  font-weight: 400;
  color: var(--access-body);
}
.access-input-wrap {
  position: relative;
}
.access-field input {
  border: 1px solid var(--access-line);
  border-radius: 9px;
  background: var(--access-paper);
  width: 100%;
  min-height: clamp(48px, 6.2vh, 54px);
  padding: 11px 16px;
  color: var(--access-ink);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color var(--access-motion);
}
.access-field input:hover {
  border-color: var(--border-strong);
}
.access-field input:focus {
  border-color: var(--access-brand);
  outline: 2px solid var(--access-brand);
  outline-offset: 2px;
}
.access-field input::placeholder {
  color: var(--text-muted);
}
.access-field input:disabled {
  background: var(--surface-v3-sunken);
  color: var(--access-body);
  cursor: not-allowed;
}
.access-field-hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--access-body);
  margin-top: 8px;
}
.access-field-hint:empty,
.access-field-error:empty {
  display: none;
}
.access-field-error {
  font-size: 12px;
  line-height: 1.6;
  color: var(--semantic-status-danger);
  margin-top: 6px;
}
.has-error input {
  border-color: var(--semantic-status-danger);
}
.access-password-toggle {
  position: absolute;
  right: 3px;
  top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  min-width: 90px;
  justify-content: center;
  border-radius: 6px;
  color: var(--access-body);
  font-size: 11px;
}
.access-password-toggle:hover {
  background: var(--access-page);
}
.access-password-toggle svg {
  width: 18px;
  height: 18px;
}
.access-input-wrap:has(.access-password-toggle) input {
  padding-right: 106px;
}
.access-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.address-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.address-grid .full {
  grid-column: 1/-1;
}
.access-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  align-self: center;
  margin-top: 48px;
  font-size: 13px;
  cursor: pointer;
}
.access-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--access-brand);
}
.access-form-actions {
  margin-top: clamp(14px, 2.8vh, 28px);
}
.access-form-actions > p {
  font-size: 11px;
  color: var(--access-body);
  text-align: center;
  margin-top: 14px;
}
.access-recovery-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.access-feedback {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: var(--status-warning-bg);
  color: var(--status-warning-strong-text);
  border-radius: 10px;
  margin-top: 24px;
  font-size: 13px;
}
.access-feedback p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
}
.access-feedback > svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.access-feedback .access-text-button {
  color: inherit;
}
.access-review {
  margin: 28px 0 0;
}
.access-review > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--access-line);
}
.access-review dt {
  font-size: 12px;
  color: var(--access-body);
}
.access-review dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.access-review dd:last-child {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
}
.access-identifier-summary {
  margin-top: 28px;
  padding: 18px 0;
  border-block: 1px solid var(--access-line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.access-identifier-summary > span {
  font-size: 12px;
  color: var(--access-body);
}
.access-identifier-summary strong {
  grid-column: 1;
  font-size: 17px;
  font-weight: 500;
}
.access-identifier-summary > span:last-child {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}
.access-identifier-summary .access-text-button {
  grid-column: 2;
  grid-row: 1/3;
}
.access-result-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--access-brand);
  background: var(--surface-v3-sunken);
  margin-bottom: 32px;
}
.access-result-icon svg {
  width: 36px;
  height: 36px;
}
.access-result-next {
  margin: 32px 0;
  padding-block: 24px;
  border-block: 1px solid var(--access-line);
}
.access-result-next strong {
  font-size: 14px;
  font-weight: 600;
}
.access-result-next p {
  font-size: 14px;
  color: var(--access-body);
  margin-top: 10px;
}
.access-form-side [aria-busy='true'] {
  cursor: progress;
}
#access-network p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--semantic-status-warning);
  font-size: 12px;
}
@media (min-width: 1700px) {
  .access-root {
    grid-template-columns: 50% 50%;
  }
  .access-story {
    bottom: 220px;
  }
  .access-story h2 {
    font-size: 76px;
  }
  .access-root {
    --access-column: 520px;
  }
  .access-form-side {
    padding-inline: 100px;
  }
}
@media (max-width: 1100px) {
  .access-root {
    grid-template-columns: 43% 57%;
  }
  .access-form-side {
    padding-inline: 32px;
  }
  .access-story {
    left: 32px;
    right: 28px;
  }
  .access-story h2 {
    font-size: 40px;
  }
  .access-brand {
    left: 32px;
  }
  .access-visual-footer {
    left: 32px;
    right: 28px;
  }
  .access-slide-controls button {
    min-width: 48px;
  }
  .access-slide-dot {
    min-width: 48px !important;
  }
}
@media (max-width: 760px) {
  .access-root {
    display: flex;
    flex-direction: column;
  }
  .access-root {
    --access-top-bar: 44px;
    --access-lockup-height: 34px;
  }
  .access-visual {
    position: relative;
    order: 0;
    height: clamp(160px, 24vh, 250px);
    min-height: 0;
  }
  .access-form-side {
    padding: clamp(14px, 2.8vh, 24px) 24px clamp(14px, 2.8vh, 24px);
    order: 1;
    min-height: calc(100svh - clamp(160px, 24vh, 250px));
  }
  .access-brand {
    display: none;
  }
  .access-story {
    left: 24px;
    bottom: 84px;
    right: 24px;
  }
  .access-story h2 {
    font-size: 32px;
    line-height: 1.08;
    max-width: 350px;
  }
  .access-story h2 br {
    display: none;
  }
  .access-story p {
    display: none;
  }
  .access-slide img {
    object-position: 70% 60%;
  }
  .access-slide::after {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--access-deep) 70%, transparent),
      color-mix(in srgb, var(--access-deep) 10%, transparent)
    );
  }
  .access-visual-footer {
    left: 16px;
    right: 16px;
    bottom: 12px;
    padding: 0;
    border: 0;
  }
  .access-visual-footer small {
    display: none;
  }
  .access-slide-controls {
    max-width: 340px;
  }
  .access-slide-controls button {
    min-width: 48px;
  }
  .access-slide-dot {
    min-width: 48px !important;
  }
  .access-form-side .access-top {
    min-height: var(--access-top-bar);
  }
  .access-help {
    font-size: 11px;
  }
  .access-help > div {
    left: 0;
    right: 0;
    max-width: unset;
  }
  .access-preview {
    font-size: 11px;
    margin-top: 18px;
    padding: 10px 12px;
  }
  .access-root {
    --access-column: 520px;
  }
  #access-content {
    padding: clamp(10px, 2.4vh, 28px) 0;
    margin: 0 auto;
    scroll-margin-top: 12px;
  }
  #access-content h1 {
    font-size: clamp(27px, 4vh, 32px);
  }
  .access-intro {
    font-size: 14px;
    margin-top: 16px;
  }
  .access-benefits {
    margin: 26px 0;
    gap: 16px;
  }
  .access-benefits li {
    font-size: 13px;
  }
  .access-primary {
    min-height: 56px;
  }
  .access-footer {
    margin-top: auto;
    font-size: 10px;
    justify-content: center;
  }
  .access-footer > span:first-child {
    display: none;
  }
  .access-root[data-mode='register'] .access-visual,
  .access-root[data-mode='login'] .access-visual,
  .access-root[data-mode='recover'] .access-visual,
  .access-root[data-mode='result'] .access-visual {
    display: none;
  }
  .access-root:not([data-mode='welcome']) .access-form-side {
    min-height: 100svh;
  }
  .access-root[data-mode='register'] #access-content {
    padding-top: 20px;
  }
  .access-progress {
    margin-bottom: 28px;
  }
  .access-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .address-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 14px;
  }
  .address-grid > div:nth-last-child(-n + 2) {
    grid-column: 1/-1;
  }
  .access-field {
    margin-top: 22px;
  }
  .access-form-actions {
    margin-top: 28px;
  }
  .access-note {
    margin-top: 24px;
  }
  .access-review dd {
    font-size: 14px;
  }
  .access-result-icon {
    margin-top: 16px;
  }
  .access-login-back {
    margin-bottom: 20px;
  }
}
@media (max-width: 360px) {
  .access-form-side {
    padding-inline: 20px;
  }
  .access-story h2 {
    font-size: 28px;
  }
  #access-content h1 {
    font-size: 29px;
  }
  .access-slide-controls {
    gap: 0;
  }
  .access-slide-dot {
    min-width: 48px !important;
  }
  .access-pause {
    margin-left: 0;
  }
  .access-visual-footer {
    left: 12px;
    right: 12px;
  }
  .access-identifier-summary {
    gap: 6px;
  }
  .access-identifier-summary .access-text-button {
    font-size: 11px;
  }
}
/* Short windows (1366×768 with browser bars, split screens): the decorative footer leaves and the
   login heading takes one line, so login, welcome and exit still fit without a scrollbar. */
@media (max-height: 880px) {
  .access-root[data-mode='login'] .access-footer {
    display: none;
  }
}
/* With a mouse, secondary text actions keep a 40 px target (WCAG 2.5.8 asks 24 px); touch keeps 48. */
@media (pointer: fine) and (max-height: 880px) {
  .access-root[data-mode='login'] :is(.access-back, .access-text-button) {
    min-height: 40px;
  }
}
@media (max-height: 680px) {
  .access-root[data-mode='login'] .access-note {
    display: none;
  }
  .access-root[data-mode='login'] .access-form-side {
    padding-bottom: 6px;
  }
  .access-root[data-mode='login'] #access-content {
    padding-block: 4px;
  }
}
@media (max-height: 760px) {
  .access-root:not([data-mode='register']) .access-footer {
    display: none;
  }
  .access-root[data-mode='login'] #access-content h1 br {
    display: none;
  }
  .access-root[data-mode='login'] .access-legacy {
    margin-top: -14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-reveal > :not(.brand-reveal__still) {
    display: none;
  }
  .brand-reveal[data-reveal] > .brand-reveal__still {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .access-visual-footer {
    left: 24px;
    right: 24px;
  }
  .access-slide-controls {
    gap: 0;
  }
}

.access-legacy {
  text-align: center;
  margin-top: -8px;
}
.access-legacy .access-text-button {
  font-size: 12px;
  font-weight: 400;
  color: var(--access-body);
}

/* Exit shares the access shell, with a quieter, compact decision surface. */
.access-root[data-mode='logout'] .access-visual {
  min-height: 0;
}
.access-root[data-mode='logout'] {
  --access-column: 440px;
}
.access-root[data-mode='logout'] #access-content {
  padding-block: 28px;
}
.access-signout-heading {
  position: relative;
}
.access-signout-symbol {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--access-line);
  border-radius: 20px;
  background: var(--access-paper);
  color: var(--access-brand);
  margin-bottom: 24px;
  box-shadow: 0 8px 24px -20px var(--access-deep);
}
.access-signout-symbol svg {
  width: 28px;
  height: 28px;
}
.access-signout-eyebrow {
  color: var(--access-brand);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.access-signout-detail {
  display: flex;
  gap: 14px;
  margin-block: 28px;
  padding: 22px;
  border: 1px solid var(--access-line);
  border-radius: 18px;
  background: var(--access-paper);
}
.access-signout-detail > svg {
  color: var(--access-brand);
  flex: 0 0 24px;
}
.access-signout-detail h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}
.access-signout-detail p {
  color: var(--access-body);
  font-size: 13px;
  line-height: 1.65;
}
.access-signout-actions {
  display: grid;
  gap: 10px;
}
.access-signout-cancel {
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid var(--access-line);
  background: transparent;
  border-radius: 12px;
  color: var(--access-brand);
  font-size: 14px;
  font-weight: 600;
}
.access-signout-cancel:not(:disabled):hover {
  background: var(--access-paper);
}
.access-signout-footnote {
  margin-top: 20px;
  text-align: center;
  color: var(--access-body);
  font-size: 11px;
}
.access-signout-error {
  border: 1px solid var(--status-warning-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  background: var(--status-warning-bg);
  color: var(--status-warning-strong-text);
  font-size: 13px;
}
.access-signout-error p {
  margin-top: 6px;
}
@media (min-width: 761px) and (max-height: 800px) {
  .access-root[data-mode='logout'] .access-form-side {
    padding-top: 18px;
    padding-bottom: 16px;
  }
  .access-root[data-mode='logout'] #access-content {
    padding-block: 18px;
  }
  .access-root[data-mode='logout'] h1 {
    font-size: 40px;
  }
  .access-signout-symbol {
    position: absolute;
    right: 0;
    top: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .access-signout-detail {
    margin-block: 22px;
    padding: 18px;
  }
  .access-signout-footnote {
    margin-top: 14px;
  }
}
@media (min-width: 761px) and (max-height: 640px) {
  .access-root[data-mode='logout'] #access-content {
    padding-block: 8px;
  }
  .access-root[data-mode='logout'] .access-signout-detail {
    margin-block: 14px;
  }
}
@media (max-width: 760px) {
  .access-root[data-mode='logout'] .access-visual {
    display: none;
  }
  .access-root[data-mode='logout'] #access-content {
    margin-block: auto;
    padding-block: 24px;
  }
  .access-signout-symbol {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 16px;
  }
  .access-signout-detail {
    margin-block: 22px;
    padding: 18px;
  }
}
