:root {
  --ink: #17241f;
  --ink-soft: #47564f;
  --steel: #263630;
  --steel-deep: #17251f;
  --cream: #f5f2eb;
  --paper: #fcfbf8;
  --white: #ffffff;
  --lime: #c9f44e;
  --lime-dark: #acd52f;
  --line: #d8ddd7;
  --danger: #bd3c38;
  --shadow: 0 24px 70px rgba(24, 40, 33, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 11px;
  --font-display: "Manrope", "Arial", sans-serif;
  --font-body: "DM Sans", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.panel-open {
  overflow: hidden;
}

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

button {
  color: inherit;
}

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

svg {
  display: block;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--lime);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(31, 47, 40, 0.09);
  background: rgba(252, 251, 248, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  color: var(--steel);
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 34px;
  color: #47554f;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--lime-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-picker {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 5px;
  padding: 0 8px 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.language-picker svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.language-picker select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.button:focus-visible,
.text-link:focus-visible,
.panel-close:focus-visible {
  outline: 3px solid rgba(171, 218, 42, 0.42);
  outline-offset: 3px;
}

.button svg,
.text-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 9px;
  font-size: 13px;
}

.button-dark {
  background: var(--steel);
  color: var(--white);
}

.button-dark:hover {
  background: #1d2b26;
  box-shadow: 0 9px 24px rgba(31, 48, 41, 0.16);
}

.button-primary {
  background: var(--lime);
  color: #17241f;
  box-shadow: 0 11px 26px rgba(172, 213, 47, 0.18);
}

.button-primary:hover {
  background: #d1f969;
  box-shadow: 0 12px 30px rgba(172, 213, 47, 0.28);
}

.button-secondary {
  border-color: #cbd1cb;
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--steel);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.button-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 244, 78, 0.12), transparent 25%),
    var(--paper);
}

.hero-grid {
  display: grid;
  min-height: 660px;
  align-items: center;
  grid-template-columns: minmax(0, 0.98fr) minmax(460px, 0.92fr);
  gap: 66px;
  padding-block: 62px 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: #5a665f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--steel);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--paper);
  background: var(--lime);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent-line {
  display: inline;
  padding-inline: 0.02em 0.08em;
  color: var(--steel);
  -webkit-text-stroke: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background:
    linear-gradient(
      to top,
      rgba(201, 244, 78, 0.68) 0 0.34em,
      rgba(201, 244, 78, 0) 0.34em
    );
  text-shadow: none;
}

.hero-description {
  max-width: 575px;
  margin: 29px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 31px;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #d7ddd9;
  color: var(--steel);
  font-size: 9px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  background: #b8c7bf;
}

.avatar-stack span:last-child {
  background: var(--lime);
  font-size: 14px;
}

.hero-note p {
  margin: 0;
  color: #6a756f;
  font-size: 13px;
}

.hero-note strong {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--steel);
  box-shadow: 0 34px 76px rgba(31, 47, 40, 0.18);
  isolation: isolate;
}

.generated-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(201, 244, 78, 0.24), transparent 25%),
    radial-gradient(circle at 22% 82%, rgba(201, 244, 78, 0.18), transparent 31%),
    linear-gradient(145deg, #254037 0%, #162820 62%, #102019 100%);
}

.hero-visual::before {
  position: absolute;
  top: -52px;
  right: -62px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(201, 244, 78, 0.28);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 190px;
  height: 190px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)),
    rgba(201, 244, 78, 0.1);
  content: "";
  z-index: -1;
  transform: rotate(11deg);
}

.visual-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 70% 36%, black, transparent 76%);
}

.visual-glow {
  position: absolute;
  right: -5%;
  bottom: -8%;
  z-index: 1;
  width: 104%;
  height: 64%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 53% 62%, rgba(201, 244, 78, 0.35), transparent 62%),
    rgba(255, 255, 255, 0.02);
  filter: blur(10px);
}

.crew-hero-image {
  position: absolute;
  bottom: -8px;
  left: 50%;
  z-index: 2;
  width: 156%;
  max-width: none;
  height: auto;
  transform: translateX(-49%);
  filter: drop-shadow(0 26px 35px rgba(3, 12, 8, 0.33));
}

