/* whatever. — deliberately low-effort. every awkward bit below is on purpose. */

:root {
  --bg: #F5F4F0;
  --ink: #262626;
  --muted: #6b6a66;
  --line: #262626;
  --link: #0000EE;
  --visited: #551A8B;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: clip;
}

a { color: var(--link); }
a:visited { color: var(--visited); }

h1, h2, h3 { font-weight: bold; line-height: 1.1; }
h2 { font-size: 26px; margin: 0 0 14px; }
h3 { font-size: 16px; margin: 0 0 10px; }

hr {
  border: 0;
  border-top: 1px solid #b9b7b0;
  margin: 0 16px;
}

.small { font-size: 13px; }
.muted { color: var(--muted); }
.mono { font-family: "Courier New", Courier, monospace; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 2px dotted var(--ink); outline-offset: 2px; }

/* ---------- header ---------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 14px 16px;
  font-size: 15px;
}
.logo { color: var(--ink) !important; text-decoration: none; font-weight: bold; font-size: 20px; }
.top nav { color: var(--muted); }

/* ---------- default-browser buttons ---------- */
.btn {
  display: inline-block;
  font: 13.3px Arial, Helvetica, sans-serif;
  color: #000 !important;
  text-decoration: none;
  padding: 2px 7px;
  margin: 0 4px 6px 0;
  border: 1px solid #767676;
  border-radius: 3px;
  background: linear-gradient(#fdfdfd, #e2e2e2);
  cursor: default;
  line-height: 1.3;
  vertical-align: middle;
}
.btn:hover { background: linear-gradient(#f4f4f4, #d8d8d8); }
.btn:active { background: linear-gradient(#d6d6d6, #e8e8e8); }
.btn-big { font-size: 22px; padding: 10px 22px; }

input[type=text], input[type=email], textarea {
  font: 13.3px Arial, Helvetica, sans-serif;
  border: 1px solid #767676;
  border-radius: 2px;
  padding: 3px 4px;
  background: #fff;
  color: #000;
  min-width: 0;
  width: 100%;
  max-width: 320px;
}
textarea { resize: vertical; }

/* ---------- sections ---------- */
section { padding: 48px 16px; max-width: 980px; margin: 0 auto; }

/* hero: text a little too far left, mascot a little too far right */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 64px;
}
.hero h1 { font-size: clamp(56px, 13vw, 128px); margin: 0 0 4px; letter-spacing: -0.02em; }
.hero h2 { font-size: clamp(20px, 3vw, 26px); font-weight: normal; margin: 0 0 26px; }
.hero p { margin: 0 0 6px; }
.hero .btns { margin: 22px 0 6px; }
.mascot-hero { width: 170px; flex: 0 0 auto; margin-right: -6px; transform: rotate(2deg); }

.ca { margin-top: 30px; max-width: 460px; }
.ca label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px; }
.ca-row { display: flex; gap: 4px; align-items: center; }
.ca-row input { max-width: none; flex: 1 1 auto; font-family: "Courier New", Courier, monospace; }
.ca-row .btn { margin: 0; }

/* awkward #1: about is indented for no reason */
.about { padding-left: max(16px, 14vw); }
.about p { margin: 0 0 8px; max-width: 520px; }

/* awkward #2: heading jammed against the paragraph */
.tokenomics h2 { margin-bottom: 0; }
.tokenomics > p { margin-top: 2px; }
table { border-collapse: collapse; border: 1px solid var(--line); background: #fff; width: 100%; max-width: 520px; }
th, td { border: 1px solid var(--line); padding: 4px 8px; text-align: left; font-size: 15px; vertical-align: top; }
th { background: #ebe9e3; }

/* awkward #3: the roadmap starts way too far down */
.roadmap { padding-top: 140px; text-align: center; }
.roadmap ol { list-style: none; padding: 0; margin: 24px auto; max-width: 340px; }
.roadmap li { margin-bottom: 22px; }
.excuse { min-height: 1.45em; font-style: italic; }

/* gaps get bigger and bigger */
.why p { margin: 0 0 6px; }
.why .gap1 { margin-top: 36px; }
.why .gap2 { margin-top: 64px; }
.why .gap3 { margin-top: 120px; font-weight: bold; }

/* ---------- stuff grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin-top: 20px;
}
.box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
}
.box:nth-child(3) { transform: rotate(-0.6deg); }
.box:nth-child(6) { margin-top: 12px; }
.box-wide { grid-column: 1 / -1; text-align: center; padding: 28px 14px; }
.out { margin: 10px 0 0; min-height: 1.45em; }
.box form { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.box form input[type=text] { flex: 1 1 140px; }
fieldset { border: 0; padding: 0; margin: 0 0 6px; width: 100%; }
#vote-form { display: block; }

.bar { height: 18px; border: 1px solid #767676; background: #eee; }
.bar-fill { height: 100%; width: 0; background: #3b78e7; }

.gauge { width: 100%; max-width: 220px; display: block; }
.gauge text { fill: var(--ink); font-family: Arial, sans-serif; }
.needle { transform-origin: 100px 100px; transform: rotate(-70deg); transition: transform 1.6s cubic-bezier(.3,1.6,.5,1); }
.needle.settled { transform: rotate(0deg); }
.gauge:hover .needle.settled { animation: wobble .5s ease-in-out 2; }
@keyframes wobble { 0%,100% { transform: rotate(0deg); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

.pie { width: 110px; display: block; }

.live { font-weight: normal; font-size: 11px; color: #c00; border: 1px solid #c00; padding: 0 4px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c00; margin-right: 3px; vertical-align: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- community ---------- */
.community { display: flex; align-items: center; gap: 32px; }
.community p { margin: 0 0 6px; }
.community .btns { margin-top: 20px; }
.mascot-shrug { width: 150px; flex: 0 0 auto; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid #cfccc4; padding: 8px 0; max-width: 620px; }
.faq summary { cursor: pointer; }
.faq details p { margin: 8px 0 4px 18px; color: var(--muted); }

/* awkward #4: contact is centred, everything else isn't */
.contact { text-align: center; }
.contact form { display: inline-block; text-align: left; width: 100%; max-width: 320px; }
.contact form p { margin: 0 0 10px; }

/* ---------- footer ---------- */
.foot { text-align: center; padding: 64px 16px 40px; border-top: 1px solid #b9b7b0; }
.foot p { margin: 0 0 6px; }
.counter { font-size: 14px; }
.counter .mono { font-size: 26px; letter-spacing: 2px; background: #262626; color: #9f9; padding: 2px 8px; display: inline-block; margin-bottom: 4px; }
.disclaimer { margin-top: 40px !important; font-size: 13px; }
.legal { font-size: 11px; color: var(--muted); max-width: 520px; margin: 18px auto 0 !important; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .mascot-hero { width: 120px; align-self: flex-end; margin-top: -10px; }
}

@media (max-width: 640px) {
  .community { flex-direction: column; align-items: flex-start; }
  .mascot-shrug { width: 120px; }
  .roadmap { padding-top: 96px; }
  .why .gap3 { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .needle { transition: none; }
  .gauge:hover .needle.settled, .dot { animation: none; }
}
