.membership-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 75px 40px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 80px;
  align-items: start;
  min-height: calc(100vh - 160px);
}
.membership-copy h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -1.7px;
}
.membership-copy h1 span {
  color: #087d95;
}
.membership-intro {
  color: #61798a;
  line-height: 1.8;
  font-size: 16px;
  margin: 23px 0 30px;
  max-width: 510px;
}
.membership-features {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  color: #3d5b6d;
  font-size: 14px;
  line-height: 1.6;
}
.membership-features li {
  position: relative;
  padding-left: 23px;
}
.membership-features li::before {
  content: "✓";
  color: #087d95;
  position: absolute;
  left: 0;
  font-weight: 800;
}
.membership-demo {
  font-size: 12px;
  color: #61798a;
  line-height: 1.9;
  margin-top: 34px;
}
.membership-demo a {
  color: #087d95;
  font-weight: 750;
}
.membership-card {
  padding: 30px;
  border: 1px solid #cfe3ea;
  border-radius: 12px;
  background: #f8fcfd;
  min-width: 0;
}
.membership-card .product-label {
  margin-bottom: 14px;
}
.membership-price {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -1px;
}
.membership-price span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: #61798a;
}
.membership-terms,
.membership-checkout-note {
  font-size: 12px;
  color: #61798a;
  line-height: 1.8;
  margin: 15px 0 22px;
}
.membership-status {
  font-size: 13px;
  line-height: 1.7;
  padding: 14px;
  border: 1px solid #cfe3ea;
  border-radius: 6px;
  margin: 22px 0;
  background: #fff;
  color: #3d5b6d;
}
.membership-status.error {
  color: #963e2a;
  border-color: #e6c8be;
}
.membership-actions {
  display: grid;
  gap: 12px;
}
.membership-actions .button {
  height: auto;
  min-height: 46px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  width: 100%;
}
.membership-actions .subtle-button {
  min-height: 40px;
}
.membership-checkout-note {
  margin: 22px 0 0;
  font-size: 11px;
}
#sign-in:not(:empty) {
  margin: 20px -15px 0;
  display: flex;
  justify-content: center;
}
#account-menu {
  margin-left: auto;
  min-height: 32px;
}
.demo-notice {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #e9f8fc;
  color: #3d5b6d;
  border: 1px solid #cfe3ea;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.demo-notice a {
  color: #087d95;
  font-weight: 750;
  white-space: nowrap;
}
.membership-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.membership-summary h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.membership-summary p {
  font-size: 14px;
  color: #61798a;
  line-height: 1.8;
  margin-top: 10px;
}
.membership-summary strong {
  color: #3d5b6d;
}
.membership-summary .button {
  white-space: nowrap;
  min-height: 46px;
  font-size: 13px;
  padding: 12px 22px;
}
@media (max-width: 900px) {
  .membership-main {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 650px;
    padding: 45px 24px;
  }
  .membership-card {
    max-width: 100%;
  }
  .membership-summary {
    align-items: start;
    flex-direction: column;
  }
  .demo-notice {
    flex-wrap: wrap;
    gap: 8px;
  }
}
