:root {
  color-scheme: light;
  --gst-green: #90e05c;
  --gst-green-hover: #7dce49;
  --gst-green-dark: #1f6b2b;
  --gst-green-soft: #edf8e7;
  --gst-orange: #fc8a1a;
  --gst-orange-dark: #a94c00;
  --gst-orange-soft: #fff3e6;
  --gst-ink: #18232f;
  --gst-muted: #5f6b78;
  --gst-bg: #f3f5f7;
  --gst-surface: #ffffff;
  --gst-surface-alt: #f7f8f9;
  --gst-line: #d9dfe5;
  --gst-line-strong: #bec7d0;
  --gst-danger: #b42318;
  --gst-focus: 0 0 0 3px rgba(144, 224, 92, 0.32);
  --gst-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.11);
  --gst-radius: 10px;
  --gst-radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--gst-bg);
}

body,
button,
input {
  font-family: Bahnschrift, "DIN 1451 Mittelschrift", Inter, "Segoe UI", Arial, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--gst-ink);
  background: var(--gst-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--gst-focus);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 70px;
  border-bottom: 1px solid var(--gst-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
}

.logo {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--gst-green);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--gst-orange);
}

.header-context {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-context-label {
  padding-right: 16px;
  border-right: 1px solid var(--gst-line);
  color: var(--gst-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--gst-line-strong);
  border-radius: 999px;
  color: var(--gst-ink);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.header-back svg {
  width: 18px;
  height: 18px;
  color: var(--gst-orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-back:hover {
  border-color: var(--gst-green);
  background: var(--gst-green-soft);
}

.account-main {
  min-height: calc(100vh - 142px);
  padding: 24px 0 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gst-muted);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: var(--gst-green-dark);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb span[aria-hidden="true"] {
  color: var(--gst-orange);
  font-size: 1.1rem;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(470px, 1.14fr);
  overflow: hidden;
  border: 1px solid var(--gst-line);
  border-radius: var(--gst-radius-lg);
  background: var(--gst-surface);
  box-shadow: var(--gst-shadow-md);
}

.registration-summary {
  padding: 42px 40px;
  border-right: 1px solid var(--gst-line);
  background: var(--gst-surface-alt);
}

.summary-eyebrow,
.step-label {
  display: block;
  color: var(--gst-orange-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.registration-summary h1 {
  max-width: 12ch;
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.summary-lead {
  max-width: 31rem;
  margin: 0;
  color: var(--gst-muted);
  line-height: 1.58;
}

.account-benefits {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--gst-line);
}

.account-benefits article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--gst-line);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--gst-radius);
  color: var(--gst-green-dark);
  background: var(--gst-green-soft);
  box-shadow: inset 0 0 0 1px rgba(31, 107, 43, 0.08);
}

.benefit-icon svg,
.account-icon svg,
.data-note-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon.company {
  color: var(--gst-orange-dark);
  background: var(--gst-orange-soft);
}

.benefit-icon.return {
  color: var(--gst-ink);
  background: #eef1f4;
}

.account-benefits strong {
  display: block;
  margin-top: 1px;
  font-size: 0.92rem;
}

.account-benefits p {
  margin: 4px 0 0;
  color: var(--gst-muted);
  font-size: 0.79rem;
  line-height: 1.42;
}

.data-note {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid #d7e9cd;
  border-radius: var(--gst-radius);
  background: var(--gst-green-soft);
}

.data-note-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--gst-green-dark);
}

.data-note-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.data-note p {
  margin: 0;
  color: #31523a;
  font-size: 0.75rem;
  line-height: 1.45;
}

.data-note strong {
  display: block;
  margin-bottom: 2px;
  color: #17421c;
  font-size: 0.8rem;
}

.form-panel {
  position: relative;
  padding: 42px clamp(32px, 5vw, 62px) 40px;
  background: #fff;
}

.form-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gst-green) 0 74%, var(--gst-orange) 74% 100%);
}

.card-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.card-heading p {
  margin: 9px 0 25px;
  color: var(--gst-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: var(--gst-radius);
  color: #991b1b;
  background: #fef2f2;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.registration-form fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.registration-form legend,
.registration-form > label > span,
.password-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 0.83rem;
  font-weight: 850;
}

.registration-form > label {
  display: block;
  margin-bottom: 17px;
}

.account-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-type {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--gst-line);
  border-radius: var(--gst-radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.account-type:hover {
  border-color: var(--gst-line-strong);
  background: #fbfcfc;
}

.account-type:has(input:checked) {
  border-color: var(--gst-green);
  background: #f8fff4;
  box-shadow: var(--gst-focus);
}

.account-type:has(input:focus-visible) {
  box-shadow: var(--gst-focus);
}

.account-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--gst-radius);
  color: var(--gst-green-dark);
  background: var(--gst-green-soft);
}

.account-type:has(input[value="company"]:checked) .account-icon {
  color: var(--gst-orange-dark);
  background: var(--gst-orange-soft);
}

.account-type strong,
.account-type small {
  display: block;
}

.account-type strong {
  font-size: 0.87rem;
}

.account-type small,
.registration-form label > small,
.password-hint {
  color: var(--gst-muted);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.38;
}

.account-type small {
  margin-top: 3px;
}

.registration-form label > small {
  display: block;
  margin-top: 6px;
}

.registration-form em {
  color: var(--gst-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid #cbd5e1;
  border-radius: var(--gst-radius);
  color: var(--gst-ink);
  background: #fff;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: var(--gst-green);
  box-shadow: var(--gst-focus);
}

.password-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.password-hint {
  margin: 7px 0 19px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.registration-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--gst-radius);
  color: #073b12;
  background: var(--gst-green);
  box-shadow: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  transition: background 0.16s ease, transform 0.16s ease;
}

.registration-form button svg {
  width: 19px;
  height: 19px;
  color: var(--gst-orange-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.registration-form button:hover {
  background: var(--gst-green-hover);
  transform: translateY(-1px);
}

.site-footer {
  min-height: 72px;
  color: #17361d;
  background: var(--gst-green);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 880px) {
  .registration-layout {
    grid-template-columns: 1fr;
  }

  .registration-summary {
    border-right: 0;
    border-bottom: 1px solid var(--gst-line);
  }

  .registration-summary h1 {
    max-width: 18ch;
  }

  .account-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 0;
  }

  .account-benefits article {
    display: block;
    padding: 15px;
    border: 1px solid var(--gst-line);
    border-radius: var(--gst-radius);
    background: #fff;
  }

  .account-benefits .benefit-icon {
    margin-bottom: 11px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .navbar-inner {
    min-height: 64px;
  }

  .header-context-label {
    display: none;
  }

  .header-back {
    min-height: 38px;
    padding-inline: 11px;
  }

  .account-main {
    padding-top: 16px;
  }

  .breadcrumb {
    margin-bottom: 13px;
  }

  .registration-summary,
  .form-panel {
    padding: 27px 22px;
  }

  .account-benefits,
  .account-types,
  .password-grid {
    grid-template-columns: 1fr;
  }

  .account-benefits {
    margin-top: 23px;
  }

  .account-benefits article {
    display: grid;
  }
}

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

  .header-back {
    font-size: 0;
  }

  .header-back svg {
    width: 20px;
    height: 20px;
  }

  .registration-layout {
    border-radius: var(--gst-radius);
  }

  .registration-summary h1 {
    font-size: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
