/* 01 · tokens */
:root {
  --shade: #0e0e10;
  --shade-mid: #3b3b44;
  --shade-low: #55555f;
  --hl: #5c16c5;
  --hl-deep: #47129b;
  --hl-mist: #f3edfd;
  --surface: #ffffff;
  --hairline: #dddde2;

  --rhythm-hair: 4px;
  --rhythm-tight: 8px;
  --rhythm-snug: 14px;
  --rhythm-step: 22px;
  --rhythm-wide: 36px;
  --rhythm-gap: 56px;
  --rhythm-band: clamp(64px, 9vw, 108px);

  --edge: 4px;
  --capsule: 999px;
  --shell: 1160px;

  --face-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --face-text: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 02 · faces */
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/robotoslab-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 03 · reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--shade);
  font-family: var(--face-text);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
}

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

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

a { color: var(--hl); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hl-deep); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--hl);
  outline-offset: 3px;
  border-radius: var(--edge);
}

/* 04 · typography */
h1, h2, h3 {
  font-family: var(--face-display);
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--shade);
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  line-height: 1.06;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.72rem, 3.4vw, 2.4rem);
  line-height: 1.14;
  text-wrap: balance;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.24;
  letter-spacing: -0.012em;
}

p { margin: 0 0 var(--rhythm-snug); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

.pd-shell {
  width: min(var(--shell), 100% - clamp(36px, 9vw, 88px));
  margin-inline: auto;
}

.pd-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl);
  margin: 0 0 var(--rhythm-snug);
}

.pd-lede {
  font-size: 1.075rem;
  color: var(--shade-mid);
  max-width: 40rem;
}

[data-pd-sentry] { display: block; height: 1px; }

.pd-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pd-jump {
  position: absolute;
  left: var(--rhythm-snug);
  top: -80px;
  z-index: 60;
  background: var(--shade);
  color: var(--surface);
  padding: 12px 22px;
  border-radius: var(--capsule);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s ease;
}
.pd-jump:focus-visible { top: var(--rhythm-snug); color: var(--surface); }

/* 05 · cta */
.pd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: var(--capsule);
  border: 0;
  background: none;
  font-family: var(--face-text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease,
    color 0.16s ease, box-shadow 0.16s ease;
}

.pd-cta--lead {
  background: var(--hl);
  color: var(--surface);
}
.pd-cta--lead:hover {
  background: var(--hl-deep);
  color: var(--surface);
  transform: translateY(-1px);
}
.pd-cta--lead:active { transform: translateY(1px); }

.pd-cta--line {
  box-shadow: inset 0 0 0 1.5px var(--shade);
  color: var(--shade);
}
.pd-cta--line:hover {
  background: var(--shade);
  color: var(--surface);
  transform: translateY(-1px);
}
.pd-cta--line:active { transform: translateY(1px); }

.pd-cta--ghost {
  padding-inline: 18px;
  color: var(--hl);
}
.pd-cta--ghost:hover {
  background: var(--hl-mist);
  color: var(--hl-deep);
  transform: translateY(-1px);
}

.pd-cta--tiny {
  min-height: 48px;
  padding: 10px 20px;
  font-size: 0.92rem;
}

.pd-cta__mark { width: 17px; height: 17px; flex: none; }

/* 06 · motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
