:root {
  color-scheme: light;
  --pink: #f83293;
  --pink-dark: #d51f78;
  --ink: #171323;
  --muted: #665e6f;
  --paper: rgba(255, 255, 255, .94);
  --line: rgba(40, 24, 48, .11);
  --shadow: 0 28px 80px rgba(57, 13, 43, .25), 0 7px 24px rgba(34, 16, 39, .12);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  color: var(--ink);
  background: #fff7fb;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}
button { font: inherit; }
.arrival-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.arrival-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #fff url("../images/britswithbenefits-background.webp") center / cover no-repeat;
  cursor: pointer;
  transform: scale(1.015);
  animation: settle 1.15s cubic-bezier(.2,.8,.2,1) both;
}
.arrival-scene:focus-visible { outline: 4px solid var(--pink); outline-offset: -7px; }
.arrival-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 77% 52%, rgba(255,255,255,.1) 0 19%, rgba(255,255,255,.54) 58%, rgba(255,255,255,.86) 100%),
    linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,247,251,.33));
  backdrop-filter: blur(1.2px);
}
.arrival-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(248,50,147,.13) .7px, transparent .7px);
  background-size: 13px 13px;
  mask-image: linear-gradient(90deg, #000, transparent 52%);
}
.guard-panel {
  position: absolute;
  top: 50%;
  left: clamp(24px, 5vw, 74px);
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100svh - 42px);
  overflow: auto;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.25);
  animation: rise .72s .1s cubic-bezier(.2,.85,.2,1) both;
}
.guard-panel::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), #ff79b8, var(--pink));
}
.guard-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 26px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.55px;
}
.guard-brand img { width: 40px; height: 40px; object-fit: contain; }
.guard-content { padding: 23px 28px 25px; }
.guard-age {
  float: right;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: -3px 0 12px 18px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #ff51a5, var(--pink-dark));
  box-shadow: 0 12px 25px rgba(232,39,132,.28);
  transform: rotate(3deg);
}
.guard-age span { margin-top: 15px; font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -2px; }
.guard-age small { margin-top: 13px; font-size: 17px; font-weight: 900; }
.guard-kicker {
  margin: 1px 0 7px;
  color: var(--pink-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}
.guard-content h2 {
  margin: 0;
  max-width: 330px;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.03;
  letter-spacing: -1.55px;
}
.guard-content > p:not(.guard-kicker):not(.guard-note) {
  margin: 14px 0 17px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}
.guard-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  clear: both;
  margin: 17px 0 20px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  color: #4e4655;
  font-size: 12px;
  font-weight: 700;
}
.guard-signals span { display: inline-flex; align-items: center; gap: 6px; }
.guard-signals i { width: 7px; height: 7px; border-radius: 50%; background: #16a23a; box-shadow: 0 0 0 3px rgba(22,162,58,.1); }
.guard-actions { display: grid; gap: 9px; }
.guard-actions button { width: 100%; border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.guard-actions button:focus-visible { outline: 3px solid rgba(248,50,147,.36); outline-offset: 3px; }
.guard-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px 0 21px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #ff3d9a, #e31f80);
  box-shadow: 0 13px 27px rgba(227,31,128,.27);
  font-weight: 800;
}
.guard-primary b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: var(--pink-dark);
  background: #fff;
  font-size: 19px;
}
.guard-secondary {
  min-height: 43px;
  border: 1px solid var(--line) !important;
  border-radius: 13px;
  color: #302836;
  background: #fff;
  font-weight: 750;
}
.guard-decline {
  padding: 4px;
  color: #776e7b;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guard-primary:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(227,31,128,.34); }
.guard-secondary:hover { color: var(--pink-dark); background: #fff8fb; transform: translateY(-1px); }
.guard-decline:hover { color: #2f2932; }
.guard-note { margin: 16px 3px 0; color: #8b828e; font-size: 10.5px; line-height: 1.42; }
.arrival-proof {
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  color: #4f4651;
  background: rgba(255,255,255,.79);
  box-shadow: 0 8px 30px rgba(42,25,43,.11);
  backdrop-filter: blur(15px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
}
.arrival-dot { width: 7px; height: 7px; border-radius: 50%; background: #15a139; box-shadow: 0 0 0 3px rgba(21,161,57,.14); }
.arrival-separator { width: 3px; height: 3px; border-radius: 50%; background: #c8bdc6; }
details { position: absolute; z-index: -1; opacity: 0; pointer-events: none; }
details summary { display: none; }
details article { max-width: 72rem; }
@keyframes rise { from { opacity: 0; transform: translateY(calc(-50% + 28px)); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes settle { from { opacity: .7; transform: scale(1.055); } to { opacity: 1; transform: scale(1.015); } }
@media (max-width: 760px) {
  .arrival-scene { background-position: 61% center; transform: scale(1.03); }
  .arrival-wash { background: linear-gradient(180deg, rgba(255,255,255,.48), rgba(255,247,251,.88)); backdrop-filter: blur(2px); }
  .guard-panel { left: 50%; top: auto; bottom: 14px; width: min(520px, calc(100vw - 22px)); max-height: calc(100svh - 28px); transform: translateX(-50%); border-radius: 24px; animation-name: mobile-rise; }
  .guard-brand { padding: 13px 20px 11px; }
  .guard-brand img { width: 34px; height: 34px; }
  .guard-content { padding: 18px 20px 20px; }
  .guard-age { width: 62px; height: 62px; border-radius: 19px; }
  .guard-age span { margin-top: 13px; font-size: 29px; }
  .guard-age small { margin-top: 12px; font-size: 15px; }
  .guard-content h2 { max-width: 290px; font-size: clamp(27px, 8vw, 35px); }
  .guard-content > p:not(.guard-kicker):not(.guard-note) { margin: 11px 0 13px; font-size: 13.5px; }
  .guard-signals { margin: 12px 0 15px; padding: 11px 0; gap: 7px 11px; }
  .guard-primary { min-height: 52px; }
  .arrival-proof { display: none; }
}
@media (max-height: 620px) and (min-width: 761px) {
  .guard-panel { max-height: calc(100vh - 20px); }
  .guard-brand { padding-block: 11px; }
  .guard-content { padding-block: 15px; }
  .guard-age { width: 58px; height: 58px; border-radius: 17px; }
  .guard-age span { margin-top: 11px; font-size: 27px; }
  .guard-age small { margin-top: 9px; }
  .guard-signals { margin-block: 11px 14px; padding-block: 10px; }
  .guard-note { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@keyframes mobile-rise { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
