/* Forms CSS - converted from SCSS */

:root {
  --color-black-default: #181818;
  --color-white-default: #ffffff;
  --color-purple: #a452d7;
  --brand-1: #7B49FF;
  --brand-2: #FA457E;
  --text-muted: #454444;
  --border: rgba(0, 0, 0, 0.08);
  --footer-bg: rgb(217, 227, 255);
  --color-purple-light: #FA457E;
  --color-purple-dark: #7B49FF;
}

/* Local fonts (like site) */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset for form elements */
* {
  box-sizing: border-box;
}

input,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input:not([type='checkbox']),
textarea {
  padding: 20px;
  font-family: inherit;
  color: var(--color-black-default);
  background-color: var(--color-white-default);
  border: 1px solid #CDCDCD;
  border-radius: 4px;
  outline: none;
}

input:focus:not([type='checkbox']),
textarea:focus {
  border-color: var(--color-purple);
}

input[aria-invalid='true']:not([type='checkbox']),
textarea[aria-invalid='true'] {
  border-color: #e57373;
  background-color: #fff7f7;
}

button {
  font-family: inherit;
  padding: 0;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

/* Form styles */
.root {
  width: 100%;
}

.grid {
  display: grid;
  gap: 0.75rem;
}

@media (max-width: 1397px) {
  .grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile responsive */
@media (max-width: 965px) {
  .grid {
    grid-template-columns: 1fr !important;
  }
}

.field {
  display: grid;
  gap: 6px;
}

.label {
  font-size: 12px;
  color: rgba(24, 24, 24, 0.7);
}

.label_error {
  color: #c43d3d;
}

.submit {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

/* Base button styles to match site Button */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  padding: 16px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  user-select: none;
  transition: all .2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-5px);
}

.btn:disabled {
  pointer-events: none;
  opacity: .6;
}

/* Variants */
.btn-gradient {
  color: #fff;
  background: linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
}

.btn-gradient-outline {
  color: var(--color-purple);
  background: transparent;
  background-image: none;
  background-origin: padding-box;
  background-clip: border-box;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--color-white-default), var(--color-white-default)), linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-gradient-outline:hover {
  transform: translateY(-5px);
}

/* Width helpers */
.btn-wide {
  width: 460px;
}

@media (max-width: 965px) {
  .btn-wide {
    width: 100%;
  }
}

/* Register secondary button style */
.btn-secondary {
  background: linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%) !important;
  color: #fff;
  border-radius: 40px;
  height: 56px;
  padding: 0 32px;
}

.submit button {
  width: 460px;
  height: 56px;
  padding: 0 32px;
  background: linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
  color: #fff;
  border-radius: 40px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .2s ease;
  font-size: 18px;
}

@media (max-width: 965px) {
  .submit button {
    width: 100%;
  }
}

.submit button:hover {
  filter: brightness(1.05);
  transform: translateY(-5px);
}

.submit button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 965px) {
  .submit button {
    font-size: 14px;
    height: 51px;
  }
}

.status {
  margin-top: 8px;
  font-size: 14px;
  min-height: 18px;
}

.status_error {
  color: #c43d3d;
}

.status_success {
  color: #2e7d32;
}

.alert {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  min-height: 40px;
}

.alert_error {
  background: #fff5f5;
  border: 1px solid #f2c7c7;
  color: #b3261e;
}

.alert_success {
  background: #f1fff3;
  border: 1px solid #b9e7c1;
  color: #1b5e20;
}

.alert-dismissable {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
    border: 1px solid;
    background-color: #ff0000;
    border: 1px solid #d80404;
    background-color: #d8040420;
    color: #d80404;
    margin-bottom: 30px;
}

.errorText {
  margin-top: 4px;
  font-size: 12px;
  color: #c43d3d;
  min-height: 14px;
}

.textarea {
  width: 100%;
  min-height: 140px;
  padding: 20px;
  font-family: inherit;
  color: var(--color-black-default);
  background-color: var(--color-white-default);
  border: 1px solid #CDCDCD;
  border-radius: 4px;
  outline: none;
  resize: none;
}

.textarea[aria-invalid='true'] {
  border-color: #e57373;
  background-color: #fff7f7;
}

.passwordWrap {
  position: relative;
}

.passwordInput {
  width: 100%;
}

