:root {
  --mszk-blue: #0169B3;
  --mszk-blue-dark: #015a9a;
  --mszk-blue-soft: #EAF4FD;
  --mszk-sky: #f5faff;
  --mszk-green: #7DB221;
  --mszk-azure: #34A7E5;
  --mszk-navy: #0f172a;
  --mszk-text: #17324a;
  --mszk-border: #dfeaf5;
  --mszk-muted: #64748b;
  --mszk-white: #ffffff;
  --mszk-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--mszk-text);
  background: var(--mszk-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #000000;
}

p,
span,
a,
li,
label,
input,
textarea,
select,
button {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark__logo {
  display: block;
  height: 104px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--mszk-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-link:hover,
.site-link:focus-visible {
  color: var(--mszk-blue);
}

.site-nav a.is-active {
  color: #0a2a44;
  font-weight: 700;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__welcome {
  color: var(--mszk-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-link {
  color: var(--mszk-text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: var(--mszk-text);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu-button svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: var(--mszk-white);
  padding: 0 16px 16px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu nav a,
.mobile-menu__actions a,
.mobile-menu__actions span {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--mszk-text);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(260px, 100%);
  border-radius: 12px;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--mszk-blue);
  color: var(--mszk-white);
  box-shadow: 0 10px 18px rgba(1, 105, 179, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--mszk-blue-dark);
}

.button--secondary {
  background: var(--mszk-white);
  color: var(--mszk-blue);
  border-color: rgba(1, 105, 179, 0.8);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--mszk-blue-soft);
}

.button--small {
  padding: 0.72rem 1rem;
  font-size: 0.88rem;
}

.button--full,
.button--block {
  width: 100%;
}

.button--linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--mszk-white);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--mszk-text);
}

.button__linkedin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--mszk-blue);
  color: var(--mszk-white);
  font-size: 0.78rem;
  font-weight: 800;
}

.button--google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  background: var(--mszk-white);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--mszk-text);
}

.button__google-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.button__google-mark svg {
  display: block;
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  padding: 144px 0 168px;
}

.hero__content {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero__text {
  max-width: 740px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 42px 52px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.hero__title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
  color: #000000;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--mszk-green);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.hero__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mszk-green);
}

.hero__lead {
  margin: 18px auto 0;
  max-width: 560px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--mszk-green);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__actions--section {
  margin-top: 42px;
}

.section {
  padding: 92px 0;
}

.section--steps {
  background-image: url("../img/section-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 700px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.section--categories {
  background-image: url("../img/section-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-band {
  background: linear-gradient(90deg, rgba(52, 167, 229, 0.4) 0%, rgba(125, 178, 33, 0.4) 100%);
  padding: 36px 0;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.cta-band__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.cta-band__eyebrow {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: #000000;
}

.cta-band__title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
  color: #000000;
}

.section__title {
  margin: 0;
  text-align: center;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #000000;
}

.section__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section__description {
  margin: 18px auto 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--mszk-muted);
}

.step-grid,
.category-grid {
  margin-top: 42px;
  display: grid;
  gap: 22px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-items: center;
}

.step-card {
  width: 100%;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(52, 167, 229, 0.2);
  color: var(--mszk-blue);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 18px;
}

.step-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 18px auto 12px;
}

.step-card__title {
  margin: 0;
  font-size: 1.08rem;
  color: var(--mszk-navy);
}

.step-card__text {
  margin: 10px 0 0;
  color: var(--mszk-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.category-grid {
  grid-template-columns: 1fr 1fr;
  background: #34A7E512;
  border-radius: 20px;
  padding: 32px;
}

.category-card {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #f9fbff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  min-width: 400px;
}

.category-card__image {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 16px;
  overflow: hidden;
  background: #edf4ff;
}

.category-card__image img {
  width: 68px;
  height: 68px;
  max-width: 68px;
  max-height: 68px;
  object-fit: cover;
  display: block;
}

.category-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 36px 12px 0;
  position: relative;
}

.category-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--mszk-navy);
  white-space: nowrap;
}

