:root {
  --grm-bg-top: #eef5ff;
  --grm-bg-bottom: #dceafe;
  --grm-surface: #ffffff;
  --grm-surface-soft: #f4f8ff;
  --grm-border: #d7e5fa;
  --grm-text: #22324f;
  --grm-muted: #5d7295;
  --grm-accent: #4b79d8;
  --grm-accent-strong: #305aac;
  --grm-success-bg: #eaf8ef;
  --grm-success-border: #b8e4c8;
  --grm-success-text: #1f6e3a;
  --grm-danger-bg: #fff0f2;
  --grm-danger-border: #f2c4cb;
  --grm-danger-text: #a83247;
  --grm-warning-bg: #fff9eb;
  --grm-warning-border: #f5deb1;
  --grm-warning-text: #9a6a0a;
  --grm-shadow: 0 16px 42px rgba(39, 79, 143, 0.14);
  --grm-shadow-soft: 0 8px 24px rgba(46, 84, 145, 0.12);
  --wrap: min(1180px, calc(100vw - 36px));
}

* {
  box-sizing: border-box;
}

body.auth-page {
  margin: 0;
  color: var(--grm-text);
  font-family: "Manrope", "Segoe UI", "Roboto", sans-serif;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at 87% 18%, rgba(123, 169, 244, 0.22), transparent 30%),
    linear-gradient(165deg, var(--grm-bg-top), var(--grm-bg-bottom));
  min-height: 100vh;
}

:where(body.auth-page a) {
  text-decoration: none;
}

.shell {
  width: var(--wrap);
  margin: 0 auto;
}

.header-wrap {
  position: sticky;
  top: 14px;
  z-index: 80;
  padding-top: 14px;
  transition: top 0.24s ease, padding-top 0.24s ease;
}

.header-wrap.no-sticky-header {
  position: static;
  top: auto;
  transition: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 10px 18px;
  border: 1px solid var(--grm-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--grm-shadow-soft);
  backdrop-filter: blur(8px);
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, border-radius 0.24s ease, padding 0.24s ease;
}

@media (min-width: 761px) {
  .header-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(215, 229, 250, 0.82);
    box-shadow: 0 10px 26px rgba(46, 84, 145, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: -1;
  }

  .header-wrap.is-stuck {
    top: 0;
    padding-top: 0;
  }

  .header-wrap.is-stuck::before {
    opacity: 1;
  }

  .header-wrap.is-stuck .header {
    min-height: 60px;
    padding: 8px 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .header-wrap.no-sticky-header::before {
    display: none;
  }
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 800;
  color: #2a4f8a;
  letter-spacing: 0.01em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.brand-mark {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.07rem;
  line-height: 1.05;
}

.brand-mark small {
  display: block;
  margin-top: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  color: #6c82a6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  flex: 0 0 auto;
}

.nav a {
  padding: 10px 13px;
  border-radius: 12px;
  font-weight: 700;
  color: #385883;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: #e8f1ff;
  color: #274b83;
  transform: translateY(-1px);
}

.nav a[aria-current="page"] {
  background: #e8f1ff;
  color: #274b83;
}

.nav-link-icon {
  display: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions form,
.mobile-nav-extra form {
  margin: 0;
}

.mobile-menu-toggle,
.mobile-nav-extra {
  display: none;
}

.mobile-menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 13px;
  border: 1px solid #c6d9f7;
  background: #f7fbff;
  color: #355886;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  background: #edf5ff;
  box-shadow: 0 10px 18px rgba(53, 89, 150, 0.12);
}

.mobile-menu-toggle span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.header-wrap.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.header-wrap.is-mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header-wrap.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grm-lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.grm-lang-dropdown {
  position: relative;
}

.grm-lang-dropdown > summary {
  list-style: none;
}

.grm-lang-dropdown > summary::-webkit-details-marker {
  display: none;
}

.grm-lang-summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 11px;
  border: 1px solid #cfe0fb;
  background: rgba(247, 251, 255, 0.95);
  box-shadow: 0 8px 16px rgba(53, 89, 150, 0.09);
  cursor: pointer;
  user-select: none;
  color: #365988;
  font-family: "Manrope", "Segoe UI", "Roboto", sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.grm-lang-summary:hover {
  background: #eaf3ff;
  transform: translateY(-1px);
}

.grm-lang-dropdown[open] .grm-lang-summary {
  border-color: #9bbcf0;
  box-shadow: 0 10px 20px rgba(52, 93, 171, 0.15);
}

.grm-lang-summary .grm-lang-name {
  display: none;
}

.grm-lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #4c6fa3;
  transition: transform 0.16s ease;
}

.grm-lang-dropdown[open] .grm-lang-caret {
  transform: rotate(180deg);
}

.grm-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 130;
  min-width: 170px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #cfe0fb;
  background: rgba(252, 254, 255, 0.98);
  box-shadow: 0 16px 32px rgba(43, 77, 132, 0.18);
  backdrop-filter: blur(4px);
  display: grid;
  gap: 4px;
}

