:root {
  --ink: #101624;
  --muted: #5a6678;
  --line: #d8e1ec;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --blue: #155bd7;
  --teal: #0b766f;
  --red: #c62828;
}

* { box-sizing: border-box; }

body {
  background: radial-gradient(circle at 14% 8%, rgba(21, 91, 215, 0.12), transparent 30rem), linear-gradient(180deg, #f7fafc 0%, #ffffff 38rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

a { color: inherit; }

.hub-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.hub-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

.hub-brand::before {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  content: "";
  height: 20px;
  width: 20px;
}

.hub-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hub-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px clamp(18px, 4vw, 56px) 64px;
}

.hub-hero {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  margin-bottom: 34px;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 22px;
}

.lede {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  max-width: 68ch;
  overflow-wrap: break-word;
}

.hub-panel,
.site-card,
.creator-strip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.hub-panel {
  align-self: start;
  padding: 24px;
}

.hub-panel strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hub-panel p,
.site-card p {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: break-word;
}

.hub-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.hub-stats span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 12px;
}

.hub-stats b {
  color: var(--ink);
  display: block;
  font-size: 22px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 42px 0 18px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 54ch;
}

.site-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  min-width: 0;
  padding: 20px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-card:hover {
  border-color: rgba(21, 91, 215, 0.36);
  box-shadow: 0 24px 50px rgba(21, 91, 215, 0.12);
  transform: translateY(-2px);
}

.site-card small {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.site-card h3 {
  font-size: 22px;
  line-height: 1.12;
  margin: 0 0 12px;
}

.site-card ul {
  color: var(--muted);
  line-height: 1.6;
  margin: auto 0 0;
  padding-left: 18px;
}

.site-card .open {
  color: var(--blue);
  display: inline-flex;
  font-weight: 900;
  margin-top: 18px;
}


:root {
  --pk-ink: #111827;
  --pk-muted: #53606f;
  --pk-line: #d7dee8;
  --pk-panel: #ffffff;
  --pk-soft: #f4f8fb;
  --pk-blue: #1457d9;
  --pk-teal: #0b766f;
  --pk-red: #c62828;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 87, 217, 0.08), transparent 30rem),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 44rem);
  color: var(--pk-ink);
  overflow-x: hidden;
}

.topbar {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--pk-line);
  box-shadow: 0 12px 30px rgba(20, 34, 58, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand::before {
  background: linear-gradient(135deg, var(--pk-blue), var(--pk-teal));
  border-radius: 8px;
  content: "";
  display: inline-block;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  width: 18px;
}

.hero {
  align-items: stretch;
  gap: 28px;
  padding-top: 42px;
}

.hero h1 {
  letter-spacing: 0;
  line-height: 1.02;
}

.answer-panel,
.side-note,
.guide-link,
.principles p,
.creator-strip,
.hub-panel,
.site-card {
  border: 1px solid var(--pk-line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.guide-link {
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.guide-link:hover {
  border-color: rgba(20, 87, 217, 0.35);
  box-shadow: 0 20px 45px rgba(20, 87, 217, 0.10);
  transform: translateY(-2px);
}

.creator-strip {
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  margin: 44px 0;
  padding: 24px;
}

.creator-label {
  color: var(--pk-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.creator-copy h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  margin: 0 0 14px;
}

.creator-copy p {
  color: var(--pk-muted);
  line-height: 1.7;
  max-width: 62ch;
  overflow-wrap: break-word;
}

.creator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.creator-actions a,
.x-timeline-link {
  background: var(--pk-ink);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 14px;
  text-decoration: none;
}

.creator-actions a:nth-child(2) { background: #6441a5; }
.creator-actions a:nth-child(3), .x-timeline-link { background: #0f172a; }

.creator-media {
  display: grid;
  gap: 14px;
}

.media-frame {
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
}

.media-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.x-timeline-link {
  justify-content: center;
}

.x-frame {
  background: #ffffff;
  border: 1px solid var(--pk-line);
  border-radius: 8px;
  min-height: 120px;
  overflow: hidden;
  padding: 10px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .creator-strip {
    grid-template-columns: 1fr;
  }

  .creator-media,
  .media-frame {
    min-width: 0;
  }
}


@media (max-width: 1040px) {
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hub-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    max-width: 100%;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }

  .hub-hero,
  .site-grid {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }
  .hub-stats {
    grid-template-columns: 1fr;
  }

  .hub-panel,
  .site-card {
    max-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
  }

  h1 {
    font-size: clamp(38px, 10vw, 46px);
  }

  .lede {
    font-size: 18px;
    max-width: min(310px, calc(100vw - 40px));
  }

  .hub-panel p,
  .site-card p {
    max-width: min(300px, calc(100vw - 74px));
  }
}
