.access-page {
  --access-navy: #07111f;
  --access-navy-soft: #0d1c2d;
  --access-ice: #e9f2f8;
  --access-blue: #83b5d5;
  background: #fff;
}

.access-page .site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
}

.access-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.access-hero {
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 124px);
  color: #fff;
  background:
    radial-gradient(circle at 74% 30%, rgba(25, 177, 95, 0.18), transparent 31%),
    radial-gradient(circle at 10% 90%, rgba(78, 147, 192, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1a2b 58%, #102538 100%);
}

.access-hero-grid {
  display: grid;
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}

.access-hero-copy { max-width: 680px; }

.access-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #a9e8c5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-status span,
.access-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(25, 177, 95, 0.13), 0 0 22px rgba(25, 177, 95, 0.62);
}

.access-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6.7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.access-hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #c8d7e5;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.access-hero .hero-actions { margin-top: 30px; }

.access-btn-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.access-btn-dark:hover { background: rgba(255, 255, 255, 0.13); }

.access-hero-note {
  margin: 18px 0 0;
  color: #91a7ba;
  font-size: 0.92rem;
}

.access-demo {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(8, 19, 32, 0.72);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.access-demo::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.19), transparent 42%, rgba(25,177,95,0.26));
}

.access-demo-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px 18px;
  color: #d8e4ed;
  font-size: 0.82rem;
  font-weight: 750;
}

.access-demo-ready {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: #9ee6bd;
  background: rgba(25, 177, 95, 0.12);
}

.access-demo-prepared {
  color: #b9ddf2;
  background: rgba(92, 163, 207, 0.16);
}

.access-booking-card,
.access-pass-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
}

.access-booking-card strong,
.access-pass-card strong,
.access-demo-label { display: block; }

.access-booking-card strong,
.access-pass-card strong { margin-top: 3px; }

.access-demo-label {
  color: #90a6b9;
  font-size: 0.78rem;
}

.access-check {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #b5efcc;
  font-size: 1.25rem;
  background: rgba(25, 177, 95, 0.14);
}

.access-demo-route {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: center;
  width: 76%;
  margin: 0 auto;
  padding: 14px 0;
}

.access-demo-route span { height: 2px; background: rgba(25, 177, 95, 0.55); }
.access-demo-route i {
  width: 12px;
  height: 12px;
  border: 2px solid #63db99;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(25, 177, 95, 0.55);
}