.grm-lang-link {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid transparent;
  color: #365988;
  text-decoration: none;
  font-family: "Manrope", "Segoe UI", "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.grm-lang-link:hover {
  background: #eaf3ff;
  transform: translateY(-1px);
}

.grm-lang-link.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(140deg, #4b79d8, #305aac);
  box-shadow: 0 8px 16px rgba(52, 93, 171, 0.2);
}

.grm-lang-code {
  display: inline-block;
  min-width: 2.3em;
  text-align: center;
}

.grm-lang-name {
  display: inline;
  font-weight: 600;
  letter-spacing: 0;
}

.btn {
  border-radius: 12px;
  border: 1px solid #c6d9f7;
  background: #f7fbff;
  color: #355886;
  font-weight: 700;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #edf5ff;
  box-shadow: 0 10px 18px rgba(53, 89, 150, 0.12);
}

.btn.primary {
  border: 0;
  color: #fff;
  background: linear-gradient(140deg, var(--grm-accent), var(--grm-accent-strong));
  box-shadow: 0 10px 24px rgba(52, 93, 171, 0.26);
}

.btn.primary:hover {
  background: linear-gradient(140deg, #5888ea, #2d58af);
}

.auth-main {
  width: var(--wrap);
  margin: 28px auto 0;
  padding-bottom: 24px;
}

@media (min-width: 761px) {
  .header-wrap.no-sticky-header + .auth-main {
    margin-top: 14px;
  }
}

.auth-layout {
  border: 1px solid var(--grm-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: var(--grm-shadow);
  display: grid;
  grid-template-columns: 1fr minmax(330px, 460px);
  gap: 22px;
  padding: 24px;
}

.auth-side {
  border-radius: 18px;
  border: 1px solid #dce8fb;
  background: linear-gradient(180deg, #f9fcff, #f1f7ff);
  padding: 24px 24px 20px;
  position: relative;
  overflow: hidden;
}

.auth-side::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(82, 126, 214, 0.26), rgba(82, 126, 214, 0));
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #d4e4fb;
  background: #f3f8ff;
  color: #4a6794;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.auth-title {
  margin: 14px 0 10px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 16ch;
  position: relative;
  z-index: 1;
}

.auth-lead {
  margin: 0;
  color: var(--grm-muted);
  line-height: 1.62;
  max-width: 54ch;
  position: relative;
  z-index: 1;
}

.bullet-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d8e8fd;
  color: #335581;
  font-weight: 600;
  line-height: 1.4;
}

.bullet-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.35em;
  background: linear-gradient(140deg, #4f80df, #315cad);
  flex: 0 0 auto;
}

.upgrade-plan-intro {
  margin: 16px 0 0;
  color: var(--grm-muted);
  line-height: 1.58;
  position: relative;
  z-index: 1;
}

