/* Poster share pages. Served from /p/, outside both document roots, so
   they stay reachable whatever the preview gate is doing. */

:root {
  --ink: #06080b;
  --panel: #090d12;
  --text: #e9edf3;
  --dim: #9aa6b6;
  --faint: #788492;
  --gold: #e9b64a;
  --gold-lit: #f7d68c;
  --line: rgba(255, 255, 255, 0.09);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-lit); }

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  max-width: 1080px;
  margin-inline: auto;
  padding: 1.1rem clamp(1rem, 4vw, 2rem);
}

.mark {
  font-weight: 900;
  font-stretch: 88%;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.mark span { color: var(--gold); }

.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

main {
  max-width: 1080px;
  margin-inline: auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 3rem;
}

.plate {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.copy { max-width: 62ch; margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; }

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  font-stretch: 92%;
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.strap {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-lit);
}

.note { margin: 1.2rem 0 0; color: var(--dim); text-wrap: pretty; }

.flavour {
  margin: 1.2rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid var(--gold);
  color: var(--gold);
  font-style: italic;
  text-wrap: pretty;
}

.pitch {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(233, 182, 74, 0.35);
  border-radius: 999px;
  background: rgba(233, 182, 74, 0.1);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.pitch h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  font-stretch: 90%;
  letter-spacing: -0.02em;
}

.pitch p { margin: 0.7rem 0 0; color: var(--dim); max-width: 62ch; }
.pitch .lede { font-size: 1rem; }

.pitch .small {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--faint);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 1px;
  margin: 1.4rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.facts > div { padding: 0.85rem 0.7rem; background: var(--ink); text-align: center; }

.facts dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.35rem;
}

.facts dd {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-top: 1.4rem !important;
}

.btn {
  display: inline-block;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1206;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover { background: var(--gold-lit); }

.actions .plain {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.actions .plain:hover { color: var(--text); border-bottom-color: var(--gold); }

/* Five facts wrapping to three columns leaves an empty sixth cell showing
   through as a grey block. One row, tighter, rather than a gap. */
@media (max-width: 560px) {
  .facts { grid-template-columns: repeat(5, 1fr); }
  .facts > div { padding: 0.75rem 0.2rem; }
  .facts dt { font-size: 0.5rem; letter-spacing: 0.04em; }
  .facts dd { font-size: 1.05rem; }
}

.around {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.step {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
}

.step span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.3rem;
}

.step.next { text-align: right; }
.step:hover { border-color: rgba(233, 182, 74, 0.34); }

footer {
  padding: 1.6rem 1.5rem 2.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
