@media (max-width: 1180px) {
  :root {
    --container: 1040px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 0.8rem;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
    gap: 20px;
  }

  .hero__title {
    font-size: clamp(3.1rem, 5.4vw, 4.25rem);
  }

  .floating-card--stock {
    right: -5px;
  }

  .floating-card--labels {
    right: 320px;
  }

  .feature-card--wide {
    grid-template-columns: 48px minmax(0, 1fr) 170px;
  }

  .workflow-card {
    padding-inline: 17px;
  }

  .warehouse-layout,
  .marking-layout {
    gap: 42px;
  }

  .inventory-window {
    left: 0;
    width: min(100%, 500px);
  }

  .site-footer__grid {
    grid-template-columns: 1.25fr repeat(4, minmax(0, 0.7fr));
    gap: 24px;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 92px 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .header-actions .button--ghost {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

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

  .hero__copy {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__copy .eyebrow,
  .hero__proof {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__lead,
  .hero__title {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .operation-window {
    right: 50%;
    transform: translateX(50%) rotate(0.4deg);
  }

  .floating-card--scan {
    right: 4px;
  }

  .floating-card--stock {
    right: -7px;
  }

  .floating-card--labels {
    right: auto;
    left: 8px;
  }

  .floating-card--box {
    right: 10px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card--wide {
    grid-column: span 2;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid::before {
    display: none;
  }

  .workflow-card {
    min-height: 350px;
  }

  .scan-story,
  .warehouse-layout,
  .marking-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .scan-story__copy,
  .warehouse-copy,
  .marking-copy {
    max-width: 720px;
    margin-inline: auto;
  }

  .scan-demo,
  .warehouse-visual,
  .marking-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .warehouse-copy {
    order: -1;
  }

  .product-preview {
    min-height: 500px;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .tier-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-copy {
    position: static;
    max-width: 640px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  :root {
    --announcement-height: 42px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 74px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  h2 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .announcement__inner {
    justify-content: flex-start;
    gap: 7px;
    overflow: hidden;
    white-space: nowrap;
  }

  .announcement__link {
    margin-left: auto;
  }

  .site-header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text small {
    display: none;
  }

  .header-actions .button--primary {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero__copy {
    padding-top: 14px;
  }

  .hero__title {
    margin-bottom: 20px;
    font-size: clamp(2.65rem, 12.4vw, 3.85rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-inline: 12px;
  }

  .proof-item {
    display: grid;
    justify-items: center;
    gap: 1px;
  }

  .proof-item span {
    text-align: center;
  }

  .hero-visual {
    min-height: 455px;
    margin-top: 12px;
  }

  .hero-orbit--one {
    top: 38px;
    left: 50%;
    width: 410px;
    height: 320px;
    transform: translateX(-50%) rotate(8deg);
  }

  .hero-orbit--two {
    top: 92px;
    left: 50%;
    width: 430px;
    height: 260px;
    transform: translateX(-50%) rotate(-7deg);
  }

  .operation-window {
    top: 42px;
    width: 94%;
  }

  .operation-window__body {
    min-height: 330px;
    grid-template-columns: 34px 1fr;
  }

  .operation-main {
    padding: 14px 13px;
  }

  .operation-sidebar {
    gap: 8px;
  }

  .side-dot {
    width: 14px;
    height: 14px;
  }

  .assembly-step small {
    display: none;
  }

  .scan-panel {
    grid-template-columns: 42px 1fr;
  }

  .event-row {
    min-height: 38px;
  }

  .floating-card {
    padding: 8px 9px;
  }

  .floating-card--scan {
    top: 7px;
    right: 0;
  }

  .floating-card--stock {
    top: 180px;
    right: -7px;
  }

  .floating-card--labels {
    bottom: 3px;
    left: -2px;
  }

  .floating-card--box {
    right: 0;
    bottom: -2px;
  }

  .floating-card__icon {
    width: 27px;
    height: 27px;
  }

  .floating-card .status-chip {
    display: none;
  }

  .hero__logos {
    gap: 12px 18px;
    margin-top: 8px;
  }

  .hero__logos > span {
    width: 100%;
    text-align: center;
  }

  .comparison-grid,
  .feature-grid,
  .marketplace-cards {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    min-height: auto;
    padding: 22px;
  }

  .feature-card,
  .feature-card--wide {
    grid-column: auto;
    min-height: 250px;
  }

  .feature-card--wide {
    grid-template-columns: 46px 1fr;
  }

  .feature-card--wide .box-visual,
  .feature-card--wide .document-visual {
    grid-column: 1 / -1;
    justify-self: center;
  }

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

  .workflow-card {
    min-height: auto;
  }

  .workflow-card > p {
    min-height: 0;
  }

  .scan-story,
  .warehouse-layout,
  .marking-layout {
    gap: 34px;
  }

  .scan-demo,
  .warehouse-visual,
  .marking-visual {
    min-height: 500px;
  }

  .scan-demo__window,
  .status-card--main {
    padding: 18px;
  }

  .scan-demo__toast {
    right: 0;
  }

  .inventory-window {
    top: 72px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%) rotate(-0.5deg);
  }

  .inventory-summary {
    padding: 12px;
  }

  .inventory-summary > div {
    padding: 9px;
  }

  .inventory-row {
    grid-template-columns: 1.5fr repeat(4, 0.58fr);
    font-size: 0.54rem;
  }

  .warehouse-float--receipt {
    top: 6px;
    right: 0;
  }

  .warehouse-float--reserve {
    right: -2px;
    bottom: 48px;
  }

  .warehouse-float--route {
    left: 0;
    bottom: 0;
  }

  .expiry-card {
    top: 4px;
    right: 0;
  }

  .mark-card {
    bottom: 2px;
    left: 0;
  }

  .product-preview {
    min-height: 390px;
  }

  .product-preview__window {
    border-radius: 15px;
  }

  .product-preview__bar {
    height: 32px;
  }

  .preview-float--one {
    bottom: 5px;
    left: 0;
  }

  .preview-float--two {
    top: 4px;
    right: 0;
  }

  .marketplace-card {
    min-height: auto;
  }

  .pricing-calculator {
    padding: 21px;
  }

  .volume-value {
    display: grid;
    gap: 2px;
  }

  .price-summary > div,
  .price-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-total .button {
    width: 100%;
  }

  .tier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-card {
    min-height: 175px;
    padding: 17px;
  }

  .pricing-footnote {
    justify-content: flex-start;
  }

  .faq-layout {
    gap: 26px;
  }

  .final-cta {
    padding: 54px 20px;
    border-radius: 22px;
  }

  .final-cta__actions {
    display: grid;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-fab {
    right: 14px;
    bottom: 14px;
    width: 48px;
    padding: 0;
    justify-content: center;
  }

  .support-fab span {
    display: none;
  }

  .support-panel {
    right: 14px;
    bottom: 74px;
  }

  .modal__panel {
    padding: 30px 20px 22px;
  }
}

@media (max-width: 480px) {
  .announcement__inner {
    font-size: 0.68rem;
  }

  .announcement__inner > span:not(.announcement__pulse) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__text strong {
    font-size: 0.9rem;
  }

  .hero__title {
    font-size: clamp(2.35rem, 12.4vw, 3.1rem);
  }

  .hero__proof {
    gap: 4px;
  }

  .proof-divider {
    height: 30px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .window-address {
    display: none;
  }

  .operation-window {
    width: 100%;
  }

  .operation-window__body {
    grid-template-columns: 30px 1fr;
  }

  .operation-main {
    padding-inline: 10px;
  }

  .scan-panel {
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 9px;
  }

  .event-row {
    grid-template-columns: 21px 1fr;
  }

  .event-time {
    display: none;
  }

  .floating-card--stock {
    display: none;
  }

  .floating-card--labels {
    left: 0;
  }

  .floating-card--box {
    right: 0;
  }

  .auto-actions {
    grid-template-columns: 1fr;
  }

  .feature-card--wide {
    grid-template-columns: 1fr;
  }

  .feature-card--wide > .feature-icon {
    grid-column: 1;
  }

  .feature-card--wide .feature-card__copy,
  .feature-card--wide .box-visual,
  .feature-card--wide .document-visual {
    grid-column: 1;
  }

  .inventory-summary {
    grid-template-columns: 1fr;
  }

  .inventory-summary > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .inventory-summary small {
    grid-row: span 2;
  }

  .inventory-table {
    overflow-x: auto;
  }

  .inventory-row {
    min-width: 470px;
  }

  .warehouse-float--receipt,
  .warehouse-float--reserve {
    transform: scale(0.9);
    transform-origin: right center;
  }

  .warehouse-float--route {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .marking-timeline > div {
    grid-template-columns: 27px 1fr;
  }

  .marking-timeline time {
    display: none;
  }

  .expiry-card,
  .mark-card {
    transform: scale(0.9);
  }

  .preview-float {
    transform: scale(0.88);
  }

  .preview-float--one {
    transform-origin: left bottom;
  }

  .preview-float--two {
    transform-origin: right top;
  }

  .tier-list {
    grid-template-columns: 1fr;
  }

  .tier-card {
    min-height: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .hero-sequence {
    opacity: 1;
    transform: none;
  }
}

/* TRUE FBS approved responsive refinements */
@media (max-width: 1180px) {
  .feature-card--wide {
    grid-template-columns: 52px minmax(0, 1fr) minmax(300px, 0.82fr);
    gap: 22px;
    padding: 30px;
  }
}

@media (max-width: 1020px) {
  .feature-card--wide {
    grid-template-columns: 52px minmax(0, 1fr) minmax(260px, 0.75fr);
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-calculator,
  .tier-list {
    min-height: 0;
  }

  .tier-list {
    grid-template-rows: none;
  }

  .tier-card {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .feature-card--wide {
    min-height: 0;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 25px;
  }

  .feature-card--wide .document-visual {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .feature-card--wide .document-sheet {
    width: 102px;
    height: 128px;
  }

  .feature-card--wide .document-stock {
    width: 110px;
    height: 110px;
  }

  .pricing-calculator {
    min-height: 0;
  }

  .tier-list {
    min-height: 0;
  }

  .tier-card {
    min-height: 205px;
  }

  .modal {
    align-items: flex-start;
    padding: 12px;
  }

  .modal__panel,
  .modal__panel--auth {
    width: calc(100vw - 24px);
    margin: 0;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .modal__close {
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .modal__close svg {
    width: 22px;
    height: 22px;
  }

  .modal__logo {
    margin-bottom: 12px;
  }

  .modal__brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .modal__brand-mark svg {
    width: 50px;
    height: 50px;
  }

  .modal__panel > .trial-badge {
    min-height: 32px;
    margin-bottom: 14px;
    padding: 6px 14px;
    font-size: 14px;
    line-height: 20px;
  }

  .modal__panel h2,
  .modal__panel--auth h2 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 36px;
    line-height: 40px;
  }

  .modal__panel--auth h2 {
    font-size: 40px;
    line-height: 44px;
  }

  .modal__panel > p:not(.auth-switch) {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 28px;
  }

  .auth-switch {
    margin-bottom: 20px !important;
  }

  .lead-form,
  .lead-form--auth {
    gap: 10px;
  }

  .lead-form > label > span,
  .lead-form legend {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 20px;
  }

  .lead-form > label > div,
  .auth-field > div {
    min-height: 60px !important;
    border-radius: 17px !important;
  }

  .lead-form input:not([type="checkbox"]),
  .auth-field input {
    height: 58px !important;
  }

  .marketplace-choice {
    grid-template-columns: 1fr;
    gap: 10px !important;
  }

  .marketplace-choice .choice span {
    min-height: 56px;
    border-radius: 17px;
    font-size: 16px;
  }

  .modal-primary-action {
    min-height: 64px;
    margin-top: 6px;
    border-radius: 20px;
    font-size: 17px;
  }

  .auth-code-button,
  .auth-registration-button {
    min-height: 58px;
    border-radius: 17px;
    font-size: 17px;
  }

  .auth-alternative {
    min-height: 56px;
    border-radius: 17px;
    font-size: 15px;
  }

  .modal-consent {
    font-size: 13px !important;
    line-height: 20px !important;
  }

  .modal-legal {
    gap: 6px 10px;
    font-size: 12px;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .modal__panel,
  .modal__panel--auth {
    padding: 22px 16px;
  }

  .modal__close {
    top: 10px;
    right: 10px;
  }

  .modal__panel h2,
  .modal__panel--auth h2 {
    padding-inline: 32px;
    font-size: 34px;
    line-height: 38px;
  }

  .modal__panel--auth h2 {
    font-size: 36px;
    line-height: 40px;
  }

  .modal-legal > span {
    display: none;
  }

  .modal-legal a {
    width: calc(50% - 6px);
  }
}

@media (max-height: 980px) and (min-width: 761px) {
  .modal__panel--trial {
    padding: 24px 40px;
  }

  .modal__panel--trial .modal__close {
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .modal__panel--trial .modal__logo {
    margin-bottom: 10px;
  }

  .modal__panel--trial .modal__brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .modal__panel--trial .modal__brand-mark svg {
    width: 44px;
    height: 44px;
  }

  .modal__panel--trial > .trial-badge {
    min-height: 30px;
    margin-bottom: 10px;
    padding: 5px 14px;
    font-size: 14px;
    line-height: 20px;
  }

  .modal__panel--trial h2 {
    margin-bottom: 10px;
    font-size: 42px;
    line-height: 46px;
  }

  .modal__panel--trial > p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .modal__panel--trial .lead-form {
    gap: 9px;
  }

  .modal__panel--trial .lead-form > label > span,
  .modal__panel--trial .lead-form legend {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 18px;
  }

  .modal__panel--trial .lead-form > label > div {
    min-height: 54px;
    border-radius: 17px;
  }

  .modal__panel--trial .lead-form input:not([type="checkbox"]) {
    height: 52px;
  }

  .modal__panel--trial .marketplace-choice .choice span {
    min-height: 50px;
    border-radius: 16px;
    font-size: 16px;
  }

  .modal__panel--trial .modal-primary-action {
    min-height: 56px;
    margin-top: 2px;
    border-radius: 18px;
    font-size: 17px;
  }

  .modal__panel--trial .modal-consent {
    font-size: 13px !important;
    line-height: 19px !important;
  }

  .modal__panel--trial .modal-legal {
    gap: 5px 10px;
    font-size: 12px;
    line-height: 18px;
  }
}

@media (max-height: 800px) and (min-width: 761px) {
  .modal {
    align-items: flex-start;
  }

  .modal__panel {
    margin: 0;
  }

  .modal__panel--auth {
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .modal__panel--auth .modal__logo {
    margin-bottom: 10px;
  }

  .modal__panel--auth .modal__brand-mark {
    width: 58px;
    height: 58px;
  }

  .modal__panel--auth h2 {
    margin-bottom: 6px;
    font-size: 42px;
    line-height: 46px;
  }

  .modal__panel--auth .auth-switch {
    margin-bottom: 16px !important;
  }

  .modal__panel--auth .lead-form--auth {
    gap: 9px;
  }

  .modal__panel--auth .auth-field > div,
  .modal__panel--auth .auth-code-button,
  .modal__panel--auth .auth-registration-button {
    min-height: 56px !important;
  }

  .modal__panel--auth .auth-field input {
    height: 54px !important;
  }

  .modal__panel--auth .auth-alternative {
    min-height: 52px;
  }

  .modal__panel--auth .modal-consent {
    font-size: 13px !important;
    line-height: 19px !important;
  }

  .modal__panel--auth .modal-legal {
    font-size: 12px;
    line-height: 18px;
  }
}

/* --------------------------------------------------------------------------
 * TRUE FBS approved responsive refinements
 * -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .feature-card--full {
    grid-template-columns: 58px minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 22px;
    padding: 32px;
  }

  .pricing-layout {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.96fr);
    gap: 22px;
  }
}

@media (max-width: 1020px) {
  .feature-card--full {
    grid-column: 1 / -1;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-calculator {
    height: auto;
  }

  .tier-list {
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .tier-card {
    min-height: 220px;
    height: auto;
    padding: 22px;
  }

  .modal__panel--trial {
    width: min(700px, calc(100vw - 40px));
    padding: 36px 40px 32px;
  }

  .modal__panel--trial h2 {
    font-size: 48px;
    line-height: 52px;
  }

  .modal__panel--auth {
    width: min(500px, calc(100vw - 40px));
  }

  .modal__panel--auth h2 {
    font-size: 48px;
    line-height: 52px;
  }
}

@media (max-width: 760px) {
  .feature-card--full {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 26px 22px;
  }

  .feature-card--full .feature-card__copy {
    align-self: start;
  }

  .feature-card--full .feature-card__copy h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .feature-card--full .document-visual {
    grid-column: 1 / -1;
    justify-self: center;
    gap: 18px;
    margin-top: 8px;
  }

  .feature-card--full .document-sheet {
    width: 104px;
    height: 128px;
  }

  .feature-card--full .document-stock {
    width: 108px;
    height: 108px;
  }

  .marketplace-card {
    min-height: auto;
    padding: 26px;
  }

  .tier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-card {
    min-height: 205px;
  }

  .modal {
    padding: 16px;
  }

  .modal__panel,
  .modal__panel--trial,
  .modal__panel--auth {
    width: min(680px, calc(100vw - 32px));
    padding: 32px 28px 28px;
    border-radius: 28px;
  }

  .modal__panel--auth {
    max-width: 480px;
  }

  .modal__close,
  .modal__panel .modal__close {
    top: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .modal__logo .brand__mark {
    width: 68px;
    height: 68px;
    border-radius: 21px;
  }

  .modal__panel h2,
  .modal__panel--trial h2 {
    font-size: 44px;
    line-height: 48px;
  }

  .modal__panel--auth h2 {
    font-size: 42px;
    line-height: 46px;
  }

  .modal__panel > p:not(.auth-switch) {
    font-size: 17px;
    line-height: 28px;
  }

  .modal-legal {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .feature-card--full {
    grid-template-columns: 1fr;
  }

  .feature-card--full > .feature-icon,
  .feature-card--full .feature-card__copy,
  .feature-card--full .document-visual {
    grid-column: 1;
  }

  .feature-card--full .document-visual {
    gap: 12px;
  }

  .feature-card--full .document-sheet {
    width: 92px;
    height: 112px;
    padding: 20px 15px;
  }

  .feature-card--full .document-stock {
    width: 94px;
    height: 94px;
    border-radius: 23px;
  }

  .tier-list {
    grid-template-columns: 1fr;
  }

  .tier-card {
    min-height: auto;
  }

  .modal {
    padding: 12px;
  }

  .modal__panel,
  .modal__panel--trial,
  .modal__panel--auth {
    width: calc(100vw - 24px);
    padding: 24px 20px;
    border-radius: 24px;
  }

  .modal__close,
  .modal__panel .modal__close {
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .modal__close svg {
    width: 21px;
    height: 21px;
  }

  .modal__logo,
  .modal__panel--auth .modal__logo {
    margin-bottom: 12px;
  }

  .modal__logo .brand__mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .modal__logo .brand__mark svg {
    width: 45px;
    height: 45px;
  }

  .modal__panel > .trial-badge {
    min-height: 32px;
    padding: 6px 14px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 20px;
  }

  .modal__panel h2,
  .modal__panel--trial h2,
  .modal__panel--auth h2 {
    margin-bottom: 10px;
    font-size: 36px;
    line-height: 40px;
  }

  .modal__panel > p:not(.auth-switch) {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 23px;
  }

  .modal__panel > .auth-switch {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 21px;
  }

  .lead-form,
  .auth-form,
  .modal__panel--register .auth-form {
    gap: 10px;
  }

  .lead-form > label.form-field > span,
  .lead-form .marketplace-choice-group > legend {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 18px;
  }

  .lead-form > label.form-field > div,
  .auth-form .form-field--compact > div {
    min-height: 56px;
    gap: 13px;
    padding-inline: 16px;
    border-radius: 16px;
  }

  .lead-form > label.form-field input:not([type="checkbox"]),
  .auth-form .form-field--compact input:not([type="checkbox"]) {
    height: 54px;
    font-size: 15px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .choice span {
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px;
  }

  .modal-submit,
  .auth-submit {
    min-height: 58px;
    margin-top: 4px;
    border-radius: 17px;
    font-size: 16px;
  }

  .auth-alt-button {
    min-height: 54px;
    border-radius: 16px;
    font-size: 15px;
  }

  .auth-divider {
    min-height: 24px;
    font-size: 14px;
  }

  .modal-consent,
  .lead-form > .modal-consent {
    margin-top: 2px;
    font-size: 12px;
    line-height: 18px;
  }

  .modal-legal {
    gap: 7px 0;
    margin-top: 0;
    padding-top: 11px;
    font-size: 11px;
    line-height: 17px;
  }

  .modal-legal a {
    padding-inline: 8px;
  }
}

@media (max-height: 760px) and (min-width: 481px) {
  .modal__panel--auth {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .modal__panel--auth .modal__logo {
    margin-bottom: 10px;
  }

  .modal__panel--auth .modal__logo .brand__mark {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .modal__panel--auth h2 {
    margin-bottom: 6px;
    font-size: 40px;
    line-height: 44px;
  }

  .modal__panel--auth > .auth-switch {
    margin-bottom: 16px;
  }

  .auth-form {
    gap: 9px;
  }

  .auth-form .form-field--compact > div,
  .auth-submit {
    min-height: 54px;
  }

  .auth-form .form-field--compact input:not([type="checkbox"]) {
    height: 52px;
  }

  .auth-alt-button {
    min-height: 50px;
  }

  .auth-form .modal-consent {
    font-size: 12px;
    line-height: 18px;
  }

  .auth-form .modal-legal {
    padding-top: 10px;
    font-size: 11px;
    line-height: 16px;
  }
}