.upgrade-plan-switcher {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.upgrade-plan-card {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.upgrade-plan-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upgrade-plan-shell {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid #d7e5fa;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(46, 84, 145, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.upgrade-plan-card:hover .upgrade-plan-shell {
  transform: translateY(-1px);
  border-color: #bcd4fb;
  box-shadow: 0 14px 28px rgba(46, 84, 145, 0.12);
}

.upgrade-plan-input:focus-visible + .upgrade-plan-shell {
  outline: 3px solid rgba(106, 149, 232, 0.2);
  outline-offset: 2px;
}

.upgrade-plan-input:checked + .upgrade-plan-shell {
  border-color: #7c9fe8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.96));
  box-shadow: 0 16px 30px rgba(52, 93, 171, 0.15), inset 0 0 0 1px rgba(76, 123, 216, 0.16);
}

.upgrade-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.upgrade-plan-name {
  margin: 0;
  color: #233f67;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.upgrade-plan-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #bfd5fa;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  flex: 0 0 auto;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.upgrade-plan-input:checked + .upgrade-plan-shell .upgrade-plan-dot {
  border-color: #4b79d8;
  background: radial-gradient(circle at center, #4b79d8 0 46%, #ffffff 49% 100%);
  box-shadow: 0 0 0 3px rgba(75, 121, 216, 0.14);
}

.upgrade-plan-caption {
  display: inline-flex;
  width: fit-content;
  padding: 4px 0 0;
  color: #6a83a6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.upgrade-plan-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: #22324f;
}

.upgrade-plan-price strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.upgrade-plan-price small {
  padding-bottom: 4px;
  color: #6b83a4;
  font-size: 0.84rem;
  font-weight: 700;
}

.upgrade-plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.upgrade-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #355681;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.upgrade-plan-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 0.42em;
  background: linear-gradient(140deg, #4f80df, #315cad);
  flex: 0 0 auto;
}

.upgrade-starter-card {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid #d7e5fa;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(46, 84, 145, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  position: relative;
  z-index: 1;
}

.upgrade-starter-card:hover {
  transform: translateY(-1px);
  border-color: #bcd4fb;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(46, 84, 145, 0.12);
}

.upgrade-starter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.upgrade-starter-copy {
  min-width: 0;
}

.upgrade-starter-name {
  margin: 0;
  color: #233f67;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.upgrade-starter-caption {
  display: inline-flex;
  margin-top: 6px;
  color: #6a83a6;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.upgrade-starter-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #bfd5fa;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  flex: 0 0 auto;
}

.upgrade-starter-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.upgrade-starter-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #355681;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.upgrade-starter-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 0.42em;
  background: linear-gradient(140deg, #b56cb6, #8559b7);
  flex: 0 0 auto;
}

.upgrade-starter-note {
  margin: 0;
  color: #7b8fae;
  font-size: 0.92rem;
  line-height: 1.55;
}

.panel {
  border-radius: 18px;
  border: 1px solid #d8e7fc;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 12px 24px rgba(50, 84, 143, 0.08);
}

.panel-title {
  margin: 0;
  font-size: 1.3rem;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

.panel-sub {
  margin: 8px 0 16px;
  color: var(--grm-muted);
  line-height: 1.52;
  font-size: 0.95rem;
}

.panel-head {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.panel-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d2e2fb;
  background: #eef5ff;
  color: #2f568f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.panel-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4f80df;
}

.alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.alert.success {
  color: var(--grm-success-text);
  border-color: var(--grm-success-border);
  background: var(--grm-success-bg);
}

.alert.danger {
  color: var(--grm-danger-text);
  border-color: var(--grm-danger-border);
  background: var(--grm-danger-bg);
}

.alert.warning {
  color: var(--grm-warning-text);
  border-color: var(--grm-warning-border);
  background: var(--grm-warning-bg);
}

.alert-list {
  margin: 0 0 16px;
  padding: 12px 14px 12px 30px;
  border-radius: 12px;
  border: 1px solid var(--grm-danger-border);
  background: var(--grm-danger-bg);
  color: var(--grm-danger-text);
  line-height: 1.5;
  font-weight: 600;
}

.alert-list li + li {
  margin-top: 4px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label {
  font-weight: 700;
  color: #2d4c79;
  font-size: 0.9rem;
}

input[type="email"],
input[type="text"],
input[type="password"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c8dbf9;
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  color: #1f3558;
  background: #fafdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder {
  color: #8ca2c3;
}

input:focus {
  outline: none;
  border-color: #6a95e8;
  box-shadow: 0 0 0 3px rgba(106, 149, 232, 0.2);
  background: #ffffff;
}

.field-hint {
  margin: 2px 0 0;
  color: #6d85a8;
  font-size: 0.82rem;
  line-height: 1.4;
}

.otp-field {
  display: grid;
  gap: 12px;
}

.otp-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e4fa;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fbff 0%, #f1f7ff 100%);
  padding: 16px 16px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.otp-shell::before {
  content: "";
  position: absolute;
  inset: auto -22px -34px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111, 150, 224, 0.18) 0%, rgba(111, 150, 224, 0) 72%);
  pointer-events: none;
}

.otp-shell-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.otp-shell-title {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  color: #264673;
}

.otp-shell-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d0dff7;
  background: rgba(255, 255, 255, 0.86);
  color: #4b6ea8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.otp-shell-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4f80df;
}

.otp-shell-copy {
  position: relative;
  margin: 0 0 14px;
  color: #5f7699;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 34ch;
}

.otp-inputs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.otp-slot {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 68px;
  min-height: 68px;
  border: 1px solid #c7d8f6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0;
  color: #1f3962;
  text-align: center;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(60, 98, 168, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.otp-slot:hover {
  border-color: #9cbaf0;
  transform: translateY(-1px);
}

.otp-slot:focus {
  outline: none;
  border-color: #6a95e8;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(106, 149, 232, 0.18), 0 12px 24px rgba(60, 98, 168, 0.14);
  transform: translateY(-1px);
}

.otp-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.otp-noscript {
  margin-top: 12px;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.actions-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.actions .btn,
.actions button {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #c8dbf9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.actions-inline .btn {
  width: auto;
}

.actions button {
  border: 0;
  color: #fff;
  background: linear-gradient(140deg, var(--grm-accent), var(--grm-accent-strong));
  box-shadow: 0 10px 24px rgba(52, 93, 171, 0.24);
}

.actions button:hover {
  background: linear-gradient(140deg, #5888ea, #2d58af);
  transform: translateY(-1px);
}

.detail-grid {
  margin: 16px 0 0;
  border-top: 1px solid #e0ebfd;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #e0ebfd;
}

.detail-row dt {
  color: #5f7699;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.detail-row dd {
  margin: 0;
  color: #24426d;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

.note-card {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d7e7fd;
  background: #f7fbff;
  color: #577093;
  font-size: 0.9rem;
  line-height: 1.55;
}

.note-card strong {
  color: #284a79;
}

.session-list {
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.session-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #dbe8fc;
  background: #f9fcff;
}

.session-copy {
  min-width: 0;
}

.session-title {
  margin: 0;
  color: #274873;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.session-meta {
  margin: 4px 0 0;
  color: #6a83a6;
  font-size: 0.82rem;
  line-height: 1.45;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d2e2fb;
  background: #eef5ff;
  color: #2f568f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-chip.paid {
  border-color: #cce8d6;
  background: #edf8f1;
  color: #256c40;
}

.text-links {
  margin-top: 12px;
  color: #5c7295;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.45;
}

.text-links a {
  color: #355c9a;
  font-weight: 700;
}

.text-links a:hover {
  text-decoration: underline;
}

.shell-single {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.status-panel {
  padding: 30px clamp(22px, 3vw, 34px);
}

.status-panel .kicker {
  width: fit-content;
}

.status-panel .panel-sub {
  max-width: 64ch;
}

.verify-status-panel {
  --verify-accent: #4c7bdd;
  --verify-accent-strong: #305aac;
  --verify-accent-soft: rgba(80, 126, 223, 0.18);
  --verify-accent-pale: #edf4ff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(111, 156, 236, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 255, 0.95));
}

.verify-status-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 46%, rgba(231, 239, 255, 0.72));
  pointer-events: none;
}

.verify-status-panel--success {
  --verify-accent: #4c7bdd;
  --verify-accent-strong: #305aac;
  --verify-accent-soft: rgba(80, 126, 223, 0.18);
  --verify-accent-pale: #edf4ff;
}

.verify-status-panel--warning {
  --verify-accent: #d39a3a;
  --verify-accent-strong: #a96e1f;
  --verify-accent-soft: rgba(211, 154, 58, 0.18);
  --verify-accent-pale: #fff6e7;
}

.verify-status-panel--danger {
  --verify-accent: #d86f82;
  --verify-accent-strong: #b94a60;
  --verify-accent-soft: rgba(216, 111, 130, 0.18);
  --verify-accent-pale: #fff1f4;
}

.verify-status-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.verify-status-copy .kicker {
  margin: 0 0 16px;
}

.verify-status-copy .panel-title {
  margin: 0 0 14px;
  max-width: 13ch;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.verify-status-copy .panel-sub {
  margin: 0 0 22px;
  max-width: 55ch;
  font-size: 1rem;
  line-height: 1.68;
}

.verify-status-copy .alert {
  margin: 0 0 22px;
  max-width: 540px;
}

.verify-status-copy .actions {
  margin-top: 0;
  gap: 12px;
}

.verify-status-copy .actions-inline {
  align-items: center;
}

.verify-visual {
  position: relative;
  z-index: 1;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px 10px 14px;
}

.verify-visual-halo {
  position: absolute;
  inset: 18px 8px 10px 34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--verify-accent-soft), rgba(255, 255, 255, 0) 72%);
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.35s ease;
  animation: verify-pulse 5.8s ease-in-out infinite;
}

.verify-visual-card {
  position: relative;
  width: min(100%, 330px);
  min-height: 268px;
  border-radius: 28px;
  border: 1px solid rgba(213, 225, 247, 0.92);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 255, 0.94));
  box-shadow: 0 22px 44px rgba(47, 85, 148, 0.15);
  overflow: hidden;
  padding: 22px 22px 24px;
  transform: rotate(-7deg);
  transform-origin: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.verify-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), transparent 56%);
  pointer-events: none;
}

.verify-visual-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.verify-visual-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 217, 244, 0.9);
  background: var(--verify-accent-pale);
  color: var(--verify-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.verify-visual-signal {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--verify-accent), var(--verify-accent-strong));
  box-shadow: 0 0 0 6px var(--verify-accent-soft);
  animation: verify-signal 2.8s ease-in-out infinite;
}

