/* Growth Academy Global offer pages
   Based on the full-site mockup brutalist editorial system. */

:root {
  --brand: #0d0d0d;
  --brand-soft: #191919;
  --blue: #006bff;
  --blue-bright: #00a3ff;
  --blue-dark: #003fc2;
  --navy: #111827;
  --footer: #11132a;
  --ink: #070707;
  --muted: #4c4c4c;
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #f6f6f6;
  --font: "Inter", Arial, sans-serif;
  --u-blue: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22' width='60' height='22'><path d='M2 11 C 14 6, 24 16, 34 10 C 44 5, 52 14, 58 11' stroke='%23006bff' stroke-width='17' fill='none' stroke-linecap='round' opacity='0.22'/><path d='M3 11 C 14 7, 23 14, 33 10 C 43 6, 51 13, 57 11' stroke='%23006bff' stroke-width='10' fill='none' stroke-linecap='round' opacity='0.5'/></svg>");
  --u-white: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 22' width='60' height='22'><path d='M2 11 C 14 6, 24 16, 34 10 C 44 5, 52 14, 58 11' stroke='%23ffffff' stroke-width='17' fill='none' stroke-linecap='round' opacity='0.28'/><path d='M3 11 C 14 7, 23 14, 33 10 C 43 6, 51 13, 57 11' stroke='%23ffffff' stroke-width='10' fill='none' stroke-linecap='round' opacity='0.6'/></svg>");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 2px solid var(--ink);
  padding: 14px 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 28px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header nav a:hover {
  color: var(--blue);
}

.replay-menu {
  position: relative;
}

.replay-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--blue);
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.replay-menu summary::-webkit-details-marker {
  display: none;
}

.replay-menu summary::after {
  content: "↓";
  color: var(--blue-bright);
  font-size: 13px;
  line-height: 1;
}

.replay-menu[open] summary::after {
  content: "↑";
}

.replay-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--blue);
}

.replay-menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.replay-menu-panel a:last-child {
  border-bottom: 0;
}

