/* ============================================================
   Münzli marketing site — playful neo-brutalism
   Tokens: muenzli-design-system.md (single source of truth)
   ============================================================ */

:root {
  --paper: #fdf4e3;
  --ink:   #141414;
  --pink:  #ff90e8;
  --blue:  #4d6dff;
  --lime:  #c6f432;
  --lilac: #c0aaff;
  --coral: #ff6a5e;
  --green: #16924f;
  --white: #fffdf7;
  --muted: #6b6256;

  --shadow:    5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --bd:        3px solid var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--paper);
  background-image: radial-gradient(circle at center, rgba(20, 20, 20, 0.10) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
  color: var(--ink);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .price, .brand-name {
  font-family: "Fraunces", serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ---------- Blobs ---------- */

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-a { width: 200px; height: 200px; background: var(--lilac); top: -60px; left: -60px; }
.blob-b { width: 160px; height: 160px; background: var(--pink); bottom: 40px; right: -50px; }
.blob-c { width: 120px; height: 120px; background: var(--lime); left: -40px; top: 60%; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 12px auto 0;
  padding: 10px 16px;
  background: var(--white);
  border: var(--bd);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-left: max(16px, calc((100% - 1080px) / 2));
  margin-right: max(16px, calc((100% - 1080px) / 2));
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-coin { width: 38px; height: 38px; border-radius: 12px; border: 2px solid var(--ink); transform: rotate(-8deg); }
.brand-name { font-size: 1.5rem; }

.nav-links { display: flex; gap: 18px; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 11px 20px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  background: var(--pink);
  border: var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn-cta { background: var(--blue); color: var(--white); }
.btn-ghost { background: var(--white); }
.btn-primary { background: var(--pink); }
.btn-small { padding: 8px 14px; font-size: 0.88rem; }
.btn-big { padding: 16px 32px; font-size: 1.15rem; }

/* ---------- Badges ---------- */

.badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lilac);
  transform: rotate(-1.5deg);
}
.badge-lime { background: var(--lime); }
.badge-pink { background: var(--pink); }
.badge-rotate { transform: rotate(-3deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}

.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; margin: 18px 0; }

.squiggle {
  position: relative;
  white-space: nowrap;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: var(--lime);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-sub {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 26px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.hero-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- Phones ---------- */

.phone {
  position: relative;
  border: var(--bd);
  border-radius: 36px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.phone img { width: 100%; height: auto; display: block; }
.phone-tilt { transform: rotate(2deg); max-width: 320px; margin: 0 auto; }
.phone-tilt:hover { transform: rotate(0deg); transition: transform 0.3s; }
.phone-small { max-width: 290px; margin: 0 auto; }

.feature-row:nth-child(odd) .phone-small { transform: rotate(-1.5deg); }
.feature-row:nth-child(even) .phone-small { transform: rotate(1.5deg); }

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--lime);
  padding: 12px 0;
  overflow: hidden;
  border-top: var(--bd);
  border-bottom: var(--bd);
  transform: rotate(-0.6deg) scale(1.01);
  margin: 24px -8px;
}
.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1rem;
  animation: ticker 28s linear infinite;
  width: max-content;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; margin-bottom: 40px; }

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row-flip { grid-template-columns: 0.9fr 1.1fr; }
.feature-row-flip .feature-text { order: 2; }
.feature-row-flip .phone-small { order: 1; }

.feature-emoji { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.feature-text h3 { font-size: 1.85rem; margin-bottom: 12px; }
.feature-text p { font-weight: 600; color: var(--muted); font-size: 1.02rem; margin-bottom: 16px; }

.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-weight: 700;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 900;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: var(--bd);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
  transition: transform 0.15s;
}
.card:hover { transform: translate(-2px, -2px); }
.card-emoji { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.card h4 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.card p { font-size: 0.9rem; font-weight: 600; color: var(--muted); }

/* ---------- Privacy ---------- */

.privacy-card {
  background: var(--lime);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  text-align: center;
  transform: rotate(-0.6deg);
}
.privacy-card h2 { margin: 16px 0; }
.privacy-card p {
  max-width: 620px;
  margin: 0 auto;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 760px;
}

.price-card {
  position: relative;
  background: var(--white);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
}
.price-card-plus {
  background: var(--lilac);
  transform: rotate(0.8deg);
  box-shadow: var(--shadow-lg);
}
.price-card-plus .badge { position: absolute; top: -14px; right: 18px; }
.price-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.price { font-size: 2.4rem; margin-bottom: 4px; }
.price-period { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: "Bricolage Grotesque", sans-serif; }
.price-alt { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.price-card .checklist { margin-top: 14px; }

/* ---------- FAQ ---------- */

.faq { max-width: 720px; }
.faq details {
  background: var(--white);
  border: var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0 18px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.section-cta { text-align: center; }

.cta-card {
  background: var(--pink);
  border: var(--bd);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 56px 32px;
  transform: rotate(0.5deg);
}
.cta-coin {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  border: var(--bd);
  transform: rotate(-8deg);
  margin-bottom: 14px;
}
.cta-card h2 { margin-bottom: 24px; }
.cta-sub { margin-top: 16px; font-weight: 700; font-size: 0.9rem; }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); font-weight: 700; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .feature-row, .feature-row-flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .feature-row-flip .feature-text { order: 1; }
  .feature-row-flip .phone-small { order: 2; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
  .nav-links { gap: 12px; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ---------- SEO text section ---------- */

.section-seo .seo-text {
  max-width: 720px;
  font-weight: 600;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.section-seo .seo-text p { margin-bottom: 14px; }
.section-seo .seo-text strong { color: var(--ink); }