.eyeBtn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  font-size: 12px;
  line-height: 1.5;
}

.checkbox input[type='checkbox'] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #A452D7;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.checkbox input[type='checkbox']:checked {
  border-color: #BE55FF;
  background: #BE55FF;
}

.checkbox input[type='checkbox']::after {
  content: '';
  width: 8px;
  height: 8px;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 30%, 86% 16%, 40% 78%);
  background: transparent;
}

.checkbox input[type='checkbox']:checked::after {
  background: #fff;
}

/* Responsive adjustments */
@media (max-width: 965px) {
  .checkbox {
    font-size: 10px;
  }

  .checkbox input[type='checkbox'] {
    width: 18px;
    height: 18px;
  }

  .checkbox input[type='checkbox']::after {
    width: 7px;
    height: 7px;
  }
}

/* ===================== Site Header (static) ===================== */
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-black-default);
  background: #f5f6fa;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: .8;
}

.site-header .pill,
.btn-gradient-outline,
.submit button,
.promo .cta,
.radio,
.messenger,
.site-footer a {
  transition: all .2s ease;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 965px) {
  .container {
    padding: 0 10px;
  }
}

.auth-container {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
}

@media (max-width: 965px) {
  .auth-container {
    padding: 40px 0;
    margin-top: 136px;
    background: none;
  }
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.auth-form {
  padding: 0;
  display: grid;
  gap: 24px;
}

.auth-image {
  position: relative;
  min-height: 560px;
  border-radius: 0 16px 16px 0;
}

.auth-image picture,
.auth-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.switch {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.switch .pill {
  text-decoration: none;
}

.pill.active {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-2) 0%, var(--brand-1) 100%);
  border-color: transparent;
}

/* Tabs like on the site (auth <-> partner) */
.auth-tabs {
  display: grid;
  gap: 24px;
  margin-bottom: 16px;
  grid-template-columns: minmax(0, 35%) minmax(0, 65%);
}

.auth-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-black-default);
}

/* Match RadioButton styles */
.radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 40px;
  border: 1px solid var(--color-purple);
  border-radius: 32px;
  background: #f5f5f5;
  cursor: pointer;
  transition: all .2s ease;
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-purple);
  text-decoration: none;
}

.radio:hover {
  background: #eeeeee;
}

.radio[aria-selected="true"] {
  background: #fff;
  color: var(--color-purple);
}

/* Dot indicator like RadioButton.tsx */
.radioIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.radioCircle {
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-purple);
  border-radius: 50%;
  background: var(--color-white-default);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radioCircle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-purple);
  opacity: 0;
  transform: scale(0);
  transition: all .2s ease;
}

.radio[aria-selected="true"] .radioCircle::after {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 965px) {
  .radio {
    padding: 12px 16px;
    font-size: 12px;
    gap: 6px;
  }
}

/* Aux block below form (auth) */
.cta-note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.cta-note .cta-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.cta-note .cta-wrap .pill {
  width: 460px;
  max-width: 100%;
}

/* Gradient outline button (like Button variant="gradientOutline") */
.btn-gradient-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-1);
}

.btn-gradient-outline:hover {
  filter: brightness(1.05);
}

.cta-note .cta-wrap .btn-gradient-outline {
  width: 460px;
  max-width: 100%;
}

.submit .btn-icon-right {
  width: 36px;
  height: 24px;
  display: inline-flex;
}

.submit .btn-icon-right img {
  width: 100%;
  height: 100%;
}

/* Secondary button (register submit) */
.btn-secondary {
  background: linear-gradient(90deg, #A452D7, #7B49FF) !important;
}

/* Page spacer to prevent fixed header overlap (like original) */
.page-main {
  margin-top: 203px;
  padding: 24px 40px;
}

@media (max-width: 965px) {
  .page-main {
    margin-top: 136px;
    padding: 0 10px;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  max-width: 1600px;
  margin-top: 20px;
}

.site-header .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--brand-2);
}

.site-header .logo img {
  width: 300px;
  height: 50px;
}

@media (max-width: 1601px) {
  .site-header .logo img {
    width: 250px;
    height: 40px;
  }
}

@media (max-width: 1397px) {
  .site-header .logo img {
    width: 150px;
    height: 25px;
  }
}

.messengers {
  display: inline-flex;
  gap: 8px;
}

