/* Passkey & Sign-In Popup Blocker product page. Every rule is scoped under .p-pk.
   Brand: the extension's own tokens (ui/base.css): a claret door hanger on a warm grey wall,
   Marcellus caps, Cormorant Garamond for the big words, DM Sans for the rest. */
.p-pk {
  --pk-wall: #f2eeea;
  --pk-surface: #fbf9f7;
  --pk-raised: #e9e3de;
  --pk-ink: #1e1a1b;
  --pk-ink-2: #5c5456;
  --pk-line: rgb(30 26 27 / 0.1);
  --pk-claret: #7a1f2e;
  --pk-claret-deep: #5e1723;
  --pk-cream: #f8f1e8;
  --pk-cream-2: rgb(248 241 232 / 0.78);
  --pk-ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --pk-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --pk-caps: Marcellus, Georgia, serif;
  --pk-serif: "Cormorant Garamond", Georgia, serif;
  background: var(--pk-wall);
  color: var(--pk-ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.p-pk h1, .p-pk h2, .p-pk h3 { font-family: var(--pk-serif); font-weight: 500; color: var(--pk-ink); text-wrap: balance; }
.p-pk h1 em, .p-pk h2 em { font-style: normal; color: var(--pk-claret); }
.p-pk a { color: inherit; text-decoration-color: rgb(122 31 46 / 0.5); text-underline-offset: 0.15em; }
.p-pk a:hover { color: var(--pk-claret); }
.p-pk :focus-visible { outline: 2px solid var(--pk-ink-2); outline-offset: 3px; }
.p-pk figure { margin: 0; }
.p-pk h2 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 12px; }
.p-pk .pk-intro { color: var(--pk-ink-2); max-width: 40em; margin: 0 0 32px; text-wrap: pretty; }

/* ---------------------------------------------------------------- hero */
.p-pk .pk-hero { padding: 40px 0 64px; }
.p-pk .pk-hero-grid { display: grid; gap: 40px; align-items: center; }
.p-pk .pk-brand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 24px; font-weight: 500; font-size: 1.0625rem; }
.p-pk .pk-brand img { width: 40px; height: 40px; }
.p-pk .pk-brand span { flex-basis: 100%; font-size: 0.875rem; color: var(--pk-ink-2); }
.p-pk h1 { font-size: clamp(3rem, 12vw, 5.75rem); line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 20px; }
.p-pk .pk-lead { font-size: 1.1875rem; color: var(--pk-ink-2); max-width: 30em; margin: 0 0 28px; text-wrap: pretty; }
.p-pk .pk-note { margin: 12px 0 0; font-size: 0.875rem; color: var(--pk-ink-2); }

.p-pk .pk-store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 0;
  padding: 0 24px; border-radius: 999px; background: var(--pk-claret); color: var(--pk-cream);
  font-weight: 500; text-decoration: none;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.14), 0 10px 22px -10px rgb(122 31 46 / 0.6);
  transition: transform 150ms var(--pk-ease-out), background-color 150ms ease;
}
.p-pk a.pk-store:hover { color: var(--pk-cream); background: var(--pk-claret-deep); }
.p-pk a.pk-store:active { transform: scale(0.96); }
.p-pk .pk-store.is-waiting { background: var(--pk-raised); color: var(--pk-ink-2); box-shadow: none; }
.p-pk .pk-store.on-dark { background: var(--pk-cream); color: var(--pk-claret); box-shadow: none; }
.p-pk .pk-store.on-dark.is-waiting { background: rgb(248 241 232 / 0.14); color: var(--pk-cream); }

/* The door hanger: the panel's card, die-cut and two-sided. Drawn at the panel's own size
   (the clip path is in pixels) and scaled up as one piece. */
