.access-gate {
  min-height: 100svh;
  overflow: auto;
  padding: clamp(28px, 4vw, 68px);
  background:
    radial-gradient(circle at 78% 8%, rgba(8, 104, 255, .18), transparent 34%),
    radial-gradient(circle at 16% 82%, rgba(35, 93, 168, .08), transparent 28%),
    #0d1117;
}

.access-shell {
  width: min(1280px, 100%);
  grid-template-columns: minmax(0, 1.16fr) minmax(400px, .84fr);
  gap: clamp(52px, 6vw, 96px);
}

.access-story { min-width: 0; }
.access-story .brand { padding-bottom: clamp(34px, 4vh, 52px); }

.access-story h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(52px, 4.5vw, 74px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.055em;
  word-break: keep-all;
  text-wrap: balance;
  font-optical-sizing: auto;
}

.access-story h1 span {
  display: block;
  white-space: nowrap;
}

.access-story > p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.72;
  word-break: keep-all;
}

.access-points { margin-top: 34px; }
.access-points span {
  padding: 9px 13px;
  background: rgba(255, 255, 255, .055);
  letter-spacing: .01em;
  backdrop-filter: blur(12px);
}

.access-shell > div:last-child {
  width: min(100%, 500px);
  justify-self: end;
}

.access-card {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(30px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 24px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .36), 0 1px 0 rgba(255, 255, 255, .9) inset;
}

.access-card h2 {
  margin: 6px 0 12px;
  font-size: clamp(25px, 2vw, 30px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.access-card > p {
  margin-top: 0;
  line-height: 1.62;
  word-break: keep-all;
}

.access-field { gap: 8px; margin-top: 22px; }
.access-field input {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  padding: 0 15px;
  border-radius: 12px;
  background: #fff;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.access-field input:focus {
  border-color: #2878ef;
  box-shadow: 0 0 0 4px rgba(24, 112, 242, .12);
}

.access-card button { margin-top: 13px; }
.access-card button:active {
  transform: scale(.985);
  transition: transform 90ms ease-out;
}

.access-status {
  margin: 14px 4px 0 !important;
  color: #c6d1df;
  line-height: 1.5;
}

.access-status.error { color: #ffb4ac; }
.access-status.success { color: #8de1b6; }

.access-legal-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.access-legal-links a {
  color: #697386;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.access-legal-links a:hover { color: var(--blue); text-decoration: underline; }

.checkout-agreements {
  display: grid;
  gap: 11px;
  margin: 4px 0 18px;
  padding: 15px;
  border-radius: 12px;
  background: #f4f6f9;
}

.checkout-test-notice {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #f3c76a;
  border-radius: 12px;
  background: #fff8e7;
  color: #77530b;
  font-size: 11px;
  line-height: 1.5;
}

.checkout-test-notice[hidden] { display: none; }
.checkout-test-notice strong { color: #9a6500; font-size: 12px; }

.checkout-refund-restriction {
  margin: 0 0 12px;
  padding: 13px 14px;
  border: 1px solid #e4c98f;
  border-radius: 12px;
  background: #fffaf0;
  color: #644a18;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
  word-break: keep-all;
}

.checkout-refund-restriction[hidden] { display: none; }

.checkout-agreements label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #526072;
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.checkout-agreements input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); }
.checkout-agreements b { color: var(--blue); }
.checkout-agreements a { color: #344052; font-weight: 750; }
.checkout-customer-fields { margin: 2px 0 18px; display: grid; gap: 12px; }
.checkout-customer-fields .access-field { margin: 0; }
.checkout-customer-fields > small { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.5; }

@media (max-width: 1180px) {
  .access-gate { place-items: start center; }
  .access-shell {
    width: min(720px, 100%);
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 28px 0;
  }
  .access-story .brand { padding-bottom: 28px; }
  .access-story h1 { font-size: clamp(42px, 7vw, 60px); }
  .access-shell > div:last-child { width: 100%; justify-self: stretch; }
}

@media (max-width: 600px) {
  .access-gate { padding: 18px; }
  .access-shell { gap: 24px; padding: 12px 0 24px; }
  .access-story .brand { padding-bottom: 20px; }
  .access-story h1 {
    margin-bottom: 0;
    font-size: clamp(36px, 11.5vw, 46px);
    line-height: 1.03;
  }
  .access-story h1 span { white-space: normal; }
  .access-story > p, .access-points { display: none; }
  .access-card { padding: 26px 22px; border-radius: 20px; }
  .access-legal-links { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .access-card button, .access-field input { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .access-points span { background: #19212d; backdrop-filter: none; }
  .access-card { background: #fff; }
}

@media (prefers-contrast: more) {
  .access-card { border: 2px solid #fff; }
  .access-points span { border-color: rgba(255, 255, 255, .5); }
}

.access-card button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  border: 1px solid #cfd5df;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.google-login:hover { border-color: #aeb7c5; background: #f8fafc; }
.google-mark { color: #4285f4; font-family: Arial, sans-serif; font-size: 20px; font-weight: 800; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 2px;
  color: #7a8493;
  font-size: 11px;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.auth-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.access-card .auth-actions button,
.access-card > .text-button {
  min-height: 36px;
  margin-top: 0;
  color: #526072;
  font-size: 12px;
  font-weight: 750;
  text-underline-offset: 3px;
}

.access-status:not(:empty) {
  padding: 11px 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .09);
  line-height: 1.5;
}
