/*
 * The landing page's stylesheet (153).
 *
 * Hand-written, and not Tailwind — the one place in this repository where that is the simpler answer.
 * This is one static page with one copy of each component on it, and no second page it has to stay
 * consistent with; a build step, a scanned source list and a committed generated file would all exist to
 * produce what is written here directly. The console keeps Tailwind because it has fifteen templates that
 * do have to agree with each other (131).
 *
 * Every class is prefixed `pk-`, which is not decoration: every HTML file under `templates/` is scanned
 * as a Tailwind source for the console's build, so a class named `grid` or `card` in this file's markup
 * would silently add rules to the console's stylesheet. A prefixed name matches no Tailwind utility and
 * generates nothing.
 *
 * (That sentence originally spelled the glob out, which closed this comment on its own `*` `/` and threw
 * away the `:root` block below it. The page rendered in Times for exactly as long as it took to ask the
 * browser what `--pk-sans` had resolved to.)
 *
 * The palette is the console's ("harbour indigo"), by value rather than by import — the two surfaces share no code
 * (`ConsoleSecurity.md` §1), and a landing page that could not render without the console's asset
 * pipeline would be a landing page that disappears when the console is switched off. Both themes are
 * here for the same reason the console has both: the operating system already knows the answer.
 *
 * Motion is CSS alone — the page's policy allows no script. The hero enters once; the aurora drifts and
 * the marquee loops; sections rise into view on a scroll timeline where the browser has one, and simply
 * stand where they are where it does not. Every animation stops under `prefers-reduced-motion`.
 */


:root {
  color-scheme: light dark;

  --pk-canvas: #f4f5fa;
  --pk-surface: #ffffff;
  --pk-panel: #f0f2f9;
  --pk-hairline: #e2e5f0;
  --pk-ink: #12142b;
  --pk-muted: #50566f;
  --pk-accent: #4f46e5;
  --pk-accent-soft: #eceeff;
  --pk-violet: #7c3aed;
  --pk-teal: #0d9488;
  --pk-selection: #4338ca;
  --pk-selection-ink: #ffffff;
  --pk-glow-a: rgb(99 102 241 / 0.30);
  --pk-glow-b: rgb(45 212 191 / 0.22);
  --pk-glow-c: rgb(167 139 250 / 0.24);
  --pk-grid: rgb(79 70 229 / 0.07);
  --pk-shadow: 0 1px 2px rgb(18 20 43 / 0.05), 0 14px 36px -22px rgb(49 46 129 / 0.35);
  --pk-shadow-lift: 0 2px 4px rgb(18 20 43 / 0.06), 0 28px 60px -28px rgb(49 46 129 / 0.5);
  --pk-banner: linear-gradient(135deg, #312e81 0%, #4f46e5 45%, #7c3aed 75%, #0f766e 130%);

  --pk-sans: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --pk-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --pk-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --pk-canvas: #0b0c17;
    --pk-surface: #14162a;
    --pk-panel: #1b1e36;
    --pk-hairline: #2a2e4c;
    --pk-ink: #eceefc;
    --pk-muted: #a8aec9;
    --pk-accent: #a5b4fc;
    --pk-accent-soft: #23265a;
    --pk-violet: #c4b5fd;
    --pk-teal: #5eead4;
    --pk-selection: #818cf8;
    --pk-selection-ink: #0b0c17;
    --pk-glow-a: rgb(99 102 241 / 0.34);
    --pk-glow-b: rgb(45 212 191 / 0.16);
    --pk-glow-c: rgb(139 92 246 / 0.24);
    --pk-grid: rgb(165 180 252 / 0.06);
    --pk-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 36px -22px rgb(0 0 0 / 0.9);
    --pk-shadow-lift: 0 2px 4px rgb(0 0 0 / 0.4), 0 28px 60px -26px rgb(0 0 0 / 0.95);
    --pk-banner: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4c1d95 80%, #134e4a 130%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--pk-canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--pk-canvas);
  color: var(--pk-ink);
  font-family: var(--pk-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/*
 * Selected text: a solid indigo with white ink in the light theme, a bright indigo with near-black ink in
 * the dark one — 7.9:1 and 6.5:1. A selection should look like a selection, not like a tint.
 */
::selection {
  background-color: var(--pk-selection);
  color: var(--pk-selection-ink);
}

:focus-visible {
  outline: 2px solid var(--pk-accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

.pk-shell {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pk-icon {
  flex: none;
  display: block;
}

/* ---- The header: the mark and the name, and nothing to click ------------------------------------ */

.pk-top {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 0;
}

.pk-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pk-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pk-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--pk-shadow);
}

.pk-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.pk-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--pk-hairline);
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--pk-surface) 70%, transparent);
  backdrop-filter: blur(8px);
  color: var(--pk-muted);
  font-size: 0.82rem;
  font-weight: 560;
}

