:root {
  --green: #2da247;
  --green-dark: #137d2f;
  --green-soft: #edf8f0;
  --ink: #203024;
  --muted: #66716a;
  --line: #d7e9dc;
  --paper: #ffffff;
  --page: min(1180px, calc(100vw - 40px));
  --font-default: "Aa大标宋", "Aa DaBiaoSong", "FZDaBiaoSong-B06S", "FZDaBiaoSongS-B-GB", "FangZhengDaBiaoSongJianTi", "方正大标宋简体", "方正大标宋_GBK", "方正大标宋", "STSong", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 251, 248, 0.96), rgba(247, 251, 248, 0.98)),
    url("assets/hero-airplane.jpg") center / cover fixed;
  color: var(--ink);
  font-family: var(--font-default);
}

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

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

.join-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--page);
  margin: 0 auto;
  padding: 22px 0;
}

.join-header img {
  display: block;
  width: clamp(190px, 18vw, 246px);
  height: auto;
}

.join-header nav,
.join-footer {
  display: flex;
  align-items: center;
  gap: 18px;
}

.join-header nav a,
.join-footer a {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.join-shell {
  width: var(--page);
  margin: 0 auto;
  padding: 44px 0 76px;
}

.join-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.join-intro span {
  display: block;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.join-intro h1 {
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
}

.join-intro p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.join-panel {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  gap: 22px;
  align-items: start;
}

.join-form,
.join-note {
  border: 1px solid rgba(45, 162, 71, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(24, 80, 39, 0.1);
}

.join-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.join-form label {
  display: grid;
  gap: 9px;
}

.join-form label.wide,
.form-actions {
  grid-column: 1 / -1;
}

.join-form label span {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.join-form input,
.join-form select {
  min-height: 48px;
  padding: 0 13px;
}

.join-form textarea {
  resize: vertical;
  min-height: 126px;
  padding: 13px;
  line-height: 1.75;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: rgba(45, 162, 71, 0.66);
  box-shadow: 0 0 0 4px rgba(45, 162, 71, 0.1);
}

.hidden-field {
  display: none;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-actions button {
  min-width: 160px;
  min-height: 50px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(45, 162, 71, 0.18);
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-actions p {
  margin: 0;
  color: var(--green-dark);
  line-height: 1.7;
}

.join-note {
  padding: 26px;
}

.join-note strong {
  display: block;
  color: var(--green-dark);
  font-size: 24px;
}

.join-note p {
  margin: 14px 0 22px;
  color: var(--muted);
  line-height: 1.85;
}

.join-note dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.join-note div {
  padding: 16px;
  border-left: 3px solid var(--green);
  background: var(--green-soft);
}

.join-note dt {
  color: var(--green-dark);
  font-weight: 900;
}

.join-note dd {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.success-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 168px);
}

.success-card {
  width: min(760px, 100%);
  padding: clamp(34px, 6vw, 58px);
  border: 1px solid rgba(45, 162, 71, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 26px 78px rgba(24, 80, 39, 0.12);
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.success-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.success-card h1 {
  margin: 22px 0 0;
  color: var(--green-dark);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
}

.success-card p {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.success-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 900;
}

.success-primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 38px rgba(45, 162, 71, 0.18);
}

.success-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
}

.join-footer {
  justify-content: space-between;
  width: var(--page);
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 620px) {
  .join-header,
  .join-header nav,
  .join-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .join-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
