/* BlockSnug promo site: the same warm clay look as the game. */
:root {
  --bg-top: #F7F0E6;
  --bg-bottom: #EBDDCB;
  --card: #FFFAF3;
  --card-base: #E2D4C2;
  --ink: #4A3B33;
  --muted: #7A6A5E;
  --accent: #E07A5F;
  --accent-dark: #B85C44;
  --mustard: #E9B44C;
  --sage: #7FB685;
  --denim: #4F7CAC;
  --plum: #9B6A9F;
  --teal: #2A9D8F;
  --rose: #D9737F;
  --radius: 26px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  background-color: var(--bg-top);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- Header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.top .logo { height: 38px; width: auto; }
.top nav { display: flex; gap: 22px; font-weight: 800; }
.top nav a { color: var(--ink); text-decoration: none; opacity: .8; }
.top nav a:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 900; font-size: 1.05rem;
  text-decoration: none;
  background: var(--accent); color: #fff;
  box-shadow: 0 5px 0 var(--accent-dark);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--accent-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--accent-dark); }
.btn.secondary { background: var(--card); color: var(--ink); box-shadow: 0 5px 0 var(--card-base); }
.btn small { font-weight: 700; opacity: .85; font-size: .8rem; display: block; line-height: 1.1; }
.btn .apple { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 40px 0 70px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  line-height: 1.05; margin: 0 0 18px; font-weight: 900; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 32em; font-weight: 600; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .note { margin-top: 14px; font-size: .9rem; color: var(--muted); font-weight: 700; }

.phone {
  position: relative; justify-self: center;
  width: min(320px, 78vw); aspect-ratio: 402 / 874;
  border-radius: 46px; padding: 12px;
  background: #2b221d;
  box-shadow: 0 30px 60px -20px rgba(74, 59, 51, .45), 0 0 0 2px #463830 inset;
  transform: rotate(3deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }

/* Floating clay blocks behind the phone */
.hero-art { position: relative; display: grid; place-items: center; }
.blob {
  position: absolute; border-radius: 18px;
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .14), inset 0 4px 0 rgba(255, 255, 255, .35);
  animation: float 6s ease-in-out infinite;
}
.blob.b1 { width: 74px; height: 74px; background: var(--mustard); top: 4%; left: 2%; }
.blob.b2 { width: 56px; height: 56px; background: var(--teal); bottom: 10%; left: 6%; animation-delay: -2s; }
.blob.b3 { width: 90px; height: 46px; background: var(--plum); top: 14%; right: 0; animation-delay: -4s; border-radius: 16px; }
.blob.b4 { width: 46px; height: 46px; background: var(--rose); bottom: 4%; right: 8%; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.eyebrow {
  display: inline-block; font-weight: 900; letter-spacing: .14em; font-size: .78rem;
  color: var(--accent-dark); text-transform: uppercase; margin-bottom: 8px;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; margin: 0 0 14px; font-weight: 900; }
.section-lead { color: var(--muted); font-size: 1.1rem; font-weight: 600; max-width: 38em; margin: 0 0 34px; }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--card-base);
  padding: 26px;
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 14px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .14), inset 0 3px 0 rgba(255, 255, 255, .35);
}
.feature h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 900; }
.feature p { margin: 0; color: var(--muted); font-weight: 600; }

/* Duel highlight */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .phone { transform: rotate(-3deg); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.ticks li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 7px;
  background: var(--sage); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.ticks li:nth-child(2)::before { background: var(--mustard); }
.ticks li:nth-child(3)::before { background: var(--denim); }
.ticks li:nth-child(4)::before { background: var(--rose); }
.ticks span { color: var(--muted); font-weight: 600; display: block; }

/* Screenshot strip */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot { margin: 0; border-radius: 28px; overflow: hidden; background: #2b221d; padding: 7px; box-shadow: 0 16px 30px -16px rgba(74, 59, 51, .5); }
.shot img { border-radius: 22px; width: 100%; aspect-ratio: 402 / 874; object-fit: cover; }
.shot figcaption { color: #fff; text-align: center; font-weight: 800; font-size: .9rem; padding: 8px 0 4px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; box-shadow: 0 4px 0 var(--card-base); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-weight: 600; }

/* Final call */
.final { text-align: center; padding: 50px 26px; }
.final img { width: 96px; margin: 0 auto 18px; border-radius: 24px; box-shadow: 0 10px 24px -10px rgba(74, 59, 51, .5); }
.final p { color: var(--muted); font-weight: 600; margin: 0 0 24px; }

/* Footer */
footer { padding: 34px 0 50px; color: var(--muted); font-weight: 700; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--ink); }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 2.2rem; font-weight: 900; margin: 10px 0 4px; }
.legal h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 6px; font-weight: 900; }
.legal p, .legal li { color: #5b4b41; font-weight: 600; }
.legal .updated { color: var(--muted); margin: 0 0 24px; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .split .phone { order: -1; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .top nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}