.verify-visual-route {
  position: absolute;
  inset: 74px 18px 24px;
  pointer-events: none;
}

.verify-visual-route-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(135, 158, 201, 0.15) 0 10px,
    rgba(135, 158, 201, 0.62) 10px 18px
  );
  opacity: 0.78;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.verify-visual-route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--verify-accent), var(--verify-accent-strong));
  box-shadow: 0 0 0 4px var(--verify-accent-soft);
  transform: translateY(-50%);
}

.verify-visual-route-line--one {
  top: 34px;
  left: 18px;
  right: 54px;
}

.verify-visual-route-line--one::after {
  right: 18%;
}

.verify-visual-route-line--two {
  top: 86px;
  left: 44px;
  right: 18px;
}

.verify-visual-route-line--two::after {
  left: 20%;
}

.verify-visual-route-line--three {
  top: 138px;
  left: 14px;
  right: 84px;
}

.verify-visual-route-line--three::after {
  right: 24%;
}

.verify-visual-envelope {
  position: relative;
  z-index: 2;
  width: 152px;
  height: 108px;
  margin: 46px auto 0;
  border-radius: 28px;
  border: 1px solid #d7e6fb;
  background: linear-gradient(180deg, #f7fbff, #eaf2ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 16px 28px rgba(53, 88, 134, 0.11);
}

.verify-visual-envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 16%, 50% 62%, 100% 16%, 100% 100%, 0 100%);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(224, 236, 255, 0.98), rgba(245, 250, 255, 0.92));
}