.hero-info-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(9, 20, 14, 0.22);
  backdrop-filter: blur(18px);
}

.hero-info-card strong,
.hero-info-card small {
  display: block;
}

.hero-info-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.hero-info-card small {
  margin-top: 3px;
  color: #6b7971;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-info-card-bottom {
  right: 24px;
  bottom: 24px;
}

.match-board {
  position: absolute;
  inset: 76px 42px 48px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 55px rgba(5, 14, 10, 0.28);
}

.board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid #e3e7e3;
}

.board-kicker,
.card-kicker {
  display: block;
  margin-bottom: 5px;
  color: #738078;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.board-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.board-count {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.worker-list {
  display: grid;
  gap: 2px;
  padding-block: 12px;
}

.worker-row {
  display: grid;
  align-items: center;
  padding: 11px 4px;
  border-bottom: 1px solid #edf0ed;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
}

.worker-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #1d3028;
  font-size: 11px;
  font-weight: 800;
}

.avatar-one {
  background: #c7d7ce;
}

.avatar-two {
  background: #ddd4c9;
}

.avatar-three {
  background: #cad3df;
}

.worker-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.worker-info strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worker-info small {
  color: #758078;
  font-size: 11px;
}

.verified-badge {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #eef7d3;
  color: #658018;
}

.verified-badge svg,
.mini-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.board-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 14px;
  color: #7a847e;
  font-size: 11px;
}

.match-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.match-score span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.match-score strong {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 20px;
}

.status-pill {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 15px 35px rgba(12, 29, 21, 0.21);
  font-size: 11px;
  font-weight: 700;
}

.status-pill-top {
  top: 42px;
  right: 23px;
}

.status-pill-bottom {
  right: 23px;
  bottom: 27px;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7eaa0d;
}

.pulse-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(126, 170, 13, 0.35);
  border-radius: 50%;
  content: "";
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.mini-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
}

.hero-bottom-line {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--lime) 0 34%, var(--steel) 34% 100%);
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-items {
  display: grid;
  min-height: 96px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-right: 1px solid var(--line);
  color: #526058;
  font-size: 13px;
  font-weight: 600;
}

.trust-item:first-child {
  justify-content: flex-start;
}

.trust-item:last-child {
  justify-content: flex-end;
  border-right: 0;
}

.trust-item svg {
  width: 20px;
  fill: none;
  stroke: var(--steel);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.path-section {
  padding: 120px 0 132px;
  background: var(--cream);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 48px;
  grid-template-columns: 1fr 0.72fr;
  gap: 60px;
}

.section-label {
  display: block;
  margin-bottom: 15px;
  color: #728078;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.section-heading h2,
.difference-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.07;
}

.section-heading p {
  max-width: 475px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.path-card {
  position: relative;
  display: grid;
  min-height: 540px;
  overflow: hidden;
  padding: 38px 42px;
  border-radius: 25px;
  grid-template-rows: auto 1fr;
}

.worker-card {
  border: 1px solid #d8ddd7;
  background: var(--white);
}

.company-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(201, 244, 78, 0.11), transparent 25%),
    var(--steel);
  color: var(--white);
}

.path-card::after {
  position: absolute;
  top: -80px;
  right: -75px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(107, 121, 114, 0.12);
  border-radius: 50%;
  content: "";
}

.company-card::after {
  border-color: rgba(255, 255, 255, 0.1);
}

.path-number {
  position: absolute;
  top: 34px;
  right: 35px;
  color: #b3bbb5;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-card .path-number {
  color: rgba(255, 255, 255, 0.5);
}

.path-icon {
  display: grid;
  width: 67px;
  height: 67px;
  place-items: center;
  border-radius: 18px;
  background: #eff6d9;
  color: var(--steel);
}

.company-card .path-icon {
  background: var(--lime);
}

.path-icon svg {
  width: 33px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.path-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 40px;
}

.company-card .card-kicker {
  color: #acb9b2;
}

.path-content h3 {
  max-width: 440px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.path-content > p {
  max-width: 475px;
  margin: 20px 0 0;
  color: #66736c;
  line-height: 1.65;
}

.company-card .path-content > p {
  color: #b8c3bd;
}

.path-content ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 31px;
  padding: 0;
  list-style: none;
}