@media (max-width: 965px) {
  .messengers {
    gap: 6px;
  }
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
}

.messenger img {
  width: 100%;
  height: 100%;
}

.messenger:hover {
  transform: translateY(-2px);
}

.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: #1f1f1f;
  font-weight: 500;
}

@media (max-width: 1431px) {
  .site-header nav {
    gap: 12px;
  }
}

@media (max-width: 1167px) {
  .site-header nav {
    gap: 4px;
  }
}

.site-header nav a {
  color: inherit;
  text-decoration: none;
  font-size: 18px;
  transition: opacity .2s ease;
  padding: .625rem 0.75rem;
  font-weight: 400;
}

@media (max-width: 1397px) {
  .site-header nav a {
    font-size: 14px;
  }
}

@media (max-width: 1045px) {
  .site-header nav a {
    padding: 2px 4px;
  }
}

.site-header nav a:hover {
  opacity: .7;
}

.site-header nav .nav {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header nav .item {
  position: relative;
}

.site-header nav .trigger {
  cursor: pointer;
}

.site-header nav .caret {
  margin-left: 6px;
}

.site-header nav .dropdown .menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .2s ease;
  list-style: none;
  margin: 0;
  z-index: 9999;
}

.site-header nav .dropdown:hover .menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header nav .menuLink {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--color-black-default);
}

@media (hover:hover) {
  .site-header nav .menuLink:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}

/* Burger (mobile) */
.burger {
  display: none;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #1f1f1f;
  border-radius: 2px;
  margin: 6px 0;
}

.burger.close span {
  background: #1f1f1f;
}

.mobile-overlay {
  display: none;
}

/* Show burger and mobile menu on small screens */
@media (max-width: 965px) {
  .burger {
    display: flex;
  }

  /* Toggle overlay via checkbox */
  .burger-toggle:checked~.mobile-overlay {
    display: block;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    height: 100vh;
    top: -20px;
    width: 100%;
    left: -1px;
  }

  .mobile-menu {
    position: fixed;
    top: 10px;
    left: 8px;
    right: 8px;
    bottom: 10px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 101;
    height: 94vh;
  }

  .mobile-menu .menu-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-menu .menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
    margin: 12px 0 16px;
  }

  .mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .mobile-list a {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Lock page scroll when burger menu is open (no JS) */
body:has(.burger-toggle:checked) {
  overflow: hidden;
}

.site-header nav a:active {
  color: #A452D7;
}

.site-header .meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 965px) {
  .site-header .meta {
    gap: 6px;
  }
}

.site-header .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 965px) {
  .site-header .pill {
    font-size: 12px;
  }
}

.site-header .pill.gradient {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-2) 0%, var(--brand-1) 100%);
}

.site-header .pill.gradient:hover {
  filter: brightness(1.05);
}

.site-header .pill.outline {
  color: var(--brand-1);
  background: #fff;
  border-color: var(--brand-1);
}

.site-header .pill.outline:hover {
  background: rgba(123, 73, 255, 0.06);
}

/* Promo banner below header */
.promo {
  border-radius: 0 0 16px 16px;
  background: var(--color-purple);
  padding: 20px 185px 20px 200px;
  position: relative;
}

.promo .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: url('/static-auth/assets/images/papersplaneheader.png') no-repeat 70% center;
  position: relative;
  z-index: 5;
}

.promo .text {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}

@media (max-width: 1397px) {
  .promo .text {
    font-size: 18px;
  }
}

@media (max-width: 965px) {
  .promo .text {
    font-size: 12px;
  }
}

.promo .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  color: var(--color-purple);
  background: #fff;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;

  gap: 6px;
  text-wrap: nowrap;
}