.pk-top-tag .pk-icon {
  width: 16px;
  height: 16px;
}

/* ---- The hero ----------------------------------------------------------------------------------- */

.pk-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
}

/*
 * The aurora: three soft blobs that drift slowly behind the headline, over a faint grid that fades out
 * towards the edges. Drawn in CSS rather than shipped as an image, so it costs no request, scales to any
 * screen and follows the theme.
 */
.pk-aurora {
  position: absolute;
  inset: -8rem 0 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(var(--pk-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--pk-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 30%, transparent 75%);
}

.pk-aurora span {
  position: absolute;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.9;
  animation: pk-drift 22s ease-in-out infinite alternate;
}

.pk-aurora span:nth-child(1) {
  top: 2rem;
  left: -8rem;
  background: var(--pk-glow-a);
}

.pk-aurora span:nth-child(2) {
  top: -6rem;
  right: -10rem;
  background: var(--pk-glow-b);
  animation-duration: 26s;
  animation-delay: -8s;
}

.pk-aurora span:nth-child(3) {
  top: 16rem;
  left: 35%;
  width: 30rem;
  height: 30rem;
  background: var(--pk-glow-c);
  animation-duration: 30s;
  animation-delay: -14s;
}

@keyframes pk-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4rem, 2rem, 0) scale(1.08); }
  100% { transform: translate3d(-3rem, 3rem, 0) scale(0.95); }
}

.pk-hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

@media (max-width: 58rem) {
  .pk-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pk-hero-art {
    max-width: 32rem;
    margin: 0 auto;
  }
}

.pk-hero-art img {
  display: block;
  width: 100%;
  animation: pk-bob 9s ease-in-out infinite;
}

@keyframes pk-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--pk-hairline);
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--pk-surface) 75%, transparent);
  backdrop-filter: blur(8px);
  color: var(--pk-muted);
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.pk-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.pk-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #10b981;
  animation: pk-ping 2s var(--pk-ease) infinite;
}

@keyframes pk-ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 3.9rem);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

/* One sentence per line. See the note in the template for why the break is not left to the browser. */
.pk-line {
  display: block;
  max-width: 20ch;
  text-wrap: balance;
}

/*
 * The headline's second line in the accent gradient, slowly shifting. Every stop clears 3:1 against the
 * canvas in both themes, which is the large-text requirement this is held to.
 */
.pk-gradient-text {
  background-image: linear-gradient(100deg, var(--pk-accent), var(--pk-violet), var(--pk-teal), var(--pk-accent));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pk-shimmer 10s ease-in-out infinite alternate;
}

/* A selection inside the gradient still needs visible ink. */
.pk-gradient-text::selection {
  color: var(--pk-selection-ink);
  -webkit-text-fill-color: var(--pk-selection-ink);
}

@keyframes pk-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.pk-lede {
  margin: 1.4rem 0 0;
  max-width: 48ch;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  line-height: 1.6;
  color: var(--pk-muted);
  text-wrap: pretty;
}

.pk-formula {
  display: inline-block;
  margin: 2rem 0 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--pk-hairline);
  border-radius: 12px;
  background-color: var(--pk-surface);
  box-shadow: var(--pk-shadow);
  font-family: var(--pk-mono);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--pk-ink);
  overflow-x: auto;
  max-width: 100%;
}

.pk-formula span {
  color: var(--pk-accent);
  font-weight: 600;
}

.pk-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--pk-muted);
  font-size: 0.9rem;
  font-weight: 560;
}

.pk-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pk-trust .pk-icon {
  width: 18px;
  height: 18px;
  color: var(--pk-accent);
}

/* The hero's entrance: each piece rises in turn, once. */
.pk-rise {
  animation: pk-rise 0.9s var(--pk-ease) both;
}

.pk-d1 { animation-delay: 0.08s; }
.pk-d2 { animation-delay: 0.16s; }
.pk-d3 { animation-delay: 0.24s; }
.pk-d4 { animation-delay: 0.32s; }

@keyframes pk-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---- The marquee -------------------------------------------------------------------------------- */

