:root {
  --ink: #1a202c;
  --paper: #f7f7f7;
  --black: #000;
  --charcoal: #231f20;
  --accent: #2081be;
  --accent-panel: #298bc4;
  --purple: #4c376d;
  --content: 1152px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 13.46%, var(--black) 91.66%, var(--charcoal) 100%);
  color: #fff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.resources-page {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal) 5%, var(--black) 26%, var(--black) 67%, var(--charcoal) 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.text-link {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #70c9ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  height: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(35, 31, 32, 0.96);
}

.nav-shell {
  position: relative;
  width: min(calc(100% - 40px), 1376px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

main {
  display: block;
}

.page-hero {
  width: min(100%, var(--content));
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 34px auto 0;
  image-rendering: pixelated;
}

.page-hero h1 {
  max-width: 100%;
  margin: 40px auto 0;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.accent {
  color: var(--accent);
}

.hero-image {
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

.home-hero-image {
  width: 383px;
  height: 249px;
  margin-top: 50px;
}

.about-diagrams {
  width: min(1060px, calc(100% - 40px));
  margin: 139px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: center;
}

.about-diagrams img {
  width: 100%;
  height: 423px;
  object-fit: cover;
}

.hero-intro {
  width: min(680px, calc(100% - 40px));
  margin: 58px auto 0;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
}

.hero-intro p {
  margin: 0 0 28px;
}

.content-section {
  width: min(calc(100% - 40px), var(--content));
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.content-section h2,
.faq-entry h2 {
  margin: 0;
  color: var(--accent);
  font-size: 30px;
  font-weight: 600;
  line-height: 45px;
}

.section-copy {
  margin-top: 35px;
  font-size: 20px;
  line-height: 36px;
}

.section-copy p {
  margin: 0 0 28px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.section-image {
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

.home-section-one {
  margin-top: 56px;
}

.home-section-one .section-image {
  width: 544px;
  height: 544px;
  margin-top: 11px;
  object-fit: cover;
}

.home-section-two {
  margin-top: 60px;
}

.home-section-two .section-image,
.about-nouns .section-image {
  width: 463px;
  height: 221px;
  margin-top: 14px;
}

.home-section-three {
  margin-top: 49px;
}

.home-section-three .section-image {
  width: 307px;
  height: 307px;
  margin-top: 25px;
  border-radius: 30px;
  object-fit: cover;
}

.home-section-four {
  margin-top: 91px;
}

.home-section-four .section-image {
  width: 246px;
  height: 328px;
  margin-top: 25px;
  border-radius: 29px;
}

.about-mindfulness {
  margin-top: 100px;
}

.about-mindfulness .section-image {
  width: 443px;
  height: 209px;
  margin-top: 61px;
}

.about-nouns {
  margin-top: 101px;
}

.about-nouns .section-image {
  margin-top: 43px;
  object-fit: cover;
}

.about-dao {
  margin-top: 60px;
}

.about-dao .section-image {
  width: 463px;
  height: 221px;
  margin-top: 42px;
}

.about-involved {
  margin-top: 51px;
}

.about-involved .section-copy {
  margin-bottom: 31px;
}

.about-involved .section-image {
  width: 307px;
  height: 307px;
  margin-top: 51px;
  object-fit: cover;
}

.button-stack {
  width: 304px;
  margin: 32px auto 0;
  display: grid;
  gap: 26px;
}

.button,
.resource-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
  transition: transform 140ms ease, filter 140ms ease;
}

.button:hover,
.resource-link:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

.shop-button {
  width: 341px;
  min-height: 76px;
  margin: 43px auto 0;
  background: var(--purple);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.dao-intro {
  margin-top: 39px;
}

.dao-collection {
  width: 379px;
  height: 486px;
  margin-top: 49px;
  border-radius: 15px;
}

.dao-work {
  margin-top: 49px;
}

.dao-work .section-image {
  width: 1008px;
  height: 482px;
  margin-top: 47px;
}

.dao-involved {
  margin-top: 60px;
}

.dao-involved .section-image {
  width: 463px;
  height: 221px;
  margin-top: 35px;
}

.shop-onchain {
  margin-top: 58px;
}

.shop-section h2 {
  font-size: 50px;
  font-weight: 700;
}

.shop-section .section-copy {
  margin-top: 53px;
}

.perk-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.avatar-row {
  margin: 80px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.avatar-row img {
  width: 94px;
  height: 95px;
  border-radius: 15px;
  object-fit: contain;
}

.shopify {
  margin-top: 96px;
}

.shopify .section-copy {
  margin-top: 65px;
}

.shopify .section-image {
  width: 381px;
  height: 571px;
  margin-top: 80px;
  border-radius: 20px;
}

.cta-panel {
  width: min(960px, calc(100% - 40px));
  min-height: 220px;
  margin: 86px auto 0;
  padding: 31px 40px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 45px;
  align-items: center;
  background: var(--accent-panel);
  color: var(--ink);
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 800;
  line-height: 45px;
}

.cta-copy p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.cta-actions {
  display: grid;
  gap: 13px;
}

.cta-actions .button {
  min-height: 44px;
  background: var(--charcoal);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.about-cta {
  margin-top: 80px;
}

.about-cta .cta-copy h2 {
  max-width: 650px;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.about-cta .cta-copy p {
  color: var(--purple);
  font-weight: 800;
}

.shop-cta {
  margin-top: 157px;
}

.shop-cta .cta-copy p {
  max-width: 420px;
}

.faq-list {
  width: min(calc(100% - 40px), var(--content));
  margin: 35px auto 0;
}

.faq-entry {
  margin: 0 auto 39px;
  text-align: center;
}

.faq-entry p {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 36px;
}

.faq-entry .related-links {
  margin-top: 26px;
  display: grid;
  gap: 0;
}

.faq-entry .related-link-line {
  margin-top: 26px;
}

.faq-cta {
  margin-top: 113px;
}

.resources-page .page-hero {
  height: 220px;
}

.resources-page .resource-directory {
  width: min(700px, calc(100% - 40px));
  margin: -36px auto 0;
  display: flex;
  flex-direction: column;
}

.resource-group {
  margin-bottom: 80px;
  text-align: center;
}

.resource-group h1,
.resource-group h2 {
  margin: 0 0 40px;
  color: var(--accent);
  font-size: 48px;
  font-weight: 600;
  line-height: 45px;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 40px;
}

.resource-link {
  min-height: 62px;
  padding: 8px 12px;
}

.resource-link:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 20px);
  justify-self: center;
}

.dao-title-mobile {
  display: none;
}

@media (min-width: 1200px) {
  .resource-instagram { order: 3; }
  .resource-farcaster { order: 4; }
  .tutorials-sweets { order: 1; }
  .tutorials-lotus { order: 2; }
  .tutorials-usa { order: 3; }
  .tutorials-krom { order: 4; }
  .tutorials-kwc { order: 5; }
  .info-gloken { order: 1; }
  .info-kendocs { order: 2; }
  .info-depot { order: 3; }
  .info-senses { order: 4; }
  .info-records { order: 5; }
  .brand-sweets { order: 1; }
  .brand-lotus { order: 2; }
  .brand-sol { order: 3; }
  .brand-krom { order: 4; }
  .brand-quad { order: 5; }
  .brand-israel { order: 6; }
  .brand-locked { order: 7; }
  .brand-originz { order: 8; }
  .brand-cereal { order: 9; }
  .brand-terra { order: 10; }
  .brand-occult { order: 11; }
  .brand-analog { order: 12; }
  .brand-ok { order: 13; }
  .brand-catalina { order: 14; }
  .brand-question { order: 15; }
}

@media (max-width: 1199px) {
  .kendama-sweets { order: 1; }
  .kendama-server { order: 2; }
  .kendama-communities .resource-link:nth-child(3) { order: 3; }
  .kendama-communities .resource-link:nth-child(4) { order: 4; }
  .kendama-communities .resource-link:nth-child(5) { order: 5; }
  .nounish-gnars { order: 3; }
  .nounish-lil { order: 4; }
  .brand-ok { display: none; }
}

@media (min-width: 1200px) {
  .resource-links > .resource-link.tutorials-usa,
  .resource-links > .resource-link.info-senses,
  .resource-links > .resource-link.brand-ok {
    width: auto;
    grid-column: auto;
    justify-self: stretch;
  }

  .resource-links > .resource-link.tutorials-kwc,
  .resource-links > .resource-link.info-records,
  .resource-links > .resource-link.brand-question {
    width: calc(50% - 20px);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.thanks {
  min-height: 610px;
  margin-top: 112px;
  padding: 83px 20px 0;
  text-align: center;
}

.thanks h2 {
  margin: 0;
  color: var(--accent);
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
}

.thanks > p {
  margin: 0;
  font-size: 20px;
  line-height: 36px;
}

.thanks-logos {
  width: min(780px, 100%);
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.thanks-logos a {
  height: 178px;
  display: grid;
  place-items: center;
}

.thanks-logos img {
  width: 260px;
  max-height: 178px;
  object-fit: contain;
}

.thanks-mark {
  width: 128px;
  height: 128px;
  margin: 119px auto 0;
  image-rendering: pixelated;
}

.home-page .thanks {
  margin-top: 0;
}

.home-page .thanks-logos {
  width: min(520px, 100%);
  grid-template-columns: repeat(2, 1fr);
}

.about-page .thanks {
  margin-top: 80px;
}

.dao-page .thanks {
  margin-top: 0;
}

.shop-page .thanks {
  margin-top: 73px;
}

.faq-page .thanks {
  margin-top: 75px;
}

.resources-page .thanks {
  margin-top: -3px;
}

@media (max-width: 809px) {
  body,
  body.resources-page {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 8%, var(--black) 88%, var(--charcoal) 100%);
  }

  .site-header {
    height: 50px;
  }

  .nav-shell {
    width: calc(100% - 32px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    z-index: 50;
    top: 50px;
    right: -16px;
    left: -16px;
    display: none;
    padding: 18px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(35, 31, 32, 0.99);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
    margin-top: 23px;
  }

  .page-hero h1 {
    width: calc(100% - 20px);
    margin-top: 34px;
    font-size: 48px;
    line-height: 1.5;
  }

  .dao-page .page-hero h1 {
    width: 100%;
  }

  .dao-title-desktop {
    display: none;
  }

  .dao-title-mobile {
    display: inline;
  }

  .home-hero-image {
    width: 230px;
    height: 230px;
    margin-top: 47px;
  }

  .content-section,
  .faq-list {
    width: calc(100% - 64px);
  }

  .content-section h2,
  .faq-entry h2 {
    font-size: 30px;
    line-height: 45px;
  }

  .section-copy,
  .faq-entry p {
    margin-top: 17px;
    font-size: 20px;
    line-height: 36px;
  }

  .section-copy p {
    margin-bottom: 35px;
  }

  .home-section-one {
    margin-top: 49px;
  }

  .home-section-one .section-image {
    width: 246px;
    height: 246px;
    margin-top: 59px;
  }

  .home-section-two {
    margin-top: 56px;
  }

  .home-section-two .section-image,
  .about-nouns .section-image {
    width: 245px;
    height: 117px;
    margin-top: 52px;
  }

  .home-section-three {
    margin-top: 108px;
  }

  .home-section-three .section-image {
    width: 305px;
    height: 305px;
    margin-top: 17px;
  }

  .home-section-four {
    margin-top: 74px;
  }

  .home-section-four .section-image {
    display: none;
  }

  .about-diagrams {
    width: 100%;
    margin-top: 91px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-diagrams img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-mindfulness {
    margin-top: 70px;
  }

  .about-mindfulness .section-image {
    width: 270px;
    height: 230px;
    margin-top: 67px;
  }

  .about-nouns {
    margin-top: 92px;
  }

  .about-dao {
    margin-top: 94px;
  }

  .about-dao .section-image,
  .about-involved .section-image {
    display: none;
  }

  .about-involved {
    margin-top: 204px;
  }

  .button-stack {
    width: 100%;
    gap: 9px;
  }

  .button {
    font-size: 17px;
  }

  .dao-intro {
    margin-top: 28px;
  }

  .dao-collection {
    width: 310px;
    height: 398px;
    margin-top: 52px;
  }

  .dao-work {
    margin-top: 72px;
  }

  .dao-work .section-image {
    width: 100%;
    height: auto;
    margin-top: 56px;
  }

  .dao-involved {
    margin-top: 76px;
  }

  .dao-involved .section-image {
    width: 320px;
    height: 153px;
    margin-top: 45px;
  }

  .hero-intro {
    width: calc(100% - 64px);
    margin-top: 63px;
    font-size: 20px;
    line-height: 36px;
  }

  .shop-onchain {
    margin-top: 42px;
  }

  .shop-section h2 {
    font-size: 50px;
    line-height: 45px;
  }

  .shop-section .section-copy,
  .shopify .section-copy {
    margin-top: 55px;
  }

  .perk-list {
    margin-top: 35px;
  }

  .shop-button {
    width: 100%;
    margin-top: 44px;
  }

  .avatar-row {
    margin-top: 68px;
    display: grid;
    grid-template-columns: repeat(4, 53px);
    justify-content: space-between;
    gap: 0;
  }

  .avatar-row img {
    width: 53px;
    height: 53px;
    border-radius: 10px;
  }

  .avatar-row img:nth-child(3),
  .avatar-row img:nth-child(6) {
    display: none;
  }

  .shopify {
    margin-top: 72px;
  }

  .shopify .section-image {
    display: none;
  }

  .cta-panel {
    width: calc(100% - 58px);
    min-height: 0;
    margin-top: 472px;
    padding: 34px 37px;
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .dao-page .cta-panel {
    margin-top: 125px;
  }

  .cta-copy h2 {
    font-size: 36px;
    line-height: 42px;
  }

  .cta-copy p {
    font-size: 24px;
    line-height: 36px;
  }

  .cta-actions {
    gap: 13px;
  }

  .about-cta {
    width: 244px;
    margin-top: 446px;
    padding: 35px 36px;
    text-align: left;
  }

  .about-cta .cta-copy h2,
  .about-cta .cta-copy p {
    font-size: 20px;
    line-height: 30px;
  }

  .shop-cta {
    width: calc(100% - 78px);
    margin-top: 508px;
    padding: 32px 36px;
    text-align: left;
  }

  .shop-cta .cta-copy p {
    font-size: 20px;
    line-height: 36px;
  }

  .faq-list {
    margin-top: 24px;
  }

  .faq-entry {
    margin-bottom: 60px;
  }

  .faq-entry .related-links {
    margin-top: 28px;
  }

  .faq-cta {
    margin-top: 180px;
  }

  .resources-page .page-hero {
    height: 192px;
  }

  .resources-page .resource-directory {
    width: calc(100% - 140px);
    margin-top: -18px;
  }

  .resources-page .resource-group:nth-child(1) { order: 1; }
  .resources-page .resource-group:nth-child(2) { order: 2; }
  .resources-page .nounish-communities { order: 3; }
  .resources-page .kendama-communities { order: 4; }
  .resources-page .resource-group:nth-child(5) { order: 5; }
  .resources-page .resource-group:nth-child(6) { order: 6; }

  .nounish-gnars { order: 3; }
  .nounish-lil { order: 4; }

  .resource-group {
    margin-bottom: 85px;
  }

  .resource-group h1,
  .resource-group h2 {
    margin-bottom: 44px;
    font-size: 48px;
    line-height: 45px;
  }

  .resource-links {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .resource-link {
    width: 100%;
    min-height: 62px;
    font-size: 20px;
  }

  .resource-link:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .brand-ok {
    display: none;
  }

  .thanks {
    min-height: 980px;
    margin-top: 90px;
    padding: 79px 18px 0;
  }

  .thanks h2 {
    font-size: 36px;
    line-height: 54px;
  }

  .thanks > p {
    font-size: 20px;
    line-height: 36px;
  }

  .thanks-logos {
    width: 270px;
    margin-top: 59px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .home-page .thanks-logos {
    width: 270px;
    grid-template-columns: 1fr;
  }

  .thanks-logos a {
    height: auto;
    min-height: 130px;
  }

  .thanks-logos img {
    width: 250px;
    max-height: 205px;
  }

  .thanks-mark {
    width: 80px;
    height: 80px;
    margin-top: 160px;
  }

  .home-page .thanks {
    margin-top: 92px;
  }

  .home-page .thanks-mark {
    display: none;
  }

  .dao-page .thanks-mark,
  .resources-page .thanks-mark {
    display: none;
  }

  .about-page .thanks {
    margin-top: 92px;
  }

  .dao-page .thanks {
    margin-top: 85px;
  }

  .shop-page .thanks {
    margin-top: 89px;
  }

  .faq-page .thanks {
    margin-top: 85px;
  }

  .resources-page .thanks {
    margin-top: 149px;
  }
}

@media (min-width: 810px) and (max-width: 1199px) {
  .content-section,
  .faq-list {
    width: 80%;
  }

  .page-hero h1 {
    width: calc(100% - 80px);
  }

  .dao-work .section-image {
    width: min(100%, 1008px);
    height: auto;
  }

  .about-diagrams {
    width: min(460px, 100%);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-diagrams img {
    height: auto;
    object-fit: contain;
  }

  .about-involved .section-image {
    display: none;
  }

  .about-cta {
    margin-top: 544px;
  }

  .resource-instagram { order: 3; }
  .resource-farcaster { order: 4; }

  .resources-page .resource-links {
    grid-template-columns: minmax(0, 304px);
    justify-content: center;
  }

  .resources-page .resource-link,
  .resources-page .resource-link:last-child:nth-child(odd) {
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
