.app.access-locked {
  display: none;
}

.access-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0, #eff5f0 0, transparent 34%),
    linear-gradient(145deg, #f8f6f0, #eef3ef);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.access-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid #dde5df;
}

.access-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.access-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid #d0a15a;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  color: #d7b77d;
  font: 24px Georgia, serif;
}

.access-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.side .brand .mark {
  border: 2px solid #d0a15a !important;
  box-shadow: none !important;
}

.access-brand strong {
  display: block;
  font: 30px Georgia, serif;
  color: #202b37;
}

.access-brand small {
  display: block;
  color: #24796f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.access-privacy {
  color: #71808c;
  font-size: 13px;
}

.access-main {
  width: min(1040px, calc(100% - 30px));
  margin: auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.access-intro h1 {
  font: clamp(34px, 4.2vw, 52px)/1.08 Georgia, serif;
  margin: 10px 0 18px;
  color: #20313b;
}

.access-intro > p {
  font-size: 16px;
  color: #596863;
  max-width: 520px;
}

.access-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.access-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #465650;
}

.access-point span {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 50%;
  background: #e8f2ee;
  color: #24796f;
  font-weight: 800;
}

.access-card {
  background: #fffefa;
  border: 1px solid #dde3dc;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 24px 70px #263b3520;
}

.access-card [hidden] {
  display: none !important;
}

.access-stepbar {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.access-step {
  height: 5px;
  flex: 1;
  border-radius: 9px;
  background: #dde4df;
}

.access-step.active,
.access-step.done {
  background: #24796f;
}

.access-card h2 {
  font: 27px Georgia, serif;
  margin: 5px 0 8px;
}

.access-copy {
  margin: 0 0 20px;
  color: #61706b;
}

.access-field {
  display: grid;
  gap: 7px;
  margin: 15px 0;
}

.access-field label {
  font-weight: 700;
  color: #354640;
}

.access-field input {
  width: 100%;
  border: 1px solid #d5ddd8;
  border-radius: 12px;
  background: white;
  padding: 14px 15px;
  font-size: 16px;
  outline: none;
}

.access-field input:focus {
  border-color: #4f9488;
  box-shadow: 0 0 0 3px #dceee8;
}

.paypal-box {
  border: 1px solid #e4e0d7;
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
  background: #fbfaf6;
}

.paypal-product {
  font-weight: 750;
  margin-bottom: 3px;
}

.paypal-note {
  font-size: 12px;
  color: #71808c;
  margin-bottom: 14px;
}

.paypal-button-container {
  min-height: 45px;
}

.subscription-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.subscription-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 12px 12px;
  border: 1px solid #dbe1dc;
  border-radius: 13px;
  background: #fff;
}

.subscription-plan.featured {
  border-color: #4f9488;
  box-shadow: 0 0 0 2px #dceee8;
}

.subscription-badge {
  align-self: flex-start;
  margin: -4px 0 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e3f1ec;
  color: #276b61;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.subscription-plan h3 {
  margin: 0 0 8px;
  color: #243640;
  font-size: 17px;
}

.subscription-price {
  color: #17323a;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.subscription-period {
  min-height: 34px;
  margin-top: 5px;
  color: #687974;
  font-size: 12px;
}

.subscription-plan p {
  flex: 1;
  min-height: 50px;
  margin: 8px 0 12px;
  color: #64736f;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .subscription-plans {
    grid-template-columns: 1fr;
  }

  .subscription-plan p,
  .subscription-period {
    min-height: 0;
  }
}

.access-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.access-button {
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
}

.access-button.primary {
  background: #24796f;
  color: white;
}

.access-button.secondary {
  background: #e8f2ee;
  color: #276b61;
}

.access-button.link {
  padding: 7px 0;
  background: transparent;
  color: #24796f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access-button:focus-visible {
  outline: 3px solid #b8d9d1;
  outline-offset: 3px;
}

.access-status {
  min-height: 23px;
  margin-top: 14px;
  font-size: 13px;
  color: #5a6964;
}

.access-status.error { color: #9b342d; }
.access-status.success { color: #176a50; }

.access-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #89938f;
  font-size: 12px;
  margin: 21px 0;
}

.access-divider::before,
.access-divider::after {
  content: '';
  height: 1px;
  background: #e8e4db;
  flex: 1;
}

.access-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-top: 1px solid #dde5df;
  color: #73807b;
  font-size: 12px;
}

.access-footer strong {
  font: 18px Georgia, serif;
  color: #24796f;
}

@media (max-width: 720px) {
  .access-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px 0 max(170px, calc(25px + env(safe-area-inset-bottom)));
    align-items: start;
  }

  .access-intro h1 { font-size: 30px; }
  .access-intro > p { font-size: 15px; }
  .access-points { display: none; }
  .access-privacy { display: none; }
  .access-header { padding: 18px 20px; }
  .access-footer { flex-direction: column; text-align: center; }
  .access-card {
    border-radius: 18px;
    scroll-margin-block: 110px;
  }

  .access-field input {
    scroll-margin-block: 170px;
  }
}