.category-card__meta {
  margin: 10px 0 0;
  color: var(--mszk-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  word-break: break-word;
}

.category-card__link {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  flex-shrink: 0;
}

.category-card__arrow {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.register-page {
  background-image: url("../img/section-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 40px 0 72px;
  flex: 1 0 auto;
}

.register-page__inner {
  max-width: 1180px;
}

.register-card {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.8fr);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 18px;
  background: var(--mszk-white);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
}

.register-card--profile {
  align-items: stretch;
}

.register-card__main {
  padding: 0;
}

.profile-sidebar {
  display: flex;
  background: #f8fbff;
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.profile-sidebar__inner {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  padding: 32px 22px;
}

.profile-sidebar__label {
  margin: 0 0 16px;
  color: var(--mszk-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.profile-subnav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.profile-subnav a.profile-tab,
.profile-subnav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--mszk-text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.profile-tab__label {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-tab__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.profile-tab__badge--count {
  background: rgba(1, 105, 179, 0.08);
  color: var(--mszk-blue);
}

.profile-tab__badge.is-valid {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.profile-tab__badge.is-invalid {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
}

.profile-subnav a.profile-tab:hover,
.profile-subnav a.profile-tab:focus-visible,
.profile-subnav a.profile-tab.is-active,
.profile-subnav button:hover,
.profile-subnav button:focus-visible,
.profile-subnav button.is-active {
  background: rgba(1, 105, 179, 0.08);
  border-color: rgba(1, 105, 179, 0.12);
  color: var(--mszk-blue);
  transform: translateX(2px);
}

.profile-section {
  display: none;
  margin-top: 28px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.profile-section.is-active {
  display: block;
}

.profile-section:first-of-type {
  margin-top: 18px;
}

.profile-section__header h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--mszk-navy);
}

.section-note {
  margin: 12px 0 0;
  color: var(--mszk-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.document-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: #f8fafc;
}

.document-item__label {
  font-weight: 600;
  color: var(--mszk-text);
}

.document-item__meta {
  color: var(--mszk-muted);
  font-size: 0.8rem;
}

.document-table-wrap {
  margin-top: 24px;
}

.document-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  overflow: hidden;
}

.document-table th,
.document-table td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
  vertical-align: middle;
  font-size: 0.9rem;
}

.document-table th {
  background: rgba(1, 105, 179, 0.04);
  color: var(--mszk-text);
  font-weight: 700;
}

.document-table tbody tr:last-child td {
  border-bottom: none;
}

.document-table__actions-header,
.document-table__actions {
  width: 60px;
  text-align: center;
}

.document-table__empty {
  color: var(--mszk-muted);
  font-style: italic;
}

.document-validation-status {
  text-align: center;
}

.validation-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 700;
}

.validation-mark--valid {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

.validation-mark--invalid {
  background: rgba(148, 163, 184, 0.12);
  color: var(--mszk-muted);
}

.document-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #fff;
  border-radius: 8px;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.2s ease;
}

.document-delete-button:hover,
.document-delete-button:focus-visible {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.2);
}

.document-delete-button svg {
  width: 16px;
  height: 16px;
}

.document-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #fff;
  border-radius: 8px;
  color: var(--mszk-blue);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.document-view-button:hover,
.document-view-button:focus-visible {
  background: #eff6ff;
  border-color: rgba(1, 105, 179, 0.2);
}

.profile-actions {
  margin-top: 12px;
}

.profile-actions--compact {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.tax-search-group {
  margin-bottom: 18px;
}

.input-with-button {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.input-with-button input {
  flex: 1 1 auto;
}

.tax-search-button {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: stretch;
}

.tax-search-status {
  min-height: 22px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(1, 105, 179, 0.08);
  border: 1px solid rgba(1, 105, 179, 0.18);
  color: var(--mszk-blue);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.tax-search-status.is-success {
  background: rgba(1, 105, 179, 0.08);
  border-color: rgba(1, 105, 179, 0.22);
}

.saved-companies {
  margin-top: 24px;
}

.saved-companies h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--mszk-navy);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 0.82rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.company-table th {
  background: rgba(1, 105, 179, 0.04);
  color: var(--mszk-text);
  font-weight: 700;
}

.company-table__actions-header,
.company-table__actions {
  width: 60px;
  text-align: center;
}

.company-table tbody tr:last-child td {
  border-bottom: none;
}

.company-table__empty {
  color: var(--mszk-muted);
  font-style: italic;
}

.company-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: #fff;
  border-radius: 8px;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.2s ease;
}

.company-delete-button:hover,
.company-delete-button:focus-visible {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.2);
}

.company-delete-button svg {
  width: 16px;
  height: 16px;
}

.register-card__main h1 {
  margin: 0;
  padding: 26px 32px 18px;
  background: #eef7ff;
  border-bottom: 1px solid rgba(1, 105, 179, 0.12);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  color: #0f172a;
}

.register-card--profile .register-card__main h1 {
  font-size: clamp(1.2rem, 1.8vw, 1.68rem);
}

.register-card__intro {
  padding: 22px 32px 0;
}

.register-card__intro {
  margin: 12px 0 0;
  max-width: 520px;
  color: var(--mszk-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 0 32px;
}

.register-card--profile .register-card__intro {
  max-width: none;
  width: 100%;
  font-size: 0.914rem;
}

.register-form {
  margin-top: 26px;
  padding: 0 32px;
}

.field-row {
  display: grid;
  gap: 18px;
}

.field-row--split {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.field-row--paired {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 18px;
  margin-bottom: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

.field-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--mszk-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.field-note {
  display: block;
  margin-top: 6px;
  color: var(--mszk-muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.birth-date-input {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.form-error-banner {
  margin: 20px 32px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(254, 242, 242, 0.9);
  color: #991b1b;
  font-size: 0.92rem;
  font-weight: 600;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 10px;
  background: #f8fafc;
  padding: 0.8rem 0.9rem;
  color: var(--mszk-text);
  font-size: 0.92rem;
}

.field-group textarea {
  min-height: 112px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(1, 105, 179, 0.15);
  border-color: var(--mszk-blue);
  background: var(--mszk-white);
}

.field-group--radio {
  width: 100%;
}

.field-group--radio label {
  margin-bottom: 10px;
}

.choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 10px;
  background: var(--mszk-white);
  color: var(--mszk-text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice-option input:checked + span {
  border-color: var(--mszk-blue);
  background: #eaf4fd;
  color: var(--mszk-blue);
}

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

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

.button--register {
  width: 100%;
  background: linear-gradient(180deg, #7dbb2a 0%, #5c9d15 100%);
  color: var(--mszk-white);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(92, 157, 21, 0.18);
}

.button--full-width {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
}

.button--compact {
  min-height: 46px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
}

.register-legal {
  margin-top: 18px;
  padding-top: 22px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.register-legal .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--mszk-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.register-legal .checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.register-legal a {
  color: var(--mszk-blue);
  text-decoration: underline;
}

.register-card__side {
  background: #dfeef6;
  padding: 28px 22px 22px;
}

.register-card__login-box {
  background: #d9f3eb;
  border: 1px solid rgba(125, 178, 33, 0.2);
  border-radius: 14px;
  padding: 18px 16px 16px;
  text-align: center;
}

.register-card__login-label {
  display: block;
  margin-bottom: 12px;
  color: var(--mszk-text);
  font-size: 1.05rem;
  font-weight: 600;
}

.register-card__steps {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  padding: 18px 16px 8px;
}

.register-card__steps h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #0f172a;
}

.register-card__steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-card__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.register-card__steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(52, 167, 229, 0.18);
  color: var(--mszk-blue);
  font-size: 0.98rem;
  font-weight: 800;
}

.register-card__steps h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.register-card__steps p {
  margin: 6px 0 0;
  color: var(--mszk-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

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

  .register-card__side {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .register-card__main {
    padding: 22px 18px 24px;
  }

  .field-row--split,
  .register-actions,
  .choice-list {
    grid-template-columns: 1fr;
  }
}

.auth-shell {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex: 1 0 auto;
  min-height: 100%;
  padding: 40px 0 72px;
  background-image: url("../img/section-bg.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.auth-shell__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.auth-panel {
  width: min(100%, 680px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.auth-panel__header {
  padding: 24px 28px 18px;
  background: #eef7ff;
  border-bottom: 1px solid rgba(1, 105, 179, 0.12);
}

.auth-panel__eyebrow {
  margin: 0;
  color: var(--mszk-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.72rem;
}

.auth-panel__header h1 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  color: #0a2a44;
}

.auth-form {
  padding: 24px 28px 28px;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mszk-text);
}

.field-group input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 10px;
  background: #f8fafc;
  min-height: 46px;
  padding: 0.8rem 0.9rem;
  color: var(--mszk-text);
}

.field-group input:focus {
  outline: 2px solid rgba(1, 105, 179, 0.2);
  border-color: var(--mszk-blue);
  background: var(--mszk-white);
}

.auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 18px;
  color: var(--mszk-muted);
  font-size: 0.9rem;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.form-message {
  margin: 20px 28px 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-message--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-message--warning {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a5b00;
}

.form-message--success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}

.divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0;
}

.divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
}

.divider span {
  position: relative;
  padding: 0 10px;
  background: var(--mszk-white);
  color: var(--mszk-muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-switcher {
  margin: 18px 0 0;
  text-align: center;
  color: var(--mszk-muted);
  font-size: 0.92rem;
}

.auth-switcher a {
  color: var(--mszk-blue);
  font-weight: 700;
}

.site-footer {
  background: #0a2a44;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 42px;
  padding: 52px 0 36px;
}

.site-footer__brand {
  max-width: 320px;
}

.brand-mark--footer {
  margin-bottom: 18px;
  color: var(--mszk-white);
}

.site-footer__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 0.94rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.site-footer__links h4 {
  margin: 0 0 16px;
  color: var(--mszk-white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer__meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.site-footer__meta-inner div {
  display: flex;
  gap: 16px;
}

@media (max-width: 920px) {
  .site-nav,
  .site-header__actions {
   display: none;
  }

  .mobile-menu-button {
   display: inline-flex;
   align-items: center;
   justify-content: center;
  }

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

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

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

@media (max-width: 640px) {
  .step-grid,
  .category-grid {
   grid-template-columns: 1fr;
  }

  .category-card {
   flex-direction: row;
  }

  .category-card__image {
   width: 68px;
   height: 68px;
   flex-basis: 68px;
   flex-shrink: 0;
  }

  .hero {
   padding-top: 48px;
   padding-bottom: 62px;
  }

  .hero__actions {
   flex-direction: column;
  }

  .button,
  .button--secondary,
  .button--primary {
   width: 100%;
  }

  .auth-panel__header,
  .auth-form {
   padding-left: 20px;
   padding-right: 20px;
  }

  .auth-form__meta {
   flex-direction: column;
   align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
   animation-duration: 0.01ms !important;
   animation-iteration-count: 1 !important;
   transition-duration: 0.01ms !important;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mszk-blue);
  outline-offset: 2px;
}