.promo .cta .iconSale {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.promo .cta .iconSale img {
  width: 100%;
  height: 100%;
}

.promo .img {
  position: absolute;
  bottom: -16px;
}

.promo .img.left {
  left: 0;
}

@media (max-width: 965px) {
  .promo .img.left {
    display: none;
  }
}

.promo .img.right {
  right: 0;
}

@media (max-width: 965px) {
  .promo .img.right {
    right: -60px;
  }
}

.promo .img img {
  display: block;
  height: 122px;
}

@media (max-width: 1397px) {
  .promo {
    padding: 20px 140px 20px 120px;
  }

  .promo .cta {
    font-size: 14px;
    padding: 0 11px;
  }
}

@media (max-width: 965px) {
  .site-header .bar {
    grid-template-columns: auto 1fr;
    padding: 18px 16px;
  }

  .site-header nav {
    display: none;
  }

  .promo {
    padding: 20px 8px;
    overflow: hidden;
  }

  .promo .inner {
    background: none;
  }

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

  .promo .cta {
    font-size: 12px;
    padding: 6px 5.5px;
    height: 30px;
    max-width: 157px;
  }
}

/* ===================== Site Footer (static) ===================== */
.site-footer {
  margin: 24px 0;
}

.site-footer .box {
  background: var(--footer-bg);
  color: rgba(69, 68, 68, 1);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  gap: 3.125rem;
}

@media (max-width: 1045px) {
  .site-footer .box {
    padding: 24px;
  }
}

.site-footer .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer .brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 285px;
}

.site-footer .brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  height: max-content;
}

.site-footer .brand .logo img {
  width: 285px;
  height: auto;
}

.site-footer .subtitle {
  font-weight: 700;
  margin: 16px 0;
}

@media (max-width: 1045px) {
  .site-footer .subtitle {
    font-size: 14px;
  }
}

.site-footer .links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 1045px) {
  .site-footer .links {
    font-size: 14px;
  }
}

.site-footer .bottom {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

@media (max-width: 965px) {
  .site-footer .bottom {
    grid-template-columns: 1fr;
  }
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: .8;
}

.subtitle .wb {
  background: linear-gradient(75deg, #FA457E 0%, #7B49FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle .ozon {
  color: #005BFF;
}

@media (max-width: 900px) {
  .site-footer .grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 965px) {
  .auth-tabs {
    gap: 16px;
  }

  .auth-tabs .radio {
    padding: 12px 16px;
  }

  .cta-note .cta-wrap .btn-gradient-outline {
    width: 100%;
  }
}

/* Tablet-specific parity with SCSS */
@media (max-width: 1397px) {
  .auth-tabs .radio {
    padding: 17.5px 11.5px;
  }

  .cta-note .cta-wrap .btn-gradient-outline {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .auth-tabs .radio {
    padding: 17.5px 0.5px;
  }
}

/* Header messengers: match app size and background */
.site-header .messenger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 965px) {
  .site-header .messenger {
    width: 30px;
    height: 30px;
  }
}

.site-header .messenger img {
  width: 26px;
  height: 26px;
}

/* Outline CTA: 56px height + gradient text and gradient border */
.btn-gradient-outline {
  height: 56px;
  padding: 0 32px;
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
  background-image: none;
  background-origin: padding-box;
  background-clip: border-box;
  /* 1) gradient text, 2) white fill for padding box, 3) gradient border */
  background-image: linear-gradient(var(--color-white-default), var(--color-white-default)), linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.button_text {
  background: linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 965px) {
  .button_text {
    font-size: 14px;
  }

  .cta-wrap .btn-gradient-outline {
    padding: 13.5px;
    height: auto;
  }
}

/* Ensure width behavior stays consistent */
.cta-note .cta-wrap .btn-gradient-outline {
  width: 460px;
  max-width: 100%;
}

@media (max-width: 1397px) {
  .cta-note .cta-wrap .btn-gradient-outline {
    width: 100%;
  }
}

/* Header messenger icons should fill container */
.site-header .messenger img {
  width: 100%;
  height: 100%;
}

/* Header pills: match app sizing and weight */
.site-header .pill {
  padding: 16px;
  border-radius: 999px;
  border-width: 1px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  height: auto;
}

.site-header .pill.outline {
  border-color: var(--brand-1);
}

@media (max-width: 965px) {
  .d_none_mob {
    display: none !important;
  }

  .site-header .pill.outline {
    width: 186px;
  }

  .site-header .pill.gradient {
    width: 284px;
  }
}

.site-footer .bottom a {
  text-decoration: underline;
}


.pill.outline.site-header-menu-button-outline {
  border: 1px solid transparent;
  background: transparent;
  background-image: none;
  background-origin: padding-box;
  background-clip: border-box;
  background-image: linear-gradient(var(--color-white-default), var(--color-white-default)), linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
}

.pill.outline.site-header-menu-button-outline > span {
  background: linear-gradient(75deg, var(--color-purple-light) 0%, var(--color-purple-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