.path-content li {
  position: relative;
  padding-left: 24px;
  color: #445149;
  font-size: 13px;
  font-weight: 600;
}

.company-card .path-content li {
  color: #d6ded9;
}

.path-content li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--steel);
  content: "✓";
  font-size: 9px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.text-link svg {
  width: 17px;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link.light {
  color: var(--lime);
}

.difference-section {
  padding: 120px 0;
  background: var(--white);
}

.difference-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 120px;
}

.difference-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.difference-copy p {
  max-width: 455px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.difference-points {
  display: grid;
}

.difference-points article {
  display: grid;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 64px 1fr;
  gap: 22px;
}

.difference-points article:first-child {
  padding-top: 0;
}

.difference-points > article > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 12px;
  background: var(--cream);
  color: #6f7b74;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.difference-points h3 {
  margin: 2px 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.025em;
}

.difference-points p {
  margin: 0;
  color: #68746d;
  line-height: 1.65;
}

.final-cta {
  background: var(--steel-deep);
  color: var(--white);
}

.final-cta-inner {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.light-label {
  color: var(--lime);
}

.final-cta h2 {
  max-width: 600px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 35px 0;
  background: #101c17;
  color: #94a39b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.footer-brand {
  color: var(--white);
  font-size: 14px;
}

.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
  color: var(--lime);
}

.form-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 18px;
  visibility: hidden;
  background: rgba(8, 17, 13, 0.72);
  opacity: 0;
  place-items: center;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  backdrop-filter: blur(8px);
}

.form-overlay.open {
  visibility: visible;
  opacity: 1;
}

.form-panel {
  position: relative;
  display: grid;
  width: min(1120px, 100%);
  height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: 350px 1fr;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.32s ease;
}

.form-overlay.open .form-panel {
  transform: translateY(0) scale(1);
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #dfe4e0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.panel-close svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.panel-sidebar {
  display: flex;
  min-height: 0;
  padding: 40px 38px 34px;
  background:
    radial-gradient(circle at 92% 10%, rgba(201, 244, 78, 0.12), transparent 25%),
    var(--steel);
  color: var(--white);
  flex-direction: column;
}

.panel-brand {
  color: var(--white);
  font-size: 15px;
}

.panel-brand .brand-mark {
  width: 27px;
  height: 27px;
  color: var(--lime);
}

.sidebar-copy {
  margin-top: 73px;
}

.sidebar-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 31px;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.sidebar-copy p {
  margin: 16px 0 0;
  color: #aebbb4;
  font-size: 13px;
  line-height: 1.65;
}

.progress-steps {
  position: relative;
  display: grid;
  gap: 23px;
  margin-top: 46px;
}

.progress-steps::before {
  position: absolute;
  top: 19px;
  bottom: 19px;
  left: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.progress-step {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  color: #8e9c95;
  grid-template-columns: 38px 1fr;
  gap: 13px;
}

.progress-step > span {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--steel);
  font-size: 12px;
  font-weight: 800;
}

.progress-step div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.progress-step strong {
  font-size: 13px;
}

.progress-step small {
  font-size: 10px;
}

.progress-step.active,
.progress-step.completed {
  color: var(--white);
}

.progress-step.active > span,
.progress-step.completed > span {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--steel);
}

.progress-step.completed > span {
  font-size: 0;
}

.progress-step.completed > span::after {
  content: "✓";
  font-size: 13px;
}

.sidebar-help {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  color: #9ba9a2;
  font-size: 11px;
}