.verify-visual-letter {
  position: absolute;
  left: 24px;
  right: 24px;
  top: -16px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid #dce8fb;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  box-shadow: 0 12px 22px rgba(68, 104, 164, 0.1);
}

.verify-visual-letter::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 17px;
  height: 2px;
  border-radius: 999px;
  background: #d9e5f7;
  box-shadow: 0 12px 0 #d9e5f7, 0 24px 0 #d9e5f7;
}

.verify-visual-seal {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--verify-accent), var(--verify-accent-strong));
  box-shadow: 0 12px 20px rgba(48, 90, 172, 0.24);
  transform: translateX(-50%);
}

.verify-visual-seal::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.88);
}

.verify-visual-badge {
  position: absolute;
  right: 14px;
  bottom: 30px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--verify-accent), var(--verify-accent-strong));
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(48, 90, 172, 0.24);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.verify-visual-badge svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recovery-visual-address {
  position: absolute;
  right: -18px;
  bottom: -14px;
  max-width: 176px;
  padding: 14px 16px;
  border: 1px solid rgba(207, 223, 248, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(38, 72, 135, 0.16);
  color: #395785;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.verify-visual-note {
  position: absolute;
  max-width: 190px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1px solid rgba(208, 222, 246, 0.9);
  background: rgba(255, 255, 255, 0.8);
  color: #355681;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 16px 30px rgba(53, 88, 134, 0.1);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.verify-visual-note--top {
  top: 6px;
  left: 0;
}

.verify-visual-note--bottom {
  right: 0;
  bottom: 2px;
}

.verify-visual-note-icon {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--verify-accent), var(--verify-accent-strong));
  box-shadow: 0 0 0 5px var(--verify-accent-soft);
}

