/* talk2know public landing — Discord-structure parity (original brand/assets) */

:root,
html[data-theme="dark"] {
  --pk-ink: #0a1630;
  --pk-ink-2: #102044;
  --pk-sky: #e8f1ff;
  --pk-light: #f5f7fb;
  --pk-text: #f4f7ff;
  --pk-text-ink: #0f1b33;
  --pk-muted: rgba(244, 247, 255, 0.78);
  --pk-muted-ink: #44506a;
  --pk-line: rgba(255, 255, 255, 0.14);
  --pk-accent: #3d8bfd;
  --pk-accent-2: #20c4a4;
  --pk-panel: rgba(12, 22, 48, 0.72);
  --pk-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --pk-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --pk-shell: min(1400px, calc(100% - 32px));
  --pk-shell-wide: min(1600px, calc(100% - 24px));
  --pk-radius: 18px;
  --pk-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
  --pk-text: #0f1b33;
  --pk-muted: #44506a;
  --pk-line: rgba(15, 27, 51, 0.12);
  --pk-panel: #ffffff;
}

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

body.pk-body {
  margin: 0;
  font-family: var(--pk-font);
  color: var(--pk-text);
  background: var(--pk-ink);
  line-height: 1.5;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.pk-skip {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: #000; padding: 8px 12px; z-index: 1000;
}
.pk-skip:focus { left: 12px; top: 12px; }

/* ===== HEADER — transparent over hero, Discord-like proportions ===== */
.pk-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: auto;
  min-height: 0;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.pk-header-shell {
  width: var(--pk-shell-wide);
  margin: 0 auto;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 4px 0 0;
}
.pk-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  z-index: 2;
  margin: 0;
  padding: 0;
  line-height: 0;
  align-self: start;
}
.pk-mark {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: linear-gradient(145deg, #3d8bfd, #1f6fe0);
  font-family: var(--pk-display);
}
.pk-logo-img {
  height: clamp(80px, 10vw, 120px);
  width: auto;
  max-width: min(560px, 64vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}
.pk-wordmark {
  font-family: var(--pk-display);
  letter-spacing: -0.03em;
  font-size: 18px;
  font-weight: 700;
}

.pk-nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  padding-top: 0;
}
.pk-nav > a,
.pk-nav-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pk-nav > a:hover,
.pk-nav-trigger:hover,
.pk-nav > a:focus-visible,
.pk-nav-trigger:focus-visible,
.pk-nav-trigger[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.pk-chev {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
  margin-top: 2px;
}
.pk-nav-item { position: relative; }

/* Mega menus — wide panels */
.pk-mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-35%);
  min-width: 560px;
  max-width: min(820px, 92vw);
  background: #fff;
  color: var(--pk-text-ink);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 18px 50px rgba(8, 16, 40, 0.28);
  z-index: 80;
}
.pk-mega-sm {
  min-width: 280px;
  transform: translateX(-20%);
}
.pk-mega[hidden] { display: none !important; }
.pk-mega-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr)) minmax(180px, 1.1fr);
  gap: 18px 28px;
}
.pk-mega-cols-2 { grid-template-columns: 1fr; }
.pk-mega h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7690;
}
.pk-mega a {
  display: block;
  text-decoration: none;
  color: var(--pk-text-ink);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 10px;
}
.pk-mega a:hover { background: #eef3ff; }
.pk-mega em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #6b7690;
  margin-left: 6px;
}
.pk-mega-card {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  padding: 16px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(160deg, #102044, #1a3a78);
  color: #fff !important;
  min-height: 140px;
  justify-content: flex-end;
}
.pk-mega-card:hover { filter: brightness(1.05); background: linear-gradient(160deg, #14305c, #214890) !important; }
.pk-mega-card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.pk-mega-card strong { font-size: 17px; font-family: var(--pk-display); }
.pk-mega-card span:last-child { font-size: 13px; opacity: 0.88; line-height: 1.4; }

.pk-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  padding-top: 0;
}
.pk-theme {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pk-login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #0f1b33;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.pk-login-pill:hover { filter: brightness(0.97); }
.pk-get-started {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}
.pk-get-started:hover { text-decoration: underline; }
.pk-burger {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 5px;
}
.pk-burger span {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
}

.pk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  border: 0; transition: transform 0.15s ease, filter 0.15s ease;
}
.pk-btn:hover { transform: translateY(-1px); }
.pk-btn:focus-visible { outline: 3px solid rgba(61, 139, 253, 0.7); outline-offset: 2px; }
.pk-btn-xl { min-height: 56px; padding: 0 32px; font-size: 18px; font-weight: 600; }
.pk-btn-primary { background: #fff; color: #0f1b33; }
.pk-btn-dark { background: #0f1b33; color: #fff; }
.pk-btn-ghost-solid {
  background: rgba(15, 27, 51, 0.42);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hidden { display: none !important; }

/* Mobile drawer — full navigation surface */
.pk-drawer {
  position: fixed; inset: 0; z-index: 90; background: rgba(4, 10, 24, 0.55);
}
.pk-drawer[hidden] { display: none !important; }
.pk-drawer-panel {
  position: absolute; inset: 0;
  background: #0b1733;
  padding: 18px 20px 28px;
  display: flex; flex-direction: column; gap: 18px;
  overflow: auto;
}
.pk-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  color: #fff;
}
.pk-drawer-close {
  width: 48px; height: 48px; border: 0; background: transparent; color: #fff;
  font-size: 32px; cursor: pointer;
}
.pk-drawer-nav {
  display: flex; flex-direction: column; gap: 4px;
}
.pk-drawer-nav > a,
.pk-drawer-nav summary {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 8px;
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}
.pk-drawer-nav details a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
}
.pk-drawer-nav summary::-webkit-details-marker { display: none; }
.pk-drawer-actions {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.pk-drawer-actions .pk-login-pill,
.pk-drawer-actions .pk-btn { width: 100%; min-height: 48px; }

/* ===== HERO — full bleed, large scale ===== */
.pk-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: max(720px, 100vh);
  padding: 110px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(165deg, #07122a 0%, #12306a 42%, #1a4f8c 72%, #0d2748 100%);
}
.pk-hero-atmosphere {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(61, 139, 253, 0.35), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(32, 196, 164, 0.22), transparent 32%),
    radial-gradient(circle at 55% 80%, rgba(90, 70, 220, 0.18), transparent 40%);
}
.pk-hero-atmosphere::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.12;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.pk-hero-stage {
  position: relative;
  width: var(--pk-shell-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  z-index: 1;
}
.pk-hero-copy h1 {
  margin: 0;
  font-family: var(--pk-display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 11ch;
}
.pk-lead {
  margin: 22px 0 0;
  max-width: 38ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.pk-hero-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

/* Hero product stage — large composition, not a tiny card */
.pk-hero-visual { min-height: 420px; position: relative; }
.pk-stage-desk {
  position: relative;
  width: 100%;
  min-height: 460px;
}
.pk-stage-app {
  display: grid;
  grid-template-columns: 52px 168px 1fr;
  width: min(100%, 720px);
  height: 480px;
  border-radius: 22px;
  overflow: hidden;
  background: #0c1428;
  box-shadow: var(--pk-shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  animation: pk-float 7s ease-in-out infinite;
}
@keyframes pk-float {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(-10px); }
}
.pk-stage-rail {
  background: #070e1c;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 14px;
}
.pk-stage-rail i {
  width: 28px; height: 28px; border-radius: 10px;
  background: #243356; display: block;
}
.pk-stage-rail i.on { background: linear-gradient(145deg, #3d8bfd, #20c4a4); }
.pk-stage-side {
  background: #101a32;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: rgba(255, 255, 255, 0.7);
}
.pk-stage-space { font-weight: 700; color: #fff; margin-bottom: 8px; font-size: 13px; }
.pk-stage-ch { padding: 7px 8px; border-radius: 8px; }
.pk-stage-ch.on { background: rgba(61, 139, 253, 0.22); color: #fff; }
.pk-stage-main {
  background: #151f3a;
  display: flex; flex-direction: column; min-width: 0;
}
.pk-stage-main header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600; font-size: 13px;
}
.pk-pill {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(32, 196, 164, 0.2); color: #7dffd8;
}
.pk-stage-chat {
  padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.pk-bubble {
  border-radius: 14px; padding: 10px 12px; max-width: 92%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px; line-height: 1.4;
}
.pk-bubble strong { display: block; font-size: 12px; margin-bottom: 4px; color: #9ec1ff; }
.pk-bubble p { margin: 0; }
.pk-bubble.me {
  align-self: flex-end;
  background: #2f6fed;
  color: #fff;
}
.pk-bubble small { display: block; margin-top: 6px; opacity: 0.7; font-size: 11px; }
.pk-stage-phone {
  position: absolute;
  right: 0; bottom: 10px;
  width: 168px; height: 300px;
  border-radius: 28px;
  background: linear-gradient(180deg, #17305f, #0c1833);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--pk-shadow);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 12px;
  color: #fff;
  animation: pk-float 8s ease-in-out infinite reverse;
}
.pk-phone-top { font-size: 12px; font-weight: 700; text-align: center; opacity: 0.85; }
.pk-phone-wave {
  height: 72px; margin: 20px 8px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, transparent 0%, #3d8bfd 20%, #20c4a4 50%, #3d8bfd 80%, transparent 100%);
  opacity: 0.55;
  filter: blur(0.2px);
}
.pk-stage-phone p { margin: auto 0 8px; text-align: center; font-size: 12px; line-height: 1.35; }

/* ===== FULL-BLEED BANDS ===== */
.pk-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 10vw, 120px) 0;
}
.pk-band-light { background: var(--pk-light); color: var(--pk-text-ink); }
.pk-band-ink { background: #0c1833; color: #fff; }
.pk-band-sky { background: #d9e8ff; color: var(--pk-text-ink); }
.pk-band-inner {
  width: var(--pk-shell-wide);
  margin: 0 auto;
}
.pk-band-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.pk-band-split.reverse .pk-text-rail { order: 2; }
.pk-band-split.reverse .pk-visual-stage { order: 1; }
.pk-band-center { text-align: center; }
.pk-text-rail h2 {
  margin: 0 0 18px;
  font-family: var(--pk-display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 14ch;
}
.pk-text-center h2 { max-width: none; margin-left: auto; margin-right: auto; }
.pk-text-rail p {
  margin: 0 0 22px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.5;
  max-width: 36ch;
  color: inherit;
  opacity: 0.88;
}
.pk-text-center p { margin-left: auto; margin-right: auto; }
.pk-visual-stage { min-height: 280px; }
.pk-scene-card {
  background: #101a32;
  color: #fff;
  border-radius: 24px;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--pk-shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: none;
  min-height: 320px;
}
.pk-band-light .pk-scene-card,
.pk-band-sky .pk-scene-card {
  background: #fff;
  color: var(--pk-text-ink);
  border: 1px solid rgba(15, 27, 51, 0.08);
}
.pk-band-light .pk-bubble,
.pk-band-sky .pk-bubble {
  background: #eef3ff;
  color: var(--pk-text-ink);
}
.pk-scene-agent h3 {
  font-family: var(--pk-display);
  font-size: 28px;
  margin: 12px 0 8px;
}
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pk-chips span {
  padding: 8px 12px; border-radius: 999px;
  background: rgba(61, 139, 253, 0.15);
  font-size: 13px; font-weight: 600;
}
.pk-path-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}
.pk-band-light .pk-path-row,
.pk-band-sky .pk-path-row { border-bottom-color: rgba(15, 27, 51, 0.08); }
.pk-path-row span { opacity: 0.65; font-weight: 600; }
.pk-path-row.on { color: #20c4a4; }
.pk-band-light .pk-path-row.on,
.pk-band-sky .pk-path-row.on { color: #0f7d68; }
.pk-comm-stack { display: grid; gap: 14px; }
.pk-comm {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 16px 40px rgba(20, 40, 90, 0.12);
  font-size: 16px;
}
.pk-comm span { opacity: 0.65; font-size: 14px; }
.pk-mode-row {
  display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap;
}
.pk-mode {
  min-width: 140px; padding: 22px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--pk-display); font-weight: 700; font-size: 22px;
}
.pk-mode.on {
  background: #fff; color: #0f1b33;
}
.pk-world-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.pk-world-list li {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(20, 40, 90, 0.1);
}
.pk-glow {
  min-height: 280px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(61, 139, 253, 0.45), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(32, 196, 164, 0.35), transparent 40%),
    #102044;
}
.pk-glow-teach {
  background:
    radial-gradient(circle at 70% 25%, rgba(139, 124, 247, 0.4), transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(61, 139, 253, 0.35), transparent 40%),
    #1a2240;
}
.pk-band-tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pk-full { grid-column: 1 / -1; margin-bottom: 8px; }
.pk-band-tri article {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(20, 40, 90, 0.08);
}
.pk-band-tri h3 {
  margin: 0 0 8px;
  font-family: var(--pk-display);
  font-size: 22px;
}
.pk-band-tri p { margin: 0; color: var(--pk-muted-ink); }

.pk-final {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(80px, 12vw, 140px) 24px;
  text-align: center;
  background: linear-gradient(160deg, #07122a, #15366f 55%, #0c2748);
  color: #fff;
}
.pk-final h2 {
  margin: 0 auto 16px;
  font-family: var(--pk-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 16ch;
}
.pk-final p {
  margin: 0 auto 28px;
  max-width: 42ch;
  font-size: 18px;
  opacity: 0.9;
}
.pk-final .pk-hero-cta { width: auto; margin-top: 0; }

/* Footer — large multi-column */
.pk-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #1a1c2a;
  color: #fff;
  padding: 72px 0 0;
}
.pk-footer-shell {
  width: var(--pk-shell-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
}
.pk-footer-brand { margin-bottom: 8px; }
.pk-foot-wordmark {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 48px 0 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}
.pk-foot-logo-huge {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left bottom;
  display: block;
  margin: 0;
}
.pk-lang select {
  appearance: none;
  background: #2b2d3d;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
}
.pk-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 24px;
}
.pk-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #20c4a4;
  font-weight: 700;
}
.pk-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 15px;
}
.pk-footer a:hover { text-decoration: underline; }
.pk-footer em {
  font-style: normal; font-size: 11px; opacity: 0.7; margin-left: 4px;
}
.pk-copy {
  width: var(--pk-shell-wide);
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  opacity: 0.65;
}

/* Desktop nav */
@media (min-width: 1100px) {
  .pk-nav { display: flex; }
  .pk-burger { display: none; }
  .pk-get-started { display: inline-flex; }
}

/* Tablet */
@media (max-width: 1099px) {
  .pk-header { position: absolute; }
  .pk-hero-stage { grid-template-columns: 1fr; }
  .pk-hero-copy h1 { max-width: none; font-size: clamp(36px, 8vw, 56px); }
  .pk-hero-visual { min-height: 340px; }
  .pk-stage-app {
    width: 100%;
    max-width: 560px;
    transform: none;
    animation: none;
    height: 360px;
  }
  .pk-stage-phone { display: none; }
  .pk-band-split,
  .pk-band-split.reverse { grid-template-columns: 1fr; }
  .pk-band-split.reverse .pk-text-rail,
  .pk-band-split.reverse .pk-visual-stage { order: initial; }
  .pk-text-rail h2 { max-width: none; }
  .pk-band-tri { grid-template-columns: 1fr; }
  .pk-footer-shell { grid-template-columns: 1fr; }
  .pk-footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile hero order: headline → copy → CTA → visual */
@media (max-width: 720px) {
  :root {
    --pk-shell: calc(100% - 32px);
    --pk-shell-wide: calc(100% - 32px);
  }
  body.pk-body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .pk-header {
    position: sticky;
    top: 0;
    height: auto;
    min-height: calc(72px + env(safe-area-inset-top));
    padding-top: calc(8px + env(safe-area-inset-top));
    padding-bottom: 8px;
    background: linear-gradient(180deg, rgba(10, 22, 48, 0.94), rgba(10, 22, 48, 0.82));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .pk-header-shell {
    width: var(--pk-shell-wide);
    height: auto;
    min-height: 56px;
    gap: 8px;
    align-items: start;
  }
  .pk-logo-img {
    height: 56px;
    max-width: min(300px, 62vw);
  }
  .pk-nav,
  .pk-header-actions { padding-top: 6px; }
  .pk-wordmark { font-size: 16px; }
  .pk-mark { width: 28px; height: 28px; border-radius: 8px; }
  .pk-header-actions { gap: 6px; }
  .pk-theme { width: 40px; height: 40px; }
  .pk-header .pk-login-pill { display: none; }
  .pk-burger { width: 44px; height: 44px; }

  .pk-hero {
    min-height: auto;
    padding: 28px 0 calc(40px + env(safe-area-inset-bottom));
  }
  .pk-hero-stage {
    width: var(--pk-shell-wide);
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .pk-hero-copy h1 {
    max-width: none;
    font-size: clamp(30px, 8.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  .pk-lead {
    margin-top: 14px;
    max-width: none;
    font-size: 16px;
    line-height: 1.55;
  }
  .pk-hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }
  .pk-hero-cta .pk-btn {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
  }
  .pk-hero-visual { min-height: 0; order: 2; }
  .pk-stage-app {
    width: 100%;
    max-width: none;
    height: min(280px, 52vw);
    grid-template-columns: 36px 1fr;
    transform: none;
    animation: none;
  }
  .pk-stage-side,
  .pk-stage-phone { display: none; }

  .pk-band { padding: 48px 0; }
  .pk-band-inner,
  .pk-footer-shell,
  .pk-copy { width: var(--pk-shell-wide); }
  .pk-text-rail h2,
  .pk-band h2 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
    max-width: none;
  }
  .pk-band-split,
  .pk-band-split.reverse,
  .pk-band-tri { grid-template-columns: 1fr; gap: 20px; }
  .pk-footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pk-btn-xl { min-height: 48px; font-size: 16px; padding: 0 20px; }

  .pk-drawer-panel {
    width: min(100vw, 100%);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pk-drawer-nav > a,
  .pk-drawer-nav summary {
    min-height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .pk-footer-cols { grid-template-columns: 1fr; }
  .pk-hero-copy h1 { font-size: 28px; }
  .pk-stage-app { height: 240px; }
}

/* Wide monitors — keep composition expansive */
@media (min-width: 1680px) {
  :root {
    --pk-shell-wide: min(1560px, calc(100% - 64px));
  }
  .pk-hero-copy h1 { font-size: 78px; }
}
@media (min-width: 2200px) {
  :root {
    --pk-shell-wide: min(1680px, calc(100% - 80px));
  }
}

html[data-theme="light"] .pk-hero {
  background: linear-gradient(165deg, #12306a 0%, #2a6fd1 48%, #3d9adf 100%);
}
html[data-theme="light"] .pk-header .pk-brand,
html[data-theme="light"] .pk-nav > a,
html[data-theme="light"] .pk-nav-trigger { color: #fff; }