.pk-marquee {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0;
  border-block: 1px solid var(--pk-hairline);
  background-color: color-mix(in srgb, var(--pk-surface) 60%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.pk-marquee-track {
  display: flex;
  width: max-content;
  animation: pk-scroll 48s linear infinite;
}

.pk-marquee:hover .pk-marquee-track {
  animation-play-state: paused;
}

.pk-marquee-list {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0 0.375rem;
  list-style: none;
}

.pk-marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--pk-hairline);
  border-radius: 999px;
  background-color: var(--pk-surface);
  color: var(--pk-ink);
  font-size: 0.88rem;
  font-weight: 560;
  white-space: nowrap;
}

.pk-marquee-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, var(--pk-accent), var(--pk-teal));
}

@keyframes pk-scroll {
  to { transform: translateX(-50%); }
}

/* ---- Sections ----------------------------------------------------------------------------------- */

.pk-section {
  padding: 4.5rem 0;
}

.pk-section + .pk-section {
  border-top: 1px solid var(--pk-hairline);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.pk-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pk-accent);
}

.pk-section-lede {
  margin: 0.9rem 0 0;
  max-width: 62ch;
  color: var(--pk-muted);
  text-wrap: pretty;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0.6rem 0 0;
}

/* ---- Cards -------------------------------------------------------------------------------------- */

/*
 * Four to a row on a desktop, two in the middle, one on a phone. The minimum is 14rem rather than a
 * rounder 16 because both card sets have four members: at 16rem a laptop window fits three and leaves
 * the fourth sitting alone on a row of its own.
 */
.pk-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

/*
 * A card lifts on hover and its border picks up the accent gradient — a border drawn as a padding-box
 * fill over a border-box gradient, so the corner radius holds.
 */
.pk-card {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(var(--pk-surface), var(--pk-surface)) padding-box,
    linear-gradient(var(--pk-hairline), var(--pk-hairline)) border-box;
  box-shadow: var(--pk-shadow);
  transition:
    transform 0.35s var(--pk-ease),
    box-shadow 0.35s var(--pk-ease);
}

.pk-card:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(var(--pk-surface), var(--pk-surface)) padding-box,
    linear-gradient(135deg, var(--pk-accent), var(--pk-violet), var(--pk-teal)) border-box;
  box-shadow: var(--pk-shadow-lift);
}

.pk-card-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background-image: linear-gradient(135deg, var(--pk-accent-soft), color-mix(in srgb, var(--pk-teal) 16%, var(--pk-accent-soft)));
  color: var(--pk-accent);
  transition: transform 0.35s var(--pk-ease);
}

.pk-card:hover .pk-card-icon {
  transform: rotate(-6deg) scale(1.06);
}

.pk-card p {
  color: var(--pk-muted);
  font-size: 0.97rem;
}

/* ---- Grouped cards ------------------------------------------------------------------------------ */

/*
 * The feature list is long enough that one flat grid of eleven cards reads as a pile. Grouping it puts
 * three or four cards under a named heading, which also fixes the heading order: section `h2`, group
 * `h3`, card `h4`, with nothing skipped for anybody reading by headings.
 */
.pk-group + .pk-group {
  margin-top: 3rem;
}

.pk-group-name {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pk-accent);
}

/* A hairline that eats whatever width the label leaves, so the groups line up down the page. */
.pk-group-name::after {
  content: "";
  flex: 1;
  height: 1px;
  background-image: linear-gradient(90deg, var(--pk-hairline), transparent);
}

.pk-group .pk-cards {
  margin-top: 1.1rem;
}

h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* ---- An illustration beside its cards ----------------------------------------------------------- */

.pk-split {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.1rem;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.pk-split-flip {
  margin-top: 1.6rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.pk-split .pk-cards {
  margin-top: 0;
}

.pk-cards-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 60rem) {
  .pk-split,
  .pk-split-flip {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 34rem) {
  .pk-cards-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The illustration stays in view while the cards beside it scroll past. */
.pk-art {
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 60rem) {
  .pk-art {
    position: static;
  }
}

.pk-art img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--pk-shadow-lift);
}

/* ---- The console showcase ----------------------------------------------------------------------- */

.pk-showcase {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pk-showcase .pk-section-lede {
  margin-inline: auto;
}

.pk-showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 60rem;
  height: 28rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--pk-glow-a), transparent);
  filter: blur(20px);
  pointer-events: none;
}

.pk-showcase-frame {
  position: relative;
  max-width: 60rem;
  margin: 2.75rem auto 0;
  perspective: 1600px;
}

.pk-showcase-frame img {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgb(99 102 241 / 0.25),
    0 50px 100px -40px rgb(49 46 129 / 0.6),
    0 30px 60px -30px rgb(0 0 0 / 0.35);
}

