@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");

:root {
  --access-font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --access-font-display: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --access-bg-1: #fbfbfd;
  --access-bg-2: #f1f1f6;
  --access-bg-3: #eef0f6;
  --access-panel: rgba(255, 255, 255, 0.96);
  --access-panel-soft: rgba(248, 246, 252, 0.94);
  --access-line: rgba(91, 44, 131, 0.16);
  --access-line-strong: rgba(91, 44, 131, 0.24);
  --access-text: #182234;
  --access-muted: #586274;
  --access-muted-2: rgba(90, 102, 122, 0.7);
  --access-input-bg: rgba(255, 255, 255, 0.98);
  --access-input-border: rgba(91, 44, 131, 0.18);
  --access-brand-a: #4c2470;
  --access-brand-b: #6a2f9b;
  --access-brand-c: #7b3db3;
  --access-brand-gradient: linear-gradient(135deg, var(--access-brand-a) 0%, var(--access-brand-b) 58%, var(--access-brand-c) 100%);
  --access-shadow-xl: 0 46px 94px rgba(23, 14, 57, 0.16);
  --access-shadow-lg: 0 24px 54px rgba(23, 14, 57, 0.12);
  --access-shadow-md: 0 16px 34px rgba(23, 14, 57, 0.1);
  --access-button-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -8px 14px rgba(52, 22, 82, 0.22),
    0 16px 30px rgba(46, 22, 74, 0.26);
}

* {
  box-sizing: border-box;
}

body.access-mode {
  margin: 0;
  min-height: 100vh;
  font-family: var(--access-font-body);
  color: var(--access-text);
  -webkit-user-select: text;
  user-select: text;
  background:
    radial-gradient(circle at 14% 12%, rgba(122, 61, 179, 0.12), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(91, 44, 131, 0.1), transparent 26%),
    radial-gradient(circle at 76% 82%, rgba(157, 113, 206, 0.08), transparent 18%),
    linear-gradient(180deg, var(--access-bg-1) 0%, var(--access-bg-2) 100%);
}

.access-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.access-stage {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(404px, 0.76fr);
  gap: 48px;
  align-items: center;
}

.access-brand-panel {
  position: relative;
  padding: 0;
}

.access-brand-panel::before,
.access-brand-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(26px);
}

.access-brand-panel::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: -40px;
  background: radial-gradient(circle, rgba(171, 109, 255, 0.16), transparent 66%);
}

.access-brand-panel::after {
  width: 320px;
  height: 320px;
  right: -40px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(94, 107, 255, 0.12), transparent 64%);
}

.access-brand-header,
.access-feature-grid,
.access-quote-band,
.access-panel {
  position: relative;
  z-index: 1;
  -webkit-user-select: text;
  user-select: text;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--access-muted-2);
}

.brand-row.access-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.access-brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -6px 12px rgba(0, 0, 0, 0.1),
    0 16px 28px rgba(12, 10, 24, 0.36);
}

.brand-mark-image,
.access-brand-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

.access-brand-mark-image {
  filter: none;
}

.access-brand-copy {
  display: grid;
  gap: 3px;
  width: fit-content;
  min-width: 0;
}

.access-kicker {
  margin: 0;
  width: 100%;
  display: block;
  font-size: 9px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--access-muted-2);
  white-space: nowrap;
}

.access-title {
  margin: 0;
  display: flex;
  gap: 5px;
  align-items: baseline;
  font-family: var(--access-font-display);
  font-size: 30px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #5b2c83;
  text-shadow: 0 2px 6px rgba(91, 44, 131, 0.14);
  width: max-content;
}

.access-brand-header .access-quote {
  margin: 0;
}

.access-brand-header::after {
  content: "";
  display: block;
  width: 100%;
}

.access-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.access-feature-card {
  min-height: 118px;
  padding: 15px 14px;
  border-radius: 16px;
  border: 1px solid var(--access-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 252, 0.96));
  box-shadow: var(--access-shadow-md);
}

.access-feature-card span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: rgba(91, 44, 131, 0.12);
  color: #5b2c83;
  font-size: 11px;
  font-weight: 700;
}

.access-feature-card strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--access-font-display);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #182234;
}

.access-feature-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--access-muted);
}

.access-quote-band {
  margin-top: 24px;
}

.access-quote-band p {
  margin: 0;
  max-width: none;
  font-family: var(--access-font-display);
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #182234;
}

.access-quote-band p span {
  display: block;
  white-space: nowrap;
}

.access-hero-copy {
  margin: 0;
  max-width: 31ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--access-muted);
}

.access-panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 424px;
  padding: 28px 24px 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 252, 0.96));
  border: 1px solid var(--access-line);
  box-shadow: var(--access-shadow-xl);
  overflow: hidden;
}

.access-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 113, 255, 0.1), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.access-panel-head {
  margin-bottom: 20px;
}

.access-panel-title {
  margin: 0 0 10px;
  font-family: var(--access-font-display);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: #182234;
}

.access-panel-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--access-muted);
}

.access-form {
  display: grid;
  gap: 14px;
}

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

.access-field > span {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(90, 102, 122, 0.68);
}

.access-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--access-input-border);
  background: var(--access-input-bg);
  color: #182234;
  font: inherit;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.access-input::placeholder {
  color: rgba(115, 125, 146, 0.7);
}

.access-input:focus {
  border-color: rgba(91, 44, 131, 0.48);
  box-shadow:
    0 0 0 3px rgba(91, 44, 131, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.access-input:disabled {
  opacity: 0.74;
  cursor: not-allowed;
}

.primary-action.access-submit {
  width: 100%;
  height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  font-family: var(--access-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  background: var(--access-brand-gradient);
  box-shadow: var(--access-button-shadow);
}

.primary-action.access-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.access-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.access-status-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--access-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--access-shadow-md);
}

.access-status-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(90, 102, 122, 0.7);
}

.access-status-card strong {
  display: block;
  font-family: var(--access-font-display);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #182234;
}

.access-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 127, 151, 0.18);
  background: rgba(77, 28, 43, 0.46);
  color: rgba(255, 222, 229, 0.92);
  font-size: 14px;
}

.access-message[data-variant="error"] {
  border-color: rgba(255, 127, 151, 0.18);
  background: rgba(77, 28, 43, 0.46);
  color: rgba(255, 222, 229, 0.92);
}

.access-message[data-variant="info"] {
  border-color: rgba(151, 182, 255, 0.3);
  background: rgba(30, 48, 91, 0.42);
  color: rgba(226, 236, 255, 0.94);
}

@media (max-width: 1180px) {
  .access-stage {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .access-panel {
    justify-self: start;
    max-width: none;
  }

  .access-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .access-quote-band p {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .access-shell {
    width: min(100%, calc(100% - 20px));
    padding: 18px 0 28px;
  }

  .access-feature-grid,
  .access-status-grid {
    grid-template-columns: 1fr;
  }

  .access-panel {
    padding: 24px 18px 20px;
    border-radius: 24px;
  }

  .access-quote-band p {
    font-size: clamp(28px, 9vw, 38px);
  }

  .brand-row.access-brand-row {
    align-items: flex-start;
  }

  .access-title {
    font-size: 21px;
    flex-wrap: wrap;
  }

  .access-hero-copy {
    font-size: 16px;
  }
}