.p-pk .pk-door { position: relative; width: 312px; height: 300px; margin: 0 auto; perspective: 900px; transform-origin: 50% 0; }
.p-pk .pk-flip { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.p-pk .pk-card {
  position: relative; width: 312px; height: 300px; transform-style: preserve-3d;
  transition: transform 560ms var(--pk-ease-in-out);
}
.p-pk .pk-flip:checked ~ .pk-card { transform: rotateY(180deg); }
.p-pk .pk-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  /* The shadow follows the die-cut: it sits here, outside the clipped shape. */
  filter: drop-shadow(0 14px 18px rgb(70 18 28 / 0.2)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.14));
}
.p-pk .pk-shape {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  padding: 92px 28px 0; text-align: center;
  clip-path: path(evenodd, "M106 0 H206 A16 16 0 0 1 222 16 V48 C222 68 236 80 256 80 H296 A16 16 0 0 1 312 96 V284 A16 16 0 0 1 296 300 H16 A16 16 0 0 1 0 284 V96 A16 16 0 0 1 16 80 H56 C76 80 90 68 90 48 V16 A16 16 0 0 1 106 0 Z M151 42 A13 13 0 1 1 161 42 L164 58 L148 58 Z");
}
.p-pk .pk-front .pk-shape { background: var(--pk-claret); color: var(--pk-cream); }
.p-pk .pk-back .pk-shape { background: var(--pk-surface); color: var(--pk-claret); }
.p-pk .pk-back { transform: rotateY(180deg); }
.p-pk .pk-caps { margin: 0; font-family: var(--pk-caps); font-size: 15px; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase; margin-right: -0.12em; }
.p-pk .pk-count { margin: 8px 0 0; font-family: var(--pk-serif); font-size: 92px; line-height: 84px; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.p-pk .pk-site { margin: 8px 0 0; height: 84px; display: flex; align-items: center; font-family: var(--pk-serif); font-size: 34px; line-height: 40px; color: var(--pk-ink); }
.p-pk .pk-sub { margin: 6px 0 0; font-size: 13px; line-height: 18px; }
.p-pk .pk-front .pk-sub { color: var(--pk-cream-2); }
.p-pk .pk-back .pk-sub { color: var(--pk-ink-2); }
.p-pk .pk-pill {
  margin-top: auto; margin-bottom: 22px; display: inline-flex; align-items: center; min-height: 34px;
  padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; user-select: none;
  transition: transform 150ms var(--pk-ease-out), background-color 150ms ease;
}
.p-pk .pk-front .pk-pill { background: var(--pk-cream); color: var(--pk-claret); }
.p-pk .pk-back .pk-pill { background: var(--pk-claret); color: var(--pk-cream); }
.p-pk .pk-pill:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .p-pk .pk-front .pk-pill:hover { background: #fff; }
  .p-pk .pk-back .pk-pill:hover { background: var(--pk-claret-deep); }
}
.p-pk .pk-flip:focus-visible ~ .pk-card .pk-pill { outline: 2px solid var(--pk-ink-2); outline-offset: 3px; }
/* Only the face toward you takes clicks. */
.p-pk .pk-back .pk-pill { pointer-events: none; }
.p-pk .pk-flip:checked ~ .pk-card .pk-back .pk-pill { pointer-events: auto; }
.p-pk .pk-flip:checked ~ .pk-card .pk-front .pk-pill { pointer-events: none; }

@media (min-width: 900px) {
  .p-pk .pk-hero { padding: 64px 0 96px; }
  .p-pk .pk-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .p-pk .pk-door { transform: scale(1.3); margin-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-pk .pk-card { transition: none; }
}

/* ---------------------------------------------------------------- sections */
.p-pk .pk-sec { padding: 72px 0; border-top: 1px solid var(--pk-line); }
.p-pk .pk-faint { background: var(--pk-surface); }

.p-pk .pk-kept { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--pk-line); }
.p-pk .pk-kept li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--pk-line); }
.p-pk .pk-kept h3 { font-family: inherit; font-weight: 500; font-size: 1.1875rem; margin: 0 0 4px; }
.p-pk .pk-kept p { margin: 0; color: var(--pk-ink-2); max-width: 42em; }
.p-pk .pk-kept .pk-still { margin-top: 6px; color: var(--pk-ink); }
.p-pk .pk-kept .pk-still b { font-weight: 500; color: var(--pk-claret); }
/* The panel's switch, at rest. On: claret with the knob right. Off: grey, knob left. */
.p-pk .pk-switch { position: relative; width: 36px; height: 22px; margin-top: 3px; border-radius: 999px; background: var(--pk-claret); }
.p-pk .pk-switch::after { content: ""; position: absolute; top: 3px; left: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--pk-cream); }
.p-pk .is-off .pk-switch { background: #cdc5c1; }
.p-pk .is-off .pk-switch::after { left: 3px; background: #fff; }
@media (min-width: 900px) {
  .p-pk .pk-kept li { grid-template-columns: 60px 260px 1fr; }
  .p-pk .pk-kept li > div { display: contents; }
  .p-pk .pk-kept h3 { margin: 0; }
  .p-pk .pk-kept p:not(.pk-still) { grid-column: 3; }
  .p-pk .pk-kept .pk-still { grid-column: 3; }
}

.p-pk .pk-dark { background: #1e1a1b; border-top: 0; }
.p-pk .pk-dark h2 { color: var(--pk-cream); }
.p-pk .pk-film { display: block; width: 100%; max-width: 960px; height: auto; aspect-ratio: 16 / 9; margin: 24px auto 0; border-radius: 16px; background: #000; }
.p-pk .pk-dark h2 { max-width: 960px; margin-left: auto; margin-right: auto; }

.p-pk .pk-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.p-pk .pk-shots img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--pk-line), 0 18px 40px -24px rgb(70 18 28 / 0.35); background: var(--pk-surface); }
.p-pk .pk-shots .wide { grid-column: 1 / -1; }
.p-pk .pk-shots figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--pk-ink-2); }
@media (min-width: 900px) {
  .p-pk .pk-shots { grid-template-columns: 1fr 1fr 2.1fr; gap: 28px; }
  .p-pk .pk-shots .wide { grid-column: auto; }
}

.p-pk .pk-ledger { margin: 8px 0 0; border-top: 1px solid var(--pk-line); }
.p-pk .pk-ledger > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--pk-line); }
.p-pk .pk-ledger dt { font-weight: 500; }
.p-pk .pk-ledger dd { margin: 0; color: var(--pk-ink-2); max-width: 44em; }
@media (min-width: 900px) {
  .p-pk .pk-ledger > div { grid-template-columns: 340px 1fr; gap: 32px; }
}
.p-pk .pk-help { margin: 24px 0 0; color: var(--pk-ink-2); }

/* ---------------------------------------------------------------- the end: the hanger's claret */
.p-pk .pk-end { background: var(--pk-claret); color: var(--pk-cream); text-align: center; padding: 88px 0 96px; }
.p-pk .pk-end h2 { color: var(--pk-cream); font-size: clamp(2.5rem, 9vw, 4.5rem); margin: 18px 0 10px; }
.p-pk .pk-end p { margin: 0 0 28px; color: var(--pk-cream-2); }
.p-pk .pk-end-hole {
  display: block; width: 26px; height: 42px; margin: 0 auto; background: var(--pk-wall);
  clip-path: path("M8 16 A13 13 0 1 1 18 16 L21 42 L5 42 Z");
}
