/* Roast My Group Chat: the coming-soon page. The house style of the story slides: Archivo (wide for headlines),
   one full-bleed colour per block, white chat bubbles, a tilted stamp, polaroids. */
@font-face {
  font-family: Arc;
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --purple: #5B2BE0;
  --pink: #FF5FA2;
  --lime: #CDF564;
  --navy: #121433;
  --cream: #F7EFE3;
  --ink: #16131F;
  --pad: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--purple);
  color: var(--cream);
  font: 500 17px/1.5 Arc, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-stretch: 100%;
}
button, input { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

h1, h2 {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(36px, 9.4vw, 92px); }
h2 { font-size: clamp(32px, 7vw, 60px); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }

/* the bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 18px var(--pad);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 900; font-stretch: 125%; font-size: 14px; text-transform: uppercase; white-space: nowrap;
}
.mark {
  position: relative; display: inline-grid; place-items: center;
  width: 38px; height: 30px; border-radius: 10px;
  background: var(--lime); color: #000; font-size: 15px; font-weight: 900; font-stretch: 125%; text-transform: none;
}
.mark::after {
  content: ''; position: absolute; left: 4px; bottom: -8px;
  border-left: 5px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--lime);
  transform: skewX(-18deg);
}
.ig { font-size: 15px; font-weight: 700; text-underline-offset: 4px; }

/* the hero: the chat plays, then the pitch and the list */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 8px var(--pad) clamp(48px, 9vw, 96px);
  display: grid; gap: 28px;
  overflow-x: clip; /* the stamp slams in at nearly twice its size: keep that on screen */
}
.chat { position: relative; display: grid; gap: 10px; justify-items: start; padding-bottom: 58px; max-width: 420px; }
.bubble {
  margin: 0; max-width: 92%;
  background: #fff; color: var(--ink);
  padding: 10px 16px 12px; border-radius: 6px 22px 22px 22px;
  font-size: 18px; line-height: 1.3; font-weight: 550;
  box-shadow: 0 10px 24px rgba(20, 8, 60, 0.28);
}
.who { display: block; font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.moz { color: #D6267A; }
.kieran { color: #2A5BD9; }
.dazza { color: #C4560A; }
.stamp {
  position: absolute; right: 0; bottom: 0; margin: 0;
  padding: 8px 18px 9px;
  border: 4px solid var(--lime); border-radius: 12px;
  color: var(--lime); font-weight: 900; font-stretch: 125%; font-size: clamp(20px, 5.4vw, 26px);
  text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
  transform: rotate(-6deg);
}

.lede { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.45; max-width: 34em; margin: 20px 0 26px; }

.join label { display: block; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.row input {
  flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 18px;
  border: 0; border-radius: 14px; background: #fff; color: var(--ink); font-size: 17px;
}
.row input::placeholder { color: #8b8698; }
.row button {
  flex: 0 0 auto; height: 56px; padding: 0 26px;
  border: 0; border-radius: 14px; background: var(--lime); color: #000;
  font-weight: 900; font-stretch: 112%; font-size: 17px; cursor: pointer;
  touch-action: manipulation;
}
.row button:disabled { opacity: 0.6; cursor: progress; }
.fine { font-size: 14px; line-height: 1.45; margin: 12px 0 0; max-width: 40em; color: rgba(247, 239, 227, 0.86); }
.fine a { text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status {
  margin: 18px 0 0; max-width: 560px;
  padding: 16px 18px; border-radius: 14px;
  background: var(--lime); color: #000; font-weight: 700; font-size: 17px; line-height: 1.4;
}
.status.bad { background: #fff; color: #B3122E; }

/* the examples: polaroids on pink */
.examples { background: var(--pink); color: #000; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 9vw, 96px); }
.examples p { font-size: 19px; margin: 14px 0 0; max-width: 34em; }
.cards {
  list-style: none; margin: 34px 0 0; padding: 12px var(--pad) 20px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 280px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.cards li {
  scroll-snap-align: center;
  background: #fff; padding: 10px 10px 34px; border-radius: 6px;
  box-shadow: 0 14px 30px rgba(60, 0, 30, 0.28);
}
.cards li:nth-child(1) { transform: rotate(-2.5deg); }
.cards li:nth-child(2) { transform: rotate(1.8deg); }
.cards li:nth-child(3) { transform: rotate(-1.2deg); }
.cards li:nth-child(4) { transform: rotate(2.6deg); }
.cards img { border-radius: 2px; }

/* how it works: a real sequence, so numbered */
.how { background: var(--lime); color: #000; padding: clamp(48px, 8vw, 88px) 0; }
.how ol { list-style: none; counter-reset: s; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; max-width: 640px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; font-size: 19px; line-height: 1.4; }
.how li p { margin: 4px 0 0; }
.how li::before {
  content: counter(s);
  font-weight: 900; font-stretch: 62%; font-size: 64px; line-height: 0.8; color: var(--purple);
}
.price { font-size: 19px; font-weight: 700; margin: 30px 0 22px; }
.again {
  display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 14px;
  background: #000; color: var(--lime); text-decoration: none; font-weight: 900; font-stretch: 112%;
}

.foot { background: var(--navy); color: var(--cream); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot p { margin: 0; }
.foot p:first-child { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.foot a { text-underline-offset: 3px; }
.foot .legal { margin-top: 16px; color: rgba(247, 239, 227, 0.72); font-size: 14px; max-width: 46em; }

/* the one moment: the chat plays out, then the stamp lands */
@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: pop 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
  .b1 { animation-delay: 0.25s; }
  .b2 { animation-delay: 0.95s; }
  .b3 { animation-delay: 1.65s; }
  .stamp { animation: slam 0.38s cubic-bezier(0.3, 1.4, 0.5, 1) 2.55s both; }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes slam { from { opacity: 0; transform: rotate(-14deg) scale(1.9); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 56px; padding-top: 40px; }
  .chat { order: 2; justify-self: end; width: 100%; }
  .pitch { order: 1; }
  .cards { grid-auto-flow: initial; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: 1120px; margin-left: auto; margin-right: auto; }
}

/* the privacy page */
.doc { background: var(--cream); color: var(--ink); padding: 40px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 7vw, 56px); color: var(--purple); }
.doc h2 { font-size: 22px; font-stretch: 112%; text-transform: none; line-height: 1.2; margin: 30px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.55; }
.doc a { color: var(--purple); text-underline-offset: 3px; }