.verify-visual-note-icon--secondary {
  box-shadow: 0 0 0 5px var(--verify-accent-soft);
  opacity: 0.78;
}

.verify-status-panel:hover .verify-visual-halo {
  transform: scale(1.05);
  opacity: 1;
}

.verify-status-panel:hover .verify-visual-card {
  transform: rotate(-4deg) translateY(-8px);
  box-shadow: 0 26px 52px rgba(47, 85, 148, 0.2);
}

.verify-status-panel:hover .verify-visual-badge {
  transform: translate3d(-6px, -8px, 0) scale(1.04);
  box-shadow: 0 22px 36px rgba(48, 90, 172, 0.28);
}

.verify-status-panel:hover .verify-visual-note--top {
  transform: translate3d(-4px, -8px, 0);
}

.verify-status-panel:hover .verify-visual-note--bottom {
  transform: translate3d(6px, 6px, 0);
}

.verify-status-panel:hover .verify-visual-route-line--one {
  transform: translateX(10px);
}

.verify-status-panel:hover .verify-visual-route-line--two {
  transform: translateX(-8px);
}

.verify-status-panel:hover .verify-visual-route-line--three {
  transform: translateX(12px);
}

@keyframes verify-pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes verify-signal {
  0%,
  100% {
    box-shadow: 0 0 0 6px var(--verify-accent-soft);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 0 16px rgba(255, 255, 255, 0);
  }
}

.site-footer {
  width: var(--wrap);
  margin: 18px auto 30px;
}

.site-footer-shell {
  border: 1px solid var(--grm-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(46, 84, 145, 0.1);
  padding: 20px 22px;
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-footer-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #d4e4fb;
  background: #f3f8ff;
  color: #4a6794;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer-tagline {
  margin: 0;
  color: #5d7295;
  font-size: 0.95rem;
  line-height: 1.35;
}

.site-footer-security {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfdffc;
  border-radius: 16px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 26px rgba(63, 98, 168, 0.08);
  padding: 18px 18px 17px;
  width: 100%;
}

.site-footer-security-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.site-footer-security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid #d5e3fb;
  background: #f6faff;
  color: #4369b3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.site-footer-security-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer-security h2 {
  margin: 0;
  color: #233f67;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.site-footer-security p {
  margin: 0;
  color: #5b7295;
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(300px, 1.18fr);
  gap: 18px 28px;
  align-items: start;
}

.site-footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer-column h2 {
  margin: 0 0 2px;
  color: #233f67;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.95rem;
  line-height: 1.25;
}

.site-footer-column a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #355886;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.site-footer-column a:hover {
  color: #274b83;
  opacity: 0.92;
}

.site-footer-column a[aria-current="page"] {
  color: #223a60;
  opacity: 1;
}

.site-footer-social-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 0;
  justify-content: flex-end;
}

.site-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #d3e4fc;
  background: #f7fbff;
  color: #355886;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.site-social-link:hover {
  background: #edf5ff;
  color: #274b83;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(53, 89, 150, 0.1);
}