.access-reader {
  display: grid;
  width: 42px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 13px;
  background: linear-gradient(145deg, #26384b, #09121f);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28);
}

.access-reader span {
  width: 17px;
  height: 3px;
  border-radius: 3px;
  background: #43e68d;
  box-shadow: 0 0 12px #43e68d;
}

.access-pass-copy { min-width: 0; }
.access-pass-copy small { display: block; margin-top: 5px; color: #9db1c1; }

.access-code {
  margin-left: auto;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #a8ebc4;
  background: rgba(25, 177, 95, 0.1);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.access-summary {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.access-summary-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
}

.access-summary-grid article {
  display: flex;
  gap: 14px;
  padding: 23px;
}

.access-summary-grid article + article { border-top: 1px solid var(--border); }

.access-summary-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--accent-strong);
  background: var(--accent-ghost);
  font-size: 0.73rem;
  font-weight: 900;
}

.access-summary-next { color: #497b9a; background: #e7f1f8; }
.access-summary-grid strong { display: block; }
.access-summary-grid p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }

.access-section { padding: clamp(72px, 9vw, 116px) 0; }
.access-section-soft { background: #f3f7fa; }

.access-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.access-section-head-left { margin-inline: 0; text-align: left; }
.access-section-head .section-kicker,
.access-webhook .section-kicker,
.access-cta .section-kicker { margin-bottom: 10px; color: var(--accent-strong); }

.access-section-head h2,
.access-webhook h2,
.access-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.access-section-head > p:last-child,
.access-webhook-intro > p,
.access-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.access-flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-flow li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.access-flow li > span,
.access-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--access-navy-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.access-flow small,
.access-flow strong { display: block; }
.access-flow small { margin-bottom: 7px; color: var(--accent-strong); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.access-flow strong { font-size: 1.05rem; }
.access-flow p { margin: 7px 0 0; color: var(--muted); font-size: 0.9rem; }

.access-capability-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.access-capability-card {
  min-width: 0;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #f7f9fb;
}

.access-capability-card .section-kicker { margin: 0 0 8px; color: var(--accent-strong); }
.access-capability-card h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
.access-capability-card > p:not(.section-kicker) { margin: 18px 0 0; color: var(--muted); }
.access-capability-card > p + p { padding-top: 16px; border-top: 1px solid var(--border); }
.access-checkin-card { background: #edf6fb; }
.access-checkin-card strong { color: var(--text); }

.access-mapping {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr);
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.access-mapping > div {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.access-mapping small,
.access-mapping strong { display: block; }
.access-mapping small { margin-bottom: 4px; color: var(--muted); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.access-mapping strong { overflow-wrap: anywhere; font-size: 0.92rem; }
.access-mapping > span { color: var(--accent-strong); font-weight: 900; }

.access-connect-grid { display: grid; gap: 48px; align-items: center; }

.access-steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-steps li { display: flex; gap: 16px; }
.access-steps h3 { margin: 2px 0 5px; font-size: 1.05rem; }
.access-steps p { margin: 0; color: var(--muted); }

.access-admin-card {
  overflow: hidden;
  border: 1px solid rgba(19,35,50,0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 65px rgba(19, 35, 50, 0.12);
}

.access-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #fff;
  background: var(--access-navy-soft);
}

.access-admin-head span,
.access-admin-head strong { display: block; }
.access-admin-head div > span { color: #91a8ba; font-size: 0.75rem; text-transform: uppercase; }
.access-admin-state { padding: 6px 9px; border-radius: 999px; color: #9de8bd; background: rgba(25,177,95,0.16); font-size: 0.75rem; font-weight: 800; }

.access-admin-list { margin: 0; padding: 4px 24px; }
.access-admin-list div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.access-admin-list dt { color: var(--muted); }
.access-admin-list dd { margin: 0; font-weight: 750; text-align: right; }
.access-admin-card > p { margin: 0; padding: 20px 24px 24px; color: var(--muted); font-size: 0.88rem; }
.access-admin-card > p span { color: var(--accent-strong); font-weight: 900; }

.access-webhook {
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(25,177,95,0.13), transparent 26%),
    linear-gradient(135deg, #07111f, #102438);
}

.access-webhook-grid { display: grid; gap: 48px; align-items: start; }
.access-webhook .section-kicker { color: #8fe3b3; }
.access-webhook-intro > p { color: #b9cad8; }

.access-webhook-note {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 15px;
  color: #c9d8e4;
  background: rgba(255,255,255,0.05);
}

.access-event-list { display: grid; gap: 16px; }

.access-event-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: rgba(255,255,255,0.055);
}

.access-event-head { display: flex; align-items: center; gap: 10px; }
.access-event-head span { padding: 5px 8px; border-radius: 7px; color: #0a3520; background: #70dfa1; font-size: 0.69rem; font-weight: 900; }
.access-event-head-revoke span { color: #392407; background: #edc36c; }
.access-event-head code { color: #a8bac8; font-size: 0.85rem; }
.access-event-card h3 { margin: 17px 0 5px; }
.access-event-card p { margin: 0; color: #b8c9d7; }
.access-event-card ul { margin: 14px 0; padding-left: 19px; color: #d8e3eb; }
.access-event-card li + li { margin-top: 5px; }
.access-event-card small { color: #91a7b9; }

.access-status-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
}

.access-status-row {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(165px, 0.82fr) minmax(0, 2fr);
  gap: 22px;
  align-items: center;
  padding: 20px 22px;
}

.access-status-row + .access-status-row { border-top: 1px solid var(--border); }
.access-status-header { color: var(--muted); background: #f6f8fb; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
.access-status-row p { margin: 0; color: var(--muted); }
.access-status-row i { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 0.75rem; font-style: normal; font-weight: 850; }
.status-ready { color: #0d6b39; background: #e0f7e9; }
.status-prepared { color: #285e7e; background: #e5f2fa; }
.status-evaluation { color: #7a5014; background: #fff2d8; }
.status-project { color: #654b7b; background: #f1eafa; }
.access-status-footnote { max-width: 900px; margin: 18px auto 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

.access-faq { background: #f7f9fb; }
.access-faq-grid { display: grid; gap: 36px; }
.access-faq-list { display: grid; gap: 10px; }
.access-faq-list details { border: 1px solid var(--border); border-radius: 15px; background: #fff; }
.access-faq-list summary { position: relative; padding: 18px 50px 18px 20px; cursor: pointer; font-weight: 750; list-style: none; }
.access-faq-list summary::-webkit-details-marker { display: none; }
.access-faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--accent-strong); font-size: 1.4rem; }
.access-faq-list details[open] summary::after { content: "–"; }
.access-faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.access-cta {
  padding: 62px 0;
  background: #e9f6ef;
}

.access-cta-inner { display: grid; gap: 28px; align-items: center; }
.access-cta h2 { max-width: 820px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.access-cta p { margin-bottom: 0; }
.access-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.access-cta .access-btn-dark { color: var(--text); border-color: var(--border); background: #fff; }

.access-footer-grid { display: grid; gap: 18px; }
.access-footer-grid p { margin: 6px 0 0; }
.access-footer-grid nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.access-footer-grid a { color: inherit; text-decoration: none; }
.access-footer-grid a:hover { text-decoration: underline; }

@media (min-width: 760px) {
  .access-summary-grid { grid-template-columns: repeat(3, 1fr); }
  .access-summary-grid article + article { border-top: 0; border-left: 1px solid var(--border); }
  .access-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-capability-grid { grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr); }
  .access-cta-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .access-footer-grid { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .access-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr); }
  .access-connect-grid { grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); }
  .access-webhook-grid { grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr); }
  .access-faq-grid { grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); }
}

@media (min-width: 1040px) {
  .access-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .access-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -15px;
    z-index: 2;
    width: 15px;
    height: 1px;
    background: rgba(25,177,95,0.55);
  }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 30px)); }
  .access-nav .nav-link { display: none; }
  .access-hero { padding-top: 58px; }
  .access-hero h1 { font-size: clamp(2.65rem, 15vw, 4.2rem); }
  .access-summary { margin-top: -25px; }
  .access-status-header { display: none; }
  .access-status-row { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .access-status-row p { grid-column: 1 / -1; }
  .access-mapping { grid-template-columns: 1fr; }
  .access-mapping > span { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 460px) {
  .access-nav .btn { padding: 9px 10px; font-size: 0.86rem; }
  .brand-logo { height: 32px; }
  .access-demo { padding: 16px; border-radius: 20px; }
  .access-booking-card,
  .access-pass-card { padding: 14px; }
  .access-code { display: none; }
  .access-admin-list div { grid-template-columns: 1fr; gap: 3px; }
  .access-admin-list dd { text-align: left; }
  .access-status-row { grid-template-columns: 1fr; }
  .access-status-row p { grid-column: auto; }
  .access-status-row i { text-align: center; }
  .access-hero .hero-actions,
  .access-cta-actions { display: grid; }
  .access-hero .hero-actions .btn,
  .access-cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
