/* ==========================================================================
   PaidCate — $paidcate
   ========================================================================== */

:root {
  --paper: #f2f0ec;
  --paper-2: #e8e4dc;
  --ink: #0b0b0b;
  --ink-soft: #161512;
  --line: rgba(11, 11, 11, 0.12);
  --line-dark: rgba(242, 240, 236, 0.14);
  --muted: #6f6a62;
  --muted-dark: #a9a298;
  --tan: #c08b5c;
  --gold: #e3a93c;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--ink); color: var(--paper); }

/* Film grain overlay --------------------------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* Circular crop for the logo art ---------------------------------------
   The source PNG is a badge on a white square. These rules crop to the
   badge itself (centre 537/544 of 1080, diameter 724) so it reads as a coin. */
.cat,
.coin__disc {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
  flex: none;
}
.cat img,
.coin__disc img {
  width: 150%;
  height: 150%;
  max-width: none;
  margin: -25% 0 0 -25%;
  transform: translate(0.42%, -0.55%);
}
.cat--nav { width: 36px; height: 36px; }
.cat--foot { width: 40px; height: 40px; }

/* Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 780px; }

.section {
  position: relative;
  padding: clamp(72px, 10vw, 132px) 0;
}
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .eyebrow { color: var(--gold); }
.section--dark .section__lead { color: var(--muted-dark); }

/* Type ----------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 18ch;
}

.section__lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 clamp(36px, 5vw, 56px);
}

/* Buttons -------------------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: 1px solid var(--bg);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 11, 11, 0.22);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(11, 11, 11, 0.06);
  box-shadow: none;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 38px; font-size: 17px; }

.section--dark .btn,
.finale .btn {
  --bg: var(--paper);
  --fg: var(--ink);
}

/* Nav ------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(242, 240, 236, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(242, 240, 236, 0.9);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__brand .cat { box-shadow: 0 0 0 1px rgba(11,11,11,0.08); }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
.nav__links + .btn { margin-left: 0; }

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 92px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 139, 92, 0.24), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fbf6d;
  box-shadow: 0 0 0 0 rgba(47, 191, 109, 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(47, 191, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 109, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 8.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 20px 0 22px;
}
.hero__title em {
  font-style: normal;
  color: var(--tan);
}
.hero__lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: -0.02em;
  word-break: break-word;
}

/* Coin art */
.hero__art {
  display: flex;
  justify-content: center;
}
.coin {
  position: relative;
  width: min(100%, 460px);
  animation: float 7s ease-in-out infinite;
}
.coin::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(11, 11, 11, 0.22), transparent 70%);
  animation: shadow 7s ease-in-out infinite;
}
.coin__disc { box-shadow: 0 18px 50px rgba(11, 11, 11, 0.18); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes shadow {
  0%, 100% { opacity: 0.55; transform: scaleX(1); }
  50% { opacity: 0.3; transform: scaleX(0.9); }
}

/* Marquee -------------------------------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 0;
  overflow: hidden;
  border-block: 1px solid var(--ink);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  text-transform: lowercase;
  white-space: nowrap;
}
.marquee__track i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold);
  transform: translateY(-2px);
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* Story ---------------------------------------------------------------- */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}
.story__col p {
  margin: 0 0 18px;
  color: #3a3733;
}
.story__col .lead {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.story__kicker {
  margin-top: 28px !important;
  padding: 22px 24px;
  border-left: 3px solid var(--tan);
  background: rgba(192, 139, 92, 0.09);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}

/* Cards ---------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 30px 28px 32px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(242, 240, 236, 0.05), rgba(242, 240, 236, 0.015));
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 169, 60, 0.45);
  background: linear-gradient(180deg, rgba(242, 240, 236, 0.09), rgba(242, 240, 236, 0.02));
}
.card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.card p {
  margin: 0;
  font-size: 16px;
  color: var(--muted-dark);
}

/* Specs ---------------------------------------------------------------- */
.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.specs li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.specs__k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.specs__v { color: var(--muted); font-size: 16px; }

.fineprint {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

/* Roadmap -------------------------------------------------------------- */
.road {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.road__item {
  position: relative;
  padding: 30px 0 30px 34px;
  border-top: 1px solid var(--line-dark);
}
.road__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.road__item:last-child { border-bottom: 1px solid var(--line-dark); }
.road__item:last-child::before { background: var(--paper); }
.road__phase {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.road__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
}
.road__item p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted-dark);
}

/* FAQ ------------------------------------------------------------------ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 42px 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
}
.faq summary::before {
  content: "";
  position: absolute;
  right: 11.5px;
  top: 50%;
  width: 2px;
  height: 13px;
  background: var(--ink);
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.faq details[open] summary::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq summary:hover { color: var(--tan); }
.faq details p {
  margin: -4px 0 24px;
  max-width: 62ch;
  color: var(--muted);
}

/* Finale --------------------------------------------------------------- */
.finale {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 10vw, 124px) 0;
  text-align: center;
}
.finale__inner { display: grid; justify-items: center; }
.finale__cat {
  display: block;
  width: clamp(120px, 20vw, 168px);
  border-radius: 50%;
  margin-bottom: 26px;
  animation: float 7s ease-in-out infinite;
}
.finale__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.finale p {
  color: var(--muted-dark);
  max-width: 48ch;
  margin: 0 0 32px;
}

/* Footer --------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  padding: 46px 0 56px;
  font-size: 14px;
}
.footer__inner {
  display: grid;
  gap: 22px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.footer__brand span { font-size: 13px; }
.footer__disc {
  margin: 0;
  max-width: 82ch;
  line-height: 1.7;
  font-size: 13px;
  color: #8b8479;
}
.footer__copy { font-size: 13px; }

/* Toast ---------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translate(-50%, 24px);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal --------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .coin { width: min(78%, 330px); }
  .hero__glow { right: -30%; top: -8%; }
  .story__grid,
  .cards,
  .specs { grid-template-columns: 1fr; }
  .cards { gap: 14px; }
  .specs { gap: 0; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .hero__inner { padding: 0 18px; }
  .nav { padding: 12px 16px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .hero__cta .btn { width: 100%; }
  .story__kicker { padding: 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