.replay-menu-panel a::after {
  content: "Replay";
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.replay-menu-panel a:hover {
  background: var(--soft);
  color: var(--blue);
}

.replay-frame-wrap {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.replay-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.replay-page-main {
  min-height: calc(100vh - 66px);
  padding: clamp(32px, 5vw, 72px) 4vw;
  background: #fff;
}

.replay-page-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.replay-hero {
  display: grid;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 4px solid var(--ink);
}

.replay-hero h1 {
  max-width: 920px;
  font-size: clamp(44px, 8vw, 94px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
}

.replay-hero p:not(.label) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 650;
  line-height: 1.42;
}

.replay-major-headline {
  display: block;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.replay-day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.replay-day-nav a {
  padding: 10px 13px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-day-nav a.active,
.replay-day-nav a:hover {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  color: #fff;
}

.replay-player {
  margin-top: 34px;
  background: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 var(--blue);
}

.replay-player.coming-soon {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: clamp(28px, 5vw, 64px);
  background: #fff;
}

.replay-coming-soon {
  max-width: 620px;
  text-align: center;
}

.replay-coming-soon h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.replay-coming-soon p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.replay-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.replay-recap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  margin-top: 42px;
}

.replay-copy-block,
.replay-offers {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.replay-copy-block h2,
.replay-offers h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.replay-copy-block p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.replay-exec-summary,
.replay-action-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-left: 22px;
}

.replay-exec-summary li,
.replay-action-list li {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.replay-action-list li::marker {
  color: var(--blue);
  font-weight: 900;
}

.replay-offer-card {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 2px solid var(--line);
}

.replay-offer-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.replay-offer-card h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.replay-offer-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.replay-offer-card .button {
  justify-self: start;
}

.dashboard-paywall {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  padding: 56px 20px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-soft) 100%);
}

.dashboard-paywall[hidden] {
  display: none;
}

.dashboard-paywall-panel {
  width: 100%;
  max-width: 660px;
  padding: clamp(30px, 5vw, 48px);
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: 12px 12px 0 var(--blue);
}

.dashboard-paywall-panel h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.dashboard-paywall-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.dashboard-paywall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.dashboard-paywall-help {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
}

.dashboard-paywall-help a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.codex-download-note {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  background: var(--soft);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.codex-download-note.compact {
  margin-top: 22px;
  background: #fff;
}

.codex-download-note .label {
  margin: 0;
  color: var(--blue);
}

.codex-download-lede,
.codex-download-help {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.codex-download-help {
  color: var(--muted);
}

.codex-download-help strong {
  color: var(--ink);
  font-weight: 900;
}

.codex-download-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.codex-download-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.codex-download-buttons a:hover {
  background: var(--blue-dark);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.codex-download-note ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.codex-download-note li {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.codex-download-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.codex-download-note .codex-download-buttons a {
  color: #fff;
  text-decoration: none;
}

.download-guide-inline {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  background: #f8faff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 5px 5px 0 var(--blue);
}

.download-guide-inline .label {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.download-guide-inline h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
}

.download-guide-inline p:not(.label) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.download-guide-inline .button {
  justify-self: start;
  min-height: 50px;
  margin-top: 4px;
  padding: 14px 20px;
}

.hero {
  display: grid;
  min-height: 82vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  padding: clamp(70px, 8vw, 118px) 3vw 86px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-soft) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw -24vw auto;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 107, 255, 0.22), transparent 58%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page h1 {
  max-width: 1120px;
  margin-bottom: 28px;
  font-size: clamp(44px, 6.4vw, 104px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(0, 0, 0, 0.16);
}

.lede {
  max-width: 780px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--blue);
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.gold {
  background: var(--blue-bright);
  color: #fff;
}

.button.full {
  width: 100%;
}

.hero .button {
  border-color: #fff;
  box-shadow: 8px 8px 0 #fff;
}

.hero .button:hover {
  box-shadow: 10px 10px 0 var(--blue-bright);
}

.hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: 14px 14px 0 var(--blue);
  color: var(--ink);
  overflow: hidden;
}

.proof-row {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 22px;
  padding: 22px 24px;
  border-bottom: 2px solid var(--line);
}

.proof-row:last-child {
  border-bottom: 0;
}

.proof-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-row strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
}

.product-hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.product-crop {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  background: #fff;
  background-image: url("assets/codex-product-mockups.png");
  background-repeat: no-repeat;
  background-size: 330% auto;
  border: 4px solid #fff;
  border-radius: 6px;
  box-shadow: 14px 14px 0 var(--blue);
  overflow: hidden;
}

.product-crop img {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.product-money { background-position: 0% 0%; }
.product-desk { background-position: 49% 0%; }
.product-operator { background-position: 100% 0%; }
.product-community { background-position: 19% 100%; }
.product-skills { background-position: 77% 100%; }
.product-all {
  aspect-ratio: 16 / 9;
  background-image: none;
}
.product-all img {
  opacity: 1;
  object-fit: contain;
  background: #fff;
}

.section {
  padding: clamp(72px, 8vw, 120px) 3vw;
  background: #fff;
}

.section.alt {
  background: var(--soft);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section-head {
  width: min(1180px, 92vw);
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-head h2 span,
.u {
  background-image: var(--u-blue);
  background-repeat: repeat-x;
  background-position: 0 78%;
  background-size: auto 0.55em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-head p {
  width: min(760px, 92vw);
  margin: 0 auto;
  color: #2a2a2a;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.55;
}

.offer-grid {
  width: min(1480px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.offer-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  gap: 20px;
  padding: 44px 38px;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: 14px 14px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.offer-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 18px 18px 0 var(--blue);
}

.offer-card.audit,
.offer-card.sprint {
  background: var(--ink);
  color: #fff;
  box-shadow: 14px 14px 0 var(--blue);
}

.offer-card.audit:hover,
.offer-card.sprint:hover {
  box-shadow: 18px 18px 0 var(--blue-bright);
}

.offer-card h3 {
  color: inherit;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.offer-card p,
.copy-block p,
.fit-list li,
.deliverables li {
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.88;
}

.price {
  margin: auto 0 8px;
  padding-top: 16px;
  color: inherit;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}

.meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.offer-card.audit .meta-line span,
.offer-card.sprint .meta-line span {
  color: var(--blue-bright);
}

.page-layout {
  width: min(1320px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.46fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 0;
}

.copy-block {
  padding: 36px 0;
  border-bottom: 2px solid var(--line);
}

.copy-block:first-child {
  padding-top: 0;
}

.copy-block h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.deliverables,
.fit-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.deliverables li,
.fit-list li {
  position: relative;
  padding-left: 30px;
  color: #202020;
  opacity: 1;
}

.deliverables li::before,
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 107, 255, 0.12);
}

.checkout-panel {
  position: sticky;
  top: 96px;
  padding: 38px 34px;
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: 14px 14px 0 var(--blue);
  color: #fff;
}

.checkout-panel .label {
  margin-bottom: 18px;
}

.checkout-panel h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.checkout-panel .price {
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(46px, 4vw, 64px);
}

.checkout-panel p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  line-height: 1.5;
}

.checkout-panel .button {
  border-color: #fff;
  box-shadow: 6px 6px 0 #fff;
}

.compact-proof {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.urgency {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.urgency .section-head h2 {
  color: #fff;
}

.urgency .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 44px 3vw;
  background: var(--footer);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  color: #fff;
  background-image: var(--u-white);
  background-repeat: repeat-x;
  background-position: 0 78%;
  background-size: auto 0.55em;
}

@media (max-width: 1100px) {
  .hero,
  .page-layout,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .replay-recap-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .checkout-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .replay-menu {
    width: 100%;
  }

  .replay-menu summary {
    width: 100%;
    justify-content: space-between;
  }

  .replay-menu-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  h1,
  .page h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero {
    padding-top: 54px;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof-row strong {
    text-align: left;
  }

  .offer-card {
    min-height: auto;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

/* Skills dashboard */
.dashboard-body {
  background: var(--soft);
}

.skills-app {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: calc(100vh - 66px);
}

.skills-rail {
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  overflow-y: auto;
  background: var(--ink);
  color: #fff;
  border-right: 3px solid var(--ink);
  padding: 30px 24px;
}

.rail-head h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: none;
}

.skills-rail {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.skills-rail::-webkit-scrollbar {
  width: 8px;
}

.skills-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

.skills-rail::-webkit-scrollbar-track {
  background: transparent;
}

.rail-head p,
.rail-note p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.rail-note strong {
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rail-tabs {
  display: grid;
  gap: 10px;
}

.rail-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.rail-tab span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-tab strong {
  display: grid;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.rail-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
}

.rail-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateX(2px);
}

.rail-tab.active strong {
  background: #fff;
  color: var(--ink);
}

.rail-note {
  margin-top: 26px;
  padding: 18px;
  background: rgba(0, 107, 255, 0.1);
  border: 2px solid rgba(0, 163, 255, 0.32);
  border-radius: 4px;
}

.rail-note strong {
  display: block;
  margin-bottom: 6px;
}

.skills-main {
  padding: 34px 3vw 80px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: clamp(28px, 4vw, 46px) clamp(34px, 5vw, 60px) clamp(34px, 5vw, 60px);
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-soft) 100%);
  border: 4px solid var(--ink);
  border-radius: 6px;
  color: #fff;
  box-shadow: 14px 14px 0 var(--blue);
}

.dashboard-hero h2 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.dashboard-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.dashboard-hero-actions .button {
  border-color: #fff;
}

.button.primary.dashboard-unlock-cta {
  position: relative;
  isolation: isolate;
  background: var(--blue-bright);
  box-shadow: 8px 8px 0 #fff, 0 0 0 0 rgba(0, 163, 255, 0.58);
  animation: dashboardUnlockGlow 1.7s ease-in-out infinite;
}

.button.primary.dashboard-unlock-cta::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border: 2px solid rgba(0, 163, 255, 0.72);
  border-radius: 8px;
  opacity: 0.55;
  pointer-events: none;
  animation: dashboardUnlockRing 1.7s ease-in-out infinite;
}

.button.primary.dashboard-unlock-cta:hover {
  background: #1b76ff;
  box-shadow: 10px 10px 0 #fff, 0 0 34px rgba(0, 163, 255, 0.86);
}

@keyframes dashboardUnlockGlow {
  0%,
  100% {
    box-shadow: 8px 8px 0 #fff, 0 0 0 0 rgba(0, 163, 255, 0.46);
  }
  50% {
    box-shadow: 8px 8px 0 #fff, 0 0 30px 8px rgba(0, 163, 255, 0.72);
  }
}

@keyframes dashboardUnlockRing {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-unlock-cta,
  .dashboard-unlock-cta::after {
    animation: none;
  }
}

.dashboard-stats {
  display: grid;
  gap: 14px;
}

.dashboard-stats article {
  display: grid;
  gap: 8px;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #fff;
  box-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.dashboard-stats article:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.42);
}

.dashboard-stats span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dashboard-stats strong {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-stats article:first-child strong {
  color: var(--blue-bright);
}

.stat-start {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--blue-bright);
  cursor: pointer;
  font: inherit;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.stat-start:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.skill-map {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 34px 0;
}

.map-center {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px 26px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--blue);
  color: #fff;
}

.map-center span {
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.map-center strong {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.map-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  align-content: center;
  padding: 22px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--ink);
}

.map-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  background: var(--soft);
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.map-item::after {
  content: "→";
  font-size: 14px;
  letter-spacing: 0;
  opacity: 0.35;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.map-item:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.map-item:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

.map-item.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.map-item.active::after {
  opacity: 1;
}

.skill-panel {
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 6px;
  box-shadow: 14px 14px 0 var(--ink);
  padding: clamp(26px, 4vw, 44px);
}

.skill-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 3px solid var(--ink);
}

.skill-panel-head h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.skill-panel-head p:not(.label) {
  max-width: 760px;
  color: #202020;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.skill-panel-head .button {
  min-height: 50px;
  padding: 14px 22px;
  font-size: 12px;
  box-shadow: 6px 6px 0 var(--ink);
}

.skill-panel-head .button:hover {
  box-shadow: 8px 8px 0 var(--blue);
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  padding-top: 28px;
}

.prompt-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--ink);
  isolation: isolate;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.prompt-card:hover,
.prompt-card:focus,
.prompt-card:focus-within {
  z-index: 5;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--blue);
}

.prompt-card:focus {
  outline: none;
}

.prompt-card:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

.prompt-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.prompt-topline span,
.prompt-topline strong {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prompt-topline strong {
  display: grid;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  place-items: center;
  background: var(--ink);
  border-radius: 3px;
  color: var(--blue-bright);
}

.prompt-card p {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.52;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.prompt-purpose {
  position: absolute;
  top: 74px;
  right: 18px;
  bottom: 84px;
  left: 18px;
  z-index: 8;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  background: var(--ink);
  border: 3px solid var(--blue-bright);
  box-shadow: 6px 6px 0 var(--blue);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: perspective(900px) rotateY(-12deg) scale(0.96);
  transform-origin: center;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.prompt-card:hover .prompt-purpose,
.prompt-card:focus-visible .prompt-purpose {
  opacity: 1;
  transform: perspective(900px) rotateY(0deg) scale(1);
  visibility: visible;
}

.prompt-purpose span {
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prompt-purpose p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.42;
}

.prompt-body code {
  display: inline;
  padding: 2px 6px;
  margin: 0 1px;
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--blue-dark);
  overflow-wrap: anywhere;
}

.prompt-body strong {
  color: var(--ink);
  font-weight: 800;
}

.prompt-copy {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 14px;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.prompt-link-action {
  text-decoration: none;
}

.prompt-copy::after {
  content: "→";
  font-size: 13px;
  letter-spacing: 0;
  transition: transform 0.15s ease;
}

.prompt-copy:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.prompt-copy:hover::after {
  transform: translateX(3px);
}

.prompt-copy.copied {
  background: var(--blue-bright);
  color: #fff;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  transform: translateY(16px);
  opacity: 0;
  padding: 14px 16px;
  background: var(--ink);
  border: 3px solid #fff;
  border-radius: 4px;
  color: #fff;
  box-shadow: 7px 7px 0 var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.manual-copy-modal,
.skill-markdown-modal,
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 7, 7, 0.68);
}

.manual-copy-panel,
.skill-markdown-panel,
.guide-panel {
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 10px 10px 0 var(--blue);
}

.manual-copy-head h2,
.skill-markdown-head h2,
.guide-panel h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.manual-copy-head p:not(.label),
.skill-markdown-head p:not(.label),
.guide-panel p:not(.label) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.manual-copy-panel textarea,
.skill-markdown-body {
  width: 100%;
  min-height: min(48vh, 420px);
  max-height: min(55vh, 520px);
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  overflow: auto;
  white-space: pre-wrap;
  background: #fbfbfb;
  color: var(--ink);
}

.manual-copy-panel textarea {
  resize: vertical;
}

.manual-copy-actions,
.skill-markdown-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.guide-panel {
  width: min(560px, 100%);
  text-align: left;
}

.guide-panel .button {
  justify-self: start;
}

@media (max-width: 1100px) {
  .skills-app,
  .dashboard-hero,
  .skill-map,
  .skill-panel-head,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .skills-main {
    order: 1;
  }

  .skills-rail {
    order: 2;
    position: static;
    height: auto;
  }
}

@media (max-width: 720px) {
  .skills-main {
    padding: 20px 18px 64px;
  }

  .dashboard-hero,
  .skill-panel {
    box-shadow: 8px 8px 0 var(--blue);
  }

  .skill-panel-head .button {
    width: 100%;
  }
}

/* ============================================================
   Library guide: orientation panel at the top of the dashboard
   Explains what the library is (prompts, not an agent) and how to use it.
   ============================================================ */

.library-guide {
  margin: 0 0 28px;
  padding: 32px 36px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--blue);
}

.library-guide-head .label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.library-guide-head h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.library-guide-lede {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.library-guide-lede strong {
  color: var(--ink);
  font-weight: 900;
}

.library-guide-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 18px;
}

.library-guide-steps > li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.library-guide-steps .step-num {
  display: inline-block;
  padding-top: 2px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.library-guide-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.library-guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.library-guide-steps code {
  display: inline;
  padding: 1px 6px;
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  border-radius: 3px;
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  font-weight: 600;
}

.library-guide-steps em {
  font-style: normal;
  font-weight: 700;
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 1px;
}

.library-guide-foot {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: #f8faff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.library-guide-foot strong {
  font-weight: 900;
  color: var(--ink);
}

.what-is-skill {
  margin-top: 22px;
  padding: 22px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.what-is-skill .label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.what-is-skill h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.what-is-skill p:not(.label) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.skill-compare {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px 16px;
  background: #f8faff;
  border-left: 3px solid var(--blue);
}

.what-is-skill strong {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 720px) {
  .library-guide {
    padding: 24px 22px;
    box-shadow: 6px 6px 0 var(--blue);
  }
  .library-guide-head h2 {
    font-size: 20px;
  }
  .library-guide-steps > li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .library-guide-steps .step-num {
    font-size: 22px;
  }
  .codex-download-buttons {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Paywall: per-category preview + lock state
   Onboarding is public. Other categories show two readable skills,
   then blurred locked previews with no real paid prompt bodies.
   ============================================================ */

.rail-tab-lock {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-tab.active .rail-tab-lock {
  border-color: #fff;
  color: #fff;
}

.prompt-card.preview {
  box-shadow: 6px 6px 0 var(--blue);
}

.prompt-card.preview .prompt-topline span {
  color: var(--blue-dark);
}

.prompt-card.locked {
  position: relative;
  overflow: hidden;
  background: #fafafa;
  min-height: 310px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.prompt-card.locked .prompt-topline {
  filter: blur(4px);
  opacity: 0.45;
}

.prompt-card.locked .prompt-body {
  color: var(--ink);
  filter: blur(7px);
  opacity: 0.42;
  user-select: none;
  pointer-events: none;
}

.prompt-card.locked .prompt-topline span {
  color: var(--muted);
}

.prompt-card.locked .prompt-topline strong {
  background: var(--muted);
  color: #fff;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  text-align: center;
}

.lock-rule {
  padding: 4px 14px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.lock-tagline {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.lock-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lock-cta:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
  transform: translateY(-1px);
}

.prompt-card.locked:hover {
  transform: none;
  box-shadow: 6px 6px 0 var(--ink);
}

.prompt-card.locked-summary {
  background: var(--ink);
  color: #fff;
}

.prompt-card.locked-summary .prompt-topline span,
.prompt-card.locked-summary .prompt-body {
  color: rgba(255, 255, 255, 0.82);
}

.prompt-card.locked-summary .prompt-topline strong {
  background: #fff;
  color: var(--ink);
}

.prompt-card.locked-summary .prompt-link-action {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.prompt-card.locked-summary:hover {
  box-shadow: 6px 6px 0 var(--blue);
}

/* ============================================================
   Personalization: profile modal, edit button, dual-action prompts
   ============================================================ */

.profile-edit {
  margin-top: 14px;
  padding: 8px 0;
  align-self: flex-start;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.profile-edit:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.profile-edit::after {
  content: " →";
}

/* Dual-action prompt cards (when unlocked, optionally with profile) */

.prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: auto;
}

.prompt-card .prompt-copy {
  margin-top: 0;
}

.prompt-view,
.prompt-codex {
  align-self: flex-start;
  padding: 6px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--blue);
  color: var(--blue-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.prompt-view:hover,
.prompt-codex:hover {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
  transform: translateY(-1px);
}

.prompt-view.copied,
.prompt-codex.copied {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.guide-glow,
.onboarding-start-glow {
  animation: guidePulse 1.2s ease-in-out infinite alternate;
}

.start-here-callout {
  position: fixed;
  left: min(360px, 5vw);
  top: 110px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--blue);
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 7px 7px 0 var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-here-callout span {
  font-size: 22px;
  line-height: 1;
}

@keyframes guidePulse {
  from {
    box-shadow: 0 0 0 rgba(0, 82, 255, 0), 8px 8px 0 var(--blue);
  }
  to {
    box-shadow: 0 0 0 7px rgba(0, 82, 255, 0.18), 8px 8px 0 var(--blue);
  }
}

.prompt-codex-locked {
  color: var(--muted);
  border-bottom-color: var(--muted);
}

.prompt-codex-locked:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Profile modal */

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: rgba(7, 7, 7, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.profile-modal[hidden] {
  display: none;
}

.profile-modal-panel {
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 36px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 12px 12px 0 var(--blue);
}

.profile-modal-head .label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.profile-modal-head h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
  color: var(--ink);
}

.profile-modal-head p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.profile-form {
  display: grid;
  gap: 18px;
}

.profile-form label {
  display: grid;
  gap: 6px;
}

.profile-form label > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-form input,
.profile-form textarea {
  padding: 11px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-form input::placeholder,
.profile-form textarea::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.profile-form input:focus,
.profile-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--blue);
}

.profile-form textarea {
  resize: vertical;
  min-height: 78px;
}

.profile-form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 6px;
}

.profile-skip {
  padding: 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--muted);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.profile-skip:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 720px) {
  .profile-modal-panel {
    padding: 26px 22px;
    box-shadow: 8px 8px 0 var(--blue);
  }
  .profile-modal-head h2 {
    font-size: 22px;
  }
  .profile-form-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ============================================================
   Community page: alumni email gate
   ============================================================ */

/* When the body has .locked-community, everything except the gate is hidden. */
body.locked-community > .site-header,
body.locked-community > main,
body.locked-community > footer {
  display: none !important;
}

.alumni-gate {
  display: none;
  min-height: 100vh;
  padding: 56px 20px;
  background: linear-gradient(180deg, #fff 0%, #f4f4f4 100%);
}

body.locked-community .alumni-gate {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.alumni-gate-panel {
  width: 100%;
  max-width: 720px;
  padding: 48px 44px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 12px 12px 0 var(--blue);
}

.alumni-gate-panel .label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.community-hero-visual {
  margin: 0 0 22px;
  overflow: hidden;
  aspect-ratio: 2.4 / 1;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: #f7f7f7;
  box-shadow: 8px 8px 0 rgba(0, 107, 255, 0.24);
}

.community-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.alumni-gate-panel h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.005em;
}

.alumni-gate-lede {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.alumni-gate-lede + .alumni-gate-lede {
  margin-top: -12px;
}

.conversion-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 26px;
  border: 2px solid var(--ink);
  background: #fff;
}

.conversion-summary > div {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px 16px;
  border-right: 2px solid var(--ink);
}

.conversion-summary > div:last-child {
  border-right: none;
}

.conversion-summary span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.conversion-summary strong {
  align-self: end;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.alumni-direct-cta {
  margin: 0 0 22px;
}

.alumni-form {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.alumni-form label {
  display: grid;
  gap: 6px;
}

.alumni-form label > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.alumni-form input[type="email"] {
  padding: 12px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.alumni-form input[type="email"]::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.alumni-form input[type="email"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--blue);
}

.alumni-form .button.primary {
  align-self: flex-start;
}

.alumni-form .button.primary:disabled {
  cursor: progress;
  opacity: 0.7;
}

.alumni-error,
.alumni-success {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--ink);
  background: #fafafa;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.alumni-success {
  border-left-color: var(--blue);
  background: #f3f7ff;
}

.alumni-gate-footer {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.alumni-gate-link {
  display: inline-block;
  padding: 4px 0;
  align-self: flex-start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.alumni-gate-link:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.alumni-gate-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.alumni-gate-help a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .alumni-gate {
    padding: 28px 16px;
  }
  .alumni-gate-panel {
    padding: 28px 22px;
    box-shadow: 8px 8px 0 var(--blue);
  }
  .alumni-gate-panel h1 {
    font-size: 24px;
  }
  .community-hero-visual {
    aspect-ratio: 1.62 / 1;
    box-shadow: 6px 6px 0 rgba(0, 107, 255, 0.24);
  }
  .community-hero-visual img {
    object-position: 62% center;
  }
}

/* ============================================================
   Founding-circle offer panel: editorial sections inside the gate
   ============================================================ */

.panel-divider {
  margin: 40px 0 28px;
  height: 0;
  border: none;
  border-top: 1px solid var(--ink);
}

.alumni-gate-panel .panel-heading {
  margin: 32px 0 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.alumni-gate-panel .panel-heading + p,
.alumni-gate-panel .panel-heading + ul,
.alumni-gate-panel .panel-heading + ol {
  margin-top: 0;
}

.alumni-gate-panel p {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.alumni-gate-panel p:last-child {
  margin-bottom: 0;
}

.alumni-gate-panel .panel-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: panel-counter;
}

.alumni-gate-panel ol.panel-list {
  counter-reset: panel-counter;
}

.alumni-gate-panel .panel-list > li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.alumni-gate-panel ul.panel-list > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--ink);
}

.alumni-gate-panel ol.panel-list {
  counter-reset: panel-counter;
}

.alumni-gate-panel ol.panel-list > li {
  counter-increment: panel-counter;
}

.alumni-gate-panel ol.panel-list > li::before {
  content: counter(panel-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.alumni-gate-panel .panel-list strong {
  color: var(--ink);
  font-weight: 800;
}

.answer-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.answer-card {
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 rgba(0, 107, 255, 0.2);
}

.answer-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.answer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.faq-list details {
  border: 2px solid var(--ink);
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  margin-left: 16px;
  color: var(--blue);
  font-weight: 900;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.alumni-gate-panel .closing-summary {
  margin: 28px 0 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: #f3f7ff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.alumni-gate-panel .alumni-direct-cta:not(:first-of-type) {
  margin-top: 24px;
}

@media (max-width: 720px) {
  .conversion-summary {
    grid-template-columns: 1fr;
  }
  .conversion-summary > div {
    min-height: 0;
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }
  .conversion-summary > div:last-child {
    border-bottom: none;
  }
  .conversion-summary strong {
    font-size: 16px;
  }
  .alumni-gate-panel .panel-heading {
    font-size: 12px;
  }
  .alumni-gate-panel .panel-list > li {
    font-size: 14px;
  }
  .answer-card {
    padding: 14px 16px;
  }
  .faq-list summary {
    font-size: 14px;
  }
}
