/* Rec Rush — recrush.app
   Aesthetic: "rec-centre bulletin board, redesigned" — warm paper, coral ink,
   sticker pills, rounded display type. One page, no build step. */

:root {
  --paper: #fbf5ec;
  --paper-deep: #f3e9da;
  --ink: #26221c;
  --ink-soft: #5c554a;
  --coral: #f4573b;
  --coral-deep: #d8432a;
  --coral-soft: #ffe3da;
  --teal: #17958a;
  --teal-soft: #d8efec;
  --sun: #ffc24b;
  --sun-soft: #ffefd0;
  --green: #2d9e5f;
  --green-soft: #dcf2e4;
  --radius-card: 28px;
  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-body: "Instrument Sans", "Avenir Next", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2000;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0 0.42 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--coral); color: #fff; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

a { color: var(--coral-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 34, 28, 0.08);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px; max-width: 1120px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
}
.nav-links a:hover { color: var(--coral-deep); }
.btn {
  display: inline-block;
  background: var(--coral); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 12px 26px; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 2px 0 var(--coral-deep), 0 10px 24px -10px rgba(216, 67, 42, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--coral-deep), 0 16px 30px -10px rgba(216, 67, 42, 0.6); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 var(--coral-deep); }
.nav-links .btn { padding: 9px 20px; font-size: 0.92rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: visible;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-soft); color: var(--teal);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin-bottom: 22px; }
.hero h1 em {
  font-style: normal; color: var(--coral);
  background-image: linear-gradient(var(--sun), var(--sun));
  background-size: 100% 0.13em;
  background-position: 0 93%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 0.92rem; color: var(--ink-soft); }
.hero-note strong { color: var(--ink); }

/* phone + stickers */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(320px, 78vw);
  border-radius: 54px;
  border: 11px solid #191714;
  background: #191714;
  box-shadow: 0 40px 80px -30px rgba(38, 34, 28, 0.45), 0 12px 28px -12px rgba(38, 34, 28, 0.3);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 43px; }
.phone.tilt-l { transform: rotate(-2deg); }
.phone.tilt-r { transform: rotate(2deg); }

.sticker {
  position: absolute;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 9px 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 20px -8px rgba(38, 34, 28, 0.35);
  animation: floaty 5.5s ease-in-out infinite;
}
.sticker .sdot { width: 9px; height: 9px; border-radius: 50%; }
.sticker-full { background: #fff; color: #c93a3a; top: 8%; left: -4%; rotate: -6deg; }
.sticker-full .sdot { background: #c93a3a; }
.sticker-open { background: var(--green); color: #fff; bottom: 16%; right: -6%; rotate: 4deg; animation-delay: 1.4s; }
.sticker-open .sdot { background: #fff; }
.sticker-wait { background: var(--sun); color: #7a5410; top: 42%; right: -10%; rotate: 7deg; animation-delay: 2.6s; }
.sticker-wait .sdot { background: #7a5410; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* faux push notification */
.push {
  position: absolute; top: 6%; left: 50%;
  width: min(340px, 84vw);
  translate: -50% 0;
  background: rgba(250, 248, 244, 0.96);
  border-radius: 22px;
  box-shadow: 0 24px 50px -18px rgba(38, 34, 28, 0.5);
  padding: 13px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  opacity: 0; transform: translateY(-26px) scale(0.96);
  animation: pushIn 0.7s cubic-bezier(0.2, 1.2, 0.3, 1) 1.3s forwards;
  z-index: 5;
}
.push img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.push .p-title { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.push .p-body { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; }
.push .p-when { position: absolute; top: 12px; right: 16px; font-size: 0.78rem; color: var(--ink-soft); }
@keyframes pushIn { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- ticker ---------- */
.ticker {
  border-block: 2px solid var(--ink);
  background: var(--sun-soft);
  overflow: hidden; white-space: nowrap;
  padding: 13px 0; margin-top: 56px;
}
.ticker-track { display: inline-flex; gap: 44px; animation: ticker 38s linear infinite; padding-right: 44px; }
.ticker span { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.ticker .t-full { color: #c93a3a; }
.ticker .t-open { color: var(--green); }
.ticker .t-wait { color: #a06f14; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-kicker {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-deep);
  margin-bottom: 14px;
}
section h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; max-width: 24ch; }
.section-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; }

/* steps */
.step {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 56px 0;
}
.step:nth-child(even) .step-visual { order: -1; }
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 4.6rem; line-height: 1; color: var(--coral-soft);
  -webkit-text-stroke: 2px var(--coral);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.9rem; margin-bottom: 14px; }
.step p { color: var(--ink-soft); font-size: 1.08rem; max-width: 30rem; }
.step p strong { color: var(--ink); }
.step-visual { display: flex; justify-content: center; }

/* honesty panel */
.honesty { background: var(--ink); color: var(--paper); border-radius: 40px; }
.honesty-inner { padding: 88px 64px; }
.honesty .section-kicker { color: var(--sun); }
.honesty h2 { color: #fff; }
.honesty .section-lede { color: rgba(251, 245, 236, 0.75); }
.vow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.vow {
  background: rgba(251, 245, 236, 0.06);
  border: 1px solid rgba(251, 245, 236, 0.14);
  border-radius: 20px; padding: 24px 26px;
}
.vow .vow-mark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 8px; display: block; }
.vow .no { color: var(--coral); }
.vow .yes { color: var(--sun); }
.vow h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 6px; color: #fff; }
.vow p { font-size: 0.95rem; color: rgba(251, 245, 236, 0.72); }
.honesty .fine { margin-top: 36px; font-size: 0.92rem; color: rgba(251, 245, 236, 0.55); }
.honesty .fine a { color: var(--sun); }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
form.card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 30px 60px -30px rgba(38, 34, 28, 0.3);
  border: 1px solid rgba(38, 34, 28, 0.06);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(38, 34, 28, 0.15);
  border-radius: 14px; padding: 13px 16px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--coral); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.hidden-field { display: none; }

/* ---------- footer ---------- */
footer {
  border-top: 2px solid var(--ink);
  background: var(--paper-deep);
  padding: 44px 0 52px;
  font-size: 0.92rem; color: var(--ink-soft);
}
.footer-inner { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); }
.disclaimer { max-width: 46rem; margin-top: 18px; font-size: 0.85rem; }

/* ---------- prose pages (privacy, bot) ---------- */
.prose { max-width: 44rem; margin: 0 auto; padding: 72px 24px 96px; }
.prose h1 { font-size: 2.6rem; margin-bottom: 12px; }
.prose .updated { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 40px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.05rem; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose strong { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .step, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-visual { margin-top: 26px; }
  .step { gap: 28px; padding: 40px 0; }
  .step:nth-child(even) .step-visual { order: 0; }
  .vow-grid { grid-template-columns: 1fr; }
  .honesty-inner { padding: 56px 28px; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sticker, .kicker .dot { animation: none; }
  .ticker-track { animation: none; }
  .push { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