.site-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e4ecfc;
  color: #6a81a3;
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (max-width: 1020px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
  }

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

  .verify-status-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .verify-status-copy {
    max-width: none;
  }

  .verify-status-copy .panel-title {
    max-width: 14ch;
  }

  .verify-status-copy .alert {
    max-width: none;
  }

  .verify-visual {
    min-height: 286px;
    padding: 2px 0 0;
  }

  .verify-visual-card {
    transform: rotate(-5deg);
  }

  .site-footer-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer-social-wrap,
  .site-footer-social {
    justify-content: flex-start;
  }

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

  .site-footer-security {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1320px) {
  .header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand-mark small {
    display: none;
  }

  .nav {
    gap: 4px;
  }

  .nav a {
    padding: 9px 10px;
    font-size: 0.93rem;
  }

  .header-actions .btn {
    padding: 10px 13px;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(1180px, calc(100vw - 18px));
  }

  .header-wrap {
    position: relative;
    z-index: 90;
    padding-top: 10px;
  }

  .header-wrap.no-sticky-header {
    position: relative;
  }

  .header,
  .header-actions {
    position: relative;
    overflow: visible;
  }

  .header {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    border-radius: 18px;
    padding: 12px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .brand-mark small {
    display: block;
    font-size: 0.62rem;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    order: 3;
    margin-top: 0;
    width: 100%;
  }

  .header-wrap.is-mobile-menu-open .site-nav {
    display: block;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-content: stretch;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #d8e7fc;
    border-radius: 13px;
    background: rgba(248, 252, 255, 0.96);
    text-align: left;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(53, 89, 150, 0.06);
  }

  .nav-link-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b86b1;
    flex: 0 0 18px;
  }

  .nav-link-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nav-link-label {
    flex: 1 1 auto;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
  }

  .header-actions > * {
    min-width: 0;
  }

  .header-actions > form {
    min-width: 0;
    display: flex;
  }

  .header-actions > form .btn {
    width: 100%;
  }

  .header-actions .grm-lang-switch {
    justify-self: start;
  }

  .header-actions--compact-guest {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-actions .grm-lang-summary {
    min-width: 68px;
    justify-content: center;
  }

  .mobile-nav-extra {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #deebfc;
  }

  .mobile-nav-extra .btn,
  .mobile-nav-extra form {
    width: 100%;
  }

  .mobile-nav-extra form .btn {
    width: 100%;
  }

  .header-secondary-action {
    display: inline-flex;
    min-height: 40px;
    padding: 10px 12px;
    width: 100%;
  }

  .header-primary-action {
    min-height: 40px;
    padding: 10px 14px;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header:has(.header-actions--compact-guest) {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 12px;
  }

  .header:has(.header-actions--compact-guest) .brand {
    grid-row: 1;
    grid-column: 1;
    width: auto;
    max-width: calc(100% - 132px);
    margin: 0 auto;
    justify-content: center;
  }

  .header:has(.header-actions--compact-guest) .header-actions--compact-guest {
    grid-row: 1;
    grid-column: 1;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 42px;
  }

  .header:has(.header-actions--compact-guest) .header-actions--compact-guest .grm-lang-switch {
    grid-column: 1;
    justify-self: start;
  }

  .header:has(.header-actions--compact-guest) .header-actions--compact-guest .mobile-menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .header:has(.header-actions--compact-guest) .site-nav {
    grid-row: 2;
  }

  .grm-lang-menu {
    left: 0;
    right: auto;
    min-width: 156px;
  }

  .auth-layout {
    border-radius: 18px;
    padding: 14px;
  }

  .login-layout .panel {
    order: -1;
  }

  .upgrade-plan-switcher {
    grid-template-columns: 1fr;
  }

  .upgrade-starter-features {
    display: grid;
  }

  .auth-side,
  .panel {
    padding: 16px;
  }

  .verify-status-panel {
    gap: 18px;
    padding: 18px;
  }

  .verify-status-copy .kicker {
    margin-bottom: 14px;
  }

  .verify-status-copy .panel-title {
    max-width: none;
    font-size: clamp(1.7rem, 9vw, 2.05rem);
  }

  .verify-status-copy .panel-sub,
  .verify-status-copy .alert {
    margin-bottom: 18px;
  }

  .verify-visual {
    display: none;
  }

  .panel-head {
    flex-wrap: wrap;
  }

  .panel-badge {
    margin-left: 0;
  }

  .otp-shell {
    padding: 14px 14px 12px;
    border-radius: 16px;
  }

  .otp-shell-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .otp-shell-copy {
    max-width: none;
  }

  .otp-inputs {
    gap: 8px;
  }

  .otp-slot {
    height: 58px;
    min-height: 58px;
    border-radius: 15px;
    font-size: 1.4rem;
  }

  .actions-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .actions-inline .btn {
    width: 100%;
  }

  .detail-row,
  .session-item {
    flex-direction: column;
  }

  .detail-row dd {
    text-align: left;
  }

  .site-footer-shell {
    padding: 16px;
    border-radius: 18px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }

  .site-footer-security {
    grid-column: 1 / -1;
  }

  .site-footer-social-wrap,
  .site-footer-social {
    justify-content: flex-start;
  }

  .site-footer-brand {
    align-items: flex-start;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .verify-visual-halo,
  .verify-visual-signal {
    animation: none;
  }

  .verify-visual-halo,
  .verify-visual-card,
  .verify-visual-badge,
  .verify-visual-note,
  .verify-visual-route-line {
    transition: none;
  }
}
