:root {
  --coral: #f04e4e;
  --coral-dark: #c93443;
  --ink: #181113;
  --cream: #fff8f4;
  --white: #ffffff;
  --muted: #e9dcda;
  --glass: rgba(23, 14, 17, .74);
  --line: rgba(255, 255, 255, .22);
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: #140f12; }
body {
  margin: 0;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #140f12;
}
button { font: inherit; }
button, [role="button"], [data-backdrop-link] { cursor: pointer; }
button:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .95);
  outline-offset: 4px;
}

.access-stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.access-stage::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background: url("../images/seekingflings-background.webp") center / cover no-repeat;
  transform: scale(1.015);
}
.access-stage::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 7, 9, .88) 0%, rgba(11, 7, 9, .68) 40%, rgba(11, 7, 9, .15) 69%, rgba(11, 7, 9, .38) 100%),
    linear-gradient(0deg, rgba(10, 6, 8, .75) 0%, transparent 44%);
}
.access-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.access-topbar {
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 12px;
}
.access-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.access-brand img {
  width: 114px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .25));
}
.access-brand-tag {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  color: rgba(255, 255, 255, .76);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.access-login {
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  background: rgba(13, 8, 10, .34);
  font-weight: 750;
  backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.access-login:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

.access-main {
  align-self: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 56px;
}
.access-copy { max-width: 610px; }
.access-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #ffd3ca;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.access-kicker::before {
  width: 35px;
  height: 1px;
  content: "";
  background: var(--coral);
  box-shadow: 0 0 20px var(--coral);
}
.access-title {
  max-width: 600px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
  text-wrap: balance;
  text-shadow: 0 5px 26px rgba(0, 0, 0, .3);
}
.access-title em {
  display: block;
  color: #ff725f;
  font-weight: 400;
}
.access-intro {
  max-width: 545px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.65;
}
.access-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.access-primary {
  min-width: 230px;
  border: 0;
  border-radius: 999px;
  padding: 16px 25px;
  color: var(--white);
  background: linear-gradient(135deg, #ff6659, #d9344d);
  box-shadow: 0 15px 38px rgba(222, 55, 75, .37);
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.access-primary:hover {
  filter: saturate(1.1) brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(222, 55, 75, .5);
}
.access-free {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  line-height: 1.25;
}
.access-free strong { color: var(--white); font-size: .9rem; }

.access-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(585px, 100%);
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(115deg, rgba(18, 11, 14, .78), rgba(18, 11, 14, .45));
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}
.access-stat { padding: 18px 21px; }
.access-stat + .access-stat { border-left: 1px solid var(--line); }
.access-stat b {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}
.access-stat span {
  color: rgba(255, 255, 255, .62);
  font-size: .73rem;
  letter-spacing: .04em;
}
.access-context {
  max-width: 575px;
  margin: 19px 4px 0;
  color: rgba(255, 255, 255, .68);
  font-size: .78rem;
  line-height: 1.55;
}
.access-context strong { color: rgba(255, 255, 255, .92); }

.access-bottom {
  align-self: end;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 26px;
  color: rgba(255, 255, 255, .62);
  font-size: .76rem;
}
.access-bottom strong { color: rgba(255, 255, 255, .92); }
.access-bottom-list { display: flex; gap: 20px; }

.access-popup {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  background: rgba(10, 6, 8, .68);
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, visibility .25s ease;
}
.access-popup.is-open { visibility: visible; opacity: 1; }
.access-dialog {
  position: relative;
  width: min(510px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 28px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .5);
  transform: translateY(18px) scale(.985);
  transition: transform .25s ease;
}
.access-popup.is-open .access-dialog { transform: translateY(0) scale(1); }
.access-dialog-accent {
  height: 8px;
  background: linear-gradient(90deg, var(--coral), #ff9d85, var(--coral-dark));
}
.access-dialog-inner { padding: 36px 38px 32px; }
.access-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #674f54;
  background: #f4e8e5;
  font-size: 1.35rem;
  line-height: 1;
}
.access-dialog-kicker {
  margin: 0 0 13px;
  color: var(--coral-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.access-dialog-title {
  max-width: 390px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 6vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}
.access-dialog-copy {
  margin: 18px 0 0;
  color: #68575a;
  line-height: 1.6;
}
.access-dialog-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 23px 0;
}
.access-benefit {
  padding: 12px 8px;
  border-radius: 13px;
  color: #5c4448;
  background: #f4e7e3;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}
.access-dialog-actions { display: grid; gap: 10px; }
.access-accept {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(201, 52, 67, .25);
}
.access-leave {
  border: 0;
  padding: 10px;
  color: #79666a;
  background: transparent;
  font-size: .82rem;
  font-weight: 700;
}
.access-legal {
  margin: 17px 0 0;
  color: #907e82;
  font-size: .68rem;
  line-height: 1.45;
  text-align: center;
}

details { position: absolute; z-index: -1; opacity: 0; pointer-events: none; }
details summary { display: none; }

@media (max-width: 760px) {
  .access-stage::before { background-position: 64% center; }
  .access-stage::after {
    background: linear-gradient(0deg, rgba(10, 6, 8, .96) 0%, rgba(10, 6, 8, .72) 64%, rgba(10, 6, 8, .25) 100%);
  }
  .access-topbar, .access-main, .access-bottom { width: min(100% - 30px, 620px); }
  .access-topbar { padding-top: 18px; }
  .access-brand img { width: 94px; height: 36px; }
  .access-brand-tag { display: none; }
  .access-login { padding: 8px 13px; font-size: .78rem; }
  .access-main { align-self: end; padding: 34vh 0 22px; }
  .access-kicker { margin-bottom: 14px; }
  .access-title { font-size: clamp(3rem, 15vw, 4.75rem); }
  .access-intro { margin-top: 18px; font-size: .94rem; line-height: 1.5; }
  .access-actions { align-items: stretch; flex-direction: column; gap: 11px; margin-top: 22px; }
  .access-primary { width: 100%; }
  .access-free { align-items: center; flex-direction: row; justify-content: center; }
  .access-free span::before { content: " · "; }
  .access-proof { margin-top: 22px; }
  .access-stat { padding: 13px 8px; text-align: center; }
  .access-stat b { font-size: 1.12rem; }
  .access-stat span { font-size: .62rem; }
  .access-bottom { align-items: center; padding-bottom: 16px; }
  .access-bottom-list { display: none; }
  .access-dialog-inner { padding: 32px 22px 24px; }
  .access-popup-close { top: 17px; right: 17px; }
  .access-dialog-benefits { gap: 5px; }
  .access-benefit { padding: 10px 4px; font-size: .65rem; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .access-topbar { padding-top: 18px; }
  .access-main { padding-top: 8px; padding-bottom: 10px; }
  .access-title { font-size: clamp(3.2rem, 9vh, 4.6rem); }
  .access-kicker { margin-bottom: 12px; }
  .access-intro { margin-top: 16px; line-height: 1.45; }
  .access-actions { margin-top: 18px; }
  .access-proof { margin-top: 16px; }
  .access-stat { padding-top: 12px; padding-bottom: 12px; }
  .access-context { margin-top: 9px; font-size: .7rem; line-height: 1.4; }
  .access-bottom { padding-top: 8px; padding-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