/* ---- A specification list ------------------------------------------------------------------------ */

/*
 * For the places where the honest answer is a list of dimensions rather than a sentence — what a limit
 * can be keyed on, what windows it can be counted over. A `<dl>` because that is what it is.
 */
.pk-spec {
  margin: 0;
  display: grid;
  gap: 0.1rem 1.5rem;
  grid-template-columns: minmax(7rem, max-content) 1fr;
}

.pk-spec dt {
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.6rem 0;
  border-top: 1px solid var(--pk-hairline);
}

.pk-spec dd {
  margin: 0;
  padding: 0.6rem 0;
  border-top: 1px solid var(--pk-hairline);
  color: var(--pk-muted);
  font-size: 0.95rem;
}

.pk-spec dt:first-of-type,
.pk-spec dt:first-of-type + dd {
  border-top: 0;
  padding-top: 0;
}

/* One column on a phone: a label column beside prose is unreadable at 360px. */
@media (max-width: 34rem) {
  .pk-spec {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pk-spec dt {
    padding-bottom: 0;
  }

  .pk-spec dd {
    border-top: 0;
    padding-top: 0.15rem;
  }
}

/* ---- Pills ---------------------------------------------------------------------------------------- */

.pk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pk-tags li {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--pk-hairline);
  border-radius: 999px;
  background-color: var(--pk-accent-soft);
  font-family: var(--pk-mono);
  font-size: 0.78rem;
  color: var(--pk-accent);
}

/* ---- The three steps ---------------------------------------------------------------------------- */

.pk-steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pk-step;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.pk-steps li {
  counter-increment: pk-step;
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--pk-hairline);
  border-radius: 18px;
  background-color: var(--pk-surface);
  box-shadow: var(--pk-shadow);
}

/*
 * The number is generated content, so it is decoration a screen reader skips — the heading under it
 * says what the step is, and "1" read aloud before it adds nothing.
 */
.pk-steps li::before {
  content: "0" counter(pk-step);
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--pk-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--pk-accent) 45%, transparent);
}

.pk-step-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background-image: linear-gradient(135deg, var(--pk-accent), var(--pk-violet));
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgb(79 70 229 / 0.8);
}

.pk-steps p {
  color: var(--pk-muted);
  font-size: 0.97rem;
}

/* ---- The numbers that are zero ------------------------------------------------------------------ */

.pk-stats {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.pk-stats div {
  display: flex;
  flex-direction: column-reverse;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--pk-accent);
  border-radius: 4px;
  background-image: linear-gradient(90deg, var(--pk-accent-soft), transparent);
}

.pk-stats dt {
  color: var(--pk-muted);
  font-size: 0.9rem;
}

.pk-stats dd {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* ---- The closing note --------------------------------------------------------------------------- */

/*
 * The closing banner: the page's one block of solid colour. White on the deepest stop of the gradient,
 * and every stop behind text dark enough for it — about 5.5:1 at worst, on the teal.
 */
.pk-note {
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
  padding: 2.4rem 2rem 2.5rem;
  border-radius: 24px;
  background-image: var(--pk-banner);
  background-size: 200% 200%;
  box-shadow: var(--pk-shadow-lift);
  animation: pk-shimmer 14s ease-in-out infinite alternate;
}

.pk-note::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(120deg, transparent 20%, #000);
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000);
  pointer-events: none;
}

.pk-note p {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin: 0;
  color: rgb(255 255 255 / 0.9);
  font-size: 1.05rem;
}

.pk-note strong {
  display: block;
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ---- The footer: a name, a sentence and the copyright ------------------------------------------- */

.pk-foot {
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--pk-hairline);
  color: var(--pk-muted);
  font-size: 0.88rem;
}

.pk-foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.pk-foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.pk-foot p {
  margin: 0;
}

.pk-foot strong {
  color: var(--pk-ink);
  font-weight: 650;
}

/* ---- Motion as you scroll ----------------------------------------------------------------------- */

/*
 * Sections rise into view on the scroll timeline where there is one, on a screen, for anybody who has
 * not asked for less motion. Everywhere else — no timeline, print, reduced motion — `.pk-reveal`
 * does nothing at all — the content is simply there — so no browser ever shows a section stuck at zero
 * opacity waiting for an animation it cannot run.
 */
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) {
    .pk-reveal {
      animation: pk-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }

    .pk-tilt img {
      animation: pk-untilt linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
      transform-origin: 50% 100%;
    }
  }
}

@keyframes pk-reveal {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes pk-untilt {
  from { transform: rotateX(22deg) scale(0.92); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