.sidebar-help svg {
  width: 18px;
  fill: none;
  stroke: var(--lime);
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.panel-main {
  position: relative;
  min-height: 0;
  overflow: auto;
  background: var(--white);
}

.multi-step-form {
  display: none;
  min-height: 100%;
  padding: 68px 70px 44px;
}

.multi-step-form.active {
  display: flex;
  flex-direction: column;
}

.form-step {
  display: none;
  animation: fade-up 0.28s ease both;
}

.form-step.active {
  display: block;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-kicker {
  display: block;
  margin-bottom: 9px;
  color: #809075;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.form-heading {
  margin-bottom: 31px;
}

.form-heading h2,
.success-state h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 35px;
  letter-spacing: -0.045em;
}

.form-heading p {
  margin: 10px 0 0;
  color: #6d7972;
  font-size: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}

.field,
.upload-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.field > span {
  color: #3a4942;
  font-size: 12px;
  font-weight: 700;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d5dcd7;
  border-radius: 9px;
  outline: 0;
  background: #fdfdfb;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9db831;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 244, 78, 0.2);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(189, 60, 56, 0.08);
}

.field-hint {
  color: #849089;
  font-size: 10px;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 10px;
}

.invalid > .field-error,
.invalid .field-error {
  display: block;
}

.upload-field {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 28px;
  border: 1.5px dashed #bfc9c1;
  border-radius: 14px;
  background: #fafbf7;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.upload-field:hover {
  border-color: #93ab31;
  background: #fbfdf3;
}

.upload-field.invalid {
  border-color: var(--danger);
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 13px;
  background: #edf6d5;
  color: #536f0c;
}

.upload-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.upload-field strong {
  font-size: 14px;
}

.upload-copy {
  color: #87928b;
  font-size: 11px;
}

.file-name {
  margin-top: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 3px 10px rgba(37, 54, 46, 0.08);
  color: #536159;
  font-size: 11px;
  font-weight: 700;
}

.check-field {
  position: relative;
  display: grid;
  align-items: flex-start;
  padding-top: 4px;
  color: #55635c;
  font-size: 11px;
  line-height: 1.6;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  cursor: pointer;
}

.check-field input {
  position: absolute;
  opacity: 0;
}

.custom-check {
  display: grid;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  place-items: center;
  border: 1px solid #bcc7c0;
  border-radius: 5px;
  background: var(--white);
}

.custom-check svg {
  width: 13px;
  fill: none;
  stroke: var(--steel);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.16s ease;
}

.check-field input:checked + .custom-check {
  border-color: var(--lime-dark);
  background: var(--lime);
}

.check-field input:checked + .custom-check svg {
  opacity: 1;
  transform: scale(1);
}

.check-field.invalid .custom-check {
  border-color: var(--danger);
}

.check-field .field-error {
  grid-column: 2;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 38px;
}

.form-actions .button {
  min-width: 145px;
}

.button-back {
  display: none;
  padding-left: 0;
  background: transparent;
  color: #69766f;
}

.button-back:hover {
  color: var(--ink);
  transform: translateX(-2px);
}

.button-back.visible {
  display: inline-flex;
}

.submit-button {
  display: none;
}

.submit-button.visible {
  display: inline-flex;
}

.form-actions [data-form-next].hidden {
  display: none;
}

.mobile-progress {
  display: none;
}

.success-state {
  display: none;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 70px;
  text-align: center;
  flex-direction: column;
}

.success-state.active {
  display: flex;
  animation: fade-up 0.35s ease both;
}

.success-icon {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  background: #eff8d8;
  color: #5c7911;
}

.success-icon svg {
  width: 47px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.success-state p {
  max-width: 470px;
  margin: 18px 0 31px;
  color: #68756e;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr 0.86fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(47px, 6.4vw, 67px);
  }

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

  .match-board {
    inset-inline: 24px;
    padding: 24px;
  }

  .difference-grid {
    gap: 60px;
  }

  .form-panel {
    grid-template-columns: 300px 1fr;
  }

  .panel-sidebar {
    padding-inline: 30px;
  }

  .multi-step-form {
    padding-inline: 48px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 32px, 680px);
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-block: 72px 80px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(54px, 11vw, 76px);
  }

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

  .crew-hero-image {
    width: 146%;
  }

  .trust-items {
    padding-block: 18px;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    min-height: 50px;
    justify-content: flex-start;
    padding-inline: 20px;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .path-section,
  .difference-section {
    padding-block: 90px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .path-card {
    min-height: 510px;
  }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .difference-copy {
    position: static;
  }

  .final-cta-inner {
    min-height: 390px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .final-actions {
    justify-content: flex-start;
  }

  .form-overlay {
    padding: 0;
  }

  .form-panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
    grid-template-columns: 1fr;
  }

  .panel-sidebar {
    display: none;
  }

  .panel-close {
    top: 14px;
    right: 14px;
  }

  .mobile-progress {
    display: block;
    padding: 21px 72px 17px 25px;
    border-bottom: 1px solid #e1e6e2;
    background: var(--white);
  }

  .mobile-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #748078;
    font-size: 10px;
  }

  .mobile-progress-top strong {
    color: var(--ink);
    font-size: 11px;
  }

  .mobile-progress-track {
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: #ebeeeb;
  }

  .mobile-progress-track span {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: var(--lime-dark);
    transition: width 0.25s ease;
  }

  .multi-step-form {
    min-height: calc(100% - 66px);
    padding: 45px 25px 30px;
  }

  .success-state {
    min-height: calc(100% - 66px);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 26px, 500px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .language-picker {
    height: 37px;
  }

  .hero-grid {
    position: relative;
    display: grid;
    gap: 24px;
    padding-block: 32px 44px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.98;
  }

  .hero-description {
    max-width: 34rem;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.62;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
    margin-top: 23px;
  }

  .hero-visual {
    position: relative;
    z-index: 2;
    width: 100%;
    height: clamp(220px, 64vw, 270px);
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 55px rgba(16, 32, 25, 0.2);
    opacity: 1;
  }

  .generated-hero {
    background:
      radial-gradient(circle at 82% 20%, rgba(201, 244, 78, 0.32), transparent 28%),
      radial-gradient(circle at 16% 88%, rgba(255, 255, 255, 0.1), transparent 34%),
      linear-gradient(145deg, #254138 0%, #162820 60%, #0f1e18 100%);
  }

  .hero-visual::before,
  .hero-visual::after,
  .visual-grid {
    display: block;
  }

  .hero-visual::before {
    top: -76px;
    right: -70px;
    width: 205px;
    height: 205px;
    border-color: rgba(201, 244, 78, 0.32);
  }

  .hero-visual::after {
    right: auto;
    bottom: -70px;
    left: -54px;
    z-index: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(201, 244, 78, 0.12);
    transform: none;
  }

  .hero-info-card {
    display: none;
  }

  .visual-grid {
    opacity: 0.82;
    mask-image: radial-gradient(circle at 62% 50%, black, transparent 78%);
  }

  .visual-glow {
    right: -13%;
    bottom: -28%;
    display: block;
    width: 116%;
    height: 78%;
    background:
      radial-gradient(circle at 55% 55%, rgba(201, 244, 78, 0.36), transparent 63%),
      rgba(255, 255, 255, 0.02);
    filter: blur(12px);
  }

  .crew-hero-image {
    bottom: -18px;
    left: 50%;
    width: min(136%, 520px);
    filter: drop-shadow(0 22px 30px rgba(3, 12, 8, 0.34));
    transform: translateX(-50%);
  }

  .board-header h2 {
    font-size: 20px;
  }

  .worker-row {
    gap: 9px;
  }

  .worker-avatar {
    width: 38px;
    height: 38px;
  }

  .board-footer > span {
    display: none;
  }

  .board-footer {
    justify-content: flex-end;
  }

  .status-pill {
    padding: 9px 12px;
    font-size: 10px;
  }

  .status-pill-top {
    top: 29px;
    right: 11px;
  }

  .status-pill-bottom {
    right: 11px;
    bottom: 17px;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 4px;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .path-section,
  .difference-section {
    padding-block: 72px;
  }

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

  .path-card {
    min-height: 540px;
    padding: 29px 25px;
  }

  .path-number {
    top: 27px;
    right: 25px;
  }

  .path-content h3 {
    font-size: 31px;
  }

  .difference-points article {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .final-cta-inner {
    min-height: 430px;
  }

  .final-actions {
    display: grid;
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p {
    margin: 0;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .field-full {
    grid-column: auto;
  }

  .form-heading h2,
  .success-state h2 {
    font-size: 29px;
  }

  .form-heading {
    margin-bottom: 25px;
  }

  .form-actions {
    position: sticky;
    bottom: -30px;
    margin-inline: -25px;
    padding: 22px 25px 30px;
    background: linear-gradient(to top, var(--white) 78%, rgba(255, 255, 255, 0));
  }

  .form-actions .button {
    min-width: 0;
  }

  .form-actions [data-form-next],
  .form-actions .submit-button {
    flex: 1;
  }

  .upload-field {
    min-height: 190px;
  }

  .success-state {
    padding: 45px 26px;
  }
}

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

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