/* =====================================================================
   ARC ANGELS — a celestial pixel-NFT collection, drawn like a kid's
   notebook. Plain white paper, crayon colors, handwriting, wobbly
   borders, washi tape, scribbles. No heavy libs, no fake counters.
   ===================================================================== */

:root {
  --paper: #ffffff;
  --ink: #2b2b2b;
  --muted: #7a7a7a;
  --faint: #b0b0b0;

  --blue: #3f7fc4;    /* crayon blue */
  --sky: #4ec3d4;     /* crayon cyan */
  --yellow: #f2b705;  /* crayon gold (halo) */
  --red: #e0533f;     /* crayon red */
  --pink: #e868a8;    /* crayon pink */
  --purple: #8a5bd0;  /* crayon purple */
  --green: #4a9e5a;   /* crayon green */

  --hand: "Patrick Hand", "Comic Sans MS", "Segoe Print", cursive;
  --big: "Gochi Hand", "Comic Sans MS", "Segoe Print", cursive;
  --scrib: "Caveat", "Segoe Print", cursive;

  --wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --shadow: 5px 5px 0 rgba(43, 43, 43, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }

.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* =====================================================================
   NAV
   ===================================================================== */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 2.5px solid var(--ink);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 22px;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand .name { font-family: var(--big); font-size: 26px; line-height: 1; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  font-family: var(--big); font-size: 17px; color: var(--ink);
  padding: 5px 11px; border-radius: 8px; border: 2px solid transparent;
}
.nav-links a:hover { border-color: var(--ink); }
.nav-links a.active { border-color: var(--ink); background: #fff6c9; }
.nav-cta {
  font-family: var(--big); font-size: 16px; color: #fff;
  background: var(--blue); padding: 6px 15px; border-radius: 8px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(43,43,43,.25);
  transform: rotate(-1.5deg);
}
.nav-cta:hover { transform: rotate(0deg); }
.burger {
  display: none; background: none; border: 2px solid var(--ink); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 56px 0 8px; text-align: center; position: relative; }

.angel-doodle { display: block; margin: 0 auto 6px; width: 168px; height: 168px; }

.eyebrow { font-family: var(--big); font-size: 18px; color: var(--muted); }

.wordmark {
  font-family: var(--big); font-size: clamp(56px, 10vw, 92px);
  line-height: 0.95; margin: 6px 0 2px; letter-spacing: 1px; color: var(--ink);
}
.wordmark .c1 { color: var(--blue); }
.wordmark .c2 { color: var(--sky); }
.wordmark .c3 { color: var(--pink); }
.wordmark .c4 { color: var(--yellow); }

.scribble-underline { display: block; width: 300px; max-width: 80vw; margin: 2px auto 12px; }

.hero-tag { max-width: 600px; margin: 0 auto; font-size: 19px; color: var(--muted); }
.hero-tag strong { color: var(--ink); }
.hero-tag .hl { color: var(--red); }

/* scattered hand-drawn stars */
.doodles { position: absolute; inset: 0; pointer-events: none; }
.doodle { position: absolute; opacity: .6; }

/* stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 34px auto 0; max-width: 860px; text-align: left;
}
.stat {
  border: 2.5px solid var(--ink); border-radius: var(--wobble);
  padding: 14px 15px; background: #fff; box-shadow: var(--shadow);
}
.stat:nth-child(1) { transform: rotate(-0.8deg); }
.stat:nth-child(2) { transform: rotate(0.7deg); background: #fff6c9; }
.stat:nth-child(3) { transform: rotate(-0.4deg); }
.stat:nth-child(4) { transform: rotate(0.8deg); background: #e8f3ff; }
.stat .num { font-family: var(--big); font-size: 30px; line-height: 1; color: var(--ink); display: block; }
.stat .num.gold { color: var(--yellow); }
.stat .num.blue { color: var(--blue); }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 6px; display: block; }

.hero-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-block; font-family: var(--big); font-size: 18px; letter-spacing: .5px;
  padding: 13px 28px; border-radius: 10px 4px 10px 4px / 4px 10px 4px 10px;
  cursor: pointer; border: 2.5px solid var(--ink); text-decoration: none;
  box-shadow: 4px 4px 0 rgba(43,43,43,.16); transition: transform .12s, box-shadow .12s;
  text-align: center; color: var(--ink);
}
.btn:hover { transform: translate(-1px,-1px) rotate(-0.6deg); box-shadow: 6px 6px 0 rgba(43,43,43,.16); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-accent { background: var(--yellow); color: var(--ink); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-ghost { background: #fff; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
section { position: relative; padding: 72px 0; }

/* ---- sample angel gallery ---- */
.gallery { padding: 0 0 48px; }
.gallery-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.angel-card {
  position: relative; background: #fff; border: 2.5px solid var(--ink);
  border-radius: 10px; padding: 8px; box-shadow: 4px 4px 0 rgba(43,43,43,.14);
}
.angel-card img { width: 96px; height: 96px; display: block; border-radius: 4px; }
.angel-card:nth-child(1) { transform: rotate(-3deg); }
.angel-card:nth-child(2) { transform: rotate(2.2deg); }
.angel-card:nth-child(3) { transform: rotate(-1.5deg); }
.angel-card:nth-child(4) { transform: rotate(2.6deg); }
.angel-card:nth-child(5) { transform: rotate(-2.2deg); }
.angel-card:nth-child(6) { transform: rotate(1.4deg); }
.angel-card::before {
  content: ''; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 46px; height: 16px; background: rgba(242,183,5,.5);
  border-left: 1px dashed rgba(0,0,0,.12); border-right: 1px dashed rgba(0,0,0,.12);
}
.angel-card:nth-child(2n)::before { background: rgba(232,104,168,.5); }
.gallery-note { text-align: center; font-family: var(--scrib); font-size: 21px; color: var(--muted); margin-top: 28px; }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-label {
  display: inline-block; font-family: var(--scrib); font-size: 22px; color: var(--blue);
  transform: rotate(-2deg); margin-bottom: 4px;
}
.sec-head h2 {
  font-family: var(--big); font-size: clamp(32px, 5vw, 44px); line-height: 1;
  margin-bottom: 10px; color: var(--ink);
}
.sec-head h2 em { font-style: normal; color: var(--red); }
.sec-head p { color: var(--muted); font-size: 17px; }
.sec-underline { display: block; width: 120px; margin: 8px auto 0; }

/* washi tape strip on alternating sections */
.tape {
  position: absolute; top: -14px; left: 50%; width: 130px; height: 28px;
  background: rgba(242, 183, 5, 0.55); transform: translateX(-50%) rotate(-2deg);
  border-left: 1px dashed rgba(0,0,0,.12); border-right: 1px dashed rgba(0,0,0,.12);
}

/* =====================================================================
   CARDS (about)
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 2.5px solid var(--ink); border-radius: var(--wobble);
  padding: 24px 20px 26px; background: #fff; box-shadow: var(--shadow);
  position: relative;
}
.card:nth-child(1) { transform: rotate(-0.7deg); }
.card:nth-child(2) { transform: rotate(0.6deg); }
.card:nth-child(3) { transform: rotate(-0.4deg); }
.card .ico {
  font-family: var(--big); font-size: 26px; display: block; margin-bottom: 10px;
}
.card h3 { font-family: var(--big); font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.card .crayon-line { position: absolute; left: 16px; right: 16px; top: 14px; height: 3px; border-radius: 3px; }
.card:nth-child(1) .crayon-line { background: var(--blue); }
.card:nth-child(2) .crayon-line { background: var(--pink); }
.card:nth-child(3) .crayon-line { background: var(--yellow); }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  text-align: center; padding: 28px 20px 30px;
  border: 2.5px solid var(--ink); border-radius: var(--wobble);
  background: #fff; box-shadow: var(--shadow);
}
.step:nth-child(1) { transform: rotate(-0.6deg); }
.step:nth-child(2) { transform: rotate(0.5deg); }
.step:nth-child(3) { transform: rotate(-0.5deg); }
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; font-family: var(--big);
  font-size: 26px; color: #fff; border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(43,43,43,.2); margin-bottom: 16px;
}
.step:nth-child(1) .n { background: var(--blue); }
.step:nth-child(2) .n { background: var(--pink); }
.step:nth-child(3) .n { background: var(--green); }
.step h3 { font-family: var(--big); font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* =====================================================================
   REWARDS
   ===================================================================== */
.spotlight {
  max-width: 720px; margin: 0 auto 38px; text-align: center;
  border: 2.5px solid var(--ink); border-radius: var(--wobble);
  background: #fff8e0; padding: 38px 32px; box-shadow: 7px 7px 0 rgba(43,43,43,.14);
  transform: rotate(-0.4deg);
}
.spotlight .pair { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.spotlight .pair img { width: 60px; height: 60px; object-fit: contain; }
.spotlight .pair img.coin { border-radius: 50%; }
.spotlight .pair .x { font-family: var(--big); font-size: 26px; color: var(--muted); }
.spotlight h3 { font-family: var(--big); font-size: 24px; margin-bottom: 10px; }
.spotlight p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.spotlight p strong { color: var(--ink); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.feature {
  display: flex; gap: 12px; align-items: flex-start; text-align: left;
  padding: 18px 18px; border: 2px dashed rgba(43,43,43,.4);
  border-radius: 10px 4px 10px 4px / 4px 10px 4px 10px; background: #fff;
}
.feature:nth-child(odd) { transform: rotate(-0.4deg); }
.feature:nth-child(even) { transform: rotate(0.4deg); }
.feature .tag {
  font-family: var(--big); font-size: 18px; color: #fff; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%; text-align: center; line-height: 28px;
  border: 2px solid var(--ink);
}
.feature:nth-child(1) .tag { background: var(--blue); }
.feature:nth-child(2) .tag { background: var(--pink); }
.feature:nth-child(3) .tag { background: var(--green); }
.feature:nth-child(4) .tag { background: var(--purple); }
.feature h4 { font-family: var(--big); font-size: 20px; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* =====================================================================
   LAUNCH STUDIO (coming soon)
   ===================================================================== */
.studio {
  background: #fff; border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
}
.studio .steps-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px;
}
.studio-step { text-align: center; }
.studio-step .sn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; border: 2px solid var(--ink); font-family: var(--big); font-size: 19px;
  color: #fff; margin-bottom: 6px;
}
.studio-step:nth-child(1) .sn { background: var(--blue); }
.studio-step:nth-child(2) .sn { background: var(--pink); }
.studio-step:nth-child(3) .sn { background: var(--green); }
.studio-step:nth-child(4) .sn { background: var(--yellow); color: var(--ink); }
.studio-step .sl { font-size: 15px; color: var(--muted); }

.dropzone {
  position: relative; max-width: 560px; margin: 0 auto; text-align: center;
  border: 3px dashed var(--blue); border-radius: 18px; padding: 44px 28px 48px;
  background: #f6fbff; opacity: .85;
}
.dropzone .cloud { width: 74px; height: 74px; margin: 0 auto 12px; display: block; }
.dropzone h3 { font-family: var(--big); font-size: 24px; margin-bottom: 6px; }
.dropzone p { color: var(--muted); font-size: 16px; }
.dropzone .psd-note { font-family: var(--scrib); font-size: 19px; color: var(--blue); margin-top: 10px; }

.stamp {
  position: absolute; top: 18px; right: 14px; transform: rotate(10deg);
  font-family: var(--big); font-size: 22px; letter-spacing: 1px; color: var(--red);
  border: 3px solid var(--red); border-radius: 8px; padding: 6px 14px;
  text-transform: uppercase; background: rgba(255,255,255,.7);
  box-shadow: 0 0 0 1px #fff inset;
}

.studio-note {
  max-width: 560px; margin: 20px auto 0; text-align: center;
  font-size: 15px; color: var(--muted);
}
.studio-note b { color: var(--ink); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 2.5px solid var(--ink); border-radius: var(--wobble);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item:nth-child(odd) { transform: rotate(-0.3deg); }
.faq-item:nth-child(even) { transform: rotate(0.3deg); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--ink); font-family: var(--big); font-size: 20px;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .pm { font-size: 24px; color: var(--blue); flex-shrink: 0; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* =====================================================================
   FOOTER
   ===================================================================== */
footer { border-top: 2.5px solid var(--ink); padding: 46px 0 0; text-align: center; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.foot-brand img { width: 46px; height: 46px; object-fit: contain; }
.foot-brand .name { font-family: var(--big); font-size: 28px; }
.foot-tag { color: var(--muted); font-size: 16px; max-width: 520px; margin: 6px auto 22px; }
.foot-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.foot-links a { color: var(--ink); font-family: var(--big); font-size: 16px; }
.foot-links a:hover { text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 3px; }
.foot-links a.x { color: var(--blue); }
.foot-divider { width: 60px; height: 4px; margin: 0 auto 24px; background: var(--yellow); border-radius: 3px; }
.disclaimer { max-width: 680px; margin: 0 auto; color: var(--faint); font-size: 13px; line-height: 1.7; }
.disclaimer a { color: var(--faint); text-decoration: underline; }
.foot-copy { margin: 20px 0 0; padding: 14px 0 20px; color: var(--faint); font-size: 13px; border-top: 1.5px dotted rgba(43,43,43,.3); }

/* =====================================================================
   COOKIE CONSENT
   ===================================================================== */
#cookie-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 620px; margin: 0 auto;
  z-index: 1000; border: 2.5px solid var(--ink); border-radius: 16px 8px 16px 8px / 8px 16px 8px 16px;
  background: #fff; box-shadow: 6px 6px 0 rgba(43,43,43,.2); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.cc-text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.cc-text b { color: var(--ink); font-family: var(--big); font-size: 18px; }
.cc-text a { color: var(--blue); }
.cc-actions { display: flex; gap: 10px; }
.cc-btn { font-family: var(--big); font-size: 16px; padding: 7px 16px; border-radius: 8px; cursor: pointer; border: 2px solid var(--ink); }
.cc-accept { background: #fff6c9; color: var(--ink); }
.cc-reject { background: #fff; color: var(--muted); }

/* =====================================================================
   SAMPLER PAGE
   ===================================================================== */
.hero.sm { padding: 44px 0 8px; }
.sampler-wrap { max-width: 940px; margin: 0 auto; padding: 20px 22px 80px; }
.sampler-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.sampler-stage { display: flex; justify-content: center; }
.sampler-frame {
  width: min(400px, 80vw); aspect-ratio: 1/1;
  border: 3px solid var(--ink); border-radius: 14px; background: #fff;
  overflow: hidden; position: relative; box-shadow: 6px 6px 0 rgba(43,43,43,.16);
}
.sampler-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sampler-panel { display: flex; flex-direction: column; gap: 16px; }
.sampler-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sampler-actions .btn { padding: 12px 22px; font-size: 17px; }
.trait-list { border: 2.5px solid var(--ink); border-radius: var(--wobble); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.trait-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1.5px dotted rgba(43,43,43,.3); font-size: 15px; }
.trait-row:last-child { border-bottom: 0; }
.trait-row .tc { font-family: var(--scrib); font-size: 17px; color: var(--muted); padding-top: 2px; flex: 0 0 auto; }
.trait-row .tv { font-weight: 600; text-align: right; color: var(--ink); }
.trait-row .tv .rar { display: block; font-family: var(--scrib); font-size: 15px; color: var(--blue); font-weight: 400; margin-top: 1px; }
.notice {
  border: 2px dashed rgba(43,43,43,.4); border-radius: 10px; padding: 14px 16px;
  color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; background: #fff;
}
.notice .mono { font-family: var(--scrib); color: var(--blue); font-size: 17px; }

/* =====================================================================
   MOBILE
   ===================================================================== */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 60; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--big); font-size: 24px; color: var(--ink); }
.mobile-menu .close {
  position: absolute; top: 20px; right: 24px; background: none; border: 2px solid var(--ink);
  border-radius: 8px; color: var(--ink); font-size: 22px; width: 46px; height: 46px; cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .studio .steps-strip { grid-template-columns: repeat(2, 1fr); }
  .sampler-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 40px 0 4px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .studio .steps-strip { grid-template-columns: 1fr 1fr; }
  .wordmark { font-size: 48px; }
}
