/* ─────────────────────────────────────────────────────────────
   Page 03 — Messaging
   ───────────────────────────────────────────────────────────── */

/* Message pyramid — three tiers stacking up */
.pyramid {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
}
.pyramid .tier {
  position: relative;
  padding: 36px 56px;
  border: 1px solid rgba(255,255,255,0.10);
  border-bottom: 0;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(ellipse 70% 100% at 100% 50%, rgba(47,55,255,0.10), transparent 65%),
    rgba(255,255,255,0.02);
}
.pyramid .tier:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.pyramid .tier:first-child {
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  margin: 0 auto;
  width: 56%;
  background:
    radial-gradient(ellipse 80% 120% at 50% 50%, rgba(47,55,255,0.22), transparent 65%),
    rgba(255,255,255,0.03);
  grid-template-columns: 1fr;
  text-align: center;
  padding: 44px 56px 36px;
}
.pyramid .tier:nth-child(2) {
  width: 78%;
  margin: 0 auto;
}
.pyramid .tier:last-child {
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  width: 100%;
}
@media (max-width: 720px) {
  .pyramid .tier { grid-template-columns: 1fr; padding: 28px 24px; text-align: left; }
  .pyramid .tier:first-child,
  .pyramid .tier:nth-child(2),
  .pyramid .tier:last-child { width: 100%; }
}
.pyramid .ix {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.pyramid .body .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.pyramid .tier:first-child .ix {
  font-size: 11px;
  margin-bottom: 18px;
  display: block;
}
.pyramid .tier .body .h {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--fg-default);
  line-height: 1.2;
  text-wrap: balance;
}
.pyramid .tier:first-child .body .h {
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.024em;
  line-height: 1.1;
  text-wrap: balance;
  max-width: 18ch;
  margin-inline: auto;
}
.pyramid .tier .body .gloss {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.55;
  margin: 8px 0 0;
  max-width: 56ch;
}
.pyramid .tier:first-child .body .gloss { margin-inline: auto; }
.pyramid .tier .scope {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-align: right;
  line-height: 1.55;
}

/* Proof point cards */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  position: relative;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 26px 24px 28px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-height: 280px;
}
.proof-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  top: -60px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,55,255,0.16), transparent 60%);
  pointer-events: none;
}
.proof-card > * { position: relative; z-index: 1; }
.proof-card .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.proof-card h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--fg-default);
}
.proof-card .claim {
  font-size: 13.5px;
  color: var(--fg-secondary);
  line-height: 1.55;
  margin: 0;
}
.proof-card .ev {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.proof-card .ev b {
  color: var(--fg-default);
  font-weight: 500;
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}

/* Narrative arc — animated journey */
.narrative-arc {
  position: relative;
  padding: 56px 28px 72px;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(47,55,255,0.16), transparent 65%),
    linear-gradient(180deg, #000000, #050818);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  isolation: isolate;
}
.narrative-arc::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.5) 0.5px, transparent 0.5px);
  background-size: 220px 220px;
  background-position: 30px 20px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black, transparent 85%);
}
.narrative-arc .head {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.narrative-arc .head .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 14px;
}
.narrative-arc .head h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.024em;
  font-weight: 600;
  margin: 0;
  color: #FFFFFF;
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.1;
}
.narrative-arc .arc {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 220px;
}
.narrative-arc .arc svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.narrative-arc .arc .path {
  fill: none;
  stroke: rgba(133,160,255,0.4);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2400ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
}
.narrative-arc.is-revealed .arc .path { stroke-dashoffset: 0; }
.narrative-arc .arc .marker {
  position: absolute;
  text-align: center;
  width: 200px;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.narrative-arc.is-revealed .arc .marker { opacity: 1; }
.narrative-arc.is-revealed .arc .marker[data-step="1"] { transition-delay: 800ms; }
.narrative-arc.is-revealed .arc .marker[data-step="2"] { transition-delay: 1800ms; }
.narrative-arc.is-revealed .arc .marker[data-step="3"] { transition-delay: 2600ms; }
.narrative-arc .arc .marker .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  margin: 0 auto 14px;
  box-shadow: 0 0 16px rgba(133,160,255,0.5);
}
.narrative-arc .arc .marker .dot.big {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 30%, #FFFFFF, #85A0FF 60%, #2F37FF);
  box-shadow: 0 0 32px rgba(47,55,255,0.6);
}
.narrative-arc .arc .marker .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.narrative-arc .arc .marker .name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #FFFFFF;
  margin: 0 0 6px;
}
.narrative-arc .arc .marker .gloss {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin: 0;
}
.narrative-arc .arc .marker.left  { left: 8%;  top: 90px; }
.narrative-arc .arc .marker.mid   { left: 50%; top: 30px; }
.narrative-arc .arc .marker.right { left: 92%; top: 90px; }
@media (max-width: 720px) {
  .narrative-arc .arc { height: 360px; }
  .narrative-arc .arc .marker.left  { left: 50%; top: 0; }
  .narrative-arc .arc .marker.mid   { left: 50%; top: 130px; }
  .narrative-arc .arc .marker.right { left: 50%; top: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .narrative-arc .arc .path { stroke-dashoffset: 0 !important; transition: none !important; }
  .narrative-arc .arc .marker { opacity: 1 !important; transition: none !important; }
}

/* Headlines by ICP */
.icp-headlines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 820px) { .icp-headlines { grid-template-columns: 1fr; } }
.icp-headline {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px 28px 30px;
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}
.icp-headline .badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(133,160,255,0.32);
  background:
    radial-gradient(circle at 30% 30%, rgba(133,160,255,0.16), transparent 65%);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--blue-300);
  display: grid;
  place-items: center;
  letter-spacing: 0;
}
.icp-headline .who {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.icp-headline .who b { color: var(--blue-300); font-weight: 500; margin-right: 6px; }
.icp-headline h4 {
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--fg-default);
  text-wrap: balance;
}
.icp-headline .ctx {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Objection handlers */
.objections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.objection {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: stretch;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
@media (max-width: 820px) {
  .objection { grid-template-columns: 1fr; }
  .objection .arrow { display: none; }
}
.objection .doubt,
.objection .reply {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.objection .doubt {
  background: rgba(255,255,255,0.025);
  border-right: 1px solid var(--border-subtle);
}
.objection .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-300);
  font-family: var(--font-mono);
  font-size: 14px;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  background: rgba(47,55,255,0.04);
}
.objection .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.objection .doubt .role { color: var(--orange-300); }
.objection .reply .role { color: var(--blue-300); }
.objection .doubt p,
.objection .reply p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}
.objection .doubt p {
  color: var(--fg-muted);
  font-style: italic;
}
.objection .reply p {
  color: var(--fg-default);
}

/* One-liners library */
.oneliners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (max-width: 720px) { .oneliners { grid-template-columns: 1fr; } }
.oneliner {
  padding: 22px 28px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100px;
  justify-content: space-between;
}
.oneliner:nth-child(2n) { border-right: 0; }
@media (max-width: 720px) { .oneliner { border-right: 0; } }
.oneliner .l {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--fg-default);
  line-height: 1.3;
  text-wrap: balance;
}
.oneliner .use {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.oneliner .use b { color: var(--blue-300); font-weight: 500; margin-right: 6px; }
